Color Processing Operations
[Image Processing]
Detailed Description
- Operations to change the color components configuration.
- See im_process_pon.h
Functions | |
void | imProcessSplitYChroma (const imImage *src_image, imImage *y_image, imImage *chroma_image) |
void | imProcessSplitHSI (const imImage *src_image, imImage *h_image, imImage *s_image, imImage *i_image) |
void | imProcessMergeHSI (const imImage *h_image, const imImage *s_image, const imImage *i_image, imImage *dst_image) |
void | imProcessSplitComponents (const imImage *src_image, imImage **dst_image_list) |
void | imProcessMergeComponents (const imImage **src_image_list, imImage *dst_image) |
void | imProcessNormalizeComponents (const imImage *src_image, imImage *dst_image) |
void | imProcessReplaceColor (const imImage *src_image, imImage *dst_image, float *src_color, float *dst_color) |
Function Documentation
|
Split a RGB image into luma and chroma.
im.ProcessSplitYChroma(src_image: imImage, y_image: imImage, chroma_image: imImage) [in Lua 5] im.ProcessSplitYChromaNew(src_image: imImage) -> y_image: imImage, chroma_image: imImage [in Lua 5] |
|
Split a RGB image into HSI planes.
im.ProcessSplitHSI(src_image: imImage, h_image: imImage, s_image: imImage, i_image: imImage) [in Lua 5] im.ProcessSplitHSINew(src_image: imImage) -> h_image: imImage, s_image: imImage, i_image: imImage [in Lua 5] |
|
Merge HSI planes into a RGB image.
im.ProcessMergeHSI(h_image: imImage, s_image: imImage, i_image: imImage, dst_image: imImage) [in Lua 5] im.ProcessMergeHSINew(h_image: imImage, s_image: imImage, i_image: imImage) -> dst_image: imImage [in Lua 5] |
|
Split a multicomponent image into separate components.
im.ProcessSplitComponents(src_image: imImage, dst_image_list: table of imImage) [in Lua 5] im.ProcessSplitComponentsNew(src_image: imImage) -> dst_image_list: table of imImage [in Lua 5] |
|
Merges separate components into a multicomponent image.
im.ProcessMergeComponents(src_image_list: table of imImage, dst_image: imImage) [in Lua 5] im.ProcessMergeComponentsNew(src_image_list: table of imImage) -> dst_image: imImage [in Lua 5] |
|
Normalize the color components by their sum. Example: c1 = c1/(c1+c2+c3).
im.ProcessNormalizeComponents(src_image: imImage, dst_image: imImage) [in Lua 5] im.ProcessNormalizeComponentsNew(src_image: imImage) -> new_image: imImage [in Lua 5] |
|
Replaces the source color by the destiny color.
im.ProcessReplaceColor(src_image: imImage, dst_image: imImage, src_color: table of numbers, dst_color: table of numbers) [in Lua 5] im.ProcessReplaceColorNew(src_image: imImage, src_color: table of numbers, dst_color: table of numbers) -> new_image: imImage [in Lua 5] |