Skip to content
Snippets Groups Projects
Commit 07ed20f0 authored by jorge.leitemac's avatar jorge.leitemac :juggling_tone5:
Browse files

fix conv

parent e808e18c
No related branches found
No related tags found
No related merge requests found
......@@ -303,9 +303,9 @@ pgm_error pgm_conv(pgm *conv, const pgm *const orig,const matrix *const kernel,
norm = (norm == 0) ? 1 : norm;
//Itère sur pixels n et m
for (int n = 0; n < orig->pixels.m; n++)
for (int n = 0; n < orig->pixels.n; n++)
{
for (int m = 0; m < orig->pixels.n; m++)
for (int m = 0; m < orig->pixels.m; m++)
{
//Pour chaque element de orig pixels :
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment