#include "Math/Math2d.h"
#include "Math/Math3d.h"
#include "Structs/Structs.h"
#include "Structs/ObjectDefinitions.h"
Go to the source code of this file.
Namespaces | |
namespace | ImageProcessor |
Central namespace offering various image processing routines and functions. | |
Enumerations | |
enum | ImageProcessor::BayerPatternType { ImageProcessor::eBayerRG, ImageProcessor::eBayerGR, ImageProcessor::eBayerBG, ImageProcessor::eBayerGB } |
The four possible variants for Bayer pattern conversion. More... | |
Functions | |
bool | ImageProcessor::AbsoluteDifference (const CByteImage *pInputImage1, const CByteImage *pInputImage2, CByteImage *pOutputImage) |
Sets each pixel in a CByteImage to the absolute value of the difference between the corresponding pixels in two instances of CByteImage. | |
bool | ImageProcessor::AdaptFrame (const CByteImage *pInputImage, CByteImage *pOutputImage) |
Sets all pixels on a one pixel wide outer frame in a CByteImage to the pixel values of the inner frame of a CByteImage. | |
bool | ImageProcessor::Add (const CByteImage *pInputImage1, const CByteImage *pInputImage2, CByteImage *pOutputImage) |
Sets each pixel in a CByteImage to the sum of the corresponding pixels in two instances of CByteImage. | |
bool | ImageProcessor::AddWithSaturation (const CByteImage *pInputImage1, const CByteImage *pInputImage2, CByteImage *pOutputImage) |
Sets each pixel in a CByteImage to the sum of the corresponding pixels in two instances of CByteImage, handling overflows with saturation. | |
bool | ImageProcessor::Amplify (const CByteImage *pInputImage, CByteImage *pOutputImage, float fFactor) |
Multiplies each byte value of a CByteImage with a floating point factor and writes the result to a CByteImage. | |
bool | ImageProcessor::And (const CByteImage *pInputImage1, const CByteImage *pInputImage2, CByteImage *pOutputImage) |
Applies the bitwise operator AND to two instance of CByteImage and writes the result to a CByteImage. | |
bool | ImageProcessor::ApplyAffinePointOperation (const CByteImage *pInputImage, CByteImage *pOutputImage, float a, float b) |
Applies an affine point operation to a CByteImage and writes the result to a CByteImage. | |
bool | ImageProcessor::ApplyHomography (const CByteImage *pInputImage, CByteImage *pOutputImage, const Mat3d &A, bool bInterpolation=true) |
Applies a homography to a CByteImage and writes the result to a CByteImage. | |
bool | ImageProcessor::ApplyHomography (const CByteImage *pInputImage, CByteImage *pOutputImage, float a1, float a2, float a3, float a4, float a5, float a6, float a7, float a8, bool bInterpolation=true) |
Deprecated. | |
bool | ImageProcessor::Average (const CByteImage *pInputImage1, const CByteImage *pInputImage2, CByteImage *pOutputImage) |
Sets each pixel in a CByteImage to the average of the corresponding pixels in two instances of CByteImage. | |
bool | ImageProcessor::AverageFilter (const CByteImage *pInputImage, CByteImage *pOutputImage, int nMaskSize=3) |
Applies an average filter to a CByteImage and writes the result to a CByteImage. | |
bool | ImageProcessor::CalculateBinarizedSummedAreaTable (const CByteImage *pInputImage, CIntImage *pSummedAreaTable) |
Calculates the binarized summed area table of a grayscale CByteImage and writes the result to a CIntImage. | |
bool | ImageProcessor::CalculateGradientImage (const CByteImage *pInputImage, CByteImage *pOutputImage) |
Applies a combined simple gradient filter for both x- and y-direction to a CByteImage and stores the result in a CByteImage. | |
bool | ImageProcessor::CalculateGradientImageBinary (const CByteImage *pInputImage, CByteImage *pOutputImage) |
Calculates a gradient image for a CByteImage and writes the result to a CByteImage, for the special case of binary images. | |
bool | ImageProcessor::CalculateGradientImagePrewitt (const CByteImage *pInputImage, CByteImage *pOutputImage) |
Applies a combined Prewitt filter for both x- and y-direction to a CByteImage and stores the result in a CByteImage. | |
bool | ImageProcessor::CalculateGradientImageSobel (const CByteImage *pInputImage, CByteImage *pOutputImage) |
Applies a combined Sobel filter for both x- and y-direction to a CByteImage and stores the result in a CByteImage. | |
int | ImageProcessor::CalculateHarrisInterestPoints (const CByteImage *pInputImage, Vec2d *pInterestPoints, int nMaxPoints, float fQualityLevel=0.01f, float fMinDistance=5.0f) |
Computes interest points within a CByteImage by applying the Harris corner detector. | |
bool | ImageProcessor::CalculateHarrisMap (const CByteImage *pInputImage, CIntImage *pOutputImage) |
Calculates the Harris cornerness measure for every pixel in a CByteImage and writes the results to a CIntImage. | |
bool | ImageProcessor::CalculateHSVImage (const CByteImage *pInputImage, CByteImage *pOutputImage, const MyRegion *pROI=0) |
Computes the HSV image for a RGB CByteImage and writes the result to a CByteImage. | |
bool | ImageProcessor::CalculateIntegralImage (const CByteImage *pInputImage, CIntImage *pIntegralImage) |
Calculates the integral image of a grayscale CByteImage and writes the result to a CIntImage. | |
bool | ImageProcessor::CalculateReverseSummedAreaTable (const CIntImage *pSummedAreaTable, CByteImage *pOutputImage) |
Reconstructs the original image, given a summed area table, and writes the result to a grayscale CByteImage. | |
bool | ImageProcessor::CalculateSaturationImage (const CByteImage *pInputImage, CByteImage *pOutputImage) |
Calculates the saturation image for an RGB CByteImage and writes the result to a CByteImage. | |
bool | ImageProcessor::CalculateSummedAreaTable (const CByteImage *pInputImage, CIntImage *pSummedAreaTable) |
Calculates the summed area table of a grayscale CByteImage and writes the result to a CIntImage. | |
bool | ImageProcessor::Canny (const CByteImage *pInputImage, CByteImage *pOutputImage, int nLowThreshold, int nHighThreshold) |
Applies the Canny edge detector to a CByteImage and writes the result to a CByteImage. | |
bool | ImageProcessor::Canny (const CByteImage *pInputImage, CVec2dArray &resultPoints, CVec2dArray &resultDirections, int nLowThreshold, int nHighThreshold) |
Applies the Canny edge detector to a CByteImage and writes the edge pixels and directions to two instances of CVec2dArray. | |
bool | ImageProcessor::ConvertBayerPattern (const CByteImage *pInputImage, CByteImage *pOutputImage, BayerPatternType type) |
Converts an 8 bit Bayer pattern CByteImage to an RGB24 color CByteImage. | |
bool | ImageProcessor::ConvertImage (const CByteImage *pInputImage, CByteImage *pOutputImage, bool bFast=false, const MyRegion *pROI=0) |
Converts a grayscale CByteImage to an RGB CByteImage image and vice versa. | |
bool | ImageProcessor::ConvertImage (const CFloatImage *pInputImage, CByteImage *pOutputImage, bool equalize=false) |
Converts a CFloatImage to a CByteImage. | |
bool | ImageProcessor::ConvertImage (const CByteImage *pInputImage, CFloatImage *pOutputImage) |
Converts a CByteImage to a CFloatImage. | |
bool | ImageProcessor::ConvertImage (const CFloatMatrix *pInputImage, CByteImage *pOutputImage) |
Converts a CFloatMatrix to a grayscale CByteImage. | |
bool | ImageProcessor::ConvertImage (const CByteImage *pInputImage, CFloatMatrix *pOutputImage) |
Converts a grayscale CByteImage to a CFloatMatrix. | |
bool | ImageProcessor::ConvertImage (const CShortImage *pInputImage, CByteImage *pOutputImage) |
Converts a CShortImage to a grayscale CByteImage. | |
bool | ImageProcessor::ConvertImage (const CByteImage *pInputImage, CShortImage *pOutputImage) |
Converts a grayscale CByteImage to a CShortImage. | |
bool | ImageProcessor::ConvertImage (const CIntImage *pInputImage, CByteImage *pOutputImage) |
Converts a CIntImage to a grayscale CByteImage. | |
bool | ImageProcessor::ConvertImage (const CByteImage *pInputImage, CIntImage *pOutputImage) |
Converts a grayscale CByteImage to a CIntImage. | |
bool | ImageProcessor::ConvertMatrix (const CFloatMatrix *pInputImage, CDoubleMatrix *pOutputImage) |
Converts a CFloatMatrix to a CDoubleMatrix. | |
bool | ImageProcessor::ConvertMatrix (const CDoubleMatrix *pInputImage, CFloatMatrix *pOutputImage) |
Converts a CDoubleMatrix to a CFloatMatrix. | |
bool | ImageProcessor::CopyFrame (const CByteImage *pInputImage, CByteImage *pOutputImage) |
Copies all pixels on a one pixel wide frame from one CByteImage to CByteImage. | |
bool | ImageProcessor::CopyImage (const CByteImage *pInputImage, CByteImage *pOutputImage, const MyRegion *pROI=0, bool bUseSameSize=false) |
Copies one CByteImage to another. | |
bool | ImageProcessor::CopyImage (const CShortImage *pInputImage, CShortImage *pOutputImage, const MyRegion *pROI=0, bool bUseSameSize=false) |
Copies one CShortImage to another. | |
bool | ImageProcessor::CopyMatrix (const CFloatMatrix *pInputImage, CFloatMatrix *pOutputImage) |
Copies one CFloatMatrix to another. | |
bool | ImageProcessor::CopyMatrix (const CDoubleMatrix *pInputImage, CDoubleMatrix *pOutputImage) |
Copies one CDoubleMatrix to another. | |
bool | ImageProcessor::DetermineAffineTransformation (const Vec2d *pSourcePoints, const Vec2d *pTargetPoints, int nPoints, float &a1, float &a2, float &a3, float &a4, float &a5, float &a6) |
Deprecated. | |
bool | ImageProcessor::DetermineHomography (const Vec2d *pSourcePoints, const Vec2d *pTargetPoints, int nPoints, float &a1, float &a2, float &a3, float &a4, float &a5, float &a6, float &a7, float &a8) |
Deprecated. | |
bool | ImageProcessor::Dilate (const CByteImage *pInputImage, CByteImage *pOutputImage, int nMaskSize=3, const MyRegion *pROI=0) |
Applies a morphological dilate operation to a binary CByteImage and writes the result to a binary CByteImage. | |
bool | ImageProcessor::Erode (const CByteImage *pInputImage, CByteImage *pOutputImage, int nMaskSize=3, const MyRegion *pROI=0) |
Applies a morphological erode operation to a binary CByteImage and writes the result to a binary CByteImage. | |
bool | ImageProcessor::FilterColor (const CByteImage *pInputImage, CByteImage *pOutputImage, ObjectColor cColor, CColorParameterSet *pColorParameterSet, bool bImageIsHSV=true) |
Performs color filtering with binarization for a CByteImage and writes the result to a grayscale CByteImage. | |
bool | ImageProcessor::FilterHSV (const CByteImage *pInputImage, CByteImage *pOutputImage, unsigned char hue, unsigned char tol_hue, unsigned char min_sat, unsigned char max_sat, unsigned char min_v, unsigned char max_v, const MyRegion *pROI=0) |
Performs color filtering with binarization for an HSV CByteImage and writes the result to a grayscale CByteImage. | |
bool | ImageProcessor::FilterHSV2 (const CByteImage *pInputImage, CByteImage *pOutputImage, unsigned char min_hue, unsigned char max_hue, unsigned char min_sat, unsigned char max_sat, unsigned char min_v, unsigned char max_v, const MyRegion *pROI=0) |
Performs color filtering with binarization for an HSV CByteImage and writes the result to a grayscale CByteImage. | |
bool | ImageProcessor::FilterRGB (const CByteImage *pInputImage, CByteImage *pOutputImage, CRGBColorModel *pColorModel, float fThreshold) |
Performs color filtering with binarization for an RGB CByteImage, given a CRGBColorModel, and writes the result to a grayscale CByteImage. | |
bool | ImageProcessor::FindRegions (const CByteImage *pImage, RegionList ®ionList, int nMinimumPointsPerRegion=0, int nMaximumPointsPerRegion=0, bool bCalculateBoundingBox=true, bool bStorePixels=false) |
Performs region growing on a binary CByteImage, segmenting all regions in the image. | |
bool | ImageProcessor::FindRegions (const CByteImage *pImage, CRegionArray ®ionList, int nMinimumPointsPerRegion=0, int nMaximumPointsPerRegion=0, bool bCalculateBoundingBox=true, bool bStorePixels=false) |
Performs region growing on a binary CByteImage, segmenting all regions in the image. | |
bool | ImageProcessor::FlipY (const CByteImage *pInputImage, CByteImage *pOutputImage) |
Flips the rows in a CByteImage vertically and writes the result to a CByteImage. | |
bool | ImageProcessor::GaussianSmooth (const CByteImage *pInputImage, CFloatMatrix *pOutputImage, float fVariance, int nKernelSize) |
Applies a Gaussian filter to a CByteImage and writes the result to a CFloatMatrix. | |
bool | ImageProcessor::GaussianSmooth (const CFloatMatrix *pInputImage, CFloatMatrix *pOutputImage, float fVariance, int nKernelSize) |
Applies a Gaussian filter to a CFloatMatrix and writes the result to a CFloatMatrix. | |
bool | ImageProcessor::GaussianSmooth (const CByteImage *pInputImage, CByteImage *pOutputImage, float fVariance, int nKernelSize) |
Applies a Gaussian filter to a CByteImage and writes the result to a CByteImage. | |
bool | ImageProcessor::GaussianSmooth3x3 (const CByteImage *pInputImage, CByteImage *pOutputImage) |
Applies a 3x3 Gaussian filter to a CByteImage and writes the result to a CByteImage. | |
bool | ImageProcessor::GaussianSmooth5x5 (const CFloatMatrix *pInputImage, CFloatMatrix *pOutputImage, float fVariance) |
Applies a 5x5 Gaussian filter to a CFloatMatrix and writes the result to a CFloatMatrix. | |
bool | ImageProcessor::GaussianSmooth5x5 (const CByteImage *pInputImage, CByteImage *pOutputImage) |
Applies a 5x5 Gaussian filter to a CByteImage and writes the result to a CByteImage. | |
bool | ImageProcessor::GeneralFilter (const CByteImage *pInputImage, CByteImage *pOutputImage, const int *pKernel, int nMaskSize, int nDivider=1, bool bAbsoluteValue=false) |
Applies a user defined filter to a CByteImage and writes the result to a CByteImage. | |
bool | ImageProcessor::GeneralFilter (const CByteImage *pInputImage, CShortImage *pOutputImage, const int *pKernel, int nMaskSize, int nDivider=1, bool bAbsoluteValue=false) |
Applies a user defined filter to a CByteImage and writes the result to a CShortImage. | |
bool | ImageProcessor::GeneralFilter (const CByteImage *pInputImage, CFloatMatrix *pOutputImage, const int *pKernel, int nMaskSize, int nDivider=1, bool bAbsoluteValue=false) |
Applies a user defined filter to a CByteImage and writes the result to a CFloatMatrix. | |
int | ImageProcessor::GetAreaSum (const CIntImage *pIntegralImage, int min_x, int min_y, int max_x, int max_y) |
Efficiently computes the sum of all pixel values in a rectangular area using integral image lookups. | |
int | ImageProcessor::GetAreaSum (const CIntImage *pIntegralImage, const MyRegion *pRegion) |
Efficiently computes the sum of all pixel values in a rectangular area using integral image lookups. | |
int | ImageProcessor::GetAreaSumNoChecks (const CIntImage *pIntegralImage, int min_x, int min_y, int max_x, int max_y) |
Efficiently computes the sum of all pixel values in a rectangular area using integral image lookups. | |
bool | ImageProcessor::HighPassX3 (const CFloatMatrix *pInputImage, CFloatMatrix *pOutputImage) |
Applies a 1x3 highpass filter to a CFloatMatrix and write the result to a CFloatMatrix. | |
bool | ImageProcessor::HighPassY3 (const CFloatMatrix *pInputImage, CFloatMatrix *pOutputImage) |
Applies a 3x1 highpass filter to a CFloatMatrix and writes the result to a CFloatMatrix. | |
bool | ImageProcessor::HistogramEqualization (const CByteImage *pInputImage, CByteImage *pOutputImage) |
Performs histogram equalization for a CByteImage and writes the result to a CByteImage. | |
bool | ImageProcessor::HistogramStretching (const CByteImage *pInputImage, CByteImage *pOutputImage, float p1=0.1f, float p2=0.9f) |
Performs histogram stretching on pInputImage and stores the result in pOutputImage. | |
bool | ImageProcessor::HoughTransformCircles (const CByteImage *pImage, CByteImage *pVisualizationImage, Vec3dList &resultCircles, int rmin, int rmax, int nCirclesToExtract, int nMinHits=1) |
Performs the Hough transform for circles on a CByteImage. | |
bool | ImageProcessor::HoughTransformCircles (const CVec2dArray &edgePoints, const CVec2dArray &edgeDirections, int width, int height, int rmin, int rmax, int nCirclesToExtract, int nMinHits, CVec3dArray &resultCircles, CIntArray &resultHits, CByteImage *pVisualizationImage=0) |
Performs the Hough transform for circles, given a list of edge points and directions. | |
bool | ImageProcessor::HoughTransformLines (const CByteImage *pImage, CByteImage *pVisualizationImage, Vec2dList &resultLines, int nLinesToExtract, int nMinHits=1) |
Performs the Hough transform for straight lines on a CByteImage. | |
void | ImageProcessor::HoughTransformLines (const CVec2dArray &edgePoints, const CVec2dArray &edgeDirections, int width, int height, int nLinesToExtract, int nMinHits, CVec2dArray &resultLines, CIntArray &resultHits, CByteImage *pVisualizationImage=0) |
Performs the Hough transform for straight lines, given a list of edge points and directions. | |
bool | ImageProcessor::Invert (const CByteImage *pInputImage, CByteImage *pOutputImage) |
Calculates the inverted image of a CByteImage and writes the result to a CByteImage. | |
bool | ImageProcessor::Laplace1 (const CByteImage *pInputImage, CShortImage *pOutputImage, bool bAbsoluteValue=true) |
Filters a CByteImage with the Laplace1 operator and writes the result to a CShortImage. | |
bool | ImageProcessor::Laplace1 (const CByteImage *pInputImage, CByteImage *pOutputImage, bool bAbsoluteValue=true) |
Filters a CByteImage with the Laplace1 operator and writes the result to a CByteImage. | |
bool | ImageProcessor::Laplace2 (const CByteImage *pInputImage, CShortImage *pOutputImage, bool bAbsoluteValue=true) |
Filters a CByteImage with the Laplace2 operator and writes the result to a CShortImage. | |
bool | ImageProcessor::Laplace2 (const CByteImage *pInputImage, CByteImage *pOutputImage, bool bAbsoluteValue=true) |
Filters a CByteImage with the Laplace2 operator and writes the result to a CByteImage. | |
bool | ImageProcessor::Max (const CByteImage *pInputImage1, const CByteImage *pInputImage2, CByteImage *pOutputImage) |
Sets each pixel in a CByteImage to the maximum of the corresponding pixels in two instances of CByteImage. | |
unsigned char | ImageProcessor::MaxValue (const CByteImage *pImage) |
Returns the maximum value within a grayscale CByteImage. | |
short | ImageProcessor::MaxValue (const CShortImage *pImage) |
Returns the maximum value within a CShortImage. | |
int | ImageProcessor::MaxValue (const CIntImage *pImage) |
Returns the maximum value within a CIntImage. | |
bool | ImageProcessor::Min (const CByteImage *pInputImage1, const CByteImage *pInputImage2, CByteImage *pOutputImage) |
Sets each pixel in a CByteImage to the minimum of the corresponding pixels in two instances of CByteImage. | |
bool | ImageProcessor::MinMaxValue (const CByteImage *pImage, unsigned char &min, unsigned char &max) |
Computes the minimum and maximum value within a grayscale CByteImage. | |
void | ImageProcessor::MinMaxValue (const CShortImage *pImage, short &min, short &max) |
Computes the minimum and maximum value within a CShortImage. | |
void | ImageProcessor::MinMaxValue (const CIntImage *pImage, int &min, int &max) |
Computes the minimum and maximum value within a CIntImage. | |
unsigned char | ImageProcessor::MinValue (const CByteImage *pImage) |
Returns the minimum value within a grayscale CByteImage. | |
short | ImageProcessor::MinValue (const CShortImage *pImage) |
Returns the minimum value within a CShortImage. | |
int | ImageProcessor::MinValue (const CIntImage *pImage) |
Returns the minimum value within a CIntImage. | |
bool | ImageProcessor::NormalizeColor (const CByteImage *pInputImage, CByteImage *pOutputImage) |
Applies histogram equalization to all channels of a color CByteImage. | |
bool | ImageProcessor::Or (const CByteImage *pInputImage1, const CByteImage *pInputImage2, CByteImage *pOutputImage) |
Applies the bitwise operator OR to two instance of CByteImage and writes the result to a CByteImage. | |
unsigned int | ImageProcessor::PixelSum (const CByteImage *pImage) |
Returns the sum of all pixel values of a grayscale CByteImage. | |
bool | ImageProcessor::PrewittX (const CByteImage *pInputImage, CShortImage *pOutputImage, bool bAbsoluteValue=true) |
Filters a CByteImage with the PrewittX operator and writes the result to a CShortImage. | |
bool | ImageProcessor::PrewittX (const CByteImage *pInputImage, CByteImage *pOutputImage, bool bAbsoluteValue=true) |
Filters a CByteImage with the PrewittX operator and writes the result to a CByteImage. | |
bool | ImageProcessor::PrewittY (const CByteImage *pInputImage, CShortImage *pOutputImage, bool bAbsoluteValue=true) |
Filters a CByteImage with the PrewittY operator and writes the result to a CShortImage. | |
bool | ImageProcessor::PrewittY (const CByteImage *pInputImage, CByteImage *pOutputImage, bool bAbsoluteValue=true) |
Filters a CByteImage with the PrewittY operator and writes the result to a CByteImage. | |
int | ImageProcessor::RegionGrowing (const CByteImage *pInputImage, MyRegion &resultRegion, int x, int y, int nMinimumPointsPerRegion=0, int nMaximumPointsPerRegion=0, bool bCalculateBoundingBox=true, bool bStorePixels=false) |
Performs a region growing on a binary CByteImage on the basis of one seed point and stores the computed region in a MyRegion. | |
bool | ImageProcessor::Resize (const CByteImage *pInputImage, CByteImage *pOutputImage, const MyRegion *pROI=0, bool bInterpolation=true) |
Resizes a CByteImage and writes the result to a CByteImage. | |
bool | ImageProcessor::Rotate (const CByteImage *pInputImage, CByteImage *pOutputImage, float mx, float my, float theta, bool bInterpolation=true) |
Rotates pInputImage to the dimensions specified by pOutputImage and stores the result in pOutputImage. | |
bool | ImageProcessor::Rotate180Degrees (const CByteImage *pInputImage, CByteImage *pOutputImage) |
Rotates a CByteImage by 180 degrees and writes the result to a CByteImage. | |
bool | ImageProcessor::SobelX (const CByteImage *pInputImage, CShortImage *pOutputImage, bool bAbsoluteValue=true) |
Filters a CByteImage with the SobelX operator and writes the result to a CShortImage. | |
bool | ImageProcessor::SobelX (const CByteImage *pInputImage, CByteImage *pOutputImage, bool bAbsoluteValue=true) |
Filters a CByteImage with the SobelX operator and writes the result to a CByteImage. | |
bool | ImageProcessor::SobelY (const CByteImage *pInputImage, CShortImage *pOutputImage, bool bAbsoluteValue=true) |
Filters a CByteImage with the SobelY operator and writes the result to a CShortImage. | |
bool | ImageProcessor::SobelY (const CByteImage *pInputImage, CByteImage *pOutputImage, bool bAbsoluteValue=true) |
Filters a CByteImage with the SobelY operator and writes the result to a CByteImage. | |
bool | ImageProcessor::Spread (const CByteImage *pInputImage, CByteImage *pOutputImage) |
Performs a spread operation on pInputImage and stores the result in pOutputImage. | |
bool | ImageProcessor::Subtract (const CByteImage *pInputImage1, const CByteImage *pInputImage2, CByteImage *pOutputImage) |
Sets each pixel in a CByteImage to the difference between the corresponding pixels in two instances of CByteImage. | |
bool | ImageProcessor::SubtractWithSaturation (const CByteImage *pInputImage1, const CByteImage *pInputImage2, CByteImage *pOutputImage) |
Sets each pixel in a CByteImage to the difference between the corresponding pixels in two instances of CByteImage, handling overflows with saturation. | |
bool | ImageProcessor::ThresholdBinarize (const CByteImage *pInputImage, CByteImage *pOutputImage, unsigned char nThreshold) |
Performs threshold binarization to a CByteImage and writes the result to a CByteImage. | |
bool | ImageProcessor::ThresholdBinarize (const CByteImage *pInputImage, CByteImage *pOutputImage, unsigned char nMinThreshold, unsigned char nMaxThreshold) |
Performs threshold binarization to a CByteImage and writes the result to a CByteImage. | |
bool | ImageProcessor::ThresholdBinarize (const CFloatMatrix *pInputImage, CFloatMatrix *pOutputImage, float fThreshold) |
Performs threshold binarization to a CFloatMatrix and writes the result to a CFloatMatrix. | |
bool | ImageProcessor::ThresholdBinarizeInverse (const CByteImage *pInputImage, CByteImage *pOutputImage, unsigned char nThreshold) |
Performs inverse threshold binarization to a CByteImage and writes the result to a CByteImage. | |
bool | ImageProcessor::ThresholdFilter (const CByteImage *pInputImage, CByteImage *pOutputImage, unsigned char nThreshold) |
Performs threhold filtering to a CByteImage and writes the result to a CByteImage. | |
bool | ImageProcessor::ThresholdFilterInverse (const CByteImage *pInputImage, CByteImage *pOutputImage, unsigned char nThreshold) |
Performs inverse threhold filtering to a CByteImage and writes the result to a CByteImage. | |
bool | ImageProcessor::Xor (const CByteImage *pInputImage1, const CByteImage *pInputImage2, CByteImage *pOutputImage) |
Applies the bitwise operator XOR to two instance of CByteImage and writes the result to a CByteImage. | |
void | ImageProcessor::Zero (CByteImage *pImage, const MyRegion *pROI=0) |
Sets all values in a CByteImage to zero. | |
void | ImageProcessor::Zero (CShortImage *pImage) |
Sets all values in a CShortImage to zero. | |
void | ImageProcessor::Zero (CIntImage *pImage) |
Sets all values in a CIntImage to zero. | |
void | ImageProcessor::Zero (CFloatMatrix *pImage) |
Sets all values in a CFloatMatrix to zero. | |
void | ImageProcessor::Zero (CDoubleMatrix *pImage) |
Sets all values in a CDoubleMatrix to zero. | |
void | ImageProcessor::ZeroFrame (CByteImage *pImage) |
Sets all pixels on a one pixel wide frame of a CByteImage to zero. | |
void | ImageProcessor::ZeroFrame (CShortImage *pImage) |
Sets all pixels on a one pixel wide frame of a CShortImage to zero. | |
void | ImageProcessor::ZeroFrame (CIntImage *pImage) |
Sets all pixels on a one pixel wide frame of a CIntImage to zero. |