Lines Matching refs:histogram_image
184 *histogram_image; in WriteHISTOGRAMImage() local
233 histogram_image=CloneImage(image,geometry.width,geometry.height,MagickTrue, in WriteHISTOGRAMImage()
235 if (histogram_image == (Image *) NULL) in WriteHISTOGRAMImage()
237 (void) SetImageStorageClass(histogram_image,DirectClass,exception); in WriteHISTOGRAMImage()
242 histogram_image->columns); in WriteHISTOGRAMImage()
246 histogram_image=DestroyImage(histogram_image); in WriteHISTOGRAMImage()
270 for (x=0; x < (ssize_t) histogram_image->columns; x++) in WriteHISTOGRAMImage()
284 scale=(double) histogram_image->rows/maximum; in WriteHISTOGRAMImage()
289 &histogram_image->background_color,exception); in WriteHISTOGRAMImage()
290 (void) SetImageBackgroundColor(histogram_image,exception); in WriteHISTOGRAMImage()
291 for (x=0; x < (ssize_t) histogram_image->columns; x++) in WriteHISTOGRAMImage()
293 q=GetAuthenticPixels(histogram_image,x,0,1,histogram_image->rows,exception); in WriteHISTOGRAMImage()
298 y=CastDoubleToLong(ceil((double) histogram_image->rows-scale* in WriteHISTOGRAMImage()
300 r=q+y*GetPixelChannels(histogram_image); in WriteHISTOGRAMImage()
301 for ( ; y < (ssize_t) histogram_image->rows; y++) in WriteHISTOGRAMImage()
303 SetPixelRed(histogram_image,QuantumRange,r); in WriteHISTOGRAMImage()
304 r+=GetPixelChannels(histogram_image); in WriteHISTOGRAMImage()
309 y=CastDoubleToLong(ceil((double) histogram_image->rows-scale* in WriteHISTOGRAMImage()
311 r=q+y*GetPixelChannels(histogram_image); in WriteHISTOGRAMImage()
312 for ( ; y < (ssize_t) histogram_image->rows; y++) in WriteHISTOGRAMImage()
314 SetPixelGreen(histogram_image,QuantumRange,r); in WriteHISTOGRAMImage()
315 r+=GetPixelChannels(histogram_image); in WriteHISTOGRAMImage()
320 y=CastDoubleToLong(ceil((double) histogram_image->rows-scale* in WriteHISTOGRAMImage()
322 r=q+y*GetPixelChannels(histogram_image); in WriteHISTOGRAMImage()
323 for ( ; y < (ssize_t) histogram_image->rows; y++) in WriteHISTOGRAMImage()
325 SetPixelBlue(histogram_image,QuantumRange,r); in WriteHISTOGRAMImage()
326 r+=GetPixelChannels(histogram_image); in WriteHISTOGRAMImage()
329 if (SyncAuthenticPixels(histogram_image,exception) == MagickFalse) in WriteHISTOGRAMImage()
332 histogram_image->rows); in WriteHISTOGRAMImage()
365 (void) SetImageProperty(histogram_image,"comment",property, in WriteHISTOGRAMImage()
375 (void) CopyMagickString(histogram_image->filename,image_info->filename, in WriteHISTOGRAMImage()
377 (void) ResetImagePage(histogram_image,"0x0+0+0"); in WriteHISTOGRAMImage()
383 (void) FormatLocaleString(histogram_image->filename,MagickPathExtent, in WriteHISTOGRAMImage()
385 status=WriteImage(write_info,histogram_image,exception); in WriteHISTOGRAMImage()
386 histogram_image=DestroyImage(histogram_image); in WriteHISTOGRAMImage()