Lines Matching refs:pixel
82 #include "MagickCore/pixel-accessor.h"
165 pixel;
216 status=GetMatrixElement(canny_cache,edge.x+u,edge.y+v,&pixel);
220 (pixel.intensity >= lower_threshold))
338 pixel;
362 (void) ResetMagickMemory(&pixel,0,sizeof(pixel));
382 pixel.magnitude=hypot(dx,dy);
383 pixel.orientation=0;
393 pixel.orientation=0;
396 pixel.orientation=1;
398 pixel.orientation=2;
403 pixel.orientation=0;
406 pixel.orientation=3;
408 pixel.orientation=2;
411 if (SetMatrixElement(canny_cache,x,y,&pixel) == MagickFalse)
452 pixel;
454 (void) GetMatrixElement(canny_cache,x,y,&pixel);
455 switch (pixel.orientation)
495 pixel.intensity=pixel.magnitude;
496 if ((pixel.magnitude < alpha_pixel.magnitude) ||
497 (pixel.magnitude < beta_pixel.magnitude))
498 pixel.intensity=0;
499 (void) SetMatrixElement(canny_cache,x,y,&pixel);
504 if (pixel.intensity < min)
505 min=pixel.intensity;
506 if (pixel.intensity > max)
507 max=pixel.intensity;
535 pixel;
541 Edge if pixel gradient higher than upper threshold.
546 status=GetMatrixElement(canny_cache,x,y,&pixel);
550 (pixel.intensity >= upper_threshold))
1622 pixel;
1624 (void) ResetMagickMemory(&pixel,0,sizeof(pixel));
1637 pixel.direction[i].red+=cooccurrence[x][y].direction[i].red;
1638 pixel.direction[i].green+=cooccurrence[x][y].direction[i].green;
1639 pixel.direction[i].blue+=cooccurrence[x][y].direction[i].blue;
1641 pixel.direction[i].black+=cooccurrence[x][y].direction[i].black;
1643 pixel.direction[i].alpha+=
1671 pixel.direction[i].red;
1673 pixel.direction[i].green;
1675 pixel.direction[i].blue;
1678 pixel.direction[i].black;
1681 pixel.direction[i].alpha;
1731 % counts for every white pixel
2125 % each pixel, it visits all the pixels in the neighborhood specified by
2126 % the window centered at the pixel and excludes those that are outside the
2127 % radius=(window-1)/2 surrounding the pixel. From those pixels, it finds those
2132 % center) pixel value. It repeats this process for the next pixel, etc.,
2269 pixel;
2273 mean_location.y+v),&pixel,exception);
2274 distance=(mean_pixel.red-pixel.red)*(mean_pixel.red-pixel.red)+
2275 (mean_pixel.green-pixel.green)*(mean_pixel.green-pixel.green)+
2276 (mean_pixel.blue-pixel.blue)*(mean_pixel.blue-pixel.blue);
2281 sum_pixel.red+=pixel.red;
2282 sum_pixel.green+=pixel.green;
2283 sum_pixel.blue+=pixel.blue;
2284 sum_pixel.alpha+=pixel.alpha;