@Namespace(value="cv::cuda") public static class opencv_cudaimgproc.CannyEdgeDetector extends opencv_core.Algorithm
//////////////////////////////// Canny ////////////////////////////////
/** \brief Base class for Canny Edge Detector. :
| Constructor and Description |
|---|
CannyEdgeDetector(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 CannyEdgeDetector(org.bytedeco.javacpp.Pointer p)
Pointer.Pointer(Pointer).public void detect(@ByVal
opencv_core.Mat image,
@ByVal
opencv_core.Mat edges,
@ByRef(nullValue="cv::cuda::Stream::Null()")
opencv_core.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
opencv_core.Mat image,
@ByVal
opencv_core.Mat edges)
public void detect(@ByVal
opencv_core.UMat image,
@ByVal
opencv_core.UMat edges,
@ByRef(nullValue="cv::cuda::Stream::Null()")
opencv_core.Stream stream)
public void detect(@ByVal
opencv_core.UMat image,
@ByVal
opencv_core.UMat edges)
public void detect(@ByVal
opencv_core.GpuMat image,
@ByVal
opencv_core.GpuMat edges,
@ByRef(nullValue="cv::cuda::Stream::Null()")
opencv_core.Stream stream)
public void detect(@ByVal
opencv_core.GpuMat image,
@ByVal
opencv_core.GpuMat edges)
public void detect(@ByVal
opencv_core.Mat dx,
@ByVal
opencv_core.Mat dy,
@ByVal
opencv_core.Mat edges,
@ByRef(nullValue="cv::cuda::Stream::Null()")
opencv_core.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
opencv_core.Mat dx,
@ByVal
opencv_core.Mat dy,
@ByVal
opencv_core.Mat edges)
public void detect(@ByVal
opencv_core.UMat dx,
@ByVal
opencv_core.UMat dy,
@ByVal
opencv_core.UMat edges,
@ByRef(nullValue="cv::cuda::Stream::Null()")
opencv_core.Stream stream)
public void detect(@ByVal
opencv_core.UMat dx,
@ByVal
opencv_core.UMat dy,
@ByVal
opencv_core.UMat edges)
public void detect(@ByVal
opencv_core.GpuMat dx,
@ByVal
opencv_core.GpuMat dy,
@ByVal
opencv_core.GpuMat edges,
@ByRef(nullValue="cv::cuda::Stream::Null()")
opencv_core.Stream stream)
public void detect(@ByVal
opencv_core.GpuMat dx,
@ByVal
opencv_core.GpuMat dy,
@ByVal
opencv_core.GpuMat edges)
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()
public void setL2Gradient(@Cast(value="bool")
boolean L2gradient)
@Cast(value="bool") public boolean getL2Gradient()
Copyright © 2018. All rights reserved.