@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(Algorithm pointer)
Downcast constructor.
|
StructuredEdgeDetection(Pointer p)
Pointer cast constructor.
|
Modifier and Type | Method and Description |
---|---|
Algorithm |
asAlgorithm() |
static Algorithm |
asAlgorithm(StructuredEdgeDetection pointer) |
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, getPointer, position, read, save, save, write, write, write
address, asBuffer, asByteBuffer, availablePhysicalBytes, calloc, capacity, capacity, close, deallocate, deallocate, deallocateReferences, deallocator, deallocator, equals, fill, formatBytes, free, getDirectBufferAddress, getPointer, getPointer, getPointer, hashCode, interruptDeallocatorThread, isNull, isNull, limit, limit, malloc, maxBytes, maxPhysicalBytes, memchr, memcmp, memcpy, memmove, memset, offsetAddress, offsetof, offsetof, parseBytes, physicalBytes, physicalBytesInaccurate, position, put, realloc, referenceCount, releaseReference, retainReference, setNull, sizeof, sizeof, toString, totalBytes, totalCount, totalPhysicalBytes, withDeallocator, zero
public StructuredEdgeDetection(Pointer p)
Pointer(Pointer)
.public StructuredEdgeDetection(Algorithm pointer)
public Algorithm asAlgorithm()
asAlgorithm
in class Algorithm
@Namespace @Name(value="static_cast<cv::Algorithm*>") public static Algorithm asAlgorithm(StructuredEdgeDetection 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 edgesdst
- destination image (grayscale, float, in [0;1]) where edges are drawnSobel, Canny
public 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 © 2024. All rights reserved.