Functions

Image Conversion
[Image Processing]

Collaboration diagram for Image Conversion:

Functions

int imProcessConvertDataType (const imImage *src_image, imImage *dst_image, int cpx2real, float gamma, int absolute, int cast_mode)
int imProcessConvertColorSpace (const imImage *src_image, imImage *dst_image)
int imProcessConvertToBitmap (const imImage *src_image, imImage *dst_image, int cpx2real, float gamma, int absolute, int cast_mode)

Detailed Description

Same as imConvert functions but using OpenMP when enabled.
See im_process_pnt.h

Function Documentation

int imProcessConvertDataType ( const imImage src_image,
imImage dst_image,
int  cpx2real,
float  gamma,
int  absolute,
int  cast_mode 
)

Same as imConvertDataType. But returns zero if the counter aborted.

im.ProcessConvertDataType(src_image: imImage, dst_image: imImage, cpx2real: number, gamma: number, absolute: boolean, cast_mode: number) -> error: number [in Lua 5] 
im.ProcessConvertDataTypeNew(image: imImage, data_type: number, cpx2real: number, gamma: number, absolute: boolean, cast_mode: number) -> error: number, new_image: imImage  [in Lua 5] 
int imProcessConvertColorSpace ( const imImage src_image,
imImage dst_image 
)

Same as imConvertColorSpace. But returns zero if the counter aborted.

im.ProcessConvertColorSpace(src_image: imImage, dst_image: imImage) -> error: number [in Lua 5] 
im.ProcessConvertColorSpaceNew(image: imImage, color_space: number, has_alpha: boolean) -> error: number, new_image: imImage [in Lua 5] 
int imProcessConvertToBitmap ( const imImage src_image,
imImage dst_image,
int  cpx2real,
float  gamma,
int  absolute,
int  cast_mode 
)

Same as imConvertToBitmap. But returns zero if the counter aborted.

im.ProcessConvertToBitmap(src_image: imImage, dst_image: imImage, cpx2real: number, gamma: number, absolute: boolean, cast_mode: number) -> error: number [in Lua 5] 
im.ProcessConvertToBitmapNew(image: imImage, color_space: number, has_alpha: boolean, cpx2real: number, gamma: number, absolute: boolean, cast_mode: number) -> error: number, new_image: imImage [in Lua 5]