@Namespace(value="cv::cuda") public static class opencv_cudaimgproc.HoughLinesDetector extends opencv_core.Algorithm
/** \brief Base class for lines detector algorithm. :
| Constructor and Description |
|---|
HoughLinesDetector(org.bytedeco.javacpp.Pointer p)
Pointer cast constructor.
|
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 HoughLinesDetector(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 two-element vector
\f$(\rho, \theta)\f$ . \f$\rho\f$ is the distance from the coordinate origin \f$(0,0)\f$ (top-left corner of
the image). \f$\theta\f$ is the line rotation angle in radians (
\f$0 \sim \textrm{vertical line}, \pi/2 \sim \textrm{horizontal line}\f$ ).stream - Stream for the asynchronous version.
\sa HoughLines
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 downloadResults(@ByVal
opencv_core.Mat d_lines,
@ByVal
opencv_core.Mat h_lines,
@ByVal(nullValue="cv::OutputArray(cv::noArray())")
opencv_core.Mat h_votes,
@ByRef(nullValue="cv::cuda::Stream::Null()")
opencv_core.Stream stream)
d_lines - Result of cuda::HoughLinesDetector::detect .h_lines - Output host array.h_votes - Optional output array for line's votes.stream - Stream for the asynchronous version.public void downloadResults(@ByVal
opencv_core.Mat d_lines,
@ByVal
opencv_core.Mat h_lines)
public void downloadResults(@ByVal
opencv_core.UMat d_lines,
@ByVal
opencv_core.UMat h_lines,
@ByVal(nullValue="cv::OutputArray(cv::noArray())")
opencv_core.UMat h_votes,
@ByRef(nullValue="cv::cuda::Stream::Null()")
opencv_core.Stream stream)
public void downloadResults(@ByVal
opencv_core.UMat d_lines,
@ByVal
opencv_core.UMat h_lines)
public void downloadResults(@ByVal
opencv_core.GpuMat d_lines,
@ByVal
opencv_core.GpuMat h_lines,
@ByVal(nullValue="cv::OutputArray(cv::noArray())")
opencv_core.GpuMat h_votes,
@ByRef(nullValue="cv::cuda::Stream::Null()")
opencv_core.Stream stream)
public void downloadResults(@ByVal
opencv_core.GpuMat d_lines,
@ByVal
opencv_core.GpuMat h_lines)
public void setRho(float rho)
public float getRho()
public void setTheta(float theta)
public float getTheta()
public void setThreshold(int threshold)
public int getThreshold()
public void setDoSort(@Cast(value="bool")
boolean doSort)
@Cast(value="bool") public boolean getDoSort()
public void setMaxLines(int maxLines)
public int getMaxLines()
Copyright © 2018. All rights reserved.