43 #ifndef OPENCV_IMGPROC_HPP
44 #define OPENCV_IMGPROC_HPP
46 #include "opencv2/core.hpp"
1080 enum { PTLOC_ERROR = -2,
1081 PTLOC_OUTSIDE_RECT = -1,
1088 enum { NEXT_AROUND_ORG = 0x00,
1089 NEXT_AROUND_DST = 0x22,
1090 PREV_AROUND_ORG = 0x11,
1091 PREV_AROUND_DST = 0x33,
1092 NEXT_AROUND_LEFT = 0x13,
1093 NEXT_AROUND_RIGHT = 0x31,
1094 PREV_AROUND_LEFT = 0x20,
1095 PREV_AROUND_RIGHT = 0x02
1416 double sigma_scale = 0.6,
double quant = 2.0,
double ang_th = 22.5,
1417 double log_eps = 0,
double density_th = 0.7,
int n_bins = 1024);
1463 int dx,
int dy,
int ksize,
1543 double sigmaX,
double sigmaY = 0,
1575 double sigmaColor,
double sigmaSpace,
1774 int dx,
int dy,
int ksize = 3,
1824 int dx,
int dy,
double scale = 1,
double delta = 0,
1855 int ksize = 1,
double scale = 1,
double delta = 0,
1888 int apertureSize = 3,
bool L2gradient =
false );
1907 bool L2gradient =
false );
1946 int ksize,
double k,
2169 double srn = 0,
double stn = 0,
2170 double min_theta = 0,
double max_theta =
CV_PI );
2202 double minLineLength = 0,
double maxLineGap = 0 );
2223 double min_rho,
double max_rho,
double rho_step,
2224 double min_theta,
double max_theta,
double theta_step );
2274 int method,
double dp,
double minDist,
2312 Point anchor =
Point(-1,-1),
int iterations = 1,
2344 Point anchor =
Point(-1,-1),
int iterations = 1,
2374 Point anchor =
Point(-1,-1),
int iterations = 1,
2418 Size dsize,
double fx = 0,
double fy = 0,
2555 int dstmap1type,
bool nninterpolation =
false );
3046 int flags,
bool conjB =
false);
3078 double thresh,
double maxval,
int type );
3107 double maxValue,
int adaptiveMethod,
3108 int thresholdType,
int blockSize,
double C );
3229 const int* histSize,
const float**
ranges,
3230 bool uniform =
true,
bool accumulate =
false );
3289 double scale = 1,
bool uniform =
true );
3295 double scale = 1,
bool uniform =
true );
3467 double sp,
double sr,
int maxLevel = 1,
3500 int iterCount,
int mode =
GC_EVAL );
4056 double epsilon,
bool closed );
4174 int method,
double parameter );
4208 bool clockwise =
false,
bool returnPoints =
true );
4495 #define CV_RGB(r, g, b) cv::Scalar((b), (g), (r), 0)
4513 int thickness = 1,
int lineType =
LINE_8,
int shift = 0);
4529 int thickness=1,
int line_type=8,
int shift=0,
double tipLength=0.1);
4547 int lineType =
LINE_8,
int shift = 0);
4556 int lineType =
LINE_8,
int shift = 0);
4576 int lineType =
LINE_8,
int shift = 0);
4604 double angle,
double startAngle,
double endAngle,
4606 int lineType =
LINE_8,
int shift = 0);
4618 int thickness = 1,
int lineType =
LINE_8);
4638 int markerType =
MARKER_CROSS,
int markerSize=20,
int thickness=1,
4691 const int*
npts,
int ncontours,
4710 int thickness = 1,
int lineType =
LINE_8,
int shift = 0 );
4714 int ncontours,
bool isClosed,
const Scalar&
color,
4715 int thickness = 1,
int lineType =
LINE_8,
int shift = 0 );
4756 int thickness = 1,
int lineType =
LINE_8,
4800 int arcStart,
int arcEnd,
int delta,
4813 int arcStart,
int arcEnd,
int delta,
4835 int thickness = 1,
int lineType =
LINE_8,
4836 bool bottomLeftOrigin =
false );
4884 double fontScale,
int thickness,
4898 const int pixelHeight,
4899 const int thickness = 1);
5067 #include "./imgproc/segmentation.hpp"
This is a base class for all more or less complex algorithms in OpenCV.
Definition: core.hpp:3197
Base class for Contrast Limited Adaptive Histogram Equalization.
Definition: imgproc.hpp:1040
virtual CV_WRAP void apply(InputArray src, OutputArray dst)=0
Equalizes the histogram of a grayscale image using Contrast Limited Adaptive Histogram Equalization.
virtual CV_WRAP void setTilesGridSize(Size tileGridSize)=0
Sets size of grid for histogram equalization. Input image will be divided into equally sized rectangu...
virtual CV_WRAP Size getTilesGridSize() const =0
Returns Size defines the number of tiles in row and column.
virtual CV_WRAP double getClipLimit() const =0
Returns threshold value for contrast limiting.
virtual CV_WRAP void collectGarbage()=0
virtual CV_WRAP void setClipLimit(double clipLimit)=0
Sets threshold for contrast limiting.
finds arbitrary template in the grayscale image using Generalized Hough Transform
Definition: imgproc.hpp:965
virtual CV_WRAP int getVotesThreshold() const =0
virtual CV_WRAP void setVotesThreshold(int votesThreshold)=0
The accumulator threshold for the template centers at the detection stage. The smaller it is,...
virtual CV_WRAP void setLevels(int levels)=0
R-Table levels.
virtual CV_WRAP int getLevels() const =0
finds arbitrary template in the grayscale image using Generalized Hough Transform
Definition: imgproc.hpp:981
virtual CV_WRAP void setPosThresh(int posThresh)=0
Position votes threshold.
virtual CV_WRAP int getAngleThresh() const =0
virtual CV_WRAP double getXi() const =0
virtual CV_WRAP double getMinScale() const =0
virtual CV_WRAP void setXi(double xi)=0
Angle difference in degrees between two points in feature.
virtual CV_WRAP double getScaleStep() const =0
virtual CV_WRAP double getAngleEpsilon() const =0
virtual CV_WRAP void setMaxScale(double maxScale)=0
Maximal scale to detect.
virtual CV_WRAP void setAngleStep(double angleStep)=0
Angle step in degrees.
virtual CV_WRAP void setAngleEpsilon(double angleEpsilon)=0
Maximal difference between angles that treated as equal.
virtual CV_WRAP void setMinScale(double minScale)=0
Minimal scale to detect.
virtual CV_WRAP int getPosThresh() const =0
virtual CV_WRAP void setScaleThresh(int scaleThresh)=0
Scale votes threshold.
virtual CV_WRAP int getScaleThresh() const =0
virtual CV_WRAP void setLevels(int levels)=0
Feature table levels.
virtual CV_WRAP double getMaxAngle() const =0
virtual CV_WRAP void setMinAngle(double minAngle)=0
Minimal rotation angle to detect in degrees.
virtual CV_WRAP double getAngleStep() const =0
virtual CV_WRAP void setScaleStep(double scaleStep)=0
Scale step.
virtual CV_WRAP void setAngleThresh(int angleThresh)=0
Angle votes threshold.
virtual CV_WRAP double getMaxScale() const =0
virtual CV_WRAP double getMinAngle() const =0
virtual CV_WRAP int getLevels() const =0
virtual CV_WRAP void setMaxAngle(double maxAngle)=0
Maximal rotation angle to detect in degrees.
finds arbitrary template in the grayscale image using Generalized Hough Transform
Definition: imgproc.hpp:929
virtual CV_WRAP double getMinDist() const =0
virtual CV_WRAP void setCannyLowThresh(int cannyLowThresh)=0
Canny low threshold.
virtual CV_WRAP int getMaxBufferSize() const =0
virtual CV_WRAP void detect(InputArray edges, InputArray dx, InputArray dy, OutputArray positions, OutputArray votes=noArray())=0
virtual CV_WRAP void setTemplate(InputArray edges, InputArray dx, InputArray dy, Point templCenter=Point(-1, -1))=0
virtual CV_WRAP void setTemplate(InputArray templ, Point templCenter=Point(-1, -1))=0
set template to search
virtual CV_WRAP void setDp(double dp)=0
Inverse ratio of the accumulator resolution to the image resolution.
virtual CV_WRAP int getCannyLowThresh() const =0
virtual CV_WRAP void setMaxBufferSize(int maxBufferSize)=0
Maximal size of inner buffers.
virtual CV_WRAP void detect(InputArray image, OutputArray positions, OutputArray votes=noArray())=0
find template on image
virtual CV_WRAP void setCannyHighThresh(int cannyHighThresh)=0
Canny high threshold.
virtual CV_WRAP double getDp() const =0
virtual CV_WRAP void setMinDist(double minDist)=0
Minimum distance between the centers of the detected objects.
virtual CV_WRAP int getCannyHighThresh() const =0
Class for iterating over all pixels on a raster line segment.
Definition: imgproc.hpp:4932
uchar * operator*()
Returns pointer to the current pixel.
void init(const Mat *img, Rect boundingAreaRect, Point pt1, Point pt2, int connectivity, bool leftToRight)
int minusStep
Definition: imgproc.hpp:5004
int plusDelta
Definition: imgproc.hpp:5003
int err
Definition: imgproc.hpp:5002
bool ptmode
Definition: imgproc.hpp:5007
LineIterator & operator++()
Moves iterator to the next pixel on the line.
LineIterator(Point pt1, Point pt2, int connectivity=8, bool leftToRight=false)
Definition: imgproc.hpp:4954
int count
Definition: imgproc.hpp:5002
uchar * ptr
Definition: imgproc.hpp:4999
int elemSize
Definition: imgproc.hpp:5001
LineIterator(const Mat &img, Point pt1, Point pt2, int connectivity=8, bool leftToRight=false)
Initializes iterator object for the given line and image.
Definition: imgproc.hpp:4948
LineIterator(Size boundingAreaSize, Point pt1, Point pt2, int connectivity=8, bool leftToRight=false)
Definition: imgproc.hpp:4964
const uchar * ptr0
Definition: imgproc.hpp:5000
int step
Definition: imgproc.hpp:5001
Point p
Definition: imgproc.hpp:5006
int plusShift
Definition: imgproc.hpp:5005
int minusDelta
Definition: imgproc.hpp:5003
int minusShift
Definition: imgproc.hpp:5005
int plusStep
Definition: imgproc.hpp:5004
LineIterator(Rect boundingAreaRect, Point pt1, Point pt2, int connectivity=8, bool leftToRight=false)
Definition: imgproc.hpp:4971
Point pos() const
Returns coordinates of the current pixel.
Line segment detector class.
Definition: imgproc.hpp:1353
virtual CV_WRAP int compareSegments(const Size &size, InputArray lines1, InputArray lines2, InputOutputArray image=noArray())=0
Draws two groups of lines in blue and red, counting the non overlapping (mismatching) pixels.
virtual CV_WRAP void detect(InputArray image, OutputArray lines, OutputArray width=noArray(), OutputArray prec=noArray(), OutputArray nfa=noArray())=0
Finds lines in the input image.
virtual ~LineSegmentDetector()
Definition: imgproc.hpp:1397
virtual CV_WRAP void drawSegments(InputOutputArray image, InputArray lines)=0
Draws the line segments on a given image.
n-dimensional dense array class
Definition: mat.hpp:812
int cols
Definition: mat.hpp:2138
int rows
the number of rows and columns or (-1, -1) when the matrix has more than 2 dimensions
Definition: mat.hpp:2138
Template class for small matrices whose type and size are known at compilation time.
Definition: matx.hpp:100
struct returned by cv::moments
Definition: types.hpp:960
Template class for 2D points specified by its coordinates x and y.
Definition: types.hpp:163
_Tp y
y coordinate of the point
Definition: types.hpp:202
_Tp x
x coordinate of the point
Definition: types.hpp:201
Template class for 2D rectangles.
Definition: types.hpp:444
The class represents rotated (i.e. not up-right) rectangles on a plane.
Definition: types.hpp:531
static Scalar_< double > all(double v0)
returns a scalar with all elements set to v0
Template class for specifying the size of an image or rectangle.
Definition: types.hpp:335
_Tp height
the height
Definition: types.hpp:363
_Tp width
the width
Definition: types.hpp:362
The class SparseMat represents multi-dimensional sparse numerical arrays.
Definition: mat.hpp:2735
Definition: imgproc.hpp:1077
CV_WRAP int getEdge(int edge, int nextEdgeType) const
Returns one of the edges related to the given edge.
CV_WRAP void insert(const std::vector< Point2f > &ptvec)
Insert multiple points into a Delaunay triangulation.
CV_WRAP void getVoronoiFacetList(const std::vector< int > &idx, CV_OUT std::vector< std::vector< Point2f > > &facetList, CV_OUT std::vector< Point2f > &facetCenters)
Returns a list of all Voronoi facets.
CV_WRAP void getEdgeList(CV_OUT std::vector< Vec4f > &edgeList) const
Returns a list of all edges.
CV_WRAP int rotateEdge(int edge, int rotate) const
Returns another edge of the same quad-edge.
CV_WRAP Subdiv2D(Rect rect)
void splice(int edgeA, int edgeB)
Point2f topLeft
Top left corner of the bounding rect.
Definition: imgproc.hpp:1330
int isRightOf(Point2f pt, int edge) const
int connectEdges(int edgeA, int edgeB)
CV_WRAP int findNearest(Point2f pt, CV_OUT Point2f *nearestPt=0)
Finds the subdivision vertex closest to the given point.
CV_WRAP void getTriangleList(CV_OUT std::vector< Vec6f > &triangleList) const
Returns a list of all triangles.
CV_WRAP int locate(Point2f pt, CV_OUT int &edge, CV_OUT int &vertex)
Returns the location of a point within a Delaunay triangulation.
CV_WRAP void initDelaunay(Rect rect)
Creates a new empty Delaunay subdivision.
int freeQEdge
Definition: imgproc.hpp:1324
void deletePoint(int vtx)
CV_WRAP void getLeadingEdgeList(CV_OUT std::vector< int > &leadingEdgeList) const
Returns a list of the leading edge ID connected to each triangle.
CV_WRAP int insert(Point2f pt)
Insert a single point into a Delaunay triangulation.
int recentEdge
Definition: imgproc.hpp:1328
int freePoint
Definition: imgproc.hpp:1325
bool validGeometry
Definition: imgproc.hpp:1326
CV_WRAP int nextEdge(int edge) const
Returns next edge around the edge origin.
CV_WRAP int symEdge(int edge) const
void deleteEdge(int edge)
Point2f bottomRight
Bottom right corner of the bounding rect.
Definition: imgproc.hpp:1332
CV_WRAP int edgeDst(int edge, CV_OUT Point2f *dstpt=0) const
Returns the edge destination.
int newPoint(Point2f pt, bool isvirtual, int firstEdge=0)
std::vector< QuadEdge > qedges
All of the edges.
Definition: imgproc.hpp:1323
void setEdgePoints(int edge, int orgPt, int dstPt)
CV_WRAP Point2f getVertex(int vertex, CV_OUT int *firstEdge=0) const
Returns vertex location from vertex ID.
std::vector< Vertex > vtx
All of the vertices.
Definition: imgproc.hpp:1321
CV_WRAP int edgeOrg(int edge, CV_OUT Point2f *orgpt=0) const
Returns the edge origin.
The class defining termination criteria for iterative algorithms.
Definition: types.hpp:886
@ MAX_ITER
ditto
Definition: types.hpp:894
@ EPS
the desired accuracy or change in parameters at which the iterative algorithm stops
Definition: types.hpp:895
This type is very similar to InputArray except that it is used for input/output and output function p...
Definition: mat.hpp:296
CV_EXPORTS_AS(calibrateCameraExtended) double calibrateCamera(InputArrayOfArrays objectPoints
Finds the camera intrinsic and extrinsic parameters from several views of a calibration pattern.
InputArrayOfArrays Size InputOutputArray InputOutputArray OutputArrayOfArrays OutputArrayOfArrays OutputArray OutputArray OutputArray int flags
Definition: calib3d.hpp:1617
InputArrayOfArrays Size InputOutputArray InputOutputArray OutputArrayOfArrays OutputArrayOfArrays OutputArray OutputArray OutputArray int TermCriteria criteria
Definition: calib3d.hpp:1617
CV_EXPORTS_W void rotate(InputArray src, OutputArray dst, int rotateCode)
Rotates a 2D array in multiples of 90 degrees. The function cv::rotate rotates the array in one of th...
@ BORDER_CONSTANT
iiiiii|abcdefgh|iiiiiii with some specified i
Definition: base.hpp:269
@ BORDER_DEFAULT
same as BORDER_REFLECT_101
Definition: base.hpp:277
@ DECOMP_LU
Definition: base.hpp:135
Rect2i Rect
Definition: types.hpp:489
Point2i Point
Definition: types.hpp:209
Vec< _Tp, cn > normalize(const Vec< _Tp, cn > &v)
Definition: matx.inl.hpp:952
Size2i Size
Definition: types.hpp:370
Scalar_< double > Scalar
Definition: types.hpp:702
CV_EXPORTS InputOutputArray noArray()
InputArray InputArrayOfArrays
Definition: mat.hpp:443
CV__DEBUG_NS_END typedef const _InputArray & InputArray
Definition: mat.hpp:442
const CvArr * angle
Definition: core_c.h:1194
CvGraphVtx * vtx
Definition: core_c.h:1791
int int channels
Definition: core_c.h:100
CvArr int CvScalar CvScalar param2
Definition: core_c.h:1248
CvArr int CvScalar param1
Definition: core_c.h:1248
CvRect rect
Definition: core_c.h:193
const int * idx
Definition: core_c.h:668
CvScalar scale
Definition: core_c.h:1088
const CvArr const CvArr * src2
Definition: core_c.h:994
CvSize size
Definition: core_c.h:112
const CvArr * src1
Definition: core_c.h:993
int int type
Definition: core_c.h:221
void int step
Definition: core_c.h:905
const CvArr CvArr * x
Definition: core_c.h:1195
double const CvArr double double gamma
Definition: core_c.h:1095
double alpha
Definition: core_c.h:1093
int CvArr CvTermCriteria termcrit
Definition: core_c.h:1927
const CvArr const CvArr CvArr * result
Definition: core_c.h:1423
int dims
Definition: core_c.h:464
const CvArr * y
Definition: core_c.h:1187
#define CV_64F
Definition: interface.h:79
#define CV_32S
Definition: interface.h:77
#define CV_32F
Definition: interface.h:78
unsigned char uchar
Definition: interface.h:51
#define CV_EXPORTS
Definition: cvdef.h:435
#define CV_IN_OUT
Definition: cvdef.h:477
#define CV_OUT
Definition: cvdef.h:478
#define CV_PI
Definition: cvdef.h:380
#define CV_EXPORTS_W
Definition: cvdef.h:472
#define CV_WRAP
Definition: cvdef.h:481
CvArr * edges
Definition: imgproc_c.h:860
const CvRect * rect2
Definition: imgproc_c.h:568
const char * text
Definition: imgproc_c.h:1143
const CvPoint int npts
Definition: imgproc_c.h:1026
CvArr * markers
Definition: imgproc_c.h:182
CvPoint2D32f pt[4]
Definition: imgproc_c.h:571
CvArr double threshold1
Definition: imgproc_c.h:860
CvPoint pt1
Definition: imgproc_c.h:357
const CvArr * templ
Definition: imgproc_c.h:383
CvArr CvPoint2D32f double M
Definition: imgproc_c.h:270
int double double reps
Definition: imgproc_c.h:944
CvPoint CvPoint CvScalar color
Definition: imgproc_c.h:968
int double double double aeps
Definition: imgproc_c.h:944
CvSize int int int CvPoint int delta
Definition: imgproc_c.h:1168
const char CvPoint org
Definition: imgproc_c.h:1143
CvPoint2D32f float * radius
Definition: imgproc_c.h:534
void int double rho
Definition: imgproc_c.h:926
CvArr const CvMat * kernel
Definition: imgproc_c.h:131
CvPoint CvPoint pt2
Definition: imgproc_c.h:357
void int double double theta
Definition: imgproc_c.h:926
int int int int shape
Definition: imgproc_c.h:301
CvPoint CvSize axes
Definition: imgproc_c.h:1005
CvArr int code
Definition: imgproc_c.h:203
CvArr double double threshold2
Definition: imgproc_c.h:861
CvArr CvPoint2D32f double maxRadius
Definition: imgproc_c.h:277
int double param
Definition: imgproc_c.h:943
int CvHistogram * hist
Definition: imgproc_c.h:653
float ** ranges
Definition: imgproc_c.h:636
const CvPoint * pts
Definition: imgproc_c.h:1026
void int double dp
Definition: imgproc_c.h:934
const CvArr CvArr int method
Definition: imgproc_c.h:384
CvArr double sp
Definition: imgproc_c.h:176
CvArr CvPoint2D32f center
Definition: imgproc_c.h:270
CvArr double double sr
Definition: imgproc_c.h:176
CvPoint const int int contours
Definition: imgproc_c.h:1033
CvSeq * contour
Definition: imgproc_c.h:1173
CvArr CvPoint offset
Definition: imgproc_c.h:88
const CvArr * convexhull
Definition: imgproc_c.h:559
CV_EXPORTS_W void demosaicing(InputArray src, OutputArray dst, int code, int dstCn=0)
main function for all demosaicing processes
ColorConversionCodes
Definition: imgproc.hpp:536
CV_EXPORTS_W void cvtColorTwoPlane(InputArray src1, InputArray src2, OutputArray dst, int code)
Converts an image from one color space to another where the source image is stored in two planes.
CV_EXPORTS_W void cvtColor(InputArray src, OutputArray dst, int code, int dstCn=0)
Converts an image from one color space to another.
@ COLOR_RGB2BGR
Definition: imgproc.hpp:550
@ COLOR_YUV2RGB_YUNV
synonym to YUY2
Definition: imgproc.hpp:709
@ COLOR_RGBA2BGR
Definition: imgproc.hpp:546
@ COLOR_BayerBG2BGR_VNG
Demosaicing using Variable Number of Gradients.
Definition: imgproc.hpp:780
@ COLOR_RGB2YUV_YUNV
synonym to YUY2
Definition: imgproc.hpp:862
@ COLOR_YUV420p2BGR
synonym to YV12
Definition: imgproc.hpp:665
@ COLOR_YUV2GRAY_YUYV
synonym to COLOR_YUV2GRAY_YUY2
Definition: imgproc.hpp:727
@ COLOR_BGRA2RGBA
Definition: imgproc.hpp:552
@ COLOR_BayerGRBG2BGR_EA
Definition: imgproc.hpp:807
@ COLOR_BayerBG2GRAY
equivalent to RGGB Bayer pattern
Definition: imgproc.hpp:769
@ COLOR_YUV2BGRA_YUYV
synonym to YUY2
Definition: imgproc.hpp:717
@ COLOR_YUV2RGBA_YVYU
convert between YUV YVYU and RGBA, YUV is 4:2:2-subsampled and interleaved as Y1/V/Y2/U,...
Definition: imgproc.hpp:714
@ COLOR_YUV2BGRA_YUNV
synonym to YUY2
Definition: imgproc.hpp:719
@ COLOR_RGBA2YUV_YUNV
synonym to YUY2
Definition: imgproc.hpp:871
@ COLOR_YUV420sp2RGB
synonym to NV21
Definition: imgproc.hpp:648
@ COLOR_RGB2YUV_YV12
convert between RGB and 4:2:0-subsampled YUV YV12, three planes in one array: Y, V and U,...
Definition: imgproc.hpp:743
@ COLOR_BGRA2YUV_YUNV
synonym to YUY2
Definition: imgproc.hpp:872
@ COLOR_Lab2LRGB
Definition: imgproc.hpp:635
@ COLOR_YUV2BGRA_I420
synonym to IYUV
Definition: imgproc.hpp:672
@ COLOR_YUV2GRAY_UYNV
synonym to COLOR_YUV2GRAY_UYVY
Definition: imgproc.hpp:725
@ COLOR_BayerGRBG2RGB
Definition: imgproc.hpp:760
@ COLOR_GRAY2RGB
Definition: imgproc.hpp:558
@ COLOR_YUV2RGBA_I420
synonym to IYUV
Definition: imgproc.hpp:671
@ COLOR_BayerRGGB2BGR
Definition: imgproc.hpp:754
@ COLOR_BGRA2YUV_YUY2
convert between BGRA and YUV YUY2, YUV is 4:2:2 and interleaved as Y1/U/Y2/V, see color_convert_rgb_y...
Definition: imgproc.hpp:866
@ COLOR_BGRA2YUV_YV12
convert between BGRA and 4:2:0-subsampled YUV YV12, three planes in one array: Y, V and U,...
Definition: imgproc.hpp:746
@ COLOR_BGR2YUV_UYNV
synonym to UYVY
Definition: imgproc.hpp:847
@ COLOR_YUV2GRAY_NV21
synonym to COLOR_YUV2GRAY_420
Definition: imgproc.hpp:677
@ COLOR_LBGR2Luv
Definition: imgproc.hpp:631
@ COLOR_HLS2BGR
backward conversions HLS to RGB/BGR with H range 0..180 if 8 bit image
Definition: imgproc.hpp:616
@ COLOR_BayerRGGB2RGB
Definition: imgproc.hpp:759
@ COLOR_BayerGBRG2BGR_EA
Definition: imgproc.hpp:809
@ COLOR_YUV2GRAY_Y422
synonym to COLOR_YUV2GRAY_UYVY
Definition: imgproc.hpp:724
@ COLOR_YUV420p2BGRA
synonym to YV12
Definition: imgproc.hpp:674
@ COLOR_BayerGRBG2BGRA
Definition: imgproc.hpp:828
@ COLOR_YUV2RGBA_YUYV
synonym to YUY2
Definition: imgproc.hpp:716
@ COLOR_BayerBG2RGB_VNG
equivalent to RGGB Bayer pattern
Definition: imgproc.hpp:795
@ COLOR_BayerGB2RGB_EA
equivalent to GRBG Bayer pattern
Definition: imgproc.hpp:817
@ COLOR_YUV2BGR_YUY2
convert between YUV YUY2 and BGR, YUV is 4:2:2-subsampled and interleaved as Y1/U/Y2/V,...
Definition: imgproc.hpp:704
@ COLOR_BayerRG2BGR
equivalent to BGGR Bayer pattern
Definition: imgproc.hpp:751
@ COLOR_YCrCb2RGB
Definition: imgproc.hpp:596
@ COLOR_HSV2BGR
backward conversions HSV to RGB/BGR with H range 0..180 if 8 bit image
Definition: imgproc.hpp:609
@ COLOR_BayerRG2RGBA
equivalent to BGGR Bayer pattern
Definition: imgproc.hpp:839
@ COLOR_YUV2BGR_YUYV
synonym to YUY2
Definition: imgproc.hpp:708
@ COLOR_RGBA2BGR565
Definition: imgproc.hpp:569
@ COLOR_BGR2HSV_FULL
convert RGB/BGR to HSV (hue saturation value) with H range 0..255 if 8 bit image, color conversions
Definition: imgproc.hpp:619
@ COLOR_YUV2BGR_I420
synonym to IYUV
Definition: imgproc.hpp:663
@ COLOR_BGR2HLS
convert RGB/BGR to HLS (hue lightness saturation) with H range 0..180 if 8 bit image,...
Definition: imgproc.hpp:606
@ COLOR_YUV2RGB_UYNV
synonym to UYVY
Definition: imgproc.hpp:691
@ COLOR_YUV2RGB_NV21
convert between 4:2:0-subsampled YUV NV21 and RGB, two planes (in one or separate arrays): Y and V/U ...
Definition: imgproc.hpp:646
@ COLOR_HSV2RGB
Definition: imgproc.hpp:610
@ COLOR_BGR2GRAY
convert between RGB/BGR and grayscale, color conversions
Definition: imgproc.hpp:555
@ COLOR_YUV2RGB_I420
synonym to IYUV
Definition: imgproc.hpp:662
@ COLOR_YUV2RGBA_NV21
convert between 4:2:0-subsampled YUV NV21 and RGBA, two planes (in one or separate arrays): Y and V/U...
Definition: imgproc.hpp:653
@ COLOR_RGBA2YUV_UYNV
synonym to UYVY
Definition: imgproc.hpp:853
@ COLOR_BGRA2BGR
remove alpha channel from RGB or BGR image
Definition: imgproc.hpp:540
@ COLOR_BayerGB2BGR_EA
equivalent to GRBG Bayer pattern
Definition: imgproc.hpp:802
@ COLOR_RGB2BGRA
Definition: imgproc.hpp:544
@ COLOR_YUV2GRAY_I420
synonym to COLOR_YUV2GRAY_420
Definition: imgproc.hpp:681
@ COLOR_BayerGBRG2RGBA
Definition: imgproc.hpp:835
@ COLOR_BayerRGGB2BGR_VNG
Definition: imgproc.hpp:785
@ COLOR_YUV2GRAY_YUY2
extract Y channel from YUV 4:2:2 image
Definition: imgproc.hpp:722
@ COLOR_mRGBA2RGBA
Definition: imgproc.hpp:732
@ COLOR_YUV2BGR_NV12
convert between 4:2:0-subsampled YUV NV12 and BGR, two planes (in one or separate arrays): Y and U/V ...
Definition: imgproc.hpp:645
@ COLOR_YUV420sp2BGRA
synonym to NV21
Definition: imgproc.hpp:656
@ COLOR_RGBA2BGR555
Definition: imgproc.hpp:581
@ COLOR_BayerGRBG2BGR_VNG
Definition: imgproc.hpp:786
@ COLOR_YUV2BGRA_UYVY
convert between YUV UYVY and BGRA, YUV is 4:2:2-subsampled and interleaved as U/Y1/V/Y2,...
Definition: imgproc.hpp:695
@ COLOR_RGBA2YUV_YVYU
convert between RGBA and YUV YVYU, YUV is 4:2:2 and interleaved as Y1/V/Y2/U, see color_convert_rgb_y...
Definition: imgproc.hpp:867
@ COLOR_BGR5652BGRA
Definition: imgproc.hpp:570
@ COLOR_RGBA2BGRA
Definition: imgproc.hpp:553
@ COLOR_RGB2YUV_YUY2
convert between RGB and YUV YUY2, YUV is 4:2:2 and interleaved as Y1/U/Y2/V, see color_convert_rgb_yu...
Definition: imgproc.hpp:856
@ COLOR_BayerBGGR2RGBA
Definition: imgproc.hpp:834
@ COLOR_BGR5552GRAY
Definition: imgproc.hpp:586
@ COLOR_BayerGBRG2RGB_EA
Definition: imgproc.hpp:814
@ COLOR_BayerBGGR2RGB
Definition: imgproc.hpp:761
@ COLOR_YUV2BGR_YUNV
synonym to YUY2
Definition: imgproc.hpp:710
@ COLOR_YUV2BGRA_UYNV
synonym to UYVY
Definition: imgproc.hpp:701
@ COLOR_HLS2RGB
Definition: imgproc.hpp:617
@ COLOR_Lab2RGB
Definition: imgproc.hpp:613
@ COLOR_Luv2BGR
Definition: imgproc.hpp:614
@ COLOR_RGBA2YUV_UYVY
convert between RGBA and YUV UYVU, YUV is 4:2:2 and interleaved as U/Y1/V/Y2, see color_convert_rgb_y...
Definition: imgproc.hpp:849
@ COLOR_BGRA2YUV_YUYV
synonym to YUY2
Definition: imgproc.hpp:870
@ COLOR_YUV2RGB_YV12
convert between 4:2:0-subsampled YUV YV12 and RGB, three planes in one array: Y, V and U,...
Definition: imgproc.hpp:658
@ COLOR_RGB2YCrCb
Definition: imgproc.hpp:594
@ COLOR_BayerRGGB2GRAY
Definition: imgproc.hpp:774
@ COLOR_YUV2RGB_UYVY
convert between YUV UYVY and RGB, YUV is 4:2:2-subsampled and interleaved as U/Y1/V/Y2,...
Definition: imgproc.hpp:685
@ COLOR_HLS2RGB_FULL
Definition: imgproc.hpp:627
@ COLOR_BGRA2YUV_YVYU
convert between BGRA and YUV YVYU, YUV is 4:2:2 and interleaved as Y1/V/Y2/U, see color_convert_rgb_y...
Definition: imgproc.hpp:868
@ COLOR_RGB2Luv
Definition: imgproc.hpp:605
@ COLOR_BayerBGGR2BGR
Definition: imgproc.hpp:756
@ COLOR_BGRA2RGB
Definition: imgproc.hpp:547
@ COLOR_BGR2YUV
convert between RGB/BGR and YUV
Definition: imgproc.hpp:639
@ COLOR_YUV2RGBA_IYUV
convert between 4:2:0-subsampled YUV YV12 and RGBA, three planes in one array: Y, U and V,...
Definition: imgproc.hpp:669
@ COLOR_YUV2BGRA_Y422
synonym to UYVY
Definition: imgproc.hpp:699
@ COLOR_BayerGB2GRAY
equivalent to GRBG Bayer pattern
Definition: imgproc.hpp:770
@ COLOR_BGR2YCrCb
convert RGB/BGR to luma-chroma (aka YCC), color conversions
Definition: imgproc.hpp:593
@ COLOR_YUV2BGRA_IYUV
convert between 4:2:0-subsampled YUV YV12 and BGRA, three planes in one array: Y, U and V,...
Definition: imgproc.hpp:670
@ COLOR_BGRA2YUV_IYUV
synonym to I420
Definition: imgproc.hpp:742
@ COLOR_BayerBG2BGRA
Demosaicing with alpha channel.
Definition: imgproc.hpp:822
@ COLOR_BayerGRBG2RGB_EA
Definition: imgproc.hpp:812
@ COLOR_RGBA2RGB
Definition: imgproc.hpp:541
@ COLOR_YUV420p2GRAY
synonym to COLOR_YUV2GRAY_420
Definition: imgproc.hpp:683
@ COLOR_BayerGRBG2RGBA
Definition: imgproc.hpp:833
@ COLOR_BGRA2YUV_UYVY
convert between BGRA and YUV UYVU, YUV is 4:2:2 and interleaved as U/Y1/V/Y2, see color_convert_rgb_y...
Definition: imgproc.hpp:850
@ COLOR_YUV2GRAY_YV12
synonym to COLOR_YUV2GRAY_420
Definition: imgproc.hpp:679
@ COLOR_BayerBGGR2BGRA
Definition: imgproc.hpp:829
@ COLOR_BGR5652GRAY
Definition: imgproc.hpp:574
@ COLOR_BayerGBRG2RGB_VNG
Definition: imgproc.hpp:793
@ COLOR_BayerRGGB2BGRA
Definition: imgproc.hpp:827
@ COLOR_YUV2RGBA_Y422
synonym to UYVY
Definition: imgproc.hpp:698
@ COLOR_GRAY2BGR555
convert between grayscale and BGR555 (16-bit images)
Definition: imgproc.hpp:585
@ COLOR_YUV420sp2RGBA
synonym to NV21
Definition: imgproc.hpp:655
@ COLOR_HLS2BGR_FULL
backward conversions HLS to RGB/BGR with H range 0..255 if 8 bit image
Definition: imgproc.hpp:626
@ COLOR_YUV2BGRA_YV12
convert between 4:2:0-subsampled YUV YV12 and BGRA, three planes in one array: Y, V and U,...
Definition: imgproc.hpp:668
@ COLOR_HSV2BGR_FULL
backward conversions HSV to RGB/BGR with H range 0..255 if 8 bit image
Definition: imgproc.hpp:624
@ COLOR_YUV2RGB_YUY2
convert between YUV YUY2 and RGB, YUV is 4:2:2-subsampled and interleaved as Y1/U/Y2/V,...
Definition: imgproc.hpp:703
@ COLOR_BayerRGGB2BGR_EA
Definition: imgproc.hpp:806
@ COLOR_BGR5552RGB
Definition: imgproc.hpp:579
@ COLOR_YUV2RGBA_UYNV
synonym to UYVY
Definition: imgproc.hpp:700
@ COLOR_BayerGB2RGBA
equivalent to GRBG Bayer pattern
Definition: imgproc.hpp:838
@ COLOR_BGR2YUV_YUNV
synonym to YUY2
Definition: imgproc.hpp:863
@ COLOR_BayerGR2RGBA
equivalent to GBRG Bayer pattern
Definition: imgproc.hpp:840
@ COLOR_RGB2BGR565
Definition: imgproc.hpp:565
@ COLOR_BGR5552RGBA
Definition: imgproc.hpp:583
@ COLOR_YUV2RGB_YUYV
synonym to YUY2
Definition: imgproc.hpp:707
@ COLOR_BGR2Luv
convert RGB/BGR to CIE Luv, color conversions
Definition: imgproc.hpp:604
@ COLOR_BayerRGGB2RGB_EA
Definition: imgproc.hpp:811
@ COLOR_YUV2RGBA_UYVY
convert between YUV UYVY and RGBA, YUV is 4:2:2-subsampled and interleaved as U/Y1/V/Y2,...
Definition: imgproc.hpp:694
@ COLOR_BGR2YUV_YUY2
convert between BGR and YUV YUY2, YUV is 4:2:2 and interleaved as Y1/U/Y2/V, see color_convert_rgb_yu...
Definition: imgproc.hpp:857
@ COLOR_BayerGR2BGRA
equivalent to GBRG Bayer pattern
Definition: imgproc.hpp:825
@ COLOR_RGBA2GRAY
Definition: imgproc.hpp:562
@ COLOR_YUV2RGB_NV12
convert between 4:2:0-subsampled YUV NV12 and RGB, two planes (in one or separate arrays): Y and U/V ...
Definition: imgproc.hpp:644
@ COLOR_BGR2Lab
convert RGB/BGR to CIE Lab, color conversions
Definition: imgproc.hpp:601
@ COLOR_YUV2RGB_IYUV
convert between 4:2:0-subsampled YUV IYUV and RGB, three planes in one array: Y, U and V,...
Definition: imgproc.hpp:660
@ COLOR_GRAY2BGR
Definition: imgproc.hpp:557
@ COLOR_BGRA2YUV_UYNV
synonym to UYVY
Definition: imgproc.hpp:854
@ COLOR_YUV2BGRA_YVYU
convert between YUV YVYU and BGRA, YUV is 4:2:2-subsampled and interleaved as Y1/V/Y2/U,...
Definition: imgproc.hpp:715
@ COLOR_BGR5552BGRA
Definition: imgproc.hpp:582
@ COLOR_BayerBG2BGR
Demosaicing, see color conversions for additional information.
Definition: imgproc.hpp:749
@ COLOR_GRAY2BGR565
convert between grayscale to BGR565 (16-bit images)
Definition: imgproc.hpp:573
@ COLOR_YUV2BGR_YVYU
convert between YUV YVYU and BGR, YUV is 4:2:2-subsampled and interleaved as Y1/V/Y2/U,...
Definition: imgproc.hpp:706
@ COLOR_YUV2GRAY_YVYU
synonym to COLOR_YUV2GRAY_YUY2
Definition: imgproc.hpp:726
@ COLOR_BayerBGGR2BGR_VNG
Definition: imgproc.hpp:787
@ COLOR_RGBA2mRGBA
alpha premultiplication
Definition: imgproc.hpp:731
@ COLOR_Luv2RGB
Definition: imgproc.hpp:615
@ COLOR_BayerGBRG2BGRA
Definition: imgproc.hpp:830
@ COLOR_YUV2RGBA_YUNV
synonym to YUY2
Definition: imgproc.hpp:718
@ COLOR_RGB2YUV_I420
convert between RGB and 4:2:0-subsampled YUV I420, three planes in one array: Y, U and V,...
Definition: imgproc.hpp:734
@ COLOR_LRGB2Lab
Definition: imgproc.hpp:630
@ COLOR_YUV2BGR_YV12
convert between 4:2:0-subsampled YUV YV12 and BGR, three planes in one array: Y, V and U,...
Definition: imgproc.hpp:659
@ COLOR_COLORCVT_MAX
Definition: imgproc.hpp:874
@ COLOR_BayerGB2RGB
equivalent to GRBG Bayer pattern
Definition: imgproc.hpp:765
@ COLOR_RGB2YUV_YUYV
synonym to YUY2
Definition: imgproc.hpp:860
@ COLOR_XYZ2RGB
Definition: imgproc.hpp:591
@ COLOR_BGR2BGRA
add alpha channel to RGB or BGR image
Definition: imgproc.hpp:537
@ COLOR_Lab2BGR
Definition: imgproc.hpp:612
@ COLOR_BayerGRBG2BGR
Definition: imgproc.hpp:755
@ COLOR_HSV2RGB_FULL
Definition: imgproc.hpp:625
@ COLOR_BayerRG2BGR_EA
equivalent to BGGR Bayer pattern
Definition: imgproc.hpp:803
@ COLOR_BGR2RGBA
convert between RGB and BGR color spaces (with or without alpha channel)
Definition: imgproc.hpp:543
@ COLOR_RGBA2YUV_YV12
convert between RGBA and 4:2:0-subsampled YUV YV12, three planes in one array: Y, V and U,...
Definition: imgproc.hpp:745
@ COLOR_BayerGBRG2GRAY
Definition: imgproc.hpp:777
@ COLOR_YUV2RGB_YVYU
convert between YUV YVYU and RGB, YUV is 4:2:2-subsampled and interleaved as Y1/V/Y2/U,...
Definition: imgproc.hpp:705
@ COLOR_Lab2LBGR
Definition: imgproc.hpp:634
@ COLOR_RGBA2YUV_IYUV
synonym to I420
Definition: imgproc.hpp:741
@ COLOR_BGR2HSV
convert RGB/BGR to HSV (hue saturation value) with H range 0..180 if 8 bit image, color conversions
Definition: imgproc.hpp:598
@ COLOR_XYZ2BGR
Definition: imgproc.hpp:590
@ COLOR_RGB2HSV
Definition: imgproc.hpp:599
@ COLOR_YCrCb2BGR
Definition: imgproc.hpp:595
@ COLOR_YUV2BGR_NV21
convert between 4:2:0-subsampled YUV NV21 and BGR, two planes (in one or separate arrays): Y and V/U ...
Definition: imgproc.hpp:647
@ COLOR_LBGR2Lab
Definition: imgproc.hpp:629
@ COLOR_YUV2RGBA_NV12
convert between 4:2:0-subsampled YUV NV12 and RGBA, two planes (in one or separate arrays): Y and U/V...
Definition: imgproc.hpp:651
@ COLOR_BayerGR2GRAY
equivalent to GBRG Bayer pattern
Definition: imgproc.hpp:772
@ COLOR_BayerGR2RGB
equivalent to GBRG Bayer pattern
Definition: imgproc.hpp:767
@ COLOR_RGB2YUV_IYUV
synonym to I420
Definition: imgproc.hpp:736
@ COLOR_BGR5652RGBA
Definition: imgproc.hpp:571
@ COLOR_BGR2YUV_YVYU
convert between BGR and YUV YVYU, YUV is 4:2:2 and interleaved as Y1/V/Y2/U, see color_convert_rgb_yu...
Definition: imgproc.hpp:859
@ COLOR_BayerRG2RGB_VNG
equivalent to BGGR Bayer pattern
Definition: imgproc.hpp:797
@ COLOR_YUV2BGR
Definition: imgproc.hpp:641
@ COLOR_YUV2RGB
Definition: imgproc.hpp:642
@ COLOR_BGR5552BGR
Definition: imgproc.hpp:578
@ COLOR_BayerRGGB2RGBA
Definition: imgproc.hpp:832
@ COLOR_BGR2XYZ
convert RGB/BGR to CIE XYZ, color conversions
Definition: imgproc.hpp:588
@ COLOR_YUV2RGBA_YV12
convert between 4:2:0-subsampled YUV YV12 and RGBA, three planes in one array: Y, V and U,...
Definition: imgproc.hpp:667
@ COLOR_YUV2GRAY_UYVY
extract Y channel from YUV 4:2:2 image
Definition: imgproc.hpp:721
@ COLOR_BGR5652RGB
Definition: imgproc.hpp:567
@ COLOR_YUV2GRAY_IYUV
synonym to COLOR_YUV2GRAY_420
Definition: imgproc.hpp:680
@ COLOR_YUV2BGR_UYNV
synonym to UYVY
Definition: imgproc.hpp:692
@ COLOR_YUV2GRAY_YUNV
synonym to COLOR_YUV2GRAY_YUY2
Definition: imgproc.hpp:728
@ COLOR_BayerBG2RGB
equivalent to RGGB Bayer pattern
Definition: imgproc.hpp:764
@ COLOR_BayerGBRG2BGR
Definition: imgproc.hpp:757
@ COLOR_RGBA2YUV_I420
convert between RGBA and 4:2:0-subsampled YUV I420, three planes in one array: Y, U and V,...
Definition: imgproc.hpp:739
@ COLOR_YUV2GRAY_420
extract Y channel from YUV 4:2:0 image
Definition: imgproc.hpp:676
@ COLOR_RGBA2YUV_YUYV
synonym to YUY2
Definition: imgproc.hpp:869
@ COLOR_YUV2BGRA_NV21
convert between 4:2:0-subsampled YUV NV21 and BGRA, two planes (in one or separate arrays): Y and V/U...
Definition: imgproc.hpp:654
@ COLOR_BayerGRBG2GRAY
Definition: imgproc.hpp:775
@ COLOR_RGB2HLS
Definition: imgproc.hpp:607
@ COLOR_YUV2GRAY_NV12
synonym to COLOR_YUV2GRAY_420
Definition: imgproc.hpp:678
@ COLOR_BayerGBRG2RGB
Definition: imgproc.hpp:762
@ COLOR_BayerRG2RGB_EA
equivalent to BGGR Bayer pattern
Definition: imgproc.hpp:818
@ COLOR_GRAY2BGRA
Definition: imgproc.hpp:559
@ COLOR_Luv2LBGR
Definition: imgproc.hpp:636
@ COLOR_BayerGRBG2RGB_VNG
Definition: imgproc.hpp:791
@ COLOR_BayerGR2RGB_VNG
equivalent to GBRG Bayer pattern
Definition: imgproc.hpp:798
@ COLOR_BayerGB2BGRA
equivalent to GRBG Bayer pattern
Definition: imgproc.hpp:823
@ COLOR_BayerGB2BGR
equivalent to GRBG Bayer pattern
Definition: imgproc.hpp:750
@ COLOR_BGR2BGR555
convert between RGB/BGR and BGR555 (16-bit images)
Definition: imgproc.hpp:576
@ COLOR_BGRA2YUV_Y422
synonym to UYVY
Definition: imgproc.hpp:852
@ COLOR_BayerRG2BGR_VNG
equivalent to BGGR Bayer pattern
Definition: imgproc.hpp:782
@ COLOR_LRGB2Luv
Definition: imgproc.hpp:632
@ COLOR_BGR2RGB
Definition: imgproc.hpp:549
@ COLOR_BayerRG2GRAY
equivalent to BGGR Bayer pattern
Definition: imgproc.hpp:771
@ COLOR_YUV420sp2GRAY
synonym to COLOR_YUV2GRAY_420
Definition: imgproc.hpp:682
@ COLOR_RGB2BGR555
Definition: imgproc.hpp:577
@ COLOR_BGR2YUV_YUYV
synonym to YUY2
Definition: imgproc.hpp:861
@ COLOR_BGR2YUV_UYVY
convert between BGR and YUV UYVU, YUV is 4:2:2 and interleaved as U/Y1/V/Y2, see color_convert_rgb_yu...
Definition: imgproc.hpp:843
@ COLOR_BayerGR2BGR_VNG
equivalent to GBRG Bayer pattern
Definition: imgproc.hpp:783
@ COLOR_RGB2YUV_UYVY
convert between RGB and YUV UYVU, YUV is 4:2:2 and interleaved as U/Y1/V/Y2, see color_convert_rgb_yu...
Definition: imgproc.hpp:842
@ COLOR_BGR2YUV_Y422
synonym to UYVY
Definition: imgproc.hpp:845
@ COLOR_BayerBG2RGB_EA
equivalent to RGGB Bayer pattern
Definition: imgproc.hpp:816
@ COLOR_YUV420sp2BGR
synonym to NV21
Definition: imgproc.hpp:649
@ COLOR_RGB2YUV
Definition: imgproc.hpp:640
@ COLOR_BayerBGGR2BGR_EA
Definition: imgproc.hpp:808
@ COLOR_BayerRG2RGB
equivalent to BGGR Bayer pattern
Definition: imgproc.hpp:766
@ COLOR_YUV2RGB_Y422
synonym to UYVY
Definition: imgproc.hpp:689
@ COLOR_RGB2RGBA
Definition: imgproc.hpp:538
@ COLOR_RGB2HSV_FULL
Definition: imgproc.hpp:620
@ COLOR_BGR2YUV_IYUV
synonym to I420
Definition: imgproc.hpp:737
@ COLOR_BGR2HLS_FULL
convert RGB/BGR to HLS (hue lightness saturation) with H range 0..255 if 8 bit image,...
Definition: imgproc.hpp:621
@ COLOR_RGB2YUV_YVYU
convert between RGB and YUV YVYU, YUV is 4:2:2 and interleaved as Y1/V/Y2/U, see color_convert_rgb_yu...
Definition: imgproc.hpp:858
@ COLOR_BGR2BGR565
convert between RGB/BGR and BGR565 (16-bit images)
Definition: imgproc.hpp:564
@ COLOR_BayerGB2BGR_VNG
equivalent to GRBG Bayer pattern
Definition: imgproc.hpp:781
@ COLOR_BGRA2BGR555
Definition: imgproc.hpp:580
@ COLOR_RGB2GRAY
Definition: imgproc.hpp:556
@ COLOR_RGB2YUV_UYNV
synonym to UYVY
Definition: imgproc.hpp:846
@ COLOR_RGBA2YUV_Y422
synonym to UYVY
Definition: imgproc.hpp:851
@ COLOR_BGR2YUV_I420
convert between BGR and 4:2:0-subsampled YUV I420, three planes in one array: Y, U and V,...
Definition: imgproc.hpp:735
@ COLOR_BayerGB2RGB_VNG
equivalent to GRBG Bayer pattern
Definition: imgproc.hpp:796
@ COLOR_BayerBG2RGBA
equivalent to RGGB Bayer pattern
Definition: imgproc.hpp:837
@ COLOR_YUV2BGR_UYVY
convert between YUV UYVY and BGR, YUV is 4:2:2-subsampled and interleaved as U/Y1/V/Y2,...
Definition: imgproc.hpp:686
@ COLOR_Luv2LRGB
Definition: imgproc.hpp:637
@ COLOR_BGRA2YUV_I420
convert between BGRA and 4:2:0-subsampled YUV I420, three planes in one array: Y, U and V,...
Definition: imgproc.hpp:740
@ COLOR_RGB2YUV_Y422
synonym to UYVY
Definition: imgproc.hpp:844
@ COLOR_GRAY2RGBA
Definition: imgproc.hpp:560
@ COLOR_BGRA2BGR565
Definition: imgproc.hpp:568
@ COLOR_BayerGBRG2BGR_VNG
Definition: imgproc.hpp:788
@ COLOR_YUV2BGRA_YUY2
convert between YUV YUY2 and BGRA, YUV is 4:2:2-subsampled and interleaved as Y1/U/Y2/V,...
Definition: imgproc.hpp:713
@ COLOR_BayerBGGR2RGB_EA
Definition: imgproc.hpp:813
@ COLOR_BGRA2GRAY
Definition: imgproc.hpp:561
@ COLOR_YUV2RGBA_YUY2
convert between YUV YUY2 and RGBA, YUV is 4:2:2-subsampled and interleaved as Y1/U/Y2/V,...
Definition: imgproc.hpp:712
@ COLOR_RGB2HLS_FULL
Definition: imgproc.hpp:622
@ COLOR_BGR5652BGR
Definition: imgproc.hpp:566
@ COLOR_RGB2XYZ
Definition: imgproc.hpp:589
@ COLOR_BayerRG2BGRA
equivalent to BGGR Bayer pattern
Definition: imgproc.hpp:824
@ COLOR_BayerGR2BGR_EA
equivalent to GBRG Bayer pattern
Definition: imgproc.hpp:804
@ COLOR_YUV2BGR_IYUV
convert between 4:2:0-subsampled YUV IYUV and BGR, three planes in one array: Y, U and V,...
Definition: imgproc.hpp:661
@ COLOR_BayerGR2RGB_EA
equivalent to GBRG Bayer pattern
Definition: imgproc.hpp:819
@ COLOR_YUV2BGRA_NV12
convert between 4:2:0-subsampled YUV NV12 and BGRA, two planes (in one or separate arrays): Y and U/V...
Definition: imgproc.hpp:652
@ COLOR_RGBA2YUV_YUY2
convert between RGBA and YUV YUY2, YUV is 4:2:2 and interleaved as Y1/U/Y2/V, see color_convert_rgb_y...
Definition: imgproc.hpp:865
@ COLOR_BayerBG2BGR_EA
Edge-Aware Demosaicing.
Definition: imgproc.hpp:801
@ COLOR_BayerBGGR2RGB_VNG
Definition: imgproc.hpp:792
@ COLOR_YUV420p2RGBA
synonym to YV12
Definition: imgproc.hpp:673
@ COLOR_YUV420p2RGB
synonym to YV12
Definition: imgproc.hpp:664
@ COLOR_RGB2Lab
Definition: imgproc.hpp:602
@ COLOR_BayerGR2BGR
equivalent to GBRG Bayer pattern
Definition: imgproc.hpp:752
@ COLOR_YUV2BGR_Y422
synonym to UYVY
Definition: imgproc.hpp:690
@ COLOR_BayerBGGR2GRAY
Definition: imgproc.hpp:776
@ COLOR_BayerRGGB2RGB_VNG
Definition: imgproc.hpp:790
@ COLOR_BGR2YUV_YV12
convert between BGR and 4:2:0-subsampled YUV YV12, three planes in one array: Y, V and U,...
Definition: imgproc.hpp:744
CV_EXPORTS_W void applyColorMap(InputArray src, OutputArray dst, int colormap)
Applies a GNU Octave/MATLAB equivalent colormap on a given image.
ColormapTypes
GNU Octave/MATLAB equivalent colormaps.
Definition: imgproc.hpp:4443
@ COLORMAP_HSV
Definition: imgproc.hpp:4453
@ COLORMAP_COOL
Definition: imgproc.hpp:4452
@ COLORMAP_TWILIGHT
Definition: imgproc.hpp:4462
@ COLORMAP_PARULA
Definition: imgproc.hpp:4456
@ COLORMAP_AUTUMN
Definition: imgproc.hpp:4444
@ COLORMAP_SUMMER
Definition: imgproc.hpp:4450
@ COLORMAP_TURBO
Definition: imgproc.hpp:4464
@ COLORMAP_WINTER
Definition: imgproc.hpp:4447
@ COLORMAP_PLASMA
Definition: imgproc.hpp:4459
@ COLORMAP_PINK
Definition: imgproc.hpp:4454
@ COLORMAP_DEEPGREEN
Definition: imgproc.hpp:4465
@ COLORMAP_OCEAN
Definition: imgproc.hpp:4449
@ COLORMAP_BONE
Definition: imgproc.hpp:4445
@ COLORMAP_CIVIDIS
Definition: imgproc.hpp:4461
@ COLORMAP_JET
Definition: imgproc.hpp:4446
@ COLORMAP_INFERNO
Definition: imgproc.hpp:4458
@ COLORMAP_MAGMA
Definition: imgproc.hpp:4457
@ COLORMAP_TWILIGHT_SHIFTED
Definition: imgproc.hpp:4463
@ COLORMAP_HOT
Definition: imgproc.hpp:4455
@ COLORMAP_RAINBOW
Definition: imgproc.hpp:4448
@ COLORMAP_VIRIDIS
Definition: imgproc.hpp:4460
@ COLORMAP_SPRING
Definition: imgproc.hpp:4451
CV_EXPORTS_W void arrowedLine(InputOutputArray img, Point pt1, Point pt2, const Scalar &color, int thickness=1, int line_type=8, int shift=0, double tipLength=0.1)
Draws an arrow segment pointing from the first point to the second one.
MarkerTypes
Definition: imgproc.hpp:916
HersheyFonts
Definition: imgproc.hpp:900
CV_EXPORTS_W Size getTextSize(const String &text, int fontFace, double fontScale, int thickness, CV_OUT int *baseLine)
Calculates the width and height of a text string.
CV_EXPORTS_W void rectangle(InputOutputArray img, Point pt1, Point pt2, const Scalar &color, int thickness=1, int lineType=LINE_8, int shift=0)
Draws a simple, thick, or filled up-right rectangle.
CV_EXPORTS_W double getFontScaleFromHeight(const int fontFace, const int pixelHeight, const int thickness=1)
Calculates the font-specific size to use to achieve a given height in pixels.
CV_EXPORTS_W void fillConvexPoly(InputOutputArray img, InputArray points, const Scalar &color, int lineType=LINE_8, int shift=0)
Fills a convex polygon.
CV_EXPORTS_W void putText(InputOutputArray img, const String &text, Point org, int fontFace, double fontScale, Scalar color, int thickness=1, int lineType=LINE_8, bool bottomLeftOrigin=false)
Draws a text string.
CV_EXPORTS_W void drawContours(InputOutputArray image, InputArrayOfArrays contours, int contourIdx, const Scalar &color, int thickness=1, int lineType=LINE_8, InputArray hierarchy=noArray(), int maxLevel=INT_MAX, Point offset=Point())
Draws contours outlines or filled contours.
CV_EXPORTS_W void ellipse(InputOutputArray img, Point center, Size axes, double angle, double startAngle, double endAngle, const Scalar &color, int thickness=1, int lineType=LINE_8, int shift=0)
Draws a simple or thick elliptic arc or fills an ellipse sector.
CV_EXPORTS_W void line(InputOutputArray img, Point pt1, Point pt2, const Scalar &color, int thickness=1, int lineType=LINE_8, int shift=0)
Draws a line segment connecting two points.
CV_EXPORTS_W void ellipse2Poly(Point center, Size axes, int angle, int arcStart, int arcEnd, int delta, CV_OUT std::vector< Point > &pts)
Approximates an elliptic arc with a polyline.
CV_EXPORTS_W void fillPoly(InputOutputArray img, InputArrayOfArrays pts, const Scalar &color, int lineType=LINE_8, int shift=0, Point offset=Point())
Fills the area bounded by one or more polygons.
CV_EXPORTS_W void polylines(InputOutputArray img, InputArrayOfArrays pts, bool isClosed, const Scalar &color, int thickness=1, int lineType=LINE_8, int shift=0)
Draws several polygonal curves.
CV_EXPORTS bool clipLine(Size imgSize, CV_IN_OUT Point &pt1, CV_IN_OUT Point &pt2)
Clips the line against the image rectangle.
CV_EXPORTS_W void circle(InputOutputArray img, Point center, int radius, const Scalar &color, int thickness=1, int lineType=LINE_8, int shift=0)
Draws a circle.
LineTypes
Definition: imgproc.hpp:890
CV_EXPORTS_W void drawMarker(InputOutputArray img, Point position, const Scalar &color, int markerType=MARKER_CROSS, int markerSize=20, int thickness=1, int line_type=8)
Draws a marker on a predefined position in an image.
@ MARKER_SQUARE
A square marker shape.
Definition: imgproc.hpp:921
@ MARKER_DIAMOND
A diamond marker shape.
Definition: imgproc.hpp:920
@ MARKER_TILTED_CROSS
A 45 degree tilted crosshair marker shape.
Definition: imgproc.hpp:918
@ MARKER_TRIANGLE_DOWN
A downwards pointing triangle marker shape.
Definition: imgproc.hpp:923
@ MARKER_STAR
A star marker shape, combination of cross and tilted cross.
Definition: imgproc.hpp:919
@ MARKER_TRIANGLE_UP
An upwards pointing triangle marker shape.
Definition: imgproc.hpp:922
@ MARKER_CROSS
A crosshair marker shape.
Definition: imgproc.hpp:917
@ FONT_HERSHEY_PLAIN
small size sans-serif font
Definition: imgproc.hpp:902
@ FONT_HERSHEY_TRIPLEX
normal size serif font (more complex than FONT_HERSHEY_COMPLEX)
Definition: imgproc.hpp:905
@ FONT_HERSHEY_SCRIPT_SIMPLEX
hand-writing style font
Definition: imgproc.hpp:907
@ FONT_HERSHEY_SCRIPT_COMPLEX
more complex variant of FONT_HERSHEY_SCRIPT_SIMPLEX
Definition: imgproc.hpp:908
@ FONT_HERSHEY_DUPLEX
normal size sans-serif font (more complex than FONT_HERSHEY_SIMPLEX)
Definition: imgproc.hpp:903
@ FONT_HERSHEY_COMPLEX_SMALL
smaller version of FONT_HERSHEY_COMPLEX
Definition: imgproc.hpp:906
@ FONT_ITALIC
flag for italic font
Definition: imgproc.hpp:909
@ FONT_HERSHEY_COMPLEX
normal size serif font
Definition: imgproc.hpp:904
@ FONT_HERSHEY_SIMPLEX
normal size sans-serif font
Definition: imgproc.hpp:901
@ LINE_8
8-connected line
Definition: imgproc.hpp:893
@ LINE_4
4-connected line
Definition: imgproc.hpp:892
@ LINE_AA
antialiased line
Definition: imgproc.hpp:894
@ FILLED
Definition: imgproc.hpp:891
HoughModes
Variants of a Hough transform.
Definition: imgproc.hpp:473
CV_EXPORTS OutputArray int double double InputArray OutputArray int int bool useHarrisDetector
Definition: imgproc.hpp:2133
CV_EXPORTS_W void HoughLines(InputArray image, OutputArray lines, double rho, double theta, int threshold, double srn=0, double stn=0, double min_theta=0, double max_theta=CV_PI)
Finds lines in a binary image using the standard Hough transform.
CV_EXPORTS CV_WRAP_AS(goodFeaturesToTrackWithQuality) void goodFeaturesToTrack(InputArray image
Same as above, but returns also quality measure of the detected corners.
CV_EXPORTS OutputArray int maxCorners
Definition: imgproc.hpp:2131
CV_EXPORTS_W void HoughLinesP(InputArray image, OutputArray lines, double rho, double theta, int threshold, double minLineLength=0, double maxLineGap=0)
Finds line segments in a binary image using the probabilistic Hough transform.
CV_EXPORTS_W void goodFeaturesToTrack(InputArray image, OutputArray corners, int maxCorners, double qualityLevel, double minDistance, InputArray mask=noArray(), int blockSize=3, bool useHarrisDetector=false, double k=0.04)
Determines strong corners on an image.
CV_EXPORTS_W void cornerMinEigenVal(InputArray src, OutputArray dst, int blockSize, int ksize=3, int borderType=BORDER_DEFAULT)
Calculates the minimal eigenvalue of gradient matrices for corner detection.
CV_EXPORTS_W void cornerSubPix(InputArray image, InputOutputArray corners, Size winSize, Size zeroZone, TermCriteria criteria)
Refines the corner locations.
CV_EXPORTS_W void cornerEigenValsAndVecs(InputArray src, OutputArray dst, int blockSize, int ksize, int borderType=BORDER_DEFAULT)
Calculates eigenvalues and eigenvectors of image blocks for corner detection.
CV_EXPORTS OutputArray int double qualityLevel
Definition: imgproc.hpp:2131
CV_EXPORTS_W void cornerHarris(InputArray src, OutputArray dst, int blockSize, int ksize, double k, int borderType=BORDER_DEFAULT)
Harris corner detector.
CV_EXPORTS OutputArray int double double InputArray OutputArray cornersQuality
Definition: imgproc.hpp:2132
CV_EXPORTS OutputArray int double double InputArray mask
Definition: imgproc.hpp:2132
CV_EXPORTS_W void HoughLinesPointSet(InputArray point, OutputArray lines, int lines_max, int threshold, double min_rho, double max_rho, double rho_step, double min_theta, double max_theta, double theta_step)
Finds lines in a set of points using the standard Hough transform.
CV_EXPORTS OutputArray int double double InputArray OutputArray int blockSize
Definition: imgproc.hpp:2132
CV_EXPORTS_W void HoughCircles(InputArray image, OutputArray circles, int method, double dp, double minDist, double param1=100, double param2=100, int minRadius=0, int maxRadius=0)
Finds circles in a grayscale image using the Hough transform.
CV_EXPORTS OutputArray int double double InputArray OutputArray int int gradientSize
Definition: imgproc.hpp:2133
CV_EXPORTS OutputArray int double double InputArray OutputArray int int bool double k
Definition: imgproc.hpp:2133
CV_EXPORTS OutputArray int double double minDistance
Definition: imgproc.hpp:2131
CV_EXPORTS_W void preCornerDetect(InputArray src, OutputArray dst, int ksize, int borderType=BORDER_DEFAULT)
Calculates a feature map for corner detection.
LineSegmentDetectorModes
Variants of Line Segment Detector.
Definition: imgproc.hpp:493
CV_EXPORTS_W void Canny(InputArray image, OutputArray edges, double threshold1, double threshold2, int apertureSize=3, bool L2gradient=false)
Finds edges in an image using the Canny algorithm .
CV_EXPORTS OutputArray corners
Definition: imgproc.hpp:2130
CV_EXPORTS_W Ptr< LineSegmentDetector > createLineSegmentDetector(int refine=LSD_REFINE_STD, double scale=0.8, double sigma_scale=0.6, double quant=2.0, double ang_th=22.5, double log_eps=0, double density_th=0.7, int n_bins=1024)
Creates a smart pointer to a LineSegmentDetector object and initializes it.
@ HOUGH_MULTI_SCALE
Definition: imgproc.hpp:487
@ HOUGH_PROBABILISTIC
Definition: imgproc.hpp:484
@ HOUGH_GRADIENT_ALT
variation of HOUGH_GRADIENT to get better accuracy
Definition: imgproc.hpp:489
@ HOUGH_GRADIENT
basically 21HT, described in
Definition: imgproc.hpp:488
@ HOUGH_STANDARD
Definition: imgproc.hpp:479
@ LSD_REFINE_NONE
No refinement applied.
Definition: imgproc.hpp:494
@ LSD_REFINE_ADV
Definition: imgproc.hpp:496
@ LSD_REFINE_STD
Standard refinement is applied. E.g. breaking arches into smaller straighter line approximations.
Definition: imgproc.hpp:495
CV_EXPORTS_W Mat getGaborKernel(Size ksize, double sigma, double theta, double lambd, double gamma, double psi=CV_PI *0.5, int ktype=CV_64F)
Returns Gabor filter coefficients.
CV_EXPORTS_W void pyrDown(InputArray src, OutputArray dst, const Size &dstsize=Size(), int borderType=BORDER_DEFAULT)
Blurs an image and downsamples it.
CV_EXPORTS_W void bilateralFilter(InputArray src, OutputArray dst, int d, double sigmaColor, double sigmaSpace, int borderType=BORDER_DEFAULT)
Applies the bilateral filter to an image.
CV_EXPORTS_W void pyrMeanShiftFiltering(InputArray src, OutputArray dst, double sp, double sr, int maxLevel=1, TermCriteria termcrit=TermCriteria(TermCriteria::MAX_ITER+TermCriteria::EPS, 5, 1))
Performs initial step of meanshift segmentation of an image.
CV_EXPORTS_W void erode(InputArray src, OutputArray dst, InputArray kernel, Point anchor=Point(-1,-1), int iterations=1, int borderType=BORDER_CONSTANT, const Scalar &borderValue=morphologyDefaultBorderValue())
Erodes an image by using a specific structuring element.
CV_EXPORTS_W void getDerivKernels(OutputArray kx, OutputArray ky, int dx, int dy, int ksize, bool normalize=false, int ktype=CV_32F)
Returns filter coefficients for computing spatial image derivatives.
CV_EXPORTS_W void filter2D(InputArray src, OutputArray dst, int ddepth, InputArray kernel, Point anchor=Point(-1,-1), double delta=0, int borderType=BORDER_DEFAULT)
Convolves an image with the kernel.
CV_EXPORTS_W void sepFilter2D(InputArray src, OutputArray dst, int ddepth, InputArray kernelX, InputArray kernelY, Point anchor=Point(-1,-1), double delta=0, int borderType=BORDER_DEFAULT)
Applies a separable linear filter to an image.
CV_EXPORTS_W Mat getStructuringElement(int shape, Size ksize, Point anchor=Point(-1,-1))
Returns a structuring element of the specified size and shape for morphological operations.
CV_EXPORTS_W Mat getGaussianKernel(int ksize, double sigma, int ktype=CV_64F)
Returns Gaussian filter coefficients.
CV_EXPORTS_W void Sobel(InputArray src, OutputArray dst, int ddepth, int dx, int dy, int ksize=3, double scale=1, double delta=0, int borderType=BORDER_DEFAULT)
Calculates the first, second, third, or mixed image derivatives using an extended Sobel operator.
CV_EXPORTS_W void morphologyEx(InputArray src, OutputArray dst, int op, InputArray kernel, Point anchor=Point(-1,-1), int iterations=1, int borderType=BORDER_CONSTANT, const Scalar &borderValue=morphologyDefaultBorderValue())
Performs advanced morphological transformations.
CV_EXPORTS_W void spatialGradient(InputArray src, OutputArray dx, OutputArray dy, int ksize=3, int borderType=BORDER_DEFAULT)
Calculates the first order image derivative in both x and y using a Sobel operator.
CV_EXPORTS_W void stackBlur(InputArray src, OutputArray dst, Size ksize)
Blurs an image using the stackBlur.
MorphTypes
type of morphological operation
Definition: imgproc.hpp:216
CV_EXPORTS_W void GaussianBlur(InputArray src, OutputArray dst, Size ksize, double sigmaX, double sigmaY=0, int borderType=BORDER_DEFAULT)
Blurs an image using a Gaussian filter.
static Scalar morphologyDefaultBorderValue()
returns "magic" border value for erosion and dilation. It is automatically transformed to Scalar::all...
Definition: imgproc.hpp:1483
CV_EXPORTS_W void boxFilter(InputArray src, OutputArray dst, int ddepth, Size ksize, Point anchor=Point(-1,-1), bool normalize=true, int borderType=BORDER_DEFAULT)
Blurs an image using the box filter.
CV_EXPORTS_W void sqrBoxFilter(InputArray src, OutputArray dst, int ddepth, Size ksize, Point anchor=Point(-1, -1), bool normalize=true, int borderType=BORDER_DEFAULT)
Calculates the normalized sum of squares of the pixel values overlapping the filter.
CV_EXPORTS_W void blur(InputArray src, OutputArray dst, Size ksize, Point anchor=Point(-1,-1), int borderType=BORDER_DEFAULT)
Blurs an image using the normalized box filter.
MorphShapes
shape of the structuring element
Definition: imgproc.hpp:234
CV_EXPORTS_W void medianBlur(InputArray src, OutputArray dst, int ksize)
Blurs an image using the median filter.
SpecialFilter
Definition: imgproc.hpp:211
CV_EXPORTS_W void pyrUp(InputArray src, OutputArray dst, const Size &dstsize=Size(), int borderType=BORDER_DEFAULT)
Upsamples an image and then blurs it.
CV_EXPORTS_W void Scharr(InputArray src, OutputArray dst, int ddepth, int dx, int dy, double scale=1, double delta=0, int borderType=BORDER_DEFAULT)
Calculates the first x- or y- image derivative using Scharr operator.
CV_EXPORTS_W void dilate(InputArray src, OutputArray dst, InputArray kernel, Point anchor=Point(-1,-1), int iterations=1, int borderType=BORDER_CONSTANT, const Scalar &borderValue=morphologyDefaultBorderValue())
Dilates an image by using a specific structuring element.
CV_EXPORTS void buildPyramid(InputArray src, OutputArrayOfArrays dst, int maxlevel, int borderType=BORDER_DEFAULT)
Constructs the Gaussian pyramid for an image.
CV_EXPORTS_W void Laplacian(InputArray src, OutputArray dst, int ddepth, int ksize=1, double scale=1, double delta=0, int borderType=BORDER_DEFAULT)
Calculates the Laplacian of an image.
@ MORPH_OPEN
Definition: imgproc.hpp:219
@ MORPH_BLACKHAT
Definition: imgproc.hpp:227
@ MORPH_DILATE
see dilate
Definition: imgproc.hpp:218
@ MORPH_CLOSE
Definition: imgproc.hpp:221
@ MORPH_GRADIENT
Definition: imgproc.hpp:223
@ MORPH_ERODE
see erode
Definition: imgproc.hpp:217
@ MORPH_HITMISS
Definition: imgproc.hpp:229
@ MORPH_TOPHAT
Definition: imgproc.hpp:225
@ MORPH_RECT
a rectangular structuring element:
Definition: imgproc.hpp:235
@ MORPH_CROSS
Definition: imgproc.hpp:236
@ MORPH_ELLIPSE
Definition: imgproc.hpp:238
@ FILTER_SCHARR
Definition: imgproc.hpp:212
InputArray int InputArray CV_IN_OUT Ptr< float > OutputArray flow
Definition: imgproc.hpp:3388
InputArray int InputArray CV_IN_OUT Ptr< float > lowerBound
Definition: imgproc.hpp:3388
CV_EXPORTS_W double compareHist(InputArray H1, InputArray H2, int method)
Compares two histograms.
InputArray int InputArray cost
Definition: imgproc.hpp:3387
InputArray signature2
Definition: imgproc.hpp:3386
CV_EXPORTS float EMD(InputArray signature1, InputArray signature2, int distType, InputArray cost=noArray(), float *lowerBound=0, OutputArray flow=noArray())
Computes the "minimal work" distance between two weighted point configurations.
CV_EXPORTS_W Ptr< CLAHE > createCLAHE(double clipLimit=40.0, Size tileGridSize=Size(8, 8))
Creates a smart pointer to a cv::CLAHE class and initializes it.
HistCompMethods
Definition: imgproc.hpp:505
CV_EXPORTS_W void equalizeHist(InputArray src, OutputArray dst)
Equalizes the histogram of a grayscale image.
InputArray int distType
Definition: imgproc.hpp:3387
CV_EXPORTS void calcBackProject(const Mat *images, int nimages, const int *channels, InputArray hist, OutputArray backProject, const float **ranges, double scale=1, bool uniform=true)
Calculates the back projection of a histogram.
CV_EXPORTS void calcHist(const Mat *images, int nimages, const int *channels, InputArray mask, OutputArray hist, int dims, const int *histSize, const float **ranges, bool uniform=true, bool accumulate=false)
Calculates a histogram of a set of arrays.
@ HISTCMP_CHISQR_ALT
Definition: imgproc.hpp:526
@ HISTCMP_KL_DIV
Definition: imgproc.hpp:529
@ HISTCMP_CORREL
Definition: imgproc.hpp:511
@ HISTCMP_CHISQR
Definition: imgproc.hpp:514
@ HISTCMP_HELLINGER
Synonym for HISTCMP_BHATTACHARYYA.
Definition: imgproc.hpp:522
@ HISTCMP_BHATTACHARYYA
Definition: imgproc.hpp:521
@ HISTCMP_INTERSECT
Definition: imgproc.hpp:517
CV_EXPORTS_W void distanceTransform(InputArray src, OutputArray dst, int distanceType, int maskSize, int dstType=CV_32F)
OutputArray OutputArray sqsum
Definition: imgproc.hpp:2883
OutputArray OutputArray int int maskSize
Definition: imgproc.hpp:3565
DistanceTransformLabelTypes
distanceTransform algorithm flags
Definition: imgproc.hpp:372
OutputArray OutputArray OutputArray tilted
Definition: imgproc.hpp:2883
CV_EXPORTS_W int floodFill(InputOutputArray image, InputOutputArray mask, Point seedPoint, Scalar newVal, CV_OUT Rect *rect=0, Scalar loDiff=Scalar(), Scalar upDiff=Scalar(), int flags=4)
Fills a connected component with the given color.
OutputArray dst
Definition: imgproc.hpp:3564
OutputArray OutputArray int int int labelType
Definition: imgproc.hpp:3566
CV_EXPORTS_W void integral(InputArray src, OutputArray sum, int sdepth=-1)
CV_EXPORTS_W void adaptiveThreshold(InputArray src, OutputArray dst, double maxValue, int adaptiveMethod, int thresholdType, int blockSize, double C)
Applies an adaptive threshold to an array.
OutputArray OutputArray int distanceType
Definition: imgproc.hpp:3565
OutputArray sum
Definition: imgproc.hpp:2882
DistanceTypes
Definition: imgproc.hpp:304
AdaptiveThresholdTypes
Definition: imgproc.hpp:337
OutputArray OutputArray labels
Definition: imgproc.hpp:3565
OutputArray OutputArray OutputArray int sdepth
Definition: imgproc.hpp:2884
ThresholdTypes
Definition: imgproc.hpp:324
DistanceTransformMasks
Mask size for distance transform.
Definition: imgproc.hpp:316
FloodFillFlags
floodfill algorithm flags
Definition: imgproc.hpp:381
OutputArray OutputArray OutputArray int int sqdepth
Definition: imgproc.hpp:2884
CV_EXPORTS_W double threshold(InputArray src, OutputArray dst, double thresh, double maxval, int type)
Applies a fixed-level threshold to each array element.
CV_EXPORTS_W void blendLinear(InputArray src1, InputArray src2, InputArray weights1, InputArray weights2, OutputArray dst)
GrabCutClasses
class of the pixel in GrabCut algorithm
Definition: imgproc.hpp:349
GrabCutModes
GrabCut algorithm flags.
Definition: imgproc.hpp:357
@ DIST_LABEL_PIXEL
Definition: imgproc.hpp:377
@ DIST_LABEL_CCOMP
Definition: imgproc.hpp:375
@ DIST_C
distance = max(|x1-x2|,|y1-y2|)
Definition: imgproc.hpp:308
@ DIST_L12
L1-L2 metric: distance = 2(sqrt(1+x*x/2) - 1))
Definition: imgproc.hpp:309
@ DIST_USER
User defined distance.
Definition: imgproc.hpp:305
@ DIST_WELSCH
distance = c^2/2(1-exp(-(x/c)^2)), c = 2.9846
Definition: imgproc.hpp:311
@ DIST_HUBER
distance = |x|<c ? x^2/2 : c(|x|-c/2), c=1.345
Definition: imgproc.hpp:312
@ DIST_L1
distance = |x1-x2| + |y1-y2|
Definition: imgproc.hpp:306
@ DIST_FAIR
distance = c^2(|x|/c-log(1+|x|/c)), c = 1.3998
Definition: imgproc.hpp:310
@ DIST_L2
the simple euclidean distance
Definition: imgproc.hpp:307
@ ADAPTIVE_THRESH_MEAN_C
Definition: imgproc.hpp:340
@ ADAPTIVE_THRESH_GAUSSIAN_C
Definition: imgproc.hpp:345
@ THRESH_TOZERO
Definition: imgproc.hpp:328
@ THRESH_BINARY
Definition: imgproc.hpp:325
@ THRESH_BINARY_INV
Definition: imgproc.hpp:326
@ THRESH_TRIANGLE
flag, use Triangle algorithm to choose the optimal threshold value
Definition: imgproc.hpp:332
@ THRESH_TOZERO_INV
Definition: imgproc.hpp:329
@ THRESH_MASK
Definition: imgproc.hpp:330
@ THRESH_OTSU
flag, use Otsu algorithm to choose the optimal threshold value
Definition: imgproc.hpp:331
@ THRESH_TRUNC
Definition: imgproc.hpp:327
@ DIST_MASK_3
mask=3
Definition: imgproc.hpp:317
@ DIST_MASK_PRECISE
Definition: imgproc.hpp:319
@ DIST_MASK_5
mask=5
Definition: imgproc.hpp:318
@ FLOODFILL_MASK_ONLY
Definition: imgproc.hpp:388
@ FLOODFILL_FIXED_RANGE
Definition: imgproc.hpp:384
@ GC_FGD
an obvious foreground (object) pixel
Definition: imgproc.hpp:351
@ GC_BGD
an obvious background pixels
Definition: imgproc.hpp:350
@ GC_PR_FGD
a possible foreground pixel
Definition: imgproc.hpp:353
@ GC_PR_BGD
a possible background pixel
Definition: imgproc.hpp:352
@ GC_INIT_WITH_RECT
Definition: imgproc.hpp:360
@ GC_EVAL_FREEZE_MODEL
Definition: imgproc.hpp:368
@ GC_INIT_WITH_MASK
Definition: imgproc.hpp:364
@ GC_EVAL
Definition: imgproc.hpp:366
CV_EXPORTS_W void accumulate(InputArray src, InputOutputArray dst, InputArray mask=noArray())
Adds an image to the accumulator image.
CV_EXPORTS_W void divSpectrums(InputArray a, InputArray b, OutputArray c, int flags, bool conjB=false)
Performs the per-element division of the first Fourier spectrum by the second Fourier spectrum.
CV_EXPORTS_W void accumulateSquare(InputArray src, InputOutputArray dst, InputArray mask=noArray())
Adds the square of a source image to the accumulator image.
CV_EXPORTS_W void accumulateWeighted(InputArray src, InputOutputArray dst, double alpha, InputArray mask=noArray())
Updates a running average.
CV_EXPORTS_W void createHanningWindow(OutputArray dst, Size winSize, int type)
This function computes a Hanning window coefficients in two dimensions.
CV_EXPORTS_W void accumulateProduct(InputArray src1, InputArray src2, InputOutputArray dst, InputArray mask=noArray())
Adds the per-element product of two input images to the accumulator image.
CV_EXPORTS_W Point2d phaseCorrelate(InputArray src1, InputArray src2, InputArray window=noArray(), CV_OUT double *response=0)
The function is used to detect translational shifts that occur between two images.
TemplateMatchModes
type of the template matching operation
Definition: imgproc.hpp:3834
CV_EXPORTS_W void matchTemplate(InputArray image, InputArray templ, OutputArray result, int method, InputArray mask=noArray())
Compares a template against overlapped image regions.
@ TM_SQDIFF_NORMED
Definition: imgproc.hpp:3839
@ TM_CCORR
Definition: imgproc.hpp:3846
@ TM_SQDIFF
Definition: imgproc.hpp:3835
@ TM_CCOEFF
Definition: imgproc.hpp:3857
@ TM_CCOEFF_NORMED
Definition: imgproc.hpp:3869
@ TM_CCORR_NORMED
Definition: imgproc.hpp:3850
CV_EXPORTS_W void watershed(InputArray image, InputOutputArray markers)
Performs a marker-based image segmentation using the watershed algorithm.
CV_EXPORTS_W void grabCut(InputArray img, InputOutputArray mask, Rect rect, InputOutputArray bgdModel, InputOutputArray fgdModel, int iterCount, int mode=GC_EVAL)
Runs the GrabCut algorithm.
CV_EXPORTS void HuMoments(const Moments &moments, double hu[7])
Calculates seven Hu invariants.
CV_EXPORTS_W bool isContourConvex(InputArray contour)
Tests a contour convexity.
CV_EXPORTS_W void findContours(InputArray image, OutputArrayOfArrays contours, OutputArray hierarchy, int mode, int method, Point offset=Point())
Finds contours in a binary image.
CV_EXPORTS_W void approxPolyDP(InputArray curve, OutputArray approxCurve, double epsilon, bool closed)
Approximates a polygonal curve(s) with the specified precision.
CV_EXPORTS_W void minEnclosingCircle(InputArray points, CV_OUT Point2f ¢er, CV_OUT float &radius)
Finds a circle of the minimum area enclosing a 2D point set.
CV_EXPORTS_W Rect boundingRect(InputArray array)
Calculates the up-right bounding rectangle of a point set or non-zero pixels of gray-scale image.
CV_EXPORTS_W void boxPoints(RotatedRect box, OutputArray points)
Finds the four vertices of a rotated rect. Useful to draw the rotated rectangle.
CV_EXPORTS_W double contourArea(InputArray contour, bool oriented=false)
Calculates a contour area.
CV_EXPORTS_W Moments moments(InputArray array, bool binaryImage=false)
Calculates all of the moments up to the third order of a polygon or rasterized shape.
CV_EXPORTS_W RotatedRect fitEllipseAMS(InputArray points)
Fits an ellipse around a set of 2D points.
CV_EXPORTS_W void convexityDefects(InputArray contour, InputArray convexhull, OutputArray convexityDefects)
Finds the convexity defects of a contour.
CV_EXPORTS_W double minEnclosingTriangle(InputArray points, CV_OUT OutputArray triangle)
Finds a triangle of minimum area enclosing a 2D point set and returns its area.
CV_EXPORTS_W double pointPolygonTest(InputArray contour, Point2f pt, bool measureDist)
Performs a point-in-contour test.
ContourApproximationModes
the contour approximation algorithm
Definition: imgproc.hpp:439
OutputArray int int ltype
Definition: imgproc.hpp:3937
OutputArray int connectivity
Definition: imgproc.hpp:3937
CV_EXPORTS_W RotatedRect fitEllipse(InputArray points)
Fits an ellipse around a set of 2D points.
ConnectedComponentsAlgorithmsTypes
connected components algorithm
Definition: imgproc.hpp:411
RetrievalModes
mode of the contour retrieval algorithm
Definition: imgproc.hpp:422
CV_EXPORTS_W int connectedComponentsWithStats(InputArray image, OutputArray labels, OutputArray stats, OutputArray centroids, int connectivity=8, int ltype=CV_32S)
OutputArray OutputArray stats
Definition: imgproc.hpp:3975
CV_EXPORTS_W float intersectConvexConvex(InputArray p1, InputArray p2, OutputArray p12, bool handleNested=true)
Finds intersection of two convex polygons.
OutputArray OutputArray OutputArray centroids
Definition: imgproc.hpp:3975
CV_EXPORTS_W RotatedRect fitEllipseDirect(InputArray points)
Fits an ellipse around a set of 2D points.
CV_EXPORTS_W int rotatedRectangleIntersection(const RotatedRect &rect1, const RotatedRect &rect2, OutputArray intersectingRegion)
Finds out if there is any intersection between two rotated rectangles.
RectanglesIntersectTypes
types of intersection between rectangles
Definition: imgproc.hpp:881
CV_EXPORTS_W Ptr< GeneralizedHoughGuil > createGeneralizedHoughGuil()
Creates a smart pointer to a cv::GeneralizedHoughGuil class and initializes it.
CV_EXPORTS_W void convexHull(InputArray points, OutputArray hull, bool clockwise=false, bool returnPoints=true)
Finds the convex hull of a point set.
CV_EXPORTS_W int connectedComponents(InputArray image, OutputArray labels, int connectivity=8, int ltype=CV_32S)
CV_EXPORTS_W double matchShapes(InputArray contour1, InputArray contour2, int method, double parameter)
Compares two shapes.
ConnectedComponentsTypes
connected components statistics
Definition: imgproc.hpp:397
OutputArray int int int ccltype
Definition: imgproc.hpp:3937
CV_EXPORTS_W void findContoursLinkRuns(InputArray image, OutputArrayOfArrays contours, OutputArray hierarchy)
Find contours using link runs algorithm.
CV_EXPORTS_W RotatedRect minAreaRect(InputArray points)
Finds a rotated rectangle of the minimum area enclosing the input 2D point set.
CV_EXPORTS_W void fitLine(InputArray points, OutputArray line, int distType, double param, double reps, double aeps)
Fits a line to a 2D or 3D point set.
CV_EXPORTS_W double arcLength(InputArray curve, bool closed)
Calculates a contour perimeter or a curve length.
ShapeMatchModes
Shape matching methods.
Definition: imgproc.hpp:461
CV_EXPORTS_W Ptr< GeneralizedHoughBallard > createGeneralizedHoughBallard()
Creates a smart pointer to a cv::GeneralizedHoughBallard class and initializes it.
@ CHAIN_APPROX_SIMPLE
Definition: imgproc.hpp:446
@ CHAIN_APPROX_TC89_KCOS
Definition: imgproc.hpp:450
@ CHAIN_APPROX_TC89_L1
Definition: imgproc.hpp:448
@ CHAIN_APPROX_NONE
Definition: imgproc.hpp:443
@ CCL_SAUF
Same as CCL_WU. It is preferable to use the flag with the name of the algorithm (CCL_SAUF) rather tha...
Definition: imgproc.hpp:416
@ CCL_GRANA
BBDT algorithm for 8-way connectivity, SAUF algorithm for 4-way connectivity. The parallel implement...
Definition: imgproc.hpp:414
@ CCL_WU
SAUF algorithm for 8-way connectivity, SAUF algorithm for 4-way connectivity. The parallel implement...
Definition: imgproc.hpp:413
@ CCL_SPAGHETTI
Same as CCL_BOLELLI. It is preferable to use the flag with the name of the algorithm (CCL_SPAGHETTI) ...
Definition: imgproc.hpp:418
@ CCL_DEFAULT
Spaghetti algorithm for 8-way connectivity, Spaghetti4C algorithm for 4-way connectivity.
Definition: imgproc.hpp:412
@ CCL_BOLELLI
Spaghetti algorithm for 8-way connectivity, Spaghetti4C algorithm for 4-way connectivity....
Definition: imgproc.hpp:415
@ CCL_BBDT
Same as CCL_GRANA. It is preferable to use the flag with the name of the algorithm (CCL_BBDT) rather ...
Definition: imgproc.hpp:417
@ RETR_LIST
Definition: imgproc.hpp:427
@ RETR_CCOMP
Definition: imgproc.hpp:432
@ RETR_EXTERNAL
Definition: imgproc.hpp:425
@ RETR_TREE
Definition: imgproc.hpp:434
@ RETR_FLOODFILL
Definition: imgproc.hpp:435
@ INTERSECT_NONE
No intersection.
Definition: imgproc.hpp:882
@ INTERSECT_FULL
One of the rectangle is fully enclosed in the other.
Definition: imgproc.hpp:884
@ INTERSECT_PARTIAL
There is a partial intersection.
Definition: imgproc.hpp:883
@ CC_STAT_LEFT
Definition: imgproc.hpp:398
@ CC_STAT_AREA
The total area (in pixels) of the connected component.
Definition: imgproc.hpp:404
@ CC_STAT_TOP
Definition: imgproc.hpp:400
@ CC_STAT_MAX
Max enumeration value. Used internally only for memory allocation.
Definition: imgproc.hpp:406
@ CC_STAT_HEIGHT
The vertical size of the bounding box.
Definition: imgproc.hpp:403
@ CC_STAT_WIDTH
The horizontal size of the bounding box.
Definition: imgproc.hpp:402
@ CONTOURS_MATCH_I1
Definition: imgproc.hpp:462
@ CONTOURS_MATCH_I3
Definition: imgproc.hpp:464
@ CONTOURS_MATCH_I2
Definition: imgproc.hpp:463
"black box" representation of the file storage associated with a file on disk.
Definition: calib3d.hpp:441
DualQuat< T > operator*(const T a, const DualQuat< T > &q)
Definition: dualquaternion.inl.hpp:274
int y
Definition: types_c.h:937
int x
Definition: types_c.h:936
Definition: cvstd_wrapper.hpp:74
Definition: imgproc.hpp:1311
Definition: imgproc.hpp:1299
int firstEdge
Definition: imgproc.hpp:1305
int type
Definition: imgproc.hpp:1306
Vertex(Point2f pt, bool isvirtual, int firstEdge=0)
Point2f pt
Definition: imgproc.hpp:1307