Uses of Class
org.opencv.core.Point

Packages that use Point
Package
Description
 
 
 
  • Uses of Point in org.opencv.core

    Fields in org.opencv.core declared as Point
    Modifier and Type
    Field
    Description
    RotatedRect.center
     
    Core.MinMaxLocResult.maxLoc
     
    Core.MinMaxLocResult.minLoc
     
    KeyPoint.pt
    Coordinates of the keypoint.
    Methods in org.opencv.core that return Point
    Modifier and Type
    Method
    Description
    Rect.br()
     
    Rect2d.br()
     
    Point.clone()
     
    Rect.tl()
     
    Rect2d.tl()
     
    MatOfPoint.toArray()
     
    MatOfPoint2f.toArray()
     
    Methods in org.opencv.core that return types with arguments of type Point
    Modifier and Type
    Method
    Description
    MatOfPoint.toList()
     
    MatOfPoint2f.toList()
     
    Methods in org.opencv.core with parameters of type Point
    Modifier and Type
    Method
    Description
    boolean
    Rect.contains(Point p)
     
    boolean
    Rect2d.contains(Point p)
     
    double
    Point.dot(Point p)
     
    void
    MatOfPoint.fromArray(Point... a)
     
    void
    MatOfPoint2f.fromArray(Point... a)
     
    void
    Mat.locateROI(Size wholeSize, Point ofs)
     
    void
    RotatedRect.points(Point[] pt)
     
    Method parameters in org.opencv.core with type arguments of type Point
    Modifier and Type
    Method
    Description
    void
    MatOfPoint.fromList(List<Point> lp)
     
    void
    MatOfPoint2f.fromList(List<Point> lp)
     
    Constructors in org.opencv.core with parameters of type Point
    Modifier
    Constructor
    Description
     
     
     
     
     
     
     
    Rect(Point p1, Point p2)
     
     
    Rect(Point p, Size s)
     
     
    Rect2d(Point p1, Point p2)
     
     
    Rect2d(Point p, Size s)
     
     
    RotatedRect(Point c, Size s, double a)
     
     
     
  • Uses of Point in org.opencv.imgproc

    Methods in org.opencv.imgproc that return Point
    Modifier and Type
    Method
    Description
    Subdiv2D.getVertex(int vertex)
    Returns vertex location from vertex ID.
    Subdiv2D.getVertex(int vertex, int[] firstEdge)
    Returns vertex location from vertex ID.
    static Point
    Imgproc.phaseCorrelate(Mat src1, Mat src2)
    The function is used to detect translational shifts that occur between two images.
    static Point
    Imgproc.phaseCorrelate(Mat src1, Mat src2, Mat window)
    The function is used to detect translational shifts that occur between two images.
    static Point
    Imgproc.phaseCorrelate(Mat src1, Mat src2, Mat window, double[] response)
    The function is used to detect translational shifts that occur between two images.
    Methods in org.opencv.imgproc with parameters of type Point
    Modifier and Type
    Method
    Description
    static void
    Imgproc.arrowedLine(Mat img, Point pt1, Point pt2, Scalar color)
    Draws an arrow segment pointing from the first point to the second one.
    static void
    Imgproc.arrowedLine(Mat img, Point pt1, Point pt2, Scalar color, int thickness)
    Draws an arrow segment pointing from the first point to the second one.
    static void
    Imgproc.arrowedLine(Mat img, Point pt1, Point pt2, Scalar color, int thickness, int line_type)
    Draws an arrow segment pointing from the first point to the second one.
    static void
    Imgproc.arrowedLine(Mat img, Point pt1, Point pt2, Scalar color, int thickness, int line_type, int shift)
    Draws an arrow segment pointing from the first point to the second one.
    static void
    Imgproc.arrowedLine(Mat img, Point pt1, Point pt2, Scalar color, int thickness, int line_type, int shift, double tipLength)
    Draws an arrow segment pointing from the first point to the second one.
    static void
    Imgproc.blur(Mat src, Mat dst, Size ksize, Point anchor)
    Blurs an image using the normalized box filter.
    static void
    Imgproc.blur(Mat src, Mat dst, Size ksize, Point anchor, int borderType)
    Blurs an image using the normalized box filter.
    static void
    Imgproc.boxFilter(Mat src, Mat dst, int ddepth, Size ksize, Point anchor)
    Blurs an image using the box filter.
    static void
    Imgproc.boxFilter(Mat src, Mat dst, int ddepth, Size ksize, Point anchor, boolean normalize)
    Blurs an image using the box filter.
    static void
    Imgproc.boxFilter(Mat src, Mat dst, int ddepth, Size ksize, Point anchor, boolean normalize, int borderType)
    Blurs an image using the box filter.
    void
    IntelligentScissorsMB.buildMap(Point sourcePt)
    Prepares a map of optimal paths for the given source point on the image Note: applyImage() / applyImageFeatures() must be called before this call
    static void
    Imgproc.circle(Mat img, Point center, int radius, Scalar color)
    Draws a circle.
    static void
    Imgproc.circle(Mat img, Point center, int radius, Scalar color, int thickness)
    Draws a circle.
    static void
    Imgproc.circle(Mat img, Point center, int radius, Scalar color, int thickness, int lineType)
    Draws a circle.
    static void
    Imgproc.circle(Mat img, Point center, int radius, Scalar color, int thickness, int lineType, int shift)
    Draws a circle.
    static boolean
    Imgproc.clipLine(Rect imgRect, Point pt1, Point pt2)
     
    static void
    Imgproc.dilate(Mat src, Mat dst, Mat kernel, Point anchor)
    Dilates an image by using a specific structuring element.
    static void
    Imgproc.dilate(Mat src, Mat dst, Mat kernel, Point anchor, int iterations)
    Dilates an image by using a specific structuring element.
    static void
    Imgproc.dilate(Mat src, Mat dst, Mat kernel, Point anchor, int iterations, int borderType)
    Dilates an image by using a specific structuring element.
    static void
    Imgproc.dilate(Mat src, Mat dst, Mat kernel, Point anchor, int iterations, int borderType, Scalar borderValue)
    Dilates an image by using a specific structuring element.
    static void
    Imgproc.drawContours(Mat image, List<MatOfPoint> contours, int contourIdx, Scalar color, int thickness, int lineType, Mat hierarchy, int maxLevel, Point offset)
    Draws contours outlines or filled contours.
    static void
    Imgproc.drawMarker(Mat img, Point position, Scalar color)
    Draws a marker on a predefined position in an image.
    static void
    Imgproc.drawMarker(Mat img, Point position, Scalar color, int markerType)
    Draws a marker on a predefined position in an image.
    static void
    Imgproc.drawMarker(Mat img, Point position, Scalar color, int markerType, int markerSize)
    Draws a marker on a predefined position in an image.
    static void
    Imgproc.drawMarker(Mat img, Point position, Scalar color, int markerType, int markerSize, int thickness)
    Draws a marker on a predefined position in an image.
    static void
    Imgproc.drawMarker(Mat img, Point position, Scalar color, int markerType, int markerSize, int thickness, int line_type)
    Draws a marker on a predefined position in an image.
    int
    Subdiv2D.edgeDst(int edge, Point dstpt)
    Returns the edge destination.
    int
    Subdiv2D.edgeOrg(int edge, Point orgpt)
    Returns the edge origin.
    static void
    Imgproc.ellipse(Mat img, Point center, Size axes, double angle, double startAngle, double endAngle, Scalar color)
    Draws a simple or thick elliptic arc or fills an ellipse sector.
    static void
    Imgproc.ellipse(Mat img, Point center, Size axes, double angle, double startAngle, double endAngle, Scalar color, int thickness)
    Draws a simple or thick elliptic arc or fills an ellipse sector.
    static void
    Imgproc.ellipse(Mat img, Point center, Size axes, double angle, double startAngle, double endAngle, Scalar color, int thickness, int lineType)
    Draws a simple or thick elliptic arc or fills an ellipse sector.
    static void
    Imgproc.ellipse(Mat img, Point center, Size axes, double angle, double startAngle, double endAngle, Scalar color, int thickness, int lineType, int shift)
    Draws a simple or thick elliptic arc or fills an ellipse sector.
    static void
    Imgproc.ellipse2Poly(Point center, Size axes, int angle, int arcStart, int arcEnd, int delta, MatOfPoint pts)
    Approximates an elliptic arc with a polyline.
    static void
    Imgproc.erode(Mat src, Mat dst, Mat kernel, Point anchor)
    Erodes an image by using a specific structuring element.
    static void
    Imgproc.erode(Mat src, Mat dst, Mat kernel, Point anchor, int iterations)
    Erodes an image by using a specific structuring element.
    static void
    Imgproc.erode(Mat src, Mat dst, Mat kernel, Point anchor, int iterations, int borderType)
    Erodes an image by using a specific structuring element.
    static void
    Imgproc.erode(Mat src, Mat dst, Mat kernel, Point anchor, int iterations, int borderType, Scalar borderValue)
    Erodes an image by using a specific structuring element.
    static void
    Imgproc.fillPoly(Mat img, List<MatOfPoint> pts, Scalar color, int lineType, int shift, Point offset)
    Fills the area bounded by one or more polygons.
    static void
    Imgproc.filter2D(Mat src, Mat dst, int ddepth, Mat kernel, Point anchor)
    Convolves an image with the kernel.
    static void
    Imgproc.filter2D(Mat src, Mat dst, int ddepth, Mat kernel, Point anchor, double delta)
    Convolves an image with the kernel.
    static void
    Imgproc.filter2D(Mat src, Mat dst, int ddepth, Mat kernel, Point anchor, double delta, int borderType)
    Convolves an image with the kernel.
    static void
    Imgproc.findContours(Mat image, List<MatOfPoint> contours, Mat hierarchy, int mode, int method, Point offset)
    Finds contours in a binary image.
    int
    Subdiv2D.findNearest(Point pt)
    Finds the subdivision vertex closest to the given point.
    int
    Subdiv2D.findNearest(Point pt, Point nearestPt)
    Finds the subdivision vertex closest to the given point.
    static int
    Imgproc.floodFill(Mat image, Mat mask, Point seedPoint, Scalar newVal)
    Fills a connected component with the given color.
    static int
    Imgproc.floodFill(Mat image, Mat mask, Point seedPoint, Scalar newVal, Rect rect)
    Fills a connected component with the given color.
    static int
    Imgproc.floodFill(Mat image, Mat mask, Point seedPoint, Scalar newVal, Rect rect, Scalar loDiff)
    Fills a connected component with the given color.
    static int
    Imgproc.floodFill(Mat image, Mat mask, Point seedPoint, Scalar newVal, Rect rect, Scalar loDiff, Scalar upDiff)
    Fills a connected component with the given color.
    static int
    Imgproc.floodFill(Mat image, Mat mask, Point seedPoint, Scalar newVal, Rect rect, Scalar loDiff, Scalar upDiff, int flags)
    Fills a connected component with the given color.
    void
    IntelligentScissorsMB.getContour(Point targetPt, Mat contour)
    Extracts optimal contour for the given target point on the image Note: buildMap() must be called before this call
    void
    IntelligentScissorsMB.getContour(Point targetPt, Mat contour, boolean backward)
    Extracts optimal contour for the given target point on the image Note: buildMap() must be called before this call
    static void
    Imgproc.getRectSubPix(Mat image, Size patchSize, Point center, Mat patch)
    Retrieves a pixel rectangle from an image with sub-pixel accuracy.
    static void
    Imgproc.getRectSubPix(Mat image, Size patchSize, Point center, Mat patch, int patchType)
    Retrieves a pixel rectangle from an image with sub-pixel accuracy.
    static Mat
    Imgproc.getRotationMatrix2D(Point center, double angle, double scale)
    Calculates an affine matrix of 2D rotation.
    static Mat
    Imgproc.getStructuringElement(int shape, Size ksize, Point anchor)
    Returns a structuring element of the specified size and shape for morphological operations.
    int
    Subdiv2D.insert(Point pt)
    Insert a single point into a Delaunay triangulation.
    static void
    Imgproc.line(Mat img, Point pt1, Point pt2, Scalar color)
    Draws a line segment connecting two points.
    static void
    Imgproc.line(Mat img, Point pt1, Point pt2, Scalar color, int thickness)
    Draws a line segment connecting two points.
    static void
    Imgproc.line(Mat img, Point pt1, Point pt2, Scalar color, int thickness, int lineType)
    Draws a line segment connecting two points.
    static void
    Imgproc.line(Mat img, Point pt1, Point pt2, Scalar color, int thickness, int lineType, int shift)
    Draws a line segment connecting two points.
    static void
    Imgproc.linearPolar(Mat src, Mat dst, Point center, double maxRadius, int flags)
    Deprecated.
    This function produces same result as cv::warpPolar(src, dst, src.size(), center, maxRadius, flags) Transform the source image using the following transformation (See REF: polar_remaps_reference_image "Polar remaps reference image c)"): \(\begin{array}{l} dst( \rho , \phi ) = src(x,y) \\ dst.size() \leftarrow src.size() \end{array}\) where \(\begin{array}{l} I = (dx,dy) = (x - center.x,y - center.y) \\ \rho = Kmag \cdot \texttt{magnitude} (I) ,\\ \phi = angle \cdot \texttt{angle} (I) \end{array}\) and \(\begin{array}{l} Kx = src.cols / maxRadius \\ Ky = src.rows / 2\Pi \end{array}\)
    int
    Subdiv2D.locate(Point pt, int[] edge, int[] vertex)
    Returns the location of a point within a Delaunay triangulation.
    static void
    Imgproc.logPolar(Mat src, Mat dst, Point center, double M, int flags)
    Deprecated.
    This function produces same result as cv::warpPolar(src, dst, src.size(), center, maxRadius, flags+WARP_POLAR_LOG); Transform the source image using the following transformation (See REF: polar_remaps_reference_image "Polar remaps reference image d)"): \(\begin{array}{l} dst( \rho , \phi ) = src(x,y) \\ dst.size() \leftarrow src.size() \end{array}\) where \(\begin{array}{l} I = (dx,dy) = (x - center.x,y - center.y) \\ \rho = M \cdot log_e(\texttt{magnitude} (I)) ,\\ \phi = Kangle \cdot \texttt{angle} (I) \\ \end{array}\) and \(\begin{array}{l} M = src.cols / log_e(maxRadius) \\ Kangle = src.rows / 2\Pi \\ \end{array}\) The function emulates the human "foveal" vision and can be used for fast scale and rotation-invariant template matching, for object tracking and so forth.
    static void
    Imgproc.minEnclosingCircle(MatOfPoint2f points, Point center, float[] radius)
    Finds a circle of the minimum area enclosing a 2D point set.
    static void
    Imgproc.morphologyEx(Mat src, Mat dst, int op, Mat kernel, Point anchor)
    Performs advanced morphological transformations.
    static void
    Imgproc.morphologyEx(Mat src, Mat dst, int op, Mat kernel, Point anchor, int iterations)
    Performs advanced morphological transformations.
    static void
    Imgproc.morphologyEx(Mat src, Mat dst, int op, Mat kernel, Point anchor, int iterations, int borderType)
    Performs advanced morphological transformations.
    static void
    Imgproc.morphologyEx(Mat src, Mat dst, int op, Mat kernel, Point anchor, int iterations, int borderType, Scalar borderValue)
    Performs advanced morphological transformations.
    static double
    Imgproc.pointPolygonTest(MatOfPoint2f contour, Point pt, boolean measureDist)
    Performs a point-in-contour test.
    static void
    Imgproc.putText(Mat img, String text, Point org, int fontFace, double fontScale, Scalar color)
    Draws a text string.
    static void
    Imgproc.putText(Mat img, String text, Point org, int fontFace, double fontScale, Scalar color, int thickness)
    Draws a text string.
    static void
    Imgproc.putText(Mat img, String text, Point org, int fontFace, double fontScale, Scalar color, int thickness, int lineType)
    Draws a text string.
    static void
    Imgproc.putText(Mat img, String text, Point org, int fontFace, double fontScale, Scalar color, int thickness, int lineType, boolean bottomLeftOrigin)
    Draws a text string.
    static void
    Imgproc.rectangle(Mat img, Point pt1, Point pt2, Scalar color)
    Draws a simple, thick, or filled up-right rectangle.
    static void
    Imgproc.rectangle(Mat img, Point pt1, Point pt2, Scalar color, int thickness)
    Draws a simple, thick, or filled up-right rectangle.
    static void
    Imgproc.rectangle(Mat img, Point pt1, Point pt2, Scalar color, int thickness, int lineType)
    Draws a simple, thick, or filled up-right rectangle.
    static void
    Imgproc.rectangle(Mat img, Point pt1, Point pt2, Scalar color, int thickness, int lineType, int shift)
    Draws a simple, thick, or filled up-right rectangle.
    static void
    Imgproc.sepFilter2D(Mat src, Mat dst, int ddepth, Mat kernelX, Mat kernelY, Point anchor)
    Applies a separable linear filter to an image.
    static void
    Imgproc.sepFilter2D(Mat src, Mat dst, int ddepth, Mat kernelX, Mat kernelY, Point anchor, double delta)
    Applies a separable linear filter to an image.
    static void
    Imgproc.sepFilter2D(Mat src, Mat dst, int ddepth, Mat kernelX, Mat kernelY, Point anchor, double delta, int borderType)
    Applies a separable linear filter to an image.
    void
    GeneralizedHough.setTemplate(Mat edges, Mat dx, Mat dy, Point templCenter)
     
    void
    GeneralizedHough.setTemplate(Mat templ, Point templCenter)
     
    static void
    Imgproc.sqrBoxFilter(Mat src, Mat dst, int ddepth, Size ksize, Point anchor)
    Calculates the normalized sum of squares of the pixel values overlapping the filter.
    static void
    Imgproc.sqrBoxFilter(Mat src, Mat dst, int ddepth, Size ksize, Point anchor, boolean normalize)
    Calculates the normalized sum of squares of the pixel values overlapping the filter.
    static void
    Imgproc.sqrBoxFilter(Mat src, Mat dst, int ddepth, Size ksize, Point anchor, boolean normalize, int borderType)
    Calculates the normalized sum of squares of the pixel values overlapping the filter.
    static void
    Imgproc.warpPolar(Mat src, Mat dst, Size dsize, Point center, double maxRadius, int flags)
    Remaps an image to polar or semilog-polar coordinates space polar_remaps_reference_image !
  • Uses of Point in org.opencv.utils

    Method parameters in org.opencv.utils with type arguments of type Point
    Modifier and Type
    Method
    Description
    static void
    Converters.Mat_to_vector_Point(Mat m, List<Point> pts)
     
    static void
    Converters.Mat_to_vector_Point2d(Mat m, List<Point> pts)
     
    static void
    Converters.Mat_to_vector_Point2f(Mat m, List<Point> pts)
     
    static Mat
    Converters.vector_Point_to_Mat(List<Point> pts)
     
    static Mat
    Converters.vector_Point_to_Mat(List<Point> pts, int typeDepth)
     
    static Mat
    Converters.vector_Point2d_to_Mat(List<Point> pts)
     
    static Mat
    Converters.vector_Point2f_to_Mat(List<Point> pts)