@Namespace(value="cv::cuda") @Properties(inherit=opencv_cudaimgproc.class) public class HoughSegmentDetector extends Algorithm
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter| Constructor and Description |
|---|
HoughSegmentDetector(Algorithm pointer)
Downcast constructor.
|
HoughSegmentDetector(Pointer p)
Pointer cast constructor.
|
| Modifier and Type | Method and Description |
|---|---|
Algorithm |
asAlgorithm() |
static Algorithm |
asAlgorithm(HoughSegmentDetector pointer) |
void |
detect(GpuMat src,
GpuMat lines) |
void |
detect(GpuMat src,
GpuMat lines,
Stream stream) |
void |
detect(Mat src,
Mat lines) |
void |
detect(Mat src,
Mat lines,
Stream stream)
\brief Finds line segments in a binary image using the probabilistic Hough transform.
|
void |
detect(UMat src,
UMat lines) |
void |
detect(UMat src,
UMat lines,
Stream stream) |
int |
getMaxLineGap() |
int |
getMaxLines() |
int |
getMinLineLength() |
float |
getRho() |
float |
getTheta() |
int |
getThreshold() |
void |
setMaxLineGap(int maxLineGap) |
void |
setMaxLines(int maxLines) |
void |
setMinLineLength(int minLineLength) |
void |
setRho(float rho) |
void |
setTheta(float theta) |
void |
setThreshold(int threshold) |
clear, empty, getDefaultName, getPointer, position, read, save, save, write, write, writeaddress, asBuffer, asByteBuffer, availablePhysicalBytes, calloc, capacity, capacity, close, deallocate, deallocate, deallocateReferences, deallocator, deallocator, equals, fill, formatBytes, free, getDirectBufferAddress, getPointer, getPointer, getPointer, hashCode, interruptDeallocatorThread, isNull, isNull, limit, limit, malloc, maxBytes, maxPhysicalBytes, memchr, memcmp, memcpy, memmove, memset, offsetAddress, offsetof, offsetof, parseBytes, physicalBytes, physicalBytesInaccurate, position, put, realloc, referenceCount, releaseReference, retainReference, setNull, sizeof, sizeof, toString, totalBytes, totalCount, totalPhysicalBytes, withDeallocator, zeropublic HoughSegmentDetector(Pointer p)
Pointer(Pointer).public HoughSegmentDetector(Algorithm pointer)
public Algorithm asAlgorithm()
asAlgorithm in class Algorithm@Namespace @Name(value="static_cast<cv::Algorithm*>") public static Algorithm asAlgorithm(HoughSegmentDetector pointer)
public void detect(@ByVal Mat src, @ByVal Mat lines, @ByRef(nullValue="cv::cuda::Stream::Null()") Stream stream)
src - 8-bit, single-channel binary source image.lines - Output vector of lines. Each line is represented by a 4-element vector
(x_1, y_1, x_2, y_2) , where (x_1,y_1) and (x_2, y_2) are the ending points of each detected
line segment.stream - Stream for the asynchronous version.
HoughLinesPpublic void detect(@ByVal UMat src, @ByVal UMat lines, @ByRef(nullValue="cv::cuda::Stream::Null()") Stream stream)
public void detect(@ByVal GpuMat src, @ByVal GpuMat lines, @ByRef(nullValue="cv::cuda::Stream::Null()") Stream stream)
public void setRho(float rho)
public float getRho()
public void setTheta(float theta)
public float getTheta()
public void setMinLineLength(int minLineLength)
public int getMinLineLength()
public void setMaxLineGap(int maxLineGap)
public int getMaxLineGap()
public void setMaxLines(int maxLines)
public int getMaxLines()
public void setThreshold(int threshold)
public int getThreshold()
Copyright © 2024. All rights reserved.