@Namespace(value="cv::ximgproc") @Properties(inherit=opencv_ximgproc.class) public class StructuredEdgeDetection extends Algorithm
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter| Constructor and Description |
|---|
StructuredEdgeDetection(Pointer p)
Pointer cast constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
computeOrientation(GpuMat _src,
GpuMat _dst) |
void |
computeOrientation(Mat _src,
Mat _dst)
\brief The function computes orientation from edge image.
|
void |
computeOrientation(UMat _src,
UMat _dst) |
void |
detectEdges(GpuMat _src,
GpuMat _dst) |
void |
detectEdges(Mat _src,
Mat _dst)
\brief The function detects edges in src and draw them to dst.
|
void |
detectEdges(UMat _src,
UMat _dst) |
void |
edgesNms(GpuMat edge_image,
GpuMat orientation_image,
GpuMat _dst) |
void |
edgesNms(GpuMat edge_image,
GpuMat orientation_image,
GpuMat _dst,
int r,
int s,
float m,
boolean isParallel) |
void |
edgesNms(Mat edge_image,
Mat orientation_image,
Mat _dst) |
void |
edgesNms(Mat edge_image,
Mat orientation_image,
Mat _dst,
int r,
int s,
float m,
boolean isParallel)
\brief The function edgenms in edge image and suppress edges where edge is stronger in orthogonal direction.
|
void |
edgesNms(UMat edge_image,
UMat orientation_image,
UMat _dst) |
void |
edgesNms(UMat edge_image,
UMat orientation_image,
UMat _dst,
int r,
int s,
float m,
boolean isParallel) |
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 StructuredEdgeDetection(Pointer p)
Pointer.Pointer(Pointer).public void detectEdges(@ByVal Mat _src, @ByVal Mat _dst)
The algorithm underlies this function is much more robust to texture presence, than common approaches, e.g. Sobel
_src - source image (RGB, float, in [0;1]) to detect edges_dst - destination image (grayscale, float, in [0;1]) where edges are drawnSobel, Cannypublic void computeOrientation(@ByVal Mat _src, @ByVal Mat _dst)
_src - edge image._dst - orientation image.public void edgesNms(@ByVal Mat edge_image, @ByVal Mat orientation_image, @ByVal Mat _dst, int r, int s, float m, @Cast(value="bool") boolean isParallel)
edge_image - edge image from detectEdges function.orientation_image - orientation image from computeOrientation function._dst - suppressed image (grayscale, float, in [0;1])r - radius for NMS suppression.s - radius for boundary suppression.m - multiplier for conservative suppression.isParallel - enables/disables parallel computing.public void edgesNms(@ByVal UMat edge_image, @ByVal UMat orientation_image, @ByVal UMat _dst, int r, int s, float m, @Cast(value="bool") boolean isParallel)
public void edgesNms(@ByVal UMat edge_image, @ByVal UMat orientation_image, @ByVal UMat _dst)
public void edgesNms(@ByVal GpuMat edge_image, @ByVal GpuMat orientation_image, @ByVal GpuMat _dst, int r, int s, float m, @Cast(value="bool") boolean isParallel)
Copyright © 2020. All rights reserved.