Lines Matching refs:edge_image
151 *edge_image; in GetEdgeBackgroundCensus() local
212 edge_image=CropImage(image,&edge_geometry,exception); in GetEdgeBackgroundCensus()
213 if (edge_image == (Image *) NULL) in GetEdgeBackgroundCensus()
216 edge_view=AcquireVirtualCacheView(edge_image,exception); in GetEdgeBackgroundCensus()
217 for (y=0; y < (ssize_t) edge_image->rows; y++) in GetEdgeBackgroundCensus()
222 p=GetCacheViewVirtualPixels(edge_view,0,y,edge_image->columns,1,exception); in GetEdgeBackgroundCensus()
225 for (x=0; x < (ssize_t) edge_image->columns; x++) in GetEdgeBackgroundCensus()
227 GetPixelInfoPixel(edge_image,p,&pixel); in GetEdgeBackgroundCensus()
230 p+=GetPixelChannels(edge_image); in GetEdgeBackgroundCensus()
233 census/=((double) edge_image->columns*edge_image->rows); in GetEdgeBackgroundCensus()
235 edge_image=DestroyImage(edge_image); in GetEdgeBackgroundCensus()
267 *edge_image; in GetEdgeBoundingBox() local
280 edge_image=CloneImage(image,0,0,MagickTrue,exception); in GetEdgeBoundingBox()
281 if (edge_image == (Image *) NULL) in GetEdgeBoundingBox()
283 (void) ParseAbsoluteGeometry("0x0+0+0",&edge_image->page); in GetEdgeBoundingBox()
285 edge_view=AcquireVirtualCacheView(edge_image,exception); in GetEdgeBoundingBox()
286 edge.left=GetEdgeBackgroundCensus(edge_image,edge_view,WestGravity, in GetEdgeBoundingBox()
288 edge.right=GetEdgeBackgroundCensus(edge_image,edge_view,EastGravity, in GetEdgeBoundingBox()
290 edge.top=GetEdgeBackgroundCensus(edge_image,edge_view,NorthGravity, in GetEdgeBoundingBox()
292 edge.bottom=GetEdgeBackgroundCensus(edge_image,edge_view,SouthGravity, in GetEdgeBoundingBox()
295 artifact=GetImageArtifact(edge_image,"trim:percent-background"); in GetEdgeBoundingBox()
313 edge.left=GetEdgeBackgroundCensus(edge_image,edge_view, in GetEdgeBoundingBox()
316 edge.top=GetEdgeBackgroundCensus(edge_image,edge_view, in GetEdgeBoundingBox()
319 edge.bottom=GetEdgeBackgroundCensus(edge_image,edge_view, in GetEdgeBoundingBox()
331 edge.right=GetEdgeBackgroundCensus(edge_image,edge_view, in GetEdgeBoundingBox()
334 edge.top=GetEdgeBackgroundCensus(edge_image,edge_view, in GetEdgeBoundingBox()
337 edge.bottom=GetEdgeBackgroundCensus(edge_image,edge_view, in GetEdgeBoundingBox()
349 edge.left=GetEdgeBackgroundCensus(edge_image,edge_view, in GetEdgeBoundingBox()
352 edge.right=GetEdgeBackgroundCensus(edge_image,edge_view, in GetEdgeBoundingBox()
355 edge.top=GetEdgeBackgroundCensus(edge_image,edge_view, in GetEdgeBoundingBox()
367 edge.left=GetEdgeBackgroundCensus(edge_image,edge_view, in GetEdgeBoundingBox()
370 edge.right=GetEdgeBackgroundCensus(edge_image,edge_view, in GetEdgeBoundingBox()
373 edge.bottom=GetEdgeBackgroundCensus(edge_image,edge_view, in GetEdgeBoundingBox()
380 edge_image=DestroyImage(edge_image); in GetEdgeBoundingBox()
632 *edge_image; in GetEdgeBackgroundColor() local
692 edge_image=CropImage(image,&edge_geometry,exception); in GetEdgeBackgroundColor()
693 if (edge_image == (Image *) NULL) in GetEdgeBackgroundColor()
695 edge_view=AcquireVirtualCacheView(edge_image,exception); in GetEdgeBackgroundColor()
696 for (y=0; y < (ssize_t) edge_image->rows; y++) in GetEdgeBackgroundColor()
701 p=GetCacheViewVirtualPixels(edge_view,0,y,edge_image->columns,1, in GetEdgeBackgroundColor()
705 for (x=0; x < (ssize_t) edge_image->columns; x++) in GetEdgeBackgroundColor()
707 GetPixelInfoPixel(edge_image,p,&pixel); in GetEdgeBackgroundColor()
710 p+=GetPixelChannels(edge_image); in GetEdgeBackgroundColor()
714 edge_image=DestroyImage(edge_image); in GetEdgeBackgroundColor()