diff --git a/DergunPiotr-WaskoDominik/zad4/gauss_omp.cpp b/DergunPiotr-WaskoDominik/zad4/gauss_omp.cpp index 7cfe830..b164f59 100644 --- a/DergunPiotr-WaskoDominik/zad4/gauss_omp.cpp +++ b/DergunPiotr-WaskoDominik/zad4/gauss_omp.cpp @@ -15,7 +15,9 @@ int main(int argc, char *argv[]) int i,j,k,l,m,n; TTiming tt; char *endptr; - + int sumka_r, sumka_g, sumka_b; + int suma_wag = 0; + int ratio[RX][RY] = { {1, 4, 7, 4, 1}, @@ -45,7 +47,6 @@ int main(int argc, char *argv[]) exit(1); } - int suma_wag = 0; for (i=0; i(i, j).val[1] = sumka_g / suma_wag; img_out.at(i, j).val[2] = sumka_r / suma_wag; } - - //cout << img_out.at(i, j)[0].val[0]; } } long elapsed = tt.End();