Skip to content

Image processing

All modules / imgproc

accumulatefunction

imgproc_misc

accumulateProductfunction

Adds the per-element product of two input images to the accumulator image.

accumulateSquarefunction

Adds the square of a source image to the accumulator image.

accumulateWeightedfunction

Updates a running average.

adaptiveThresholdfunction

Applies an adaptive threshold to an array.

AdaptiveThresholdTypesclass

adaptive threshold algorithm

applyColorMapfunction

example: samples/cpp/snippets/falsecolor.cpp

applyColorMap1function

Applies a user colormap on a given image.

arrowedLinefunction

Draws an arrow segment pointing from the first point to the second one.

bilateralFilterfunction

Applies the bilateral filter to an image.

blendLinearfunction

Performs linear blending of two images:

blurfunction

Blurs an image using the normalized box filter.

boxFilterfunction

Blurs an image using the box filter.

calcBackProjectfunction

Calculates the back projection of a histogram.

calcHistfunction

this variant supports only uniform histograms.

Cannyfunction

imgproc_filter

Canny1function

Finds edges in an image using the Canny algorithm with custom image gradient.

circlefunction

example: samples/cpp/tutorial_code/ImgProc/basic_drawing/Drawing_2.cpp

CLAHEclass

imgproc_shape

clipLinefunction

Clips the line against the image rectangle.

ColorConversionCodesclass

the color conversion codes

ColormapTypesclass

imgproc_shape

compareHistfunction

Compares two histograms.

connectedComponentsfunction

example: samples/cpp/connected_components.cpp

ConnectedComponentsAlgorithmsTypesclass

connected components algorithm

ConnectedComponentsTypesclass

imgproc_misc

connectedComponentsWithAlgorithmfunction

example: samples/cpp/connected_components.cpp

connectedComponentsWithStatsfunction

computes the connected components labeled image of boolean image and also produces a statistics output for each label

connectedComponentsWithStatsWithAlgorithmfunction

computes the connected components labeled image of boolean image and also produces a statistics output for each label

ContourApproximationModesclass

the contour approximation algorithm

convertMapsfunction

Converts image transformation maps from one representation to another.

cornerEigenValsAndVecsfunction

example: samples/python/snippets/texture_flow.py

cornerHarrisfunction

Harris corner detector.

cornerMinEigenValfunction

Calculates the minimal eigenvalue of gradient matrices for corner detection.

cornerSubPixfunction

Refines the corner locations.

createCLAHEfunction

Creates a smart pointer to a cv::CLAHE class and initializes it.

createGeneralizedHoughBallardfunction

Creates a smart pointer to a cv::GeneralizedHoughBallard class and initializes it.

createGeneralizedHoughGuilfunction

Creates a smart pointer to a cv::GeneralizedHoughGuil class and initializes it.

createHanningWindowfunction

This function computes a Hanning window coefficients in two dimensions.

createLineSegmentDetectorfunction

Creates a smart pointer to a LineSegmentDetector object and initializes it.

cvtColorfunction

imgproc_misc

cvtColorTwoPlanefunction

Converts an image from one color space to another where the source image is

demosaicingfunction

main function for all demosaicing processes

dilatefunction

example: samples/cpp/tutorial_code/ImgProc/Morphology_1.cpp

distanceTransformfunction

imgproc_segmentation

DistanceTransformLabelTypesclass

distanceTransform algorithm flags

DistanceTransformMasksclass

imgproc_transform

distanceTransformWithLabelsfunction

imgproc_segmentation

drawContoursfunction

example: samples/python/snippets/contours.py

drawFrameAxesfunction

Draw axes of the world/object coordinate system from pose estimation. See: solvePnP

drawMarkerfunction

-----------------------------------------------------------------------------------------

ellipsefunction

Draws a simple or thick elliptic arc or fills an ellipse sector.

ellipse1function

Draws a simple or thick elliptic arc or fills an ellipse sector.

ellipse2Polyfunction

Approximates an elliptic arc with a polyline.

EMDfunction

Computes the "minimal work" distance between two weighted point configurations.

equalizeHistfunction

Equalizes the histogram of a grayscale image.

erodefunction

imgproc_feature

fillConvexPolyfunction

-----------------------------------------------------------------------------------------

fillPolyfunction

example: samples/cpp/tutorial_code/ImgProc/basic_drawing/Drawing_1.cpp

filter2Dfunction

Convolves an image with the kernel.

filter2Dpfunction

Convolves an image with the kernel.

Filter2DParamsclass

filter2 dparams value in the OpenCV API.

findContoursfunction

Finds contours in a binary image.

findContoursLinkRunsfunction

Find contours using link runs algorithm

findContoursLinkRuns1function

Find contours using link runs algorithm

fisheye_initUndistortRectifyMapfunction

Computes undistortion and rectification maps for image transform by cv::remap(). If D is empty zero

fisheye_undistortImagefunction

Transforms an image to compensate for fisheye lens distortion.

floodFillfunction

Fills a connected component with the given color.

FloodFillFlagsclass

floodfill algorithm flags

FontFaceclass

Wrapper on top of a truetype/opentype/etc font, i.e. Freetype's FT_Face.

GaussianBlurfunction

Blurs an image using a Gaussian filter.

GeneralizedHoughclass

finds arbitrary template in the grayscale image using Generalized Hough Transform

GeneralizedHoughBallardclass

finds arbitrary template in the grayscale image using Generalized Hough Transform

GeneralizedHoughGuilclass

finds arbitrary template in the grayscale image using Generalized Hough Transform

getDerivKernelsfunction

Returns filter coefficients for computing spatial image derivatives.

getFontScaleFromHeightfunction

Calculates the font-specific size to use to achieve a given height in pixels.

getGaborKernelfunction

Returns Gabor filter coefficients.

getGaussianKernelfunction

imgproc_feature

getRectSubPixfunction

Retrieves a pixel rectangle from an image with sub-pixel accuracy.

getStructuringElementfunction

Returns a structuring element of the specified size and shape for morphological operations.

getTextSizefunction

Calculates the width and height of a text string.

getTextSize1function

Calculates the bounding rect for the text

grabCutfunction

example: samples/cpp/grabcut.cpp

GrabCutClassesclass

class of the pixel in GrabCut algorithm

GrabCutModesclass

GrabCut algorithm flags

HersheyFontsclass

Only a subset of Hershey fonts <https://en.wikipedia.org/wiki/Hershey_fonts> are supported

HistCompMethodsclass

imgproc_feature

HoughCirclesfunction

example: samples/cpp/tutorial_code/ImgTrans/houghcircles.cpp

HoughCirclesWithAccumulatorfunction

Finds circles in a grayscale image using the Hough transform and get accumulator.

HoughLinesfunction

example: samples/cpp/tutorial_code/ImgTrans/houghlines.cpp

HoughLinesPfunction

Finds line segments in a binary image using the probabilistic Hough transform.

HoughLinesPointSetfunction

Finds lines in a set of points using the standard Hough transform.

HoughLinesWithAccumulatorfunction

Finds lines in a binary image using the standard Hough transform and get accumulator.

HoughModesclass

imgproc_shape

initInverseRectificationMapfunction

Computes the projection and inverse-rectification transformation map. In essense, this is the inverse of

initUndistortRectifyMapfunction

Computes the undistortion and rectification transformation map.

integralfunction

imgproc_transform

integral2function

imgproc_transform

integral3function

imgproc_transform

InterpolationFlagsclass

imgproc_filter

InterpolationMasksclass

Native enum entries for interpolation masks. Pass an entry to enum-typed arguments or its .value to numeric arguments.

Laplacianfunction

example: samples/cpp/snippets/laplace.cpp

linefunction

Draws a line segment connecting two points.

LineSegmentDetectorclass

imgproc_hist

LineSegmentDetectorModesclass

Variants of Line Segment %Detector

LineTypesclass

LineTypes: types of line

MarkerTypesclass

Possible set of marker types used for the cv::drawMarker function

matchTemplatefunction

example: samples/cpp/tutorial_code/Histograms_Matching/MatchTemplate_Demo.cpp

medianBlurfunction

example: samples/cpp/tutorial_code/ImgProc/Smoothing/Smoothing.cpp

morphologyDefaultBorderValuefunction

returns "magic" border value for erosion and dilation. It is automatically transformed to Scalar::all(-DBL_MAX) for dilation.

morphologyExfunction

Performs advanced morphological transformations.

MorphShapesclass

shape of the structuring element

MorphTypesclass

type of morphological operation

phaseCorrelatefunction

example: samples/cpp/snippets/phase_corr.cpp

phaseCorrelateIterativefunction

Detects translational shifts between two images.

polylinesfunction

Draws several polygonal curves.

preCornerDetectfunction

Calculates a feature map for corner detection.

putTextfunction

Draws a text string.

putText1function

Draws a text string using specified font.

PutTextFlagsclass

Defines various put text flags

pyrDownfunction

imgproc_misc

pyrMeanShiftFilteringfunction

imgproc_segmentation

pyrUpfunction

Upsamples an image and then blurs it.

rectanglefunction

Draws a simple, thick, or filled up-right rectangle.

rectangle1function

use `rec` parameter as alternative specification of the drawn rectangle: `r.tl() and

remapfunction

Applies a generic geometrical transformation to an image.

resizefunction

imgproc_filter

RetrievalModesclass

mode of the contour retrieval algorithm

Scharrfunction

Calculates the first x- or y- image derivative using Scharr operator.

sepFilter2Dfunction

Applies a separable linear filter to an image.

ShapeMatchModesclass

Shape matching methods

Sobelfunction

example: samples/cpp/tutorial_code/ImgTrans/Sobel_Demo.cpp

spatialGradientfunction

Calculates the first order image derivative in both x and y using a Sobel operator

SpecialFilterclass

Native enum entries for special filter. Pass an entry to enum-typed arguments or its .value to numeric arguments.

sqrBoxFilterfunction

Calculates the normalized sum of squares of the pixel values overlapping the filter.

stackBlurfunction

Blurs an image using the stackBlur.

TemplateMatchModesclass

imgproc_color_conversions

thresholdfunction

imgproc_motion

ThresholdTypesclass

type of the threshold operation

thresholdWithMaskfunction

Same as #threshold, but with an optional mask

undistortfunction

Transforms an image to compensate for lens distortion.

UndistortTypesclass

cv::undistort mode

warpAffinefunction

Applies an affine transformation to an image.

warpPerspectivefunction

example: samples/cpp/snippets/warpPerspective_demo.cpp

warpPolarfunction

Remaps an image to polar or semilog-polar coordinates space

WarpPolarModeclass

Specify the polar mapping mode

watershedfunction

imgproc_hist

Constants

Use the named constant from cv. In particular, OpenCV 5 matrix type codes differ from OpenCV 4.

FILTER_SCHARR

filter scharr constant (-1), defined by OpenCV for cv.

MORPH_ERODE

MORPH_ERODE: see #erode

MORPH_DILATE

MORPH_DILATE: see #dilate

MORPH_OPEN

an opening operation

MORPH_CLOSE

a closing operation

MORPH_GRADIENT

a morphological gradient

MORPH_TOPHAT

MORPH_TOPHAT: "top hat"

MORPH_BLACKHAT

MORPH_BLACKHAT: "black hat"

MORPH_HITMISS

MORPH_HITMISS: "hit or miss"

MORPH_RECT

a rectangular structuring element:

E_{ij}=1
MORPH_CROSS

a cross-shaped structuring element:

MORPH_ELLIPSE

an elliptic structuring element, that is, a filled ellipse inscribed

MORPH_DIAMOND

a diamond structuring element defined by Manhattan distance

INTER_NEAREST

bilinear interpolation

INTER_LINEAR

bilinear interpolation

INTER_CUBIC

bicubic interpolation

INTER_AREA

resampling using pixel area relation. It may be a preferred method for image decimation, as it gives moire'-free results. But when the image is zoomed, it is similar to the INTER_NEAREST method.

INTER_LANCZOS4

Lanczos interpolation over 8x8 neighborhood

INTER_LINEAR_EXACT

Bit exact bilinear interpolation

INTER_NEAREST_EXACT

Bit exact nearest neighbor interpolation. This will produce same results as the nearest neighbor method in PIL, scikit-image or Matlab.

INTER_MAX

mask for interpolation codes

WARP_FILL_OUTLIERS

flag, fills all of the destination image pixels. If some of them correspond to outliers in the source image, they are set to zero

WARP_INVERSE_MAP

flag, inverse transformation

WARP_RELATIVE_MAP

warp relative map constant (32), defined by OpenCV for cv.

WARP_POLAR_LINEAR

Remaps an image to/from polar space.

WARP_POLAR_LOG

Remaps an image to/from semilog-polar space.

INTER_BITS

inter bits constant (5), defined by OpenCV for cv.

INTER_BITS2

inter bits2 constant (INTER_BITS * 2), defined by OpenCV for cv.

INTER_TAB_SIZE

inter tab size constant (1 << INTER_BITS), defined by OpenCV for cv.

INTER_TAB_SIZE2

inter tab size2 constant (INTER_TAB_SIZE * INTER_TAB_SIZE), defined by OpenCV for cv.

DIST_MASK_3

DIST_MASK_3: mask=3

DIST_MASK_5

DIST_MASK_5: mask=5

DIST_MASK_PRECISE

dist mask precise constant (0), defined by OpenCV for cv.

THRESH_BINARY
\texttt{dst} (x,y) =  \fork{\texttt{maxval}}{if \(\texttt{src}(x,y) > \texttt{thresh}\)}{0}{otherwise}
THRESH_BINARY_INV
\texttt{dst} (x,y) =  \fork{0}{if \(\texttt{src}(x,y) > \texttt{thresh}\)}{\texttt{maxval}}{otherwise}
THRESH_TRUNC
\texttt{dst} (x,y) =  \fork{\texttt{threshold}}{if \(\texttt{src}(x,y) > \texttt{thresh}\)}{\texttt{src}(x,y)}{otherwise}
THRESH_TOZERO
\texttt{dst} (x,y) =  \fork{\texttt{src}(x,y)}{if \(\texttt{src}(x,y) > \texttt{thresh}\)}{0}{otherwise}
THRESH_TOZERO_INV
\texttt{dst} (x,y) =  \fork{0}{if \(\texttt{src}(x,y) > \texttt{thresh}\)}{\texttt{src}(x,y)}{otherwise}
THRESH_MASK
\texttt{dst} (x,y) =  \fork{0}{if \(\texttt{src}(x,y) > \texttt{thresh}\)}{\texttt{src}(x,y)}{otherwise}
THRESH_OTSU

flag, use Otsu algorithm to choose the optimal threshold value

THRESH_TRIANGLE

flag, use Triangle algorithm to choose the optimal threshold value

THRESH_DRYRUN

flag, compute threshold only (useful for OTSU/TRIANGLE) but does not actually run thresholding

ADAPTIVE_THRESH_MEAN_C

the threshold value T(x,y) is a mean of the \texttt{blockSize} \times \texttt{blockSize} neighborhood of (x, y) minus C

ADAPTIVE_THRESH_GAUSSIAN_C

the threshold value T(x, y) is a weighted sum (cross-correlation with a Gaussian window) of the \texttt{blockSize} \times \texttt{blockSize} neighborhood of (x, y) minus C . The default sigma (standard deviation) is used for the specified blockSize . See #getGaussianKernel

GC_BGD

an obvious background pixels

GC_FGD

an obvious foreground (object) pixel

GC_PR_BGD

a possible background pixel

GC_PR_FGD

a possible foreground pixel

GC_INIT_WITH_RECT

The function initializes the state using the provided mask. Note that GC_INIT_WITH_RECT

GC_INIT_WITH_MASK

The function initializes the state using the provided mask. Note that GC_INIT_WITH_RECT and GC_INIT_WITH_MASK can be combined. Then, all the pixels outside of the ROI are automatically initialized with GC_BGD .

GC_EVAL

The value means that the algorithm should just resume.

GC_EVAL_FREEZE_MODEL

The value means that the algorithm should just run the grabCut algorithm (a single iteration) with the fixed model

DIST_LABEL_CCOMP

each connected component of zeros in src (as well as all the non-zero pixels closest to the connected component) will be assigned the same label

DIST_LABEL_PIXEL

each zero pixel (and all the non-zero pixels closest to it) gets its own label.

FLOODFILL_FIXED_RANGE

If set, the difference between the current pixel and seed pixel is considered. Otherwise, the difference between neighbor pixels is considered (that is, the range is floating).

FLOODFILL_MASK_ONLY

If set, the function does not change the image ( newVal is ignored), and only fills the mask with the value specified in bits 8-16 of flags as described above. This option only make sense in function variants that have the mask parameter.

CC_STAT_LEFT

The leftmost (x) coordinate which is the inclusive start of the bounding

CC_STAT_TOP

The topmost (y) coordinate which is the inclusive start of the bounding

CC_STAT_WIDTH

The horizontal size of the bounding box

CC_STAT_HEIGHT

The vertical size of the bounding box

CC_STAT_AREA

The total area (in pixels) of the connected component

CC_STAT_MAX

Max enumeration value. Used internally only for memory allocation

CCL_DEFAULT

Spaghetti [Bolelli2019] algorithm for 8-way connectivity, Spaghetti4C [Bolelli2021] algorithm for 4-way connectivity.

CCL_WU

Same as CCL_WU. It is preferable to use the flag with the name of the algorithm (CCL_SAUF) rather than the one with the name of the first author (CCL_WU).

CCL_GRANA

Same as CCL_GRANA. It is preferable to use the flag with the name of the algorithm (CCL_BBDT) rather than the one with the name of the first author (CCL_GRANA).

CCL_BOLELLI

Same as CCL_BOLELLI. It is preferable to use the flag with the name of the algorithm (CCL_SPAGHETTI) rather than the one with the name of the first author (CCL_BOLELLI).

CCL_SAUF

Same as CCL_WU. It is preferable to use the flag with the name of the algorithm (CCL_SAUF) rather than the one with the name of the first author (CCL_WU).

CCL_BBDT

Same as CCL_GRANA. It is preferable to use the flag with the name of the algorithm (CCL_BBDT) rather than the one with the name of the first author (CCL_GRANA).

CCL_SPAGHETTI

Same as CCL_BOLELLI. It is preferable to use the flag with the name of the algorithm (CCL_SPAGHETTI) rather than the one with the name of the first author (CCL_BOLELLI).

RETR_EXTERNAL

retrieves only the extreme outer contours. It sets hierarchy[i][2]=hierarchy[i][3]=-1 for all the contours.

RETR_LIST

retrieves all of the contours without establishing any hierarchical relationships.

RETR_CCOMP

retrieves all of the contours and organizes them into a two-level hierarchy. At the top level, there are external boundaries of the components. At the second level, there are boundaries of the holes. If there is another contour inside a hole of a connected component, it is still put at the top level.

RETR_TREE

retrieves all of the contours and reconstructs a full hierarchy of nested contours.

RETR_FLOODFILL

retr floodfill constant (4), defined by OpenCV for cv.

CHAIN_CODE

CHAIN_CODE: TBD

CHAIN_APPROX_NONE

stores absolutely all the contour points. That is, any 2 subsequent points (x1,y1) and (x2,y2) of the contour will be either horizontal, vertical or diagonal neighbors, that is, max(abs(x1-x2),abs(y2-y1))==1.

CHAIN_APPROX_SIMPLE

compresses horizontal, vertical, and diagonal segments and leaves only their end points. For example, an up-right rectangular contour is encoded with 4 points.

CHAIN_APPROX_TC89_L1

applies one of the flavors of the Teh-Chin chain approximation algorithm [TehChin89]

CHAIN_APPROX_TC89_KCOS

applies one of the flavors of the Teh-Chin chain approximation algorithm [TehChin89]

CONTOURS_MATCH_I1
I_1(A,B) =  \sum _{i=1...7}  \left |  \frac{1}{m^A_i} -  \frac{1}{m^B_i} \right |
CONTOURS_MATCH_I2
I_2(A,B) =  \sum _{i=1...7}  \left | m^A_i - m^B_i  \right |
CONTOURS_MATCH_I3
I_3(A,B) =  \max _{i=1...7}  \frac{ \left| m^A_i - m^B_i \right| }{ \left| m^A_i \right| }
HOUGH_STANDARD

probabilistic Hough transform (more efficient in case if the picture contains a few long

HOUGH_PROBABILISTIC

probabilistic Hough transform (more efficient in case if the picture contains a few long linear segments). It returns line segments rather than the whole line. Each segment is represented by starting and ending points, and the matrix must be (the created sequence will be) of the CV_32SC4 type.

HOUGH_MULTI_SCALE

multi-scale variant of the classical Hough transform. The lines are encoded the same way as HOUGH_STANDARD.

HOUGH_GRADIENT

variation of HOUGH_GRADIENT to get better accuracy

HOUGH_GRADIENT_ALT

variation of HOUGH_GRADIENT to get better accuracy

HISTCMP_CORREL

Correlation

d(H_1,H_2) =  \frac{\sum_I (H_1(I) - \bar{H_1}) (H_2(I) - \bar{H_2})}{\sqrt{\sum_I(H_1(I) - \bar{H_1})^2 \sum_I(H_2(I) - \bar{H_2})^2}}
where
\bar{H_k} =  \frac{1}{N} \sum _J H_k(J)
and `N` is a total number of histogram bins.
HISTCMP_CHISQR

Chi-Square

d(H_1,H_2) =  \sum _I  \frac{\left(H_1(I)-H_2(I)\right)^2}{H_1(I)}
HISTCMP_INTERSECT

Intersection

d(H_1,H_2) =  \sum _I  \min (H_1(I), H_2(I))
HISTCMP_BHATTACHARYYA

Synonym for HISTCMP_BHATTACHARYYA

HISTCMP_HELLINGER

Synonym for HISTCMP_BHATTACHARYYA

HISTCMP_CHISQR_ALT

Synonym for HISTCMP_BHATTACHARYYA Alternative Chi-Square

d(H_1,H_2) =  2 * \sum _I  \frac{\left(H_1(I)-H_2(I)\right)^2}{H_1(I)+H_2(I)}
This alternative formula is regularly used for texture comparison. See e.g. [Puzicha1997]
HISTCMP_KL_DIV

Kullback-Leibler divergence

d(H_1,H_2) = \sum _I H_1(I) \log \left(\frac{H_1(I)}{H_2(I)}\right)
LSD_REFINE_NONE

No refinement applied

LSD_REFINE_STD

Standard refinement is applied. E.g. breaking arches into smaller straighter line approximations.

LSD_REFINE_ADV

Advanced refinement. Number of false alarms is calculated, lines are

COLOR_BGR2BGRA

COLOR_BGR2BGRA: [8U/16U/32F]

COLOR_RGB2RGBA

COLOR_RGB2RGBA: [8U/16U/32F]

COLOR_BGRA2BGR

COLOR_BGRA2BGR: [8U/16U/32F]

COLOR_RGBA2RGB

COLOR_RGBA2RGB: [8U/16U/32F]

COLOR_BGR2RGBA

COLOR_BGR2RGBA: [8U/16U/32F]

COLOR_RGB2BGRA

COLOR_RGB2BGRA: [8U/16U/32F]

COLOR_RGBA2BGR

COLOR_RGBA2BGR: [8U/16U/32F]

COLOR_BGRA2RGB

COLOR_BGRA2RGB: [8U/16U/32F]

COLOR_BGR2RGB

COLOR_BGR2RGB: [8U/16U/32F]

COLOR_RGB2BGR

COLOR_RGB2BGR: [8U/16U/32F]

COLOR_BGRA2RGBA

COLOR_BGRA2RGBA: [8U/16U/32F]

COLOR_RGBA2BGRA

COLOR_RGBA2BGRA: [8U/16U/32F]

COLOR_BGR2GRAY

[8U/16U/32F] convert between RGB/BGR and grayscale, color_convert_rgb_gray "color conversions"

COLOR_RGB2GRAY

COLOR_RGB2GRAY: [8U/16U/32F]

COLOR_GRAY2BGR

COLOR_GRAY2BGR: [8U/16U/32F]

COLOR_GRAY2RGB

COLOR_GRAY2RGB: [8U/16U/32F]

COLOR_GRAY2BGRA

COLOR_GRAY2BGRA: [8U/16U/32F]

COLOR_GRAY2RGBA

COLOR_GRAY2RGBA: [8U/16U/32F]

COLOR_BGRA2GRAY

COLOR_BGRA2GRAY: [8U/16U/32F]

COLOR_RGBA2GRAY

COLOR_RGBA2GRAY: [8U/16U/32F]

COLOR_BGR2BGR565

[8U] convert between RGB/BGR and BGR565 (16-bit images)

COLOR_RGB2BGR565

COLOR_RGB2BGR565: [8U]

COLOR_BGR5652BGR

COLOR_BGR5652BGR: [8U]

COLOR_BGR5652RGB

COLOR_BGR5652RGB: [8U]

COLOR_BGRA2BGR565

COLOR_BGRA2BGR565: [8U]

COLOR_RGBA2BGR565

COLOR_RGBA2BGR565: [8U]

COLOR_BGR5652BGRA

COLOR_BGR5652BGRA: [8U]

COLOR_BGR5652RGBA

COLOR_BGR5652RGBA: [8U]

COLOR_GRAY2BGR565

[8U] convert between grayscale to BGR565 (16-bit images)

COLOR_BGR5652GRAY

COLOR_BGR5652GRAY: [8U]

COLOR_BGR2BGR555

[8U] convert between RGB/BGR and BGR555 (16-bit images)

COLOR_RGB2BGR555

COLOR_RGB2BGR555: [8U]

COLOR_BGR5552BGR

COLOR_BGR5552BGR: [8U]

COLOR_BGR5552RGB

COLOR_BGR5552RGB: [8U]

COLOR_BGRA2BGR555

COLOR_BGRA2BGR555: [8U]

COLOR_RGBA2BGR555

COLOR_RGBA2BGR555: [8U]

COLOR_BGR5552BGRA

COLOR_BGR5552BGRA: [8U]

COLOR_BGR5552RGBA

COLOR_BGR5552RGBA: [8U]

COLOR_GRAY2BGR555

[8U] convert between grayscale and BGR555 (16-bit images)

COLOR_BGR5552GRAY

COLOR_BGR5552GRAY: [8U]

COLOR_BGR2XYZ

[8U/16U/32F] convert RGB/BGR to CIE XYZ, color_convert_rgb_xyz "color conversions"

COLOR_RGB2XYZ

COLOR_RGB2XYZ: [8U/16U/32F]

COLOR_XYZ2BGR

COLOR_XYZ2BGR: [8U/16U/32F]

COLOR_XYZ2RGB

COLOR_XYZ2RGB: [8U/16U/32F]

COLOR_BGR2YCrCb

[8U/16U/32F] convert RGB/BGR to luma-chroma (aka YCC), color_convert_rgb_ycrcb "color conversions"

COLOR_BGR2YCR_CB

[8U/16U/32F] convert RGB/BGR to luma-chroma (aka YCC), color_convert_rgb_ycrcb "color conversions"

COLOR_RGB2YCrCb

COLOR_RGB2YCrCb: [8U/16U/32F]

COLOR_RGB2YCR_CB

COLOR_RGB2YCR_CB: [8U/16U/32F]

COLOR_YCrCb2BGR

COLOR_YCrCb2BGR: [8U/16U/32F]

COLOR_YCR_CB2BGR

COLOR_YCR_CB2BGR: [8U/16U/32F]

COLOR_YCrCb2RGB

COLOR_YCrCb2RGB: [8U/16U/32F]

COLOR_YCR_CB2RGB

COLOR_YCR_CB2RGB: [8U/16U/32F]

COLOR_BGR2HSV

[8U/32F] convert RGB/BGR to HSV (hue saturation value) with H range 0..180 if 8 bit image, color_convert_rgb_hsv "color conversions"

COLOR_RGB2HSV

COLOR_RGB2HSV: [8U/32F]

COLOR_BGR2Lab

[8U/32F] convert RGB/BGR to CIE Lab, color_convert_rgb_lab "color conversions"

COLOR_BGR2LAB

[8U/32F] convert RGB/BGR to CIE Lab, color_convert_rgb_lab "color conversions"

COLOR_RGB2Lab

COLOR_RGB2Lab: [8U/32F]

COLOR_RGB2LAB

COLOR_RGB2LAB: [8U/32F]

COLOR_BGR2Luv

[8U/32F] convert RGB/BGR to CIE Luv, color_convert_rgb_luv "color conversions"

COLOR_BGR2LUV

[8U/32F] convert RGB/BGR to CIE Luv, color_convert_rgb_luv "color conversions"

COLOR_RGB2Luv

COLOR_RGB2Luv: [8U/32F]

COLOR_RGB2LUV

COLOR_RGB2LUV: [8U/32F]

COLOR_BGR2HLS

[8U/32F] convert RGB/BGR to HLS (hue lightness saturation) with H range 0..180 if 8 bit image, color_convert_rgb_hls "color conversions"

COLOR_RGB2HLS

COLOR_RGB2HLS: [8U/32F]

COLOR_HSV2BGR

[8U/32F] backward conversions HSV to RGB/BGR with H range 0..180 if 8 bit image

COLOR_HSV2RGB

COLOR_HSV2RGB: [8U/32F]

COLOR_Lab2BGR

COLOR_Lab2BGR: [8U/32F]

COLOR_LAB2BGR

COLOR_LAB2BGR: [8U/32F]

COLOR_Lab2RGB

COLOR_Lab2RGB: [8U/32F]

COLOR_LAB2RGB

COLOR_LAB2RGB: [8U/32F]

COLOR_Luv2BGR

COLOR_Luv2BGR: [8U/32F]

COLOR_LUV2BGR

COLOR_LUV2BGR: [8U/32F]

COLOR_Luv2RGB

COLOR_Luv2RGB: [8U/32F]

COLOR_LUV2RGB

COLOR_LUV2RGB: [8U/32F]

COLOR_HLS2BGR

[8U/32F] backward conversions HLS to RGB/BGR with H range 0..180 if 8 bit image

COLOR_HLS2RGB

COLOR_HLS2RGB: [8U/32F]

COLOR_BGR2HSV_FULL

[8U/32F] convert RGB/BGR to HSV (hue saturation value) with H range 0..255 if 8 bit image, color_convert_rgb_hsv "color conversions"

COLOR_RGB2HSV_FULL

COLOR_RGB2HSV_FULL: [8U/32F]

COLOR_BGR2HLS_FULL

[8U/32F] convert RGB/BGR to HLS (hue lightness saturation) with H range 0..255 if 8 bit image, color_convert_rgb_hls "color conversions"

COLOR_RGB2HLS_FULL

COLOR_RGB2HLS_FULL: [8U/32F]

COLOR_HSV2BGR_FULL

[8U/32F] backward conversions HSV to RGB/BGR with H range 0..255 if 8 bit image

COLOR_HSV2RGB_FULL

COLOR_HSV2RGB_FULL: [8U/32F]

COLOR_HLS2BGR_FULL

[8U/32F] backward conversions HLS to RGB/BGR with H range 0..255 if 8 bit image

COLOR_HLS2RGB_FULL

COLOR_HLS2RGB_FULL: [8U/32F]

COLOR_LBGR2Lab

COLOR_LBGR2Lab: [8U/32F]

COLOR_LBGR2LAB

COLOR_LBGR2LAB: [8U/32F]

COLOR_LRGB2Lab

COLOR_LRGB2Lab: [8U/32F]

COLOR_LRGB2LAB

COLOR_LRGB2LAB: [8U/32F]

COLOR_LBGR2Luv

COLOR_LBGR2Luv: [8U/32F]

COLOR_LBGR2LUV

COLOR_LBGR2LUV: [8U/32F]

COLOR_LRGB2Luv

COLOR_LRGB2Luv: [8U/32F]

COLOR_LRGB2LUV

COLOR_LRGB2LUV: [8U/32F]

COLOR_Lab2LBGR

COLOR_Lab2LBGR: [8U/32F]

COLOR_LAB2LBGR

COLOR_LAB2LBGR: [8U/32F]

COLOR_Lab2LRGB

COLOR_Lab2LRGB: [8U/32F]

COLOR_LAB2LRGB

COLOR_LAB2LRGB: [8U/32F]

COLOR_Luv2LBGR

COLOR_Luv2LBGR: [8U/32F]

COLOR_LUV2LBGR

COLOR_LUV2LBGR: [8U/32F]

COLOR_Luv2LRGB

COLOR_Luv2LRGB: [8U/32F]

COLOR_LUV2LRGB

COLOR_LUV2LRGB: [8U/32F]

COLOR_BGR2YUV

[8U/16U/32F] convert between RGB/BGR and YUV

COLOR_RGB2YUV

COLOR_RGB2YUV: [8U/16U/32F]

COLOR_YUV2BGR

COLOR_YUV2BGR: [8U/16U/32F]

COLOR_YUV2RGB

COLOR_YUV2RGB: [8U/16U/32F]

COLOR_YUV2RGB_NV12

[8U] convert between 4:2:0-subsampled YUV NV12 and RGB, two planes (in one or separate arrays): Y and U/V interleaved, see color_convert_rgb_yuv_42x

COLOR_YUV2BGR_NV12

[8U] convert between 4:2:0-subsampled YUV NV12 and BGR, two planes (in one or separate arrays): Y and U/V interleaved, see color_convert_rgb_yuv_42x

COLOR_YUV2RGB_NV21

synonym to NV21

COLOR_YUV2BGR_NV21

synonym to NV21

COLOR_YUV420sp2RGB

synonym to NV21

COLOR_YUV420SP2RGB

synonym to NV21

COLOR_YUV420sp2BGR

synonym to NV21

COLOR_YUV420SP2BGR

synonym to NV21

COLOR_YUV2RGBA_NV12

[8U] convert between 4:2:0-subsampled YUV NV12 and RGBA, two planes (in one or separate arrays): Y and U/V interleaved, see color_convert_rgb_yuv_42x

COLOR_YUV2BGRA_NV12

[8U] convert between 4:2:0-subsampled YUV NV12 and BGRA, two planes (in one or separate arrays): Y and U/V interleaved, see color_convert_rgb_yuv_42x

COLOR_YUV2RGBA_NV21

synonym to NV21

COLOR_YUV2BGRA_NV21

synonym to NV21

COLOR_YUV420sp2RGBA

synonym to NV21

COLOR_YUV420SP2RGBA

synonym to NV21

COLOR_YUV420sp2BGRA

synonym to NV21

COLOR_YUV420SP2BGRA

synonym to NV21

COLOR_YUV2RGB_YV12

synonym to YV12

COLOR_YUV2BGR_YV12

synonym to YV12

COLOR_YUV2RGB_IYUV

synonym to IYUV

COLOR_YUV2BGR_IYUV

synonym to IYUV

COLOR_YUV2RGB_I420

synonym to IYUV

COLOR_YUV2BGR_I420

synonym to IYUV

COLOR_YUV420p2RGB

synonym to YV12

COLOR_YUV420P2RGB

synonym to YV12

COLOR_YUV420p2BGR

synonym to YV12

COLOR_YUV420P2BGR

synonym to YV12

COLOR_YUV2RGBA_YV12

synonym to YV12

COLOR_YUV2BGRA_YV12

synonym to YV12

COLOR_YUV2RGBA_IYUV

synonym to IYUV

COLOR_YUV2BGRA_IYUV

synonym to IYUV

COLOR_YUV2RGBA_I420

synonym to IYUV

COLOR_YUV2BGRA_I420

synonym to IYUV

COLOR_YUV420p2RGBA

synonym to YV12

COLOR_YUV420P2RGBA

synonym to YV12

COLOR_YUV420p2BGRA

synonym to YV12

COLOR_YUV420P2BGRA

synonym to YV12

COLOR_YUV2GRAY_420

synonym to COLOR_YUV2GRAY_420

COLOR_YUV2GRAY_NV21

synonym to COLOR_YUV2GRAY_420

COLOR_YUV2GRAY_NV12

synonym to COLOR_YUV2GRAY_420

COLOR_YUV2GRAY_YV12

synonym to COLOR_YUV2GRAY_420

COLOR_YUV2GRAY_IYUV

synonym to COLOR_YUV2GRAY_420

COLOR_YUV2GRAY_I420

synonym to COLOR_YUV2GRAY_420

COLOR_YUV420sp2GRAY

synonym to COLOR_YUV2GRAY_420

COLOR_YUV420SP2GRAY

synonym to COLOR_YUV2GRAY_420

COLOR_YUV420p2GRAY

synonym to COLOR_YUV2GRAY_420

COLOR_YUV420P2GRAY

synonym to COLOR_YUV2GRAY_420

COLOR_YUV2RGB_UYVY

synonym to UYVY

COLOR_YUV2BGR_UYVY

synonym to UYVY

COLOR_YUV2RGB_Y422

synonym to UYVY

COLOR_YUV2BGR_Y422

synonym to UYVY

COLOR_YUV2RGB_UYNV

synonym to UYVY

COLOR_YUV2BGR_UYNV

synonym to UYVY

COLOR_YUV2RGBA_UYVY

synonym to UYVY

COLOR_YUV2BGRA_UYVY

synonym to UYVY

COLOR_YUV2RGBA_Y422

synonym to UYVY

COLOR_YUV2BGRA_Y422

synonym to UYVY

COLOR_YUV2RGBA_UYNV

synonym to UYVY

COLOR_YUV2BGRA_UYNV

synonym to UYVY

COLOR_YUV2RGB_YUY2

synonym to YUY2

COLOR_YUV2BGR_YUY2

synonym to YUY2

COLOR_YUV2RGB_YVYU

[8U] convert between YUV YVYU and RGB, YUV is 4:2:2-subsampled and interleaved as Y1/V/Y2/U, see color_convert_rgb_yuv_42x

COLOR_YUV2BGR_YVYU

[8U] convert between YUV YVYU and BGR, YUV is 4:2:2-subsampled and interleaved as Y1/V/Y2/U, see color_convert_rgb_yuv_42x

COLOR_YUV2RGB_YUYV

synonym to YUY2

COLOR_YUV2BGR_YUYV

synonym to YUY2

COLOR_YUV2RGB_YUNV

synonym to YUY2

COLOR_YUV2BGR_YUNV

synonym to YUY2

COLOR_YUV2RGBA_YUY2

synonym to YUY2

COLOR_YUV2BGRA_YUY2

synonym to YUY2

COLOR_YUV2RGBA_YVYU

[8U] convert between YUV YVYU and RGBA, YUV is 4:2:2-subsampled and interleaved as Y1/V/Y2/U, see color_convert_rgb_yuv_42x

COLOR_YUV2BGRA_YVYU

[8U] convert between YUV YVYU and BGRA, YUV is 4:2:2-subsampled and interleaved as Y1/V/Y2/U, see color_convert_rgb_yuv_42x

COLOR_YUV2RGBA_YUYV

synonym to YUY2

COLOR_YUV2BGRA_YUYV

synonym to YUY2

COLOR_YUV2RGBA_YUNV

synonym to YUY2

COLOR_YUV2BGRA_YUNV

synonym to YUY2

COLOR_YUV2GRAY_UYVY

synonym to COLOR_YUV2GRAY_UYVY

COLOR_YUV2GRAY_YUY2

synonym to COLOR_YUV2GRAY_YUY2

COLOR_YUV2GRAY_Y422

synonym to COLOR_YUV2GRAY_UYVY

COLOR_YUV2GRAY_UYNV

synonym to COLOR_YUV2GRAY_UYVY

COLOR_YUV2GRAY_YVYU

synonym to COLOR_YUV2GRAY_YUY2

COLOR_YUV2GRAY_YUYV

synonym to COLOR_YUV2GRAY_YUY2

COLOR_YUV2GRAY_YUNV

synonym to COLOR_YUV2GRAY_YUY2

COLOR_RGBA2mRGBA

COLOR_RGBA2mRGBA: [8U]

COLOR_RGBA2M_RGBA

COLOR_RGBA2M_RGBA: [8U]

COLOR_mRGBA2RGBA

COLOR_mRGBA2RGBA: [8U]

COLOR_M_RGBA2RGBA

COLOR_M_RGBA2RGBA: [8U]

COLOR_RGB2YUV_I420

synonym to I420

COLOR_BGR2YUV_I420

synonym to I420

COLOR_RGB2YUV_IYUV

synonym to I420

COLOR_BGR2YUV_IYUV

synonym to I420

COLOR_RGBA2YUV_I420

synonym to I420

COLOR_BGRA2YUV_I420

synonym to I420

COLOR_RGBA2YUV_IYUV

synonym to I420

COLOR_BGRA2YUV_IYUV

synonym to I420

COLOR_RGB2YUV_YV12

[8U] convert between RGB and 4:2:0-subsampled YUV YV12, three planes in one array: Y, V and U, see color_convert_rgb_yuv_42x

COLOR_BGR2YUV_YV12

[8U] convert between BGR and 4:2:0-subsampled YUV YV12, three planes in one array: Y, V and U, see color_convert_rgb_yuv_42x

COLOR_RGBA2YUV_YV12

[8U] convert between RGBA and 4:2:0-subsampled YUV YV12, three planes in one array: Y, V and U, see color_convert_rgb_yuv_42x

COLOR_BGRA2YUV_YV12

[8U] convert between BGRA and 4:2:0-subsampled YUV YV12, three planes in one array: Y, V and U, see color_convert_rgb_yuv_42x

COLOR_BayerBG2BGR

[8U/16U] equivalent to BGGR Bayer pattern

COLOR_BAYER_BG2BGR

[8U/16U] equivalent to BGGR Bayer pattern

COLOR_BayerGB2BGR

[8U/16U] equivalent to GBRG Bayer pattern

COLOR_BAYER_GB2BGR

[8U/16U] equivalent to GBRG Bayer pattern

COLOR_BayerRG2BGR

[8U/16U] equivalent to RGGB Bayer pattern

COLOR_BAYER_RG2BGR

[8U/16U] equivalent to RGGB Bayer pattern

COLOR_BayerGR2BGR

[8U/16U] equivalent to GRBG Bayer pattern

COLOR_BAYER_GR2BGR

[8U/16U] equivalent to GRBG Bayer pattern

COLOR_BayerRGGB2BGR

COLOR_BayerRGGB2BGR: [8U/16U]

COLOR_BAYER_RGGB2BGR

COLOR_BAYER_RGGB2BGR: [8U/16U]

COLOR_BayerGRBG2BGR

COLOR_BayerGRBG2BGR: [8U/16U]

COLOR_BAYER_GRBG2BGR

COLOR_BAYER_GRBG2BGR: [8U/16U]

COLOR_BayerBGGR2BGR

COLOR_BayerBGGR2BGR: [8U/16U]

COLOR_BAYER_BGGR2BGR

COLOR_BAYER_BGGR2BGR: [8U/16U]

COLOR_BayerGBRG2BGR

COLOR_BayerGBRG2BGR: [8U/16U]

COLOR_BAYER_GBRG2BGR

COLOR_BAYER_GBRG2BGR: [8U/16U]

COLOR_BayerRGGB2RGB

COLOR_BayerRGGB2RGB: [8U/16U]

COLOR_BAYER_RGGB2RGB

COLOR_BAYER_RGGB2RGB: [8U/16U]

COLOR_BayerGRBG2RGB

COLOR_BayerGRBG2RGB: [8U/16U]

COLOR_BAYER_GRBG2RGB

COLOR_BAYER_GRBG2RGB: [8U/16U]

COLOR_BayerBGGR2RGB

COLOR_BayerBGGR2RGB: [8U/16U]

COLOR_BAYER_BGGR2RGB

COLOR_BAYER_BGGR2RGB: [8U/16U]

COLOR_BayerGBRG2RGB

COLOR_BayerGBRG2RGB: [8U/16U]

COLOR_BAYER_GBRG2RGB

COLOR_BAYER_GBRG2RGB: [8U/16U]

COLOR_BayerBG2RGB

[8U/16U] equivalent to RGGB Bayer pattern

COLOR_BAYER_BG2RGB

[8U/16U] equivalent to RGGB Bayer pattern

COLOR_BayerGB2RGB

[8U/16U] equivalent to GRBG Bayer pattern

COLOR_BAYER_GB2RGB

[8U/16U] equivalent to GRBG Bayer pattern

COLOR_BayerRG2RGB

[8U/16U] equivalent to BGGR Bayer pattern

COLOR_BAYER_RG2RGB

[8U/16U] equivalent to BGGR Bayer pattern

COLOR_BayerGR2RGB

[8U/16U] equivalent to GBRG Bayer pattern

COLOR_BAYER_GR2RGB

[8U/16U] equivalent to GBRG Bayer pattern

COLOR_BayerBG2GRAY

COLOR_BayerBG2GRAY: [8U/16U]

COLOR_BAYER_BG2GRAY

COLOR_BAYER_BG2GRAY: [8U/16U]

COLOR_BayerGB2GRAY

COLOR_BayerGB2GRAY: [8U/16U]

COLOR_BAYER_GB2GRAY

COLOR_BAYER_GB2GRAY: [8U/16U]

COLOR_BayerRG2GRAY

COLOR_BayerRG2GRAY: [8U/16U]

COLOR_BAYER_RG2GRAY

COLOR_BAYER_RG2GRAY: [8U/16U]

COLOR_BayerGR2GRAY

COLOR_BayerGR2GRAY: [8U/16U]

COLOR_BAYER_GR2GRAY

COLOR_BAYER_GR2GRAY: [8U/16U]

COLOR_BayerRGGB2GRAY

COLOR_BayerRGGB2GRAY: [8U/16U]

COLOR_BAYER_RGGB2GRAY

COLOR_BAYER_RGGB2GRAY: [8U/16U]

COLOR_BayerGRBG2GRAY

COLOR_BayerGRBG2GRAY: [8U/16U]

COLOR_BAYER_GRBG2GRAY

COLOR_BAYER_GRBG2GRAY: [8U/16U]

COLOR_BayerBGGR2GRAY

COLOR_BayerBGGR2GRAY: [8U/16U]

COLOR_BAYER_BGGR2GRAY

COLOR_BAYER_BGGR2GRAY: [8U/16U]

COLOR_BayerGBRG2GRAY

COLOR_BayerGBRG2GRAY: [8U/16U]

COLOR_BAYER_GBRG2GRAY

COLOR_BAYER_GBRG2GRAY: [8U/16U]

COLOR_BayerBG2BGR_VNG

[8U] equivalent to BGGR Bayer pattern

COLOR_BAYER_BG2BGR_VNG

[8U] equivalent to BGGR Bayer pattern

COLOR_BayerGB2BGR_VNG

[8U] equivalent to GBRG Bayer pattern

COLOR_BAYER_GB2BGR_VNG

[8U] equivalent to GBRG Bayer pattern

COLOR_BayerRG2BGR_VNG

[8U] equivalent to RGGB Bayer pattern

COLOR_BAYER_RG2BGR_VNG

[8U] equivalent to RGGB Bayer pattern

COLOR_BayerGR2BGR_VNG

[8U] equivalent to GRBG Bayer pattern

COLOR_BAYER_GR2BGR_VNG

[8U] equivalent to GRBG Bayer pattern

COLOR_BayerRGGB2BGR_VNG

COLOR_BayerRGGB2BGR_VNG: [8U]

COLOR_BAYER_RGGB2BGR_VNG

COLOR_BAYER_RGGB2BGR_VNG: [8U]

COLOR_BayerGRBG2BGR_VNG

COLOR_BayerGRBG2BGR_VNG: [8U]

COLOR_BAYER_GRBG2BGR_VNG

COLOR_BAYER_GRBG2BGR_VNG: [8U]

COLOR_BayerBGGR2BGR_VNG

COLOR_BayerBGGR2BGR_VNG: [8U]

COLOR_BAYER_BGGR2BGR_VNG

COLOR_BAYER_BGGR2BGR_VNG: [8U]

COLOR_BayerGBRG2BGR_VNG

COLOR_BayerGBRG2BGR_VNG: [8U]

COLOR_BAYER_GBRG2BGR_VNG

COLOR_BAYER_GBRG2BGR_VNG: [8U]

COLOR_BayerRGGB2RGB_VNG

COLOR_BayerRGGB2RGB_VNG: [8U]

COLOR_BAYER_RGGB2RGB_VNG

COLOR_BAYER_RGGB2RGB_VNG: [8U]

COLOR_BayerGRBG2RGB_VNG

COLOR_BayerGRBG2RGB_VNG: [8U]

COLOR_BAYER_GRBG2RGB_VNG

COLOR_BAYER_GRBG2RGB_VNG: [8U]

COLOR_BayerBGGR2RGB_VNG

COLOR_BayerBGGR2RGB_VNG: [8U]

COLOR_BAYER_BGGR2RGB_VNG

COLOR_BAYER_BGGR2RGB_VNG: [8U]

COLOR_BayerGBRG2RGB_VNG

COLOR_BayerGBRG2RGB_VNG: [8U]

COLOR_BAYER_GBRG2RGB_VNG

COLOR_BAYER_GBRG2RGB_VNG: [8U]

COLOR_BayerBG2RGB_VNG

[8U] equivalent to RGGB Bayer pattern

COLOR_BAYER_BG2RGB_VNG

[8U] equivalent to RGGB Bayer pattern

COLOR_BayerGB2RGB_VNG

[8U] equivalent to GRBG Bayer pattern

COLOR_BAYER_GB2RGB_VNG

[8U] equivalent to GRBG Bayer pattern

COLOR_BayerRG2RGB_VNG

[8U] equivalent to BGGR Bayer pattern

COLOR_BAYER_RG2RGB_VNG

[8U] equivalent to BGGR Bayer pattern

COLOR_BayerGR2RGB_VNG

[8U] equivalent to GBRG Bayer pattern

COLOR_BAYER_GR2RGB_VNG

[8U] equivalent to GBRG Bayer pattern

COLOR_BayerBG2BGR_EA

[8U/16U] equivalent to BGGR Bayer pattern

COLOR_BAYER_BG2BGR_EA

[8U/16U] equivalent to BGGR Bayer pattern

COLOR_BayerGB2BGR_EA

[8U/16U] equivalent to GBRG Bayer pattern

COLOR_BAYER_GB2BGR_EA

[8U/16U] equivalent to GBRG Bayer pattern

COLOR_BayerRG2BGR_EA

[8U/16U] equivalent to RGGB Bayer pattern

COLOR_BAYER_RG2BGR_EA

[8U/16U] equivalent to RGGB Bayer pattern

COLOR_BayerGR2BGR_EA

[8U/16U] equivalent to GRBG Bayer pattern

COLOR_BAYER_GR2BGR_EA

[8U/16U] equivalent to GRBG Bayer pattern

COLOR_BayerRGGB2BGR_EA

COLOR_BayerRGGB2BGR_EA: [8U/16U]

COLOR_BAYER_RGGB2BGR_EA

COLOR_BAYER_RGGB2BGR_EA: [8U/16U]

COLOR_BayerGRBG2BGR_EA

COLOR_BayerGRBG2BGR_EA: [8U/16U]

COLOR_BAYER_GRBG2BGR_EA

COLOR_BAYER_GRBG2BGR_EA: [8U/16U]

COLOR_BayerBGGR2BGR_EA

COLOR_BayerBGGR2BGR_EA: [8U/16U]

COLOR_BAYER_BGGR2BGR_EA

COLOR_BAYER_BGGR2BGR_EA: [8U/16U]

COLOR_BayerGBRG2BGR_EA

COLOR_BayerGBRG2BGR_EA: [8U/16U]

COLOR_BAYER_GBRG2BGR_EA

COLOR_BAYER_GBRG2BGR_EA: [8U/16U]

COLOR_BayerRGGB2RGB_EA

COLOR_BayerRGGB2RGB_EA: [8U/16U]

COLOR_BAYER_RGGB2RGB_EA

COLOR_BAYER_RGGB2RGB_EA: [8U/16U]

COLOR_BayerGRBG2RGB_EA

COLOR_BayerGRBG2RGB_EA: [8U/16U]

COLOR_BAYER_GRBG2RGB_EA

COLOR_BAYER_GRBG2RGB_EA: [8U/16U]

COLOR_BayerBGGR2RGB_EA

COLOR_BayerBGGR2RGB_EA: [8U/16U]

COLOR_BAYER_BGGR2RGB_EA

COLOR_BAYER_BGGR2RGB_EA: [8U/16U]

COLOR_BayerGBRG2RGB_EA

COLOR_BayerGBRG2RGB_EA: [8U/16U]

COLOR_BAYER_GBRG2RGB_EA

COLOR_BAYER_GBRG2RGB_EA: [8U/16U]

COLOR_BayerBG2RGB_EA

[8U/16U] equivalent to RGGB Bayer pattern

COLOR_BAYER_BG2RGB_EA

[8U/16U] equivalent to RGGB Bayer pattern

COLOR_BayerGB2RGB_EA

[8U/16U] equivalent to GRBG Bayer pattern

COLOR_BAYER_GB2RGB_EA

[8U/16U] equivalent to GRBG Bayer pattern

COLOR_BayerRG2RGB_EA

[8U/16U] equivalent to BGGR Bayer pattern

COLOR_BAYER_RG2RGB_EA

[8U/16U] equivalent to BGGR Bayer pattern

COLOR_BayerGR2RGB_EA

[8U/16U] equivalent to GBRG Bayer pattern

COLOR_BAYER_GR2RGB_EA

[8U/16U] equivalent to GBRG Bayer pattern

COLOR_BayerBG2BGRA

[8U/16U] equivalent to BGGR Bayer pattern

COLOR_BAYER_BG2BGRA

[8U/16U] equivalent to BGGR Bayer pattern

COLOR_BayerGB2BGRA

[8U/16U] equivalent to GBRG Bayer pattern

COLOR_BAYER_GB2BGRA

[8U/16U] equivalent to GBRG Bayer pattern

COLOR_BayerRG2BGRA

[8U/16U] equivalent to RGGB Bayer pattern

COLOR_BAYER_RG2BGRA

[8U/16U] equivalent to RGGB Bayer pattern

COLOR_BayerGR2BGRA

[8U/16U] equivalent to GRBG Bayer pattern

COLOR_BAYER_GR2BGRA

[8U/16U] equivalent to GRBG Bayer pattern

COLOR_BayerRGGB2BGRA

COLOR_BayerRGGB2BGRA: [8U/16U]

COLOR_BAYER_RGGB2BGRA

COLOR_BAYER_RGGB2BGRA: [8U/16U]

COLOR_BayerGRBG2BGRA

COLOR_BayerGRBG2BGRA: [8U/16U]

COLOR_BAYER_GRBG2BGRA

COLOR_BAYER_GRBG2BGRA: [8U/16U]

COLOR_BayerBGGR2BGRA

COLOR_BayerBGGR2BGRA: [8U/16U]

COLOR_BAYER_BGGR2BGRA

COLOR_BAYER_BGGR2BGRA: [8U/16U]

COLOR_BayerGBRG2BGRA

COLOR_BayerGBRG2BGRA: [8U/16U]

COLOR_BAYER_GBRG2BGRA

COLOR_BAYER_GBRG2BGRA: [8U/16U]

COLOR_BayerRGGB2RGBA

COLOR_BayerRGGB2RGBA: [8U/16U]

COLOR_BAYER_RGGB2RGBA

COLOR_BAYER_RGGB2RGBA: [8U/16U]

COLOR_BayerGRBG2RGBA

COLOR_BayerGRBG2RGBA: [8U/16U]

COLOR_BAYER_GRBG2RGBA

COLOR_BAYER_GRBG2RGBA: [8U/16U]

COLOR_BayerBGGR2RGBA

COLOR_BayerBGGR2RGBA: [8U/16U]

COLOR_BAYER_BGGR2RGBA

COLOR_BAYER_BGGR2RGBA: [8U/16U]

COLOR_BayerGBRG2RGBA

COLOR_BayerGBRG2RGBA: [8U/16U]

COLOR_BAYER_GBRG2RGBA

COLOR_BAYER_GBRG2RGBA: [8U/16U]

COLOR_BayerBG2RGBA

[8U/16U] equivalent to RGGB Bayer pattern

COLOR_BAYER_BG2RGBA

[8U/16U] equivalent to RGGB Bayer pattern

COLOR_BayerGB2RGBA

[8U/16U] equivalent to GRBG Bayer pattern

COLOR_BAYER_GB2RGBA

[8U/16U] equivalent to GRBG Bayer pattern

COLOR_BayerRG2RGBA

[8U/16U] equivalent to BGGR Bayer pattern

COLOR_BAYER_RG2RGBA

[8U/16U] equivalent to BGGR Bayer pattern

COLOR_BayerGR2RGBA

[8U/16U] equivalent to GBRG Bayer pattern

COLOR_BAYER_GR2RGBA

[8U/16U] equivalent to GBRG Bayer pattern

COLOR_RGB2YUV_UYVY

synonym to UYVY

COLOR_BGR2YUV_UYVY

synonym to UYVY

COLOR_RGB2YUV_Y422

synonym to UYVY

COLOR_BGR2YUV_Y422

synonym to UYVY

COLOR_RGB2YUV_UYNV

synonym to UYVY

COLOR_BGR2YUV_UYNV

synonym to UYVY

COLOR_RGBA2YUV_UYVY

synonym to UYVY

COLOR_BGRA2YUV_UYVY

synonym to UYVY

COLOR_RGBA2YUV_Y422

synonym to UYVY

COLOR_BGRA2YUV_Y422

synonym to UYVY

COLOR_RGBA2YUV_UYNV

synonym to UYVY

COLOR_BGRA2YUV_UYNV

synonym to UYVY

COLOR_RGB2YUV_YUY2

synonym to YUY2

COLOR_BGR2YUV_YUY2

synonym to YUY2

COLOR_RGB2YUV_YVYU

[8U] convert between RGB and YUV YVYU, YUV is 4:2:2 and interleaved as Y1/V/Y2/U, see color_convert_rgb_yuv_42x

COLOR_BGR2YUV_YVYU

[8U] convert between BGR and YUV YVYU, YUV is 4:2:2 and interleaved as Y1/V/Y2/U, see color_convert_rgb_yuv_42x

COLOR_RGB2YUV_YUYV

synonym to YUY2

COLOR_BGR2YUV_YUYV

synonym to YUY2

COLOR_RGB2YUV_YUNV

synonym to YUY2

COLOR_BGR2YUV_YUNV

synonym to YUY2

COLOR_RGBA2YUV_YUY2

synonym to YUY2

COLOR_BGRA2YUV_YUY2

synonym to YUY2

COLOR_RGBA2YUV_YVYU

[8U] convert between RGBA and YUV YVYU, YUV is 4:2:2 and interleaved as Y1/V/Y2/U, see color_convert_rgb_yuv_42x

COLOR_BGRA2YUV_YVYU

[8U] convert between BGRA and YUV YVYU, YUV is 4:2:2 and interleaved as Y1/V/Y2/U, see color_convert_rgb_yuv_42x

COLOR_RGBA2YUV_YUYV

synonym to YUY2

COLOR_BGRA2YUV_YUYV

synonym to YUY2

COLOR_RGBA2YUV_YUNV

synonym to YUY2

COLOR_BGRA2YUV_YUNV

synonym to YUY2

COLOR_COLORCVT_MAX

synonym to YUY2

FILLED

filled constant (-1), defined by OpenCV for cv.

LINE_4

4-connected line

LINE_8

8-connected line

LINE_AA

antialiased line

FONT_HERSHEY_SIMPLEX

normal size sans-serif font (more complex than FONT_HERSHEY_SIMPLEX)

FONT_HERSHEY_PLAIN

small size sans-serif font

FONT_HERSHEY_DUPLEX

normal size sans-serif font (more complex than FONT_HERSHEY_SIMPLEX)

FONT_HERSHEY_COMPLEX

smaller version of FONT_HERSHEY_COMPLEX

FONT_HERSHEY_TRIPLEX

normal size serif font (more complex than FONT_HERSHEY_COMPLEX)

FONT_HERSHEY_COMPLEX_SMALL

smaller version of FONT_HERSHEY_COMPLEX

FONT_HERSHEY_SCRIPT_SIMPLEX

more complex variant of FONT_HERSHEY_SCRIPT_SIMPLEX

FONT_HERSHEY_SCRIPT_COMPLEX

more complex variant of FONT_HERSHEY_SCRIPT_SIMPLEX

FONT_ITALIC

flag for italic font

MARKER_CROSS

A crosshair marker shape

MARKER_TILTED_CROSS

A 45 degree tilted crosshair marker shape

MARKER_STAR

A star marker shape, combination of cross and tilted cross

MARKER_DIAMOND

A diamond marker shape

MARKER_SQUARE

A square marker shape

MARKER_TRIANGLE_UP

An upwards pointing triangle marker shape

MARKER_TRIANGLE_DOWN

A downwards pointing triangle marker shape

PROJ_SPHERICAL_ORTHO

proj spherical ortho constant (0), defined by OpenCV for cv.

PROJ_SPHERICAL_EQRECT

proj spherical eqrect constant (1), defined by OpenCV for cv.

TM_SQDIFF
R(x,y)= \sum _{x',y'} (T(x',y')-I(x+x',y+y'))^2
TM_SQDIFF_NORMED
R(x,y)= \frac{\sum_{x',y'} (T(x',y')-I(x+x',y+y'))^2}{\sqrt{\sum_{
TM_CCORR
R(x,y)= \sum _{x',y'} (T(x',y') \cdot I(x+x',y+y'))
TM_CCORR_NORMED
R(x,y)= \frac{\sum_{x',y'} (T(x',y') \cdot I(x+x',y+y'))}{\sqrt{
TM_CCOEFF
R(x,y)= \sum _{x',y'} (T'(x',y') \cdot I'(x+x',y+y'))
TM_CCOEFF_NORMED
R(x,y)= \frac{ \sum_{x',y'} (T'(x',y') \cdot I'(x+x',y+y')) }{
COLORMAP_AUTUMN

autumn

COLORMAP_BONE

bone

COLORMAP_JET

jet

COLORMAP_WINTER

winter

COLORMAP_RAINBOW

rainbow

COLORMAP_OCEAN

ocean

COLORMAP_SUMMER

summer

COLORMAP_SPRING

spring

COLORMAP_COOL

cool

COLORMAP_HSV

HSV

COLORMAP_PINK

pink

COLORMAP_HOT

hot

COLORMAP_PARULA

parula

COLORMAP_MAGMA

magma

COLORMAP_INFERNO

inferno

COLORMAP_PLASMA

plasma

COLORMAP_VIRIDIS

viridis

COLORMAP_CIVIDIS

cividis

COLORMAP_TWILIGHT

twilight

COLORMAP_TWILIGHT_SHIFTED

twilight shifted

COLORMAP_TURBO

turbo

COLORMAP_DEEPGREEN

deepgreen

PUT_TEXT_ALIGN_LEFT

put the text to the right from the origin

PUT_TEXT_ALIGN_CENTER

center the text at the origin; not implemented yet

PUT_TEXT_ALIGN_RIGHT

put the text to the left of the origin

PUT_TEXT_ALIGN_MASK

PUT_TEXT_ALIGN_MASK: alignment mask

PUT_TEXT_ORIGIN_TL

PUT_TEXT_ORIGIN_TL: alignment mask

PUT_TEXT_ORIGIN_BL

treat the target image as having bottom-left origin

PUT_TEXT_WRAP

wrap text to the next line if it does not fit