Defines | Typedefs | Enumerations | Functions

im_process_pnt.h File Reference

Image Processing - Point Operations. More...

Include dependency graph for im_process_pnt.h:
This graph shows which files directly or indirectly include this file:

Defines

#define imImageGamma(_image, _gamma)   { float params[1]; params[0] = _gamma; imProcessToneGamut(_image, _image, IM_GAMUT_POW, params); }
#define imImageBrightnessContrast(_image, _bright_shift, _contrast_factor)   { float _params[2]; _params[0] = bright_shift; _params[1] = contrast_factor; imProcessToneGamut(_image, _image, IM_GAMUT_BRIGHTCONT, _params); }
#define imImageLevel(_image, _start, _end)   { float _params[2]; _params[0] = _start; _params[1] = _end; imProcessToneGamut(_image, _image, IM_GAMUT_EXPAND, _params); }
#define imImageEqualize(_image)   imProcessEqualizeHistogram(_image, _image)
#define imImageNegative(_image)   imProcessNegative(_image, _image)
#define imImageAutoLevel(_image, _percent)   imProcessExpandHistogram(_image, _image, _percent)

Typedefs

typedef int(* imUnaryPointOpFunc )(float src_value, float *dst_value, float *params, void *userdata, int x, int y, int d)
typedef int(* imUnaryPointColorOpFunc )(const float *src_value, float *dst_value, float *params, void *userdata, int x, int y)
typedef int(* imMultiPointOpFunc )(const float *src_value, float *dst_value, float *params, void *userdata, int x, int y, int d, int src_image_count)
typedef int(* imMultiPointColorOpFunc )(float *src_value, float *dst_value, float *params, void *userdata, int x, int y, int src_image_count, int src_depth, int dst_depth)
typedef float(* imRenderFunc )(int x, int y, int d, float *params)
typedef float(* imRenderCondFunc )(int x, int y, int d, int *cond, float *params)

Enumerations

enum  imUnaryOp {
  IM_UN_EQL, IM_UN_ABS, IM_UN_LESS, 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,
  IM_UN_POSITIVES, IM_UN_NEGATIVES
}
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
}
enum  imLogicOp { IM_BIT_AND, IM_BIT_OR, IM_BIT_XOR }
enum  imToneGamut {
  IM_GAMUT_NORMALIZE, IM_GAMUT_POW, IM_GAMUT_LOG, IM_GAMUT_EXP,
  IM_GAMUT_INVERT, IM_GAMUT_ZEROSTART, IM_GAMUT_SOLARIZE, IM_GAMUT_SLICE,
  IM_GAMUT_EXPAND, IM_GAMUT_CROP, IM_GAMUT_BRIGHTCONT
}
enum  imToneGamutFlags { IM_GAMUT_MINMAX = 0x0100 }

Functions

int imProcessUnaryPointOp (const imImage *src_image, imImage *dst_image, imUnaryPointOpFunc func, float *params, void *userdata, const char *op_name)
int imProcessUnaryPointColorOp (const imImage *src_image, imImage *dst_image, imUnaryPointColorOpFunc func, float *params, void *userdata, const char *op_name)
int imProcessMultiPointOp (const imImage **src_image_list, int src_image_count, imImage *dst_image, imMultiPointOpFunc func, float *params, void *userdata, const char *op_name)
int imProcessMultiPointColorOp (const imImage **src_image_list, int src_image_count, imImage *dst_image, imMultiPointColorOpFunc func, float *params, void *userdata, const char *op_name)
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 imProcessBlendConst (const imImage *src_image1, const imImage *src_image2, imImage *dst_image, float alpha)
void imProcessBlend (const imImage *src_image1, const imImage *src_image2, const imImage *alpha_image, imImage *dst_image)
void imProcessCompose (const imImage *src_image1, const imImage *src_image2, imImage *dst_image)
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 imProcessMultipleMedian (const imImage **src_image_list, int src_image_count, 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)
void imProcessQuantizeRGBUniform (const imImage *src_image, imImage *dst_image, int do_dither)
void imProcessQuantizeGrayUniform (const imImage *src_image, imImage *dst_image, int grays)
void imProcessExpandHistogram (const imImage *src_image, imImage *dst_image, float percent)
void imProcessEqualizeHistogram (const imImage *src_image, imImage *dst_image)
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)
void imProcessSetAlphaColor (const imImage *src_image, imImage *dst_image, float *src_color, float dst_alpha)
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)
int imProcessRenderOp (imImage *image, imRenderFunc func, const char *render_name, float *params, int plus)
int imProcessRenderCondOp (imImage *image, imRenderCondFunc func, const char *render_name, float *params)
int imProcessRenderAddSpeckleNoise (const imImage *src_image, imImage *dst_image, float percent)
int imProcessRenderAddGaussianNoise (const imImage *src_image, imImage *dst_image, float mean, float stddev)
int imProcessRenderAddUniformNoise (const imImage *src_image, imImage *dst_image, float mean, float stddev)
int imProcessRenderRandomNoise (imImage *image)
int imProcessRenderConstant (imImage *image, float *value)
int imProcessRenderWheel (imImage *image, int internal_radius, int external_radius)
int imProcessRenderCone (imImage *image, int radius)
int imProcessRenderTent (imImage *image, int tent_width, int tent_height)
int imProcessRenderRamp (imImage *image, int start, int end, int vert_dir)
int imProcessRenderBox (imImage *image, int box_width, int box_height)
int imProcessRenderSinc (imImage *image, float x_period, float y_period)
int imProcessRenderGaussian (imImage *image, float stddev)
int imProcessRenderLapOfGaussian (imImage *image, float stddev)
int imProcessRenderCosine (imImage *image, float x_period, float y_period)
int imProcessRenderGrid (imImage *image, int x_space, int y_space)
int imProcessRenderChessboard (imImage *image, int x_space, int y_space)
void imProcessRenderFloodFill (imImage *image, int start_x, int start_y, float *replace_color, float tolerance)
void imProcessToneGamut (const imImage *src_image, imImage *dst_image, int op, float *params)
void imProcessUnNormalize (const imImage *src_image, imImage *dst_image)
void imProcessDirectConv (const imImage *src_image, imImage *dst_image)
void imProcessNegative (const imImage *src_image, imImage *dst_image)
float imProcessCalcAutoGamma (const imImage *image)
void imProcessShiftHSI (const imImage *src_image, imImage *dst_image, float h_shift, float s_shift, float i_shift)
void imProcessThreshold (const imImage *src_image, imImage *dst_image, float level, int value)
void imProcessThresholdByDiff (const imImage *src_image1, const imImage *src_image2, imImage *dst_image)
void imProcessHysteresisThreshold (const imImage *src_image, imImage *dst_image, int low_thres, int high_thres)
void imProcessHysteresisThresEstimate (const imImage *image, int *low_level, int *high_level)
int imProcessUniformErrThreshold (const imImage *src_image, imImage *dst_image)
void imProcessDifusionErrThreshold (const imImage *src_image, imImage *dst_image, int level)
int imProcessPercentThreshold (const imImage *src_image, imImage *dst_image, float percent)
int imProcessOtsuThreshold (const imImage *src_image, imImage *dst_image)
float imProcessMinMaxThreshold (const imImage *src_image, imImage *dst_image)
void imProcessLocalMaxThresEstimate (const imImage *image, int *level)
void imProcessSliceThreshold (const imImage *src_image, imImage *dst_image, float start_level, float end_level)
void imProcessPixelate (const imImage *src_image, imImage *dst_image, int box_size)
void imProcessPosterize (const imImage *src_image, imImage *dst_image, int level)
void imProcessNormDiffRatio (const imImage *image1, const imImage *image2, imImage *dst_image)
void imProcessAbnormalHyperionCorrection (const imImage *src_image, imImage *dst_image, int threshold_consecutive, int threshold_percent, imImage *image_abnormal)
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

See Copyright Notice in im_lib.h