Arithmetic Operations
[Image Processing]
Detailed Description
- Simple math operations for images.
- See im_process_pon.h
Enumerations | |
enum | imUnaryOp { IM_UN_EQL, IM_UN_ABS, IM_UN_LESS, IM_UN_INC, IM_UN_INV, IM_UN_SQR, IM_UN_SQRT, IM_UN_LOG, IM_UN_EXP, IM_UN_SIN, IM_UN_COS, IM_UN_CONJ, IM_UN_CPXNORM } |
enum | imBinaryOp { IM_BIN_ADD, IM_BIN_SUB, IM_BIN_MUL, IM_BIN_DIV, IM_BIN_DIFF, IM_BIN_POW, IM_BIN_MIN, IM_BIN_MAX } |
Functions | |
void | imProcessUnArithmeticOp (const imImage *src_image, imImage *dst_image, int op) |
void | imProcessArithmeticOp (const imImage *src_image1, const imImage *src_image2, imImage *dst_image, int op) |
void | imProcessArithmeticConstOp (const imImage *src_image, float src_const, imImage *dst_image, int op) |
void | imProcessBlend (const imImage *src_image1, imImage *src_image2, imImage *dst_image, float alpha) |
void | imProcessSplitComplex (const imImage *src_image, imImage *dst_image1, imImage *dst_image2, int polar) |
void | imProcessMergeComplex (const imImage *src_image1, const imImage *src_image2, imImage *dst_image, int polar) |
void | imProcessMultipleMean (const imImage **src_image_list, int src_image_count, imImage *dst_image) |
void | imProcessMultipleStdDev (const imImage **src_image_list, int src_image_count, const imImage *mean_image, imImage *dst_image) |
int | imProcessAutoCovariance (const imImage *src_image, const imImage *mean_image, imImage *dst_image) |
void | imProcessMultiplyConj (const imImage *src_image1, const imImage *src_image2, imImage *dst_image) |
Enumeration Type Documentation
|
Unary Arithmetic Operations. Inverse and log may lead to math exceptions.
00029 { 00030 IM_UN_EQL, /**< equal = a */ 00031 IM_UN_ABS, /**< abssolute = |a| */ 00032 IM_UN_LESS, /**< less = -a */ 00033 IM_UN_INC, /**< increment += a */ 00034 IM_UN_INV, /**< invert = 1/a (#) */ 00035 IM_UN_SQR, /**< square = a*a */ 00036 IM_UN_SQRT, /**< square root = a^(1/2) */ 00037 IM_UN_LOG, /**< natural logarithm = ln(a) (#) */ 00038 IM_UN_EXP, /**< exponential = exp(a) */ 00039 IM_UN_SIN, /**< sine = sin(a) */ 00040 IM_UN_COS, /**< cosine = cos(a) */ 00041 IM_UN_CONJ, /**< complex conjugate = ar - ai*i */ 00042 IM_UN_CPXNORM /**< complex normalization by magnitude = a / cpxmag(a) */ 00043 };
|
|
Binary Arithmetic Operations. Inverse and log may lead to math exceptions.
00053 { 00054 IM_BIN_ADD, /**< add = a+b */ 00055 IM_BIN_SUB, /**< subtract = a-b */ 00056 IM_BIN_MUL, /**< multiply = a*b */ 00057 IM_BIN_DIV, /**< divide = a/b (#) */ 00058 IM_BIN_DIFF, /**< difference = |a-b| */ 00059 IM_BIN_POW, /**< power = a^b */ 00060 IM_BIN_MIN, /**< minimum = (a < b)? a: b */ 00061 IM_BIN_MAX /**< maximum = (a > b)? a: b */ 00062 };
|
Function Documentation
|
Apply an arithmetic unary operation. |
|
Apply a binary arithmetic operation.
|
|
Apply a binary arithmetic operation with a constant value.
|
|
Blend two images using an alpha value = [a * alpha + b * (1 - alpha)]. |
|
Split a complex image into two images with real and imaginary parts |
|
Merges two images as the real and imaginary parts of a complex image, |
|
Calculates the mean of multiple images. |
|
Calculates the standard deviation of multiple images. |
|
Calculates the auto-covariance of an image with the mean of a set of images. |
|
Multiplies the conjugate of one complex image with another complex image. |