Lines Matching refs:edge_image
148 *edge_image; in GetEdgeBackgroundFactor() local
203 edge_image=CropImage(image,&edge_geometry,exception); in GetEdgeBackgroundFactor()
204 if (edge_image == (Image *) NULL) in GetEdgeBackgroundFactor()
207 edge_view=AcquireVirtualCacheView(edge_image,exception); in GetEdgeBackgroundFactor()
208 for (y=0; y < (ssize_t) edge_image->rows; y++) in GetEdgeBackgroundFactor()
213 p=GetCacheViewVirtualPixels(edge_view,0,y,edge_image->columns,1,exception); in GetEdgeBackgroundFactor()
216 for (x=0; x < (ssize_t) edge_image->columns; x++) in GetEdgeBackgroundFactor()
218 GetPixelInfoPixel(edge_image,p,&pixel); in GetEdgeBackgroundFactor()
221 p+=GetPixelChannels(edge_image); in GetEdgeBackgroundFactor()
224 factor/=((double) edge_image->columns*edge_image->rows); in GetEdgeBackgroundFactor()
226 edge_image=DestroyImage(edge_image); in GetEdgeBackgroundFactor()
258 *edge_image; in GetImageBoundingBox() local
271 edge_image=CloneImage(image,0,0,MagickTrue,exception); in GetImageBoundingBox()
272 if (edge_image == (Image *) NULL) in GetImageBoundingBox()
274 (void) ParseAbsoluteGeometry("0x0+0+0",&edge_image->page); in GetImageBoundingBox()
276 edge_view=AcquireVirtualCacheView(edge_image,exception); in GetImageBoundingBox()
277 edge.left=GetEdgeBackgroundFactor(edge_image,edge_view,WestGravity, in GetImageBoundingBox()
279 edge.right=GetEdgeBackgroundFactor(edge_image,edge_view,EastGravity, in GetImageBoundingBox()
281 edge.top=GetEdgeBackgroundFactor(edge_image,edge_view,NorthGravity, in GetImageBoundingBox()
283 edge.bottom=GetEdgeBackgroundFactor(edge_image,edge_view,SouthGravity, in GetImageBoundingBox()
286 artifact=GetImageArtifact(edge_image,"trim:percent-background"); in GetImageBoundingBox()
304 edge.left=GetEdgeBackgroundFactor(edge_image,edge_view, in GetImageBoundingBox()
307 edge.top=GetEdgeBackgroundFactor(edge_image,edge_view, in GetImageBoundingBox()
310 edge.bottom=GetEdgeBackgroundFactor(edge_image,edge_view, in GetImageBoundingBox()
322 edge.right=GetEdgeBackgroundFactor(edge_image,edge_view, in GetImageBoundingBox()
325 edge.top=GetEdgeBackgroundFactor(edge_image,edge_view, in GetImageBoundingBox()
328 edge.bottom=GetEdgeBackgroundFactor(edge_image,edge_view, in GetImageBoundingBox()
340 edge.left=GetEdgeBackgroundFactor(edge_image,edge_view, in GetImageBoundingBox()
343 edge.right=GetEdgeBackgroundFactor(edge_image,edge_view, in GetImageBoundingBox()
346 edge.top=GetEdgeBackgroundFactor(edge_image,edge_view, in GetImageBoundingBox()
358 edge.left=GetEdgeBackgroundFactor(edge_image,edge_view, in GetImageBoundingBox()
361 edge.right=GetEdgeBackgroundFactor(edge_image,edge_view, in GetImageBoundingBox()
364 edge.bottom=GetEdgeBackgroundFactor(edge_image,edge_view, in GetImageBoundingBox()
371 edge_image=DestroyImage(edge_image); in GetImageBoundingBox()