Package org.opencv.imgproc
Class GeneralizedHough
- java.lang.Object
-
- org.opencv.core.Algorithm
-
- org.opencv.imgproc.GeneralizedHough
-
- Direct Known Subclasses:
GeneralizedHoughBallard
,GeneralizedHoughGuil
public class GeneralizedHough extends Algorithm
finds arbitrary template in the grayscale image using Generalized Hough Transform
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
GeneralizedHough(long addr)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static GeneralizedHough
__fromPtr__(long addr)
void
detect(Mat image, Mat positions)
void
detect(Mat image, Mat positions, Mat votes)
void
detect(Mat edges, Mat dx, Mat dy, Mat positions)
void
detect(Mat edges, Mat dx, Mat dy, Mat positions, Mat votes)
protected void
finalize()
int
getCannyHighThresh()
int
getCannyLowThresh()
double
getDp()
int
getMaxBufferSize()
double
getMinDist()
void
setCannyHighThresh(int cannyHighThresh)
void
setCannyLowThresh(int cannyLowThresh)
void
setDp(double dp)
void
setMaxBufferSize(int maxBufferSize)
void
setMinDist(double minDist)
void
setTemplate(Mat templ)
void
setTemplate(Mat edges, Mat dx, Mat dy)
void
setTemplate(Mat edges, Mat dx, Mat dy, Point templCenter)
void
setTemplate(Mat templ, Point templCenter)
-
Methods inherited from class org.opencv.core.Algorithm
clear, empty, getDefaultName, getNativeObjAddr, save
-
-
-
-
Method Detail
-
__fromPtr__
public static GeneralizedHough __fromPtr__(long addr)
-
setTemplate
public void setTemplate(Mat templ)
-
setCannyLowThresh
public void setCannyLowThresh(int cannyLowThresh)
-
getCannyLowThresh
public int getCannyLowThresh()
-
setCannyHighThresh
public void setCannyHighThresh(int cannyHighThresh)
-
getCannyHighThresh
public int getCannyHighThresh()
-
setMinDist
public void setMinDist(double minDist)
-
getMinDist
public double getMinDist()
-
setDp
public void setDp(double dp)
-
getDp
public double getDp()
-
setMaxBufferSize
public void setMaxBufferSize(int maxBufferSize)
-
getMaxBufferSize
public int getMaxBufferSize()
-
-