Lines Matching refs:edge_image
157 static MagickBooleanType TraceEdges(Image *edge_image,CacheView *edge_view, in TraceEdges() argument
205 if (IsAuthenticPixel(edge_image,edge.x+u,edge.y+v) == MagickFalse) in TraceEdges()
217 if ((GetPixelIntensity(edge_image,q) == 0.0) && in TraceEdges()
259 *edge_image; in CannyEdgeImage() local
290 edge_image=MorphologyImage(image,ConvolveMorphology,1,kernel_info,exception); in CannyEdgeImage()
292 if (edge_image == (Image *) NULL) in CannyEdgeImage()
294 if (TransformImageColorspace(edge_image,GRAYColorspace,exception) == MagickFalse) in CannyEdgeImage()
296 edge_image=DestroyImage(edge_image); in CannyEdgeImage()
299 (void) SetImageAlphaChannel(edge_image,OffAlphaChannel,exception); in CannyEdgeImage()
303 canny_cache=AcquireMatrixInfo(edge_image->columns,edge_image->rows, in CannyEdgeImage()
307 edge_image=DestroyImage(edge_image); in CannyEdgeImage()
311 edge_view=AcquireVirtualCacheView(edge_image,exception); in CannyEdgeImage()
314 magick_number_threads(edge_image,edge_image,edge_image->rows,1) in CannyEdgeImage()
316 for (y=0; y < (ssize_t) edge_image->rows; y++) in CannyEdgeImage()
326 p=GetCacheViewVirtualPixels(edge_view,0,y,edge_image->columns+1,2, in CannyEdgeImage()
333 for (x=0; x < (ssize_t) edge_image->columns; x++) in CannyEdgeImage()
374 intensity=GetPixelIntensity(edge_image,kernel_pixels+u); in CannyEdgeImage()
378 kernel_pixels+=edge_image->columns+1; in CannyEdgeImage()
411 p+=GetPixelChannels(edge_image); in CannyEdgeImage()
423 edge_view=AcquireAuthenticCacheView(edge_image,exception); in CannyEdgeImage()
426 magick_number_threads(edge_image,edge_image,edge_image->rows,1) in CannyEdgeImage()
428 for (y=0; y < (ssize_t) edge_image->rows; y++) in CannyEdgeImage()
438 q=GetCacheViewAuthenticPixels(edge_view,0,y,edge_image->columns,1, in CannyEdgeImage()
445 for (x=0; x < (ssize_t) edge_image->columns; x++) in CannyEdgeImage()
508 q+=GetPixelChannels(edge_image); in CannyEdgeImage()
522 edge_view=AcquireAuthenticCacheView(edge_image,exception); in CannyEdgeImage()
523 for (y=0; y < (ssize_t) edge_image->rows; y++) in CannyEdgeImage()
530 for (x=0; x < (ssize_t) edge_image->columns; x++) in CannyEdgeImage()
547 if ((GetPixelIntensity(edge_image,p) == 0.0) && in CannyEdgeImage()
549 status=TraceEdges(edge_image,edge_view,canny_cache,x,y,lower_threshold, in CannyEdgeImage()
571 return(edge_image); in CannyEdgeImage()