IM: Histogram Based Operations

IM - An Imaging Tool

Histogram Based Operations
[Image Processing]


Detailed Description

See im_process_pon.h


Functions

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

Function Documentation

void imProcessExpandHistogram const imImage src_image,
imImage dst_image,
float  percent
 

Performs an histogram expansion.
Percentage defines an amount of pixels to include at start and end. 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.

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]