Logical Arithmetic Operations
[Image Processing]
Detailed Description
- Logical binary math operations for images.
- See im_process_pon.h
Enumerations | |
enum | imLogicOp { IM_BIT_AND, IM_BIT_OR, IM_BIT_XOR } |
Functions | |
void | imProcessBitwiseOp (const imImage *src_image1, const imImage *src_image2, imImage *dst_image, int op) |
void | imProcessBitwiseNot (const imImage *src_image, imImage *dst_image) |
void | imProcessBitMask (const imImage *src_image, imImage *dst_image, unsigned char mask, int op) |
void | imProcessBitPlane (const imImage *src_image, imImage *dst_image, int plane, int do_reset) |
Enumeration Type Documentation
|
Logical Operations. 00292 { 00293 IM_BIT_AND, /**< and = a & b */ 00294 IM_BIT_OR, /**< or = a | b */ 00295 IM_BIT_XOR /**< xor = ~(a | b) */ 00296 };
|
Function Documentation
|
Apply a logical operation.
im.ProcessBitwiseOp(src_image1: imImage, src_image2: imImage, dst_image: imImage, op: number) [in Lua 5] im.ProcessBitwiseOpNew(src_image1: imImage, src_image2: imImage, op: number) -> new_image: imImage [in Lua 5] |
|
Apply a logical NOT operation.
im.ProcessBitwiseNot(src_image: imImage, dst_image: imImage) [in Lua 5] im.ProcessBitwiseNotNew(src_image: imImage) -> new_image: imImage [in Lua 5] |
|
Apply a bit mask.
im.ProcessBitMask(src_image: imImage, dst_image: imImage, mask: string, op: number) [in Lua 5] im.ProcessBitMaskNew(src_image: imImage, mask: string, op: number) -> new_image: imImage [in Lua 5] |
|
Extract or Reset a bit plane. For ex: 000X0000 or XXX0XXXX (plane=3).
im.ProcessBitPlane(src_image: imImage, dst_image: imImage, plane: number, do_reset: boolean) [in Lua 5] im.ProcessBitPlaneNew(src_image: imImage, plane: number, do_reset: boolean) -> new_image: imImage [in Lua 5] |