@Namespace(value="cv::cuda") @Properties(inherit=opencv_cudaimgproc.class) public class CannyEdgeDetector extends Algorithm
//////////////////////////////// Canny ////////////////////////////////
/** \brief Base class for Canny Edge Detector. :
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter| Constructor and Description |
|---|
CannyEdgeDetector(Pointer p)
Pointer cast constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
detect(GpuMat image,
GpuMat edges) |
void |
detect(GpuMat dx,
GpuMat dy,
GpuMat edges) |
void |
detect(GpuMat dx,
GpuMat dy,
GpuMat edges,
Stream stream) |
void |
detect(GpuMat image,
GpuMat edges,
Stream stream) |
void |
detect(Mat image,
Mat edges) |
void |
detect(Mat dx,
Mat dy,
Mat edges) |
void |
detect(Mat dx,
Mat dy,
Mat edges,
Stream stream)
\overload
|
void |
detect(Mat image,
Mat edges,
Stream stream)
\brief Finds edges in an image using the \cite Canny86 algorithm.
|
void |
detect(UMat image,
UMat edges) |
void |
detect(UMat image,
UMat edges,
Stream stream) |
void |
detect(UMat dx,
UMat dy,
UMat edges) |
void |
detect(UMat dx,
UMat dy,
UMat edges,
Stream stream) |
int |
getAppertureSize() |
double |
getHighThreshold() |
boolean |
getL2Gradient() |
double |
getLowThreshold() |
void |
setAppertureSize(int apperture_size) |
void |
setHighThreshold(double high_thresh) |
void |
setL2Gradient(boolean L2gradient) |
void |
setLowThreshold(double low_thresh) |
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, 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, zeropublic CannyEdgeDetector(Pointer p)
Pointer.Pointer(Pointer).public void detect(@ByVal Mat image, @ByVal Mat edges, @ByRef(nullValue="cv::cuda::Stream::Null()") Stream stream)
image - Single-channel 8-bit input image.edges - Output edge map. It has the same size and type as image.stream - Stream for the asynchronous version.public void detect(@ByVal UMat image, @ByVal UMat edges, @ByRef(nullValue="cv::cuda::Stream::Null()") Stream stream)
public void detect(@ByVal GpuMat image, @ByVal GpuMat edges, @ByRef(nullValue="cv::cuda::Stream::Null()") Stream stream)
public void detect(@ByVal Mat dx, @ByVal Mat dy, @ByVal Mat edges, @ByRef(nullValue="cv::cuda::Stream::Null()") Stream stream)
dx - First derivative of image in the vertical direction. Support only CV_32S type.dy - First derivative of image in the horizontal direction. Support only CV_32S type.edges - Output edge map. It has the same size and type as image.stream - Stream for the asynchronous version.public void detect(@ByVal UMat dx, @ByVal UMat dy, @ByVal UMat edges, @ByRef(nullValue="cv::cuda::Stream::Null()") Stream stream)
public void detect(@ByVal GpuMat dx, @ByVal GpuMat dy, @ByVal GpuMat edges, @ByRef(nullValue="cv::cuda::Stream::Null()") Stream stream)
public void setLowThreshold(double low_thresh)
public double getLowThreshold()
public void setHighThreshold(double high_thresh)
public double getHighThreshold()
public void setAppertureSize(int apperture_size)
public int getAppertureSize()
Copyright © 2020. All rights reserved.