Histogram Based Operations
[Image Processing]

Collaboration diagram for Histogram Based Operations:

Functions

void imProcessExpandHistogram (const imImage *src_image, imImage *dst_image, float percent)
void imProcessEqualizeHistogram (const imImage *src_image, imImage *dst_image)

Detailed Description

See im_process_pon.h

Function Documentation

void imProcessExpandHistogram ( const imImage src_image,
imImage dst_image,
float  percent 
)

Performs an histogram expansion based on a percentage of the number of pixels.
Percentage defines an amount of pixels to include at the lowest level and at the highest level. If its is zero only empty counts of the histogram will be considered.
Images must be IM_BYTE/(IM_RGB or IM_GRAY). Can be done in place.
To expand the gammut without using the histogram, by just specifing the lowest and highest levels use the IM_GAMUT_EXPAND tone gammut operation (imProcessToneGamut).

im.ProcessExpandHistogram(src_image: imImage, dst_image: imImage, percent: number) [in Lua 5] 
im.ProcessExpandHistogramNew(src_image: imImage, percent: number) -> new_image: imImage [in Lua 5] 
void imProcessEqualizeHistogram ( const imImage src_image,
imImage dst_image 
)

Performs an histogram equalization.
Images must be IM_BYTE/(IM_RGB or IM_GRAY). Can be done in place.

im.ProcessEqualizeHistogram(src_image: imImage, dst_image: imImage) [in Lua 5] 
im.ProcessEqualizeHistogramNew(src_image: imImage) -> new_image: imImage [in Lua 5] 

Generated on Thu Oct 1 11:40:07 2009 for IM by  doxygen 1.6.1