@Namespace(value="cv::cuda") @Properties(inherit=opencv_cudaimgproc.class) public class HoughCirclesDetector extends Algorithm
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter
Constructor and Description |
---|
HoughCirclesDetector(Pointer p)
Pointer cast constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
detect(GpuMat src,
GpuMat circles) |
void |
detect(GpuMat src,
GpuMat circles,
Stream stream) |
void |
detect(Mat src,
Mat circles) |
void |
detect(Mat src,
Mat circles,
Stream stream)
\brief Finds circles in a grayscale image using the Hough transform.
|
void |
detect(UMat src,
UMat circles) |
void |
detect(UMat src,
UMat circles,
Stream stream) |
int |
getCannyThreshold() |
float |
getDp() |
int |
getMaxCircles() |
int |
getMaxRadius() |
float |
getMinDist() |
int |
getMinRadius() |
int |
getVotesThreshold() |
void |
setCannyThreshold(int cannyThreshold) |
void |
setDp(float dp) |
void |
setMaxCircles(int maxCircles) |
void |
setMaxRadius(int maxRadius) |
void |
setMinDist(float minDist) |
void |
setMinRadius(int minRadius) |
void |
setVotesThreshold(int votesThreshold) |
clear, empty, getDefaultName, position, read, save, save, write, write, write
address, asBuffer, asByteBuffer, availablePhysicalBytes, calloc, capacity, capacity, close, deallocate, deallocate, deallocateReferences, deallocator, deallocator, equals, fill, formatBytes, free, hashCode, isNull, isNull, limit, limit, malloc, maxBytes, maxPhysicalBytes, memchr, memcmp, memcpy, memmove, memset, offsetof, parseBytes, physicalBytes, position, put, realloc, referenceCount, releaseReference, retainReference, setNull, sizeof, toString, totalBytes, totalPhysicalBytes, withDeallocator, zero
public HoughCirclesDetector(Pointer p)
Pointer.Pointer(Pointer)
.public void detect(@ByVal Mat src, @ByVal Mat circles, @ByRef(nullValue="cv::cuda::Stream::Null()") Stream stream)
src
- 8-bit, single-channel grayscale input image.circles
- Output vector of found circles. Each vector is encoded as a 3-element
floating-point vector (x, y, radius)
.stream
- Stream for the asynchronous version.
HoughCircles
public void detect(@ByVal UMat src, @ByVal UMat circles, @ByRef(nullValue="cv::cuda::Stream::Null()") Stream stream)
public void detect(@ByVal GpuMat src, @ByVal GpuMat circles, @ByRef(nullValue="cv::cuda::Stream::Null()") Stream stream)
public void setDp(float dp)
public float getDp()
public void setMinDist(float minDist)
public float getMinDist()
public void setCannyThreshold(int cannyThreshold)
public int getCannyThreshold()
public void setVotesThreshold(int votesThreshold)
public int getVotesThreshold()
public void setMinRadius(int minRadius)
public int getMinRadius()
public void setMaxRadius(int maxRadius)
public int getMaxRadius()
public void setMaxCircles(int maxCircles)
public int getMaxCircles()
Copyright © 2020. All rights reserved.