AbsDiffTransform
Take the absolute difference of two matrices.
- file: imgproc/absdiff.cpp
- inherits: UntrainableMetaTransform
- author(s): Josh Klontz
- properties: None
AbsTransform
Computes the absolute value of each element.
- file: imgproc/abs.cpp
- inherits: UntrainableTransform
- author(s): Josh Klontz
- properties: None
AdaptiveThresholdTransform
Wraps OpenCV's adaptive thresholding.
- file: imgproc/adaptivethreshold.cpp
- inherits: UntrainableTransform
- author(s): Scott Klum
- see:
- properties: None
AffineTransform
Performs a two or three point registration.
- file: imgproc/affine.cpp
- inherits: UntrainableTransform
- author(s): Josh Klontz
- properties: None
AndTransform
Logical AND of two matrices.
- file: imgproc/and.cpp
- inherits: UntrainableMetaTransform
- author(s): Josh Klontz
- properties: None
ApplyMaskTransform
Applies a mask from the metadata.
- file: imgproc/applymask.cpp
- inherits: UntrainableTransform
- author(s): Austin Blanton
- properties: None
BayesianQuantizationTransform
Quantize into a space where L1 distance approximates log-likelihood.
- file: imgproc/bayesianquantization.cpp
- inherits: Transform
- author(s): Josh Klontz
- properties: None
BinarizeTransform
Approximate floats as signed bit.
- file: imgproc/binarize.cpp
- inherits: UntrainableTransform
- author(s): Josh Klontz
- properties: None
BlendTransform
Alpha-blend matrices
- file: imgproc/blend.cpp
- inherits: UntrainableMetaTransform
- author(s): Josh Klontz
- properties: None
BlurTransform
Gaussian blur
- file: imgproc/blur.cpp
- inherits: UntrainableTransform
- author(s): Josh Klontz
- properties: None
BuildScalesTransform
DOCUMENT ME
- file: imgproc/multiscale.cpp
- inherits: Transform
- author(s): Austin Blanton
- properties: None
ByRowTransform
Turns each row into its own matrix.
- file: imgproc/byrow.cpp
- inherits: UntrainableTransform
- author(s): Josh Klontz
- properties: None
CannyTransform
Wrapper to OpenCV Canny edge detector
- file: imgproc/canny.cpp
- inherits: UntrainableTransform
- author(s): Scott Klum
- see:
- properties: None
CatColsTransform
Concatenates all input matrices by column into a single matrix. Use after a fork to concatenate two feature matrices by column.
- file: imgproc/catcols.cpp
- inherits: UntrainableMetaTransform
- author(s): Austin Blanton
- properties: None
CatRowsTransform
Concatenates all input matrices by row into a single matrix. All matricies must have the same column counts.
- file: imgproc/catrows.cpp
- inherits: UntrainableMetaTransform
- author(s): Josh Klontz
- properties: None
CatTransform
Concatenates all input matrices into a single matrix.
- file: imgproc/cat.cpp
- inherits: UntrainableMetaTransform
- author(s): Josh Klontz
- properties: None
CenterTransform
Normalize each dimension based on training data.
- file: imgproc/center.cpp
- inherits: Transform
- author(s): Josh Klontz
- properties: None
ContrastEqTransform
Perform contrast equalization
- file: imgproc/contrasteq.cpp
- inherits: UntrainableTransform
- author(s): Josh Klontz
-
read:
- Xiaoyang Tan; Triggs, B.;
"Enhanced Local Texture Feature Sets for Face Recognition Under Difficult Lighting Conditions," Image Processing, IEEE Transactions on , vol.19, no.6, pp.1635-1650, June 2010
- Xiaoyang Tan; Triggs, B.;
-
properties: None
ConvexHullTransform
Set the template's label to the area of the largest convex hull.
- file: imgproc/convexhull.cpp
- inherits: UntrainableTransform
- author(s): Josh Klontz
- properties: None
CropBlackTransform
Crop out black borders
- file: imgproc/cropblack.cpp
- inherits: UntrainableTransform
- author(s): Josh Klontz
- properties: None
CropFromLandmarksTransform
Crops around the landmarks numbers provided.
- file: imgproc/cropfromlandmarks.cpp
- inherits: UntrainableTransform
- author(s): Brendan Klare
- properties: None
CropFromMaskTransform
Crops image based on mask metadata
- file: imgproc/cropfrommask.cpp
- inherits: UntrainableTransform
- author(s): Brendan Klare
- properties: None
CropSquareTransform
Trim the image so the width and the height are the same size.
- file: imgproc/cropsquare.cpp
- inherits: UntrainableTransform
- author(s): Josh Klontz
- properties: None
CropTransform
Crops about the specified region of interest.
- file: imgproc/crop.cpp
- inherits: UntrainableTransform
- author(s): Josh Klontz
- properties: None
CryptographicHashTransform
Wraps QCryptographicHash
- file: imgproc/cryptographichash.cpp
- inherits: UntrainableTransform
- author(s): Josh Klontz
- see:
- properties: None
CustomSIFTTransform
Specialize wrapper OpenCV SIFT wrapper
- file: imgproc/custom_sift.cpp
- inherits: UntrainableTransform
- author(s): Josh Klontz
- properties: None
CvtFloatTransform
Convert to floating point format.
- file: imgproc/cvtfloat.cpp
- inherits: UntrainableTransform
- author(s): Josh Klontz
- properties: None
CvtTransform
Colorspace conversion.
- file: imgproc/cvt.cpp
- inherits: UntrainableTransform
- author(s): Josh Klontz
- properties: None
CvtUCharTransform
Convert to uchar format
- file: imgproc/cvtuchar.cpp
- inherits: UntrainableTransform
- author(s): Josh Klontz
- properties: None
DiscardAlphaTransform
Drop the alpha channel (if exists).
- file: imgproc/discardalpha.cpp
- inherits: UntrainableTransform
- author(s): Austin Blanton
- properties: None
DivTransform
Enforce a multiple of n columns.
- file: imgproc/div.cpp
- inherits: UntrainableTransform
- author(s): Josh Klontz
- properties: None
DoGTransform
Difference of gaussians
- file: imgproc/dog.cpp
- inherits: UntrainableTransform
- author(s): Josh Klontz
- properties: None
DownsampleTransform
Downsample the rows and columns of a matrix.
- file: imgproc/downsample.cpp
- inherits: UntrainableTransform
- author(s): Lacey Best-Rowden
- properties: None
DupTransform
Duplicates the Template data.
- file: imgproc/dup.cpp
- inherits: UntrainableMetaTransform
- author(s): Josh Klontz
- properties: None
EnsureChannelsTransform
Enforce the matrix has a certain number of channels by adding or removing channels.
- file: imgproc/ensurechannels.cpp
- inherits: UntrainableTransform
- author(s): Josh Klontz
- properties: None
EqualizeHistTransform
Histogram equalization
- file: imgproc/equalizehist.cpp
- inherits: UntrainableTransform
- author(s): Josh Klontz
- properties: None
FillContoursTransform
Fills contours with white pixels.
- file: imgproc/fillcontours.cpp
- inherits: UntrainableTransform
- author(s): Scott Klum
- properties: None
FlipTransform
Flips the image about an axis.
- file: imgproc/flip.cpp
- inherits: UntrainableTransform
- author(s): Josh Klontz
- properties: None
FloodTransform
Fill black pixels with the specified color.
- file: imgproc/flood.cpp
- inherits: UntrainableTransform
- author(s): Josh Klontz
- properties: None
GaborJetTransform
A vector of gabor wavelets applied at a point.
- file: imgproc/gabor.cpp
- inherits: UntrainableTransform
- author(s): Josh Klontz
- properties: None
GaborTransform
Implements a Gabor Filter
- file: imgproc/gabor.cpp
- inherits: UntrainableTransform
- author(s): Josh Klontz
- see:
- properties: None
GammaTransform
Gamma correction
- file: imgproc/gamma.cpp
- inherits: UntrainableTransform
- author(s): Josh Klontz
- properties: None
GradientMaskTransform
Masks image according to pixel change.
- file: imgproc/gradientmask.cpp
- inherits: UntrainableTransform
- author(s): Josh Klontz
- properties: None
GradientTransform
Computes magnitude and/or angle of image.
- file: imgproc/gradient.cpp
- inherits: UntrainableTransform
- author(s): Josh Klontz
- properties: None
GroupTransform
Group all input matrices into a single matrix.
Similar to CatTransfrom but groups every size adjacent matricies.
- file: imgproc/group.cpp
- inherits: UntrainableMetaTransform
- author(s): Josh Klontz
- properties: None
HeatmapTransform
Applies a colormap to src.
- file: imgproc/heatmap.cpp
- inherits: UntrainableTransform
- author(s): Scott Klum
- properties: None
HistBinTransform
Quantizes the values into bins.
- file: imgproc/histbin.cpp
- inherits: UntrainableTransform
- author(s): Josh Klontz
- properties: None
HistEqQuantizationTransform
Approximate floats as uchar with different scalings for each dimension.
- file: imgproc/histeqquantization.cpp
- inherits: Transform
- author(s): Josh Klontz
- properties: None
HistTransform
Histograms the matrix
- file: imgproc/hist.cpp
- inherits: UntrainableTransform
- author(s): Josh Klontz
- properties: None
HoGDescriptorTransform
OpenCV HOGDescriptor wrapper
- file: imgproc/hog.cpp
- inherits: UntrainableTransform
- author(s): Austin Blanton
- see:
- properties: None
HuMomentsTransform
Computes the seven Hu moments of a shape.
- file: imgproc/humoments.cpp
- inherits: UntrainableTransform
- author(s): Scott Klum
- properties: None
IfTransform
Document Me!
- file: imgproc/if.cpp
- inherits: Transform
- author(s): Scott Klum
- properties: None
InpaintTransform
Wraps OpenCV inpainting
- file: imgproc/inpaint.cpp
- inherits: UntrainableTransform
- author(s): Josh Klontz
- see:
- properties: None
IntegralHistTransform
An integral histogram
- file: imgproc/integralhist.cpp
- inherits: UntrainableTransform
- author(s): Josh Klontz
- properties: None
IntegralSamplerTransform
Sliding window feature extraction from a multi-channel integral image.
- file: imgproc/integralsampler.cpp
- inherits: UntrainableTransform
- author(s): Josh Klontz
- properties: None
IntegralTransform
Computes integral image.
- file: imgproc/integral.cpp
- inherits: UntrainableTransform
- author(s): Josh Klontz
- properties: None
KernelHashTransform
Kernel hash
- file: imgproc/kernelhash.cpp
- inherits: UntrainableTransform
- author(s): Josh Klontz
- properties: None
KeyPointDescriptorTransform
Wraps OpenCV Key Point Descriptor
- file: imgproc/keypointdescriptor.cpp
- inherits: UntrainableTransform
- author(s): Josh Klontz
- see:
- properties: None
LBPTransform
Convert the image into a feature vector using Local Binary Patterns
- file: imgproc/lbp.cpp
- inherits: UntrainableTransform
- author(s): Josh Klontz
-
read:
- Ahonen, T.; Hadid, A.; Pietikainen, M.;
"Face Description with Local Binary Patterns: Application to Face Recognition" Pattern Analysis and Machine Intelligence, IEEE Transactions, vol.28, no.12, pp.2037-2041, Dec. 2006
- Ahonen, T.; Hadid, A.; Pietikainen, M.;
-
properties: None
LTPTransform
DOCUMENT ME
- file: imgproc/ltp.cpp
- inherits: UntrainableTransform
- author(s): Brendan Klare, Josh Klontz
-
read:
- Tan, Xiaoyang, and Bill Triggs.
"Enhanced local texture feature sets for face recognition under difficult lighting conditions." Analysis and Modeling of Faces and Gestures. Springer Berlin Heidelberg, 2007. 168-182.
- Tan, Xiaoyang, and Bill Triggs.
-
properties: None
LargestConvexAreaTransform
Set the template's label to the area of the largest convex hull.
- file: imgproc/largestconvexarea.cpp
- inherits: UntrainableTransform
- author(s): Josh Klontz
- properties: None
LimitSizeTransform
Limit the size of the template
- file: imgproc/limitsize.cpp
- inherits: UntrainableTransform
- author(s): Josh Klontz
- properties: None
MAddTransform
dst = a*src+b
- file: imgproc/madd.cpp
- inherits: UntrainableTransform
- author(s): Josh Klontz
- properties: None
MaskTransform
Applies an eliptical mask
- file: imgproc/mask.cpp
- inherits: UntrainableTransform
- author(s): Josh Klontz
- properties: None
MatStatsTransform
Statistics
- file: imgproc/matstats.cpp
- inherits: UntrainableTransform
- author(s): Josh Klontz
- properties: None
MeanFillTransform
Fill 0 pixels with the mean of non-0 pixels.
- file: imgproc/meanfill.cpp
- inherits: UntrainableTransform
- author(s): Josh Klontz
- properties: None
MeanTransform
Computes the mean of a set of templates.
Suitable for visualization only as it sets every projected template to the mean template.
- file: imgproc/mean.cpp
- inherits: Transform
- author(s): Scott Klum
- properties: None
MergeTransform
Wraps OpenCV merge
- file: imgproc/merge.cpp
- inherits: UntrainableMetaTransform
- author(s): Josh Klontz
- see:
- properties: None
MorphTransform
Morphological operator
- file: imgproc/morph.cpp
- inherits: UntrainableTransform
- author(s): Josh Klontz
- properties: None
NLMeansDenoisingTransform
Wraps OpenCV Non-Local Means Denoising
- file: imgproc/denoising.cpp
- inherits: UntrainableTransform
- author(s): Josh Klontz
- see:
- properties: None
NormalizeTransform
Normalize matrix to unit length
- file: imgproc/normalize.cpp
- inherits: UntrainableTransform
- author(s): Josh Klontz
-
properties:
Property Type Description NormType enum Values are: - NORM_INF
- NORM_L1
- NORM_L2
- NORM_MINMAX
ByRow bool If true normalize each row independently otherwise normalize the entire matrix. alpha int Lower bound if using NORM_MINMAX. Value to normalize to otherwise. beta int Upper bound if using NORM_MINMAX. Not used otherwise. squareRoot bool If true compute the signed square root of the output after normalization.
OrigLinearRegressionTransform
Prediction with magic numbers from jmp; must get input as blue;green;red
- file: imgproc/origlinearregression.cpp
- inherits: UntrainableMetaTransform
- author(s): E. Taborsky
- properties: None
PackTransform
Compress two uchar into one uchar.
- file: imgproc/pack.cpp
- inherits: UntrainableTransform
- author(s): Josh Klontz
- properties: None
PowTransform
Raise each element to the specified power.
- file: imgproc/pow.cpp
- inherits: UntrainableTransform
- author(s): Josh Klontz
- properties: None
ProductQuantizationDistance
Distance in a product quantized space
- file: imgproc/productquantization.cpp
- inherits: UntrainableDistance
- author(s): Josh Klontz
-
read:
- Jegou, Herve, Matthijs Douze, and Cordelia Schmid.
"Product quantization for nearest neighbor search." Pattern Analysis and Machine Intelligence, IEEE Transactions on 33.1 (2011): 117-128
- Jegou, Herve, Matthijs Douze, and Cordelia Schmid.
-
properties: None
ProductQuantizationTransform
Product quantization
- file: imgproc/productquantization.cpp
- inherits: Transform
- author(s): Josh Klontz
-
read:
- Jegou, Herve, Matthijs Douze, and Cordelia Schmid.
"Product quantization for nearest neighbor search." Pattern Analysis and Machine Intelligence, IEEE Transactions on 33.1 (2011): 117-128
- Jegou, Herve, Matthijs Douze, and Cordelia Schmid.
-
properties: None
QuantizeTransform
Approximate floats as uchar.
- file: imgproc/quantize.cpp
- inherits: Transform
- author(s): Josh Klontz
- properties: None
RGTransform
Normalized RG color space.
- file: imgproc/rg.cpp
- inherits: UntrainableTransform
- author(s): Josh Klontz
- properties: None
ROIFromPtsTransform
Crops the rectangular regions of interest from given points and sizes.
- file: imgproc/roifrompoints.cpp
- inherits: UntrainableTransform
- author(s): Austin Blanton
- properties: None
ROITransform
Crops the rectangular regions of interest.
- file: imgproc/roi.cpp
- inherits: UntrainableTransform
- author(s): Josh Klontz
-
properties:
Property Type Description propName QString Optional property name for a rectangle in metadata. If no propName is given the transform will use rects stored in the file.rects field or build a rectangle using "X", "Y", "Width", and "Height" fields if they exist. copyOnCrop bool If true make a clone of each crop before appending the crop to dst. This guarantees that the crops will be continuous in memory, which is an occasionally useful property. Default is false.
RankTransform
Converts each element to its rank-ordered value.
- file: imgproc/rank.cpp
- inherits: UntrainableTransform
- author(s): Josh Klontz
- properties: None
RectRegionsTransform
Subdivide matrix into rectangular subregions.
- file: imgproc/rectregions.cpp
- inherits: UntrainableTransform
- author(s): Josh Klontz
- properties: None
RecursiveIntegralSamplerTransform
Construct Template in a recursive decent manner.
- file: imgproc/recursiveintegralsampler.cpp
- inherits: Transform
- author(s): Josh Klontz
- properties: None
RedLinearRegressionTransform
Prediction using only the red wavelength; magic numbers from jmp
- file: imgproc/redlinearregression.cpp
- inherits: UntrainableTransform
- author(s): E. Taborsky
- properties: None
ReshapeTransform
Reshape each matrix to the specified number of rows.
- file: imgproc/reshape.cpp
- inherits: UntrainableTransform
- author(s): Josh Klontz
- properties: None
ResizeFilterTransform
Resize the template depending on its metadata
- file: imgproc/resizefilter.cpp
- inherits: UntrainableTransform
- author(s): [Jordan Cheney][JordanCheney]
- properties: None
ResizeTransform
Resize the template
- file: imgproc/resize.cpp
- inherits: UntrainableTransform
- author(s): Josh Klontz
-
properties:
Property Type Description method enum Resize method. Good options are: - Area should be used for shrinking an image
- Cubic for slow but accurate enlargment
- Bilin for fast enlargement
preserveAspect bool If true, the image will be sized per specification, but a border will be applied to preserve aspect ratio.
RevertAffineTransform
Designed for use after eye detection + Stasm, this will revert the detected landmarks to the original coordinate space before affine alignment to the stasm mean shape. The storeAffine parameter must be set to true when calling AffineTransform before this.
- file: imgproc/revertaffine.cpp
- inherits: UntrainableTransform
- author(s): Brendan Klare
- properties: None
RndAffineTransform
Perform a number of random transformations to the points in metadata as "Affine_0" and "Affine_1"
- file: imgproc/rndaffine.cpp
- inherits: UntrainableMetaTransform
- author(s): Jordan Cheney
-
properties:
Property Type Description numAffines int The number of independent random transformations to perform. The result of each transform is stored as its own template in the output TemplateList scaleFactor float Controls the magnitude of the random changes to the affine points maxAngle int the maximum angle between the original line between the two affine points and the new line between the points.
RndPointTransform
Generates a random landmark.
- file: imgproc/rndpoint.cpp
- inherits: Transform
- author(s): Josh Klontz
- properties: None
RndRegionTransform
Selects a random region.
- file: imgproc/rndregion.cpp
- inherits: UntrainableTransform
- author(s): Josh Klontz
- properties: None
RndRotateTransform
Randomly rotates an image in a specified range.
- file: imgproc/rndrotate.cpp
- inherits: UntrainableTransform
- author(s): Scott Klum
- properties: None
RndSubspaceTransform
Generates a random subspace.
- file: imgproc/rndsubspace.cpp
- inherits: Transform
- author(s): Josh Klontz
- properties: None
RootNormTransform
dst=sqrt(norm_L1(src)) proposed as RootSIFT (see paper)
- file: imgproc/rootnorm.cpp
- inherits: UntrainableTransform
- author(s): Josh Klontz
-
read:
- Arandjelovic, Relja, and Andrew Zisserman.
"Three things everyone should know to improve object retrieval." Computer Vision and Pattern Recognition (CVPR), 2012 IEEE Conference on. IEEE, 2012.
- Arandjelovic, Relja, and Andrew Zisserman.
-
properties: None
RowWiseMeanCenterTransform
Remove the row-wise training set average.
- file: imgproc/rowwisemeancenter.cpp
- inherits: Transform
- author(s): Josh Klontz
- properties: None
SIFTDescriptorTransform
Specialize wrapper OpenCV SIFT wrapper
- file: imgproc/sift.cpp
- inherits: UntrainableTransform
- author(s): Josh Klontz
- see:
- properties: None
SampleFromMaskTransform
Samples pixels from a mask.
- file: imgproc/samplefrommask.cpp
- inherits: UntrainableTransform
- author(s): Scott Klum
- properties: None
ScaleMatTransform
Scales the mat values by provided factor
- file: imgproc/scalemat.cpp
- inherits: UntrainableTransform
- author(s): Brendan Klare
- properties: None
ScaleTransform
Scales using the given factor
- file: imgproc/scale.cpp
- inherits: UntrainableTransform
- author(s): Scott Klum
- properties: None
SkinMaskTransform
Make a mask over skin in an image
- file: imgproc/skinmask.cpp
- inherits: UntrainableTransform
- author(s): Josh Klontz
- see:
- properties: None
SlidingWindowTransform
Sliding Window Framework for object detection. Performs an exhaustive search of an image by sliding a window of a given size around the image and then resizing the image and repeating until terminating conditions are met.
- file: imgproc/slidingwindow.cpp
- inherits: MetaTransform
- author(s): Jordan Cheney, Scott Klum
-
properties:
Property Type Description classifier Classifier* The classifier that determines if a given window is a positive or negative sample. The size of the window is determined using the classifiers windowSize method. minSize int The smallest sized object to detect in pixels maxSize int The largest sized object to detect in pixels. A negative value will set maxSize == image size scaleFactor float The factor to scale the image by during each resize. minNeighbors int Parameter for non-maximum supression confidenceThreshold float A threshold for positive detections. Positive detections returned by the classifier that have confidences below this threshold are considered negative detections. eps float Parameter for non-maximum supression
SobelTransform
Approximates the gradient in an image using sobel operator.
- file: imgproc/sobel.cpp
- inherits: UntrainableTransform
- author(s): Scott Klum
- properties: None
SplitChannelsTransform
Split a multi-channel matrix into several single-channel matrices.
- file: imgproc/split.cpp
- inherits: UntrainableTransform
- author(s): Josh Klontz
- properties: None
SplitRowsTransform
Split a multi-row matrix into several single-row or smaller multi-row matrices.
- file: imgproc/split.cpp
- inherits: UntrainableTransform
- author(s): Josh Klontz
-
properties:
Property Type Description step int The numbers of rows to include in each output matrix.
SubdivideTransform
Divide the matrix into 4 smaller matricies of equal size.
- file: imgproc/subdivide.cpp
- inherits: UntrainableTransform
- author(s): Josh Klontz
- properties: None
SubtractTransform
Subtract two matrices.
- file: imgproc/subtract.cpp
- inherits: UntrainableMetaTransform
- author(s): Josh Klontz
- properties: None
SynthesizePointsTransform
Synthesize additional points via triangulation.
- file: imgproc/synthesizekeypoints.cpp
- inherits: MetadataTransform
- author(s): Josh Klontz
- properties: None
ThresholdTransform
Wraps OpenCV's thresholding.
- file: imgproc/threshold.cpp
- inherits: UntrainableTransform
- author(s): Scott Klum
- see:
- properties: None
TransposeTransform
Get the transpose of the Template matrix
- file: imgproc/transpose.cpp
- inherits: UntrainableTransform
- author(s): Unknown
- properties: None
TrimTransform
Trims a percentage of width and height from the border of a matrix.
- file: imgproc/trim.cpp
- inherits: UntrainableTransform
- author(s): Scott Klum
- properties: None
WatershedSegmentationTransform
Applies watershed segmentation.
- file: imgproc/watershedsegmentation.cpp
- inherits: UntrainableTransform
- author(s): Austin Blanton
- properties: None