@Namespace(value="cv::ximgproc") @Properties(inherit=opencv_ximgproc.class) public class RidgeDetectionFilter extends Algorithm
/** \brief Applies Ridge Detection Filter to an input image. Implements Ridge detection similar to the one in [Mathematica](http://reference.wolfram.com/language/ref/RidgeFilter.html) using the eigen values from the Hessian Matrix of the input image using Sobel Derivatives. Additional refinement can be done using Skeletonization and Binarization. Adapted from \cite segleafvein and \cite M_RF
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter
Constructor and Description |
---|
RidgeDetectionFilter(Algorithm pointer)
Downcast constructor.
|
RidgeDetectionFilter(Pointer p)
Pointer cast constructor.
|
Modifier and Type | Method and Description |
---|---|
Algorithm |
asAlgorithm() |
static Algorithm |
asAlgorithm(RidgeDetectionFilter pointer) |
static RidgeDetectionFilter |
create() |
static RidgeDetectionFilter |
create(int ddepth,
int dx,
int dy,
int ksize,
int out_dtype,
double scale,
double delta,
int borderType)
\brief Create pointer to the Ridge detection filter.
|
void |
getRidgeFilteredImage(GpuMat _img,
GpuMat out) |
void |
getRidgeFilteredImage(Mat _img,
Mat out)
\brief Apply Ridge detection filter on input image.
|
void |
getRidgeFilteredImage(UMat _img,
UMat out) |
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 RidgeDetectionFilter(Pointer p)
Pointer(Pointer)
.public RidgeDetectionFilter(Algorithm pointer)
public Algorithm asAlgorithm()
asAlgorithm
in class Algorithm
@Namespace @Name(value="static_cast<cv::Algorithm*>") public static Algorithm asAlgorithm(RidgeDetectionFilter pointer)
@opencv_core.Ptr public static RidgeDetectionFilter create(int ddepth, int dx, int dy, int ksize, int out_dtype, double scale, double delta, int borderType)
ddepth
- Specifies output image depth. Defualt is CV_32FC1dx
- Order of derivative x, default is 1dy
- Order of derivative y, default is 1ksize
- Sobel kernel size , default is 3out_dtype
- Converted format for output, default is CV_8UC1scale
- Optional scale value for derivative values, default is 1delta
- Optional bias added to output, default is 0borderType
- Pixel extrapolation method, default is BORDER_DEFAULTSobel, threshold, getStructuringElement, morphologyEx.( for additional refinement)
@opencv_core.Ptr public static RidgeDetectionFilter create()
public void getRidgeFilteredImage(@ByVal Mat _img, @ByVal Mat out)
_img
- InputArray as supported by Sobel. img can be 1-Channel or 3-Channels.out
- OutputAray of structure as RidgeDetectionFilter::ddepth. Output image with ridges.Copyright © 2024. All rights reserved.