Additional Image Quantization Operations
[Image Processing]
Detailed Description
- Additionally operations to the imConvertColorSpace function.
- See im_process_pon.h
Functions | |
void | imProcessQuantizeRGBUniform (const imImage *src_image, imImage *dst_image, int do_dither) |
void | imProcessQuantizeGrayUniform (const imImage *src_image, imImage *dst_image, int grays) |
Function Documentation
|
Converts a RGB image to a MAP image using uniform quantization with an optional 8x8 ordered dither. The RGB image must have data type IM_BYTE.
im.ProcessQuantizeRGBUniform(src_image: imImage, dst_image: imImage, do_dither: boolean) [in Lua 5] im.ProcessQuantizeRGBUniformNew(src_image: imImage, do_dither: boolean) -> new_image: imImage [in Lua 5] |
|
Quantizes a gray scale image in less that 256 grays using uniform quantization.
im.ProcessQuantizeGrayUniform(src_image: imImage, dst_image: imImage, grays: number) [in Lua 5] im.ProcessQuantizeGrayUniformNew(src_image: imImage, grays: number) -> new_image: imImage [in Lua 5] |