@Namespace(value="cv::cuda") public static class opencv_cudaimgproc.HoughSegmentDetector extends opencv_core.Algorithm
| Constructor and Description |
|---|
HoughSegmentDetector(org.bytedeco.javacpp.Pointer p)
Pointer cast constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
detect(opencv_core.GpuMat src,
opencv_core.GpuMat lines) |
void |
detect(opencv_core.GpuMat src,
opencv_core.GpuMat lines,
opencv_core.Stream stream) |
void |
detect(opencv_core.Mat src,
opencv_core.Mat lines) |
void |
detect(opencv_core.Mat src,
opencv_core.Mat lines,
opencv_core.Stream stream)
\brief Finds line segments in a binary image using the probabilistic Hough transform.
|
void |
detect(opencv_core.UMat src,
opencv_core.UMat lines) |
void |
detect(opencv_core.UMat src,
opencv_core.UMat lines,
opencv_core.Stream stream) |
int |
getMaxLineGap() |
int |
getMaxLines() |
int |
getMinLineLength() |
float |
getRho() |
float |
getTheta() |
void |
setMaxLineGap(int maxLineGap) |
void |
setMaxLines(int maxLines) |
void |
setMinLineLength(int minLineLength) |
void |
setRho(float rho) |
void |
setTheta(float theta) |
clear, empty, getDefaultName, position, read, save, save, write, write, writeaddress, asBuffer, asByteBuffer, availablePhysicalBytes, calloc, capacity, capacity, close, deallocate, deallocate, deallocateReferences, deallocator, deallocator, equals, fill, formatBytes, free, hashCode, isNull, limit, limit, malloc, maxBytes, maxPhysicalBytes, memchr, memcmp, memcpy, memmove, memset, offsetof, parseBytes, physicalBytes, position, put, realloc, setNull, sizeof, toString, totalBytes, totalPhysicalBytes, withDeallocator, zeropublic HoughSegmentDetector(org.bytedeco.javacpp.Pointer p)
Pointer.Pointer(Pointer).public void detect(@ByVal
opencv_core.Mat src,
@ByVal
opencv_core.Mat lines,
@ByRef(nullValue="cv::cuda::Stream::Null()")
opencv_core.Stream stream)
src - 8-bit, single-channel binary source image.lines - Output vector of lines. Each line is represented by a 4-element vector
\f$(x_1, y_1, x_2, y_2)\f$ , where \f$(x_1,y_1)\f$ and \f$(x_2, y_2)\f$ are the ending points of each detected
line segment.stream - Stream for the asynchronous version.
\sa HoughLinesP
public void detect(@ByVal
opencv_core.Mat src,
@ByVal
opencv_core.Mat lines)
public void detect(@ByVal
opencv_core.UMat src,
@ByVal
opencv_core.UMat lines,
@ByRef(nullValue="cv::cuda::Stream::Null()")
opencv_core.Stream stream)
public void detect(@ByVal
opencv_core.UMat src,
@ByVal
opencv_core.UMat lines)
public void detect(@ByVal
opencv_core.GpuMat src,
@ByVal
opencv_core.GpuMat lines,
@ByRef(nullValue="cv::cuda::Stream::Null()")
opencv_core.Stream stream)
public void detect(@ByVal
opencv_core.GpuMat src,
@ByVal
opencv_core.GpuMat lines)
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()
Copyright © 2018. All rights reserved.