IPP Functions

# IPP functions

These low-level functions can be called directly from Ellipse menu, they are organized into groups, have their own control dialog for selection of an individual function. This help contains only a list of IPP functions with a short description. Most of functions names given by Intel are self-explanatory. The original Intel documentation is recommended as an option for a detailed study.

## Processing

• Initialize
• Fill Image
• Set constant gray/colo
• Ramp image horizontal
• Ramp image vertical
• Ramp image both o Jaehne image
• Add noise
• Random GAUSSIAN
• Random UNIFORM
• Arithmetic
• Add Adds pixel values of two image buffers
• AddC Adds a constant to pixel values of an image buffer
• Mul Multiplies pixel values of two image buffers
• MulC Multiplies pixel values of an image buffer by a constant
• MulScale Multiplies pixel values of two image buffers and scales the products
• MulCScale Multiplies pixel values of an image buffer by a constant and scales the products.
• Sub Subtracts pixel values of two buffers.
• SubC Subtracts a constant from pixel values of an image buffer
• Div Divides pixel values of an image buffer by pixel values of another buffer
• DivC Divides pixel values of an image buffer by a constant
• Abs Computes absolute pixel values of a source image and places them into the destination image
• AbsDiff Calculates absolute difference between two images
• AbsDiffC Calculates absolute difference between image and scalar value
• Sqr Squares pixel values of an image and writes them into the destination image
• Sqrt Computes square roots of pixel values of a source image and writes them into the destination image
• Ln Computes the natural logarithm of pixel values in a source image and writes the results into the destination image.
• Exp Computes the exponential of pixel values in a source image and writes the results into the destination image
• Logical
• And Performs a bitwise AND operation between corresponding pixels of two source buffers
• AndC Performs a bitwise AND operation of each pixel with a constant
• Not Performs a bitwise NOT operation on each pixel of a source buffer
• Or Performs bitwise inclusive OR operation between pixels of two source buffers
• OrC Performs a bitwise inclusive OR operation between each pixel of a buffer and a constant
• Xor Performs bitwise exclusive OR operation between pixels of two source buffers
• XorC Performs a bitwise exclusive OR operation between each pixel of a buffer and a constant
• LShiftC Shifts bits in pixel values to the left
• RShiftC Shifts bits in pixel values to the right
• Morphological
•  Dilate3x3 Performs dilation of an image using a 3x3 mask
• Erode3x3 Performs erosion of an image using a 3x3 mask
• Dilate Performs dilation of an image using a general rectangular mask
• Erode Performs erosion of an image using a general rectangular mask
• Filtering
• FilterBox Blurs an image using a box filter /li>
• FilterMin Filters an image using a min filter
• FilterMax Filters an image using a max filter
• FilterMedian Applies a median filter to an image
• FilterMedianHoriz Filters an image using a median filter with a horizontal mask
• FilterMedianVert Filters an image using a median filter with a vertical mask
• FilterMedianCrossF Filters an image using a cross median filter. Requires mask 3x3 or 5x5
• FilterMedianColor Applies a color median filter to an image. Requires mask 3x3 or 5x5
• Filter Filters an image using a general rectangular convolution kernel
• FilterPrewittHorizF Filters an image using a horizontal Prewitt operator
• FilterPrewittVert Filters an image using a vertical Prewitt operator
• FilterSobelHoriz Filters an image using a horizontal Sobel operator
• FilterSobelVert Filters an image using a vertical Sobel operator
• FilterRobertsDown Filters an image using a horizontal Roberts cross-gradient operator
• FilterRobertsUp Filters an image using a vertical Roberts cross-gradient operator
• FilterLaplace Filters an image using a Laplacian kernel
• FilterGauss Filters an image using a Gaussian kernel
• FilterHipass Applies a highpass filter to an image
• FilterLowpass Applies a lowpass filter to an image
• FFilterSharpen Applies a sharpening filter to an image
• Geometrical transforms
• Resize Changes an image size /li>
• ResizeCenter Changes an image size and shifts the destination image relative to the given point
• Mirror Mirrors an image about a horizontal or vertical axis, or both
• Rotate Rotates an image around the origin (0,0) and shifts it
• RotateCenter Rotates an image about an arbitrary center
• Shear Performs shearing transform of the source image
• WarpAffine Performs general affine transform of the source image
• WarpAffineBack Performs an inverse affine transform of an image
• WarpPerspective Performs perspective warping of the source image using the given transform coefficients
• WarpPerspectiveBack Performs an inverse perspective warping of the source image
• WarpBilinear Performs bilinear warping of the source image using the specified transform coefficients
• WWarpBilinearBack Performs an inverse bilinear warping of the source image
• Thresholding, Comparison
• Threshold Performs thresholding of pixel values in an image buffer. If the result of the compare is true, the corresponding output pixel is set to the threshold value. Otherwise, it is set to the source pixel value
• Threshold_GT Performs thresholding of pixel values in an image, using the comparison for 'greater than'. If the result of the compare is true, the corresponding output pixel is set to the threshold value. Otherwise, it is set to the source pixel value
• Threshold_LT Performs thresholding of pixel values in an image buffer, using the comparison for 'less than'. If the result of the compare is true, the corresponding output pixel is set to the threshold value. Otherwise, it is set to the source pixel value
• Threshold_Val Performs thresholding of pixel values in an image buffer. Pixels that satisfy the compare condition are set to a specified value
• Threshold_GTVal Performs thresholding of pixel values in an image. Pixels that are greater than threshold, are set to a specified value
• Threshold_LTVal Performs thresholding of pixel values in an image. Pixels that are less than threshold, are set to a specified value
• Threshold_LTValGTVal Performs double thresholding of pixel values in an image buffer
• Compare Compares pixel values of two images using a specified compare operation
• CompareC Compares pixel values of a source image to a given value using a specified compare operation

## Statistics

• Proximity
• SqrDistanceSame_Norm Computes normalized Euclidean distance between an image and a template
• SqrDistanceValid_Norm Computes normalized Euclidean distance between an image and a template
• ConvFull Performs full convolution of two images
• ConvValid Performs valid convolution of two images
• CrossCorrFull_Norm Computes normalized cross-correlation between an image and a template
• CrossCorrSame_Norm Computes normalized cross-correlation between an image and a template
• CrossCorrValid_Norm Computes normalized cross-correlation between an image and a template
• CrossCorrFull_NormLevel Computes normalized correlation coefficient between an image and a template
• CrossCorrSame_NormLevel Computes normalized correlation coefficient between an image and a template
• CrossCorrValid_NormLevel Computes normalized cross-correlation between an image and a template
• Quality index
• QualityIndex Computes the universal image quality index
• Basic functions
• Sum Computes the sum of image pixel values
• Mean Computes the mean of image pixel values
• Mean_StdDev Computes the mean and standard deviation of image pixel values
• HistogramRange Computes the intensity histogram of an image
• CountInRange Computes the number of pixels within the given intensity range
• Min Computes the minimum of image pixel values
• MinIndx Computes the minimum of image pixel values and retrieves the x and y coordinates of pixels with minimal intensity values
• Max Computes the maximum of image pixel values
• MaxIndx Computes the maximum of image pixel values and retrieves the x and y coordinates of pixels with maximal intensity values
• MinMax Computes the minimum and maximum of image pixel values