Show / Hide Table of Contents

Class RidgeDetectionFilter

Applies Ridge Detection Filter to an input image.

Implements Ridge detection similar to the one in Mathematica 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

Inheritance
System.Object
DisposableObject
DisposableCvObject
Algorithm
RidgeDetectionFilter
Implements
ICvPtrHolder
Inherited Members
Algorithm.Write(FileStorage)
Algorithm.Read(FileNode)
Algorithm.Empty
Algorithm.Save(String)
Algorithm.GetDefaultName()
DisposableCvObject.ptr
DisposableCvObject.CvPtr
DisposableObject.DataHandle
DisposableObject.IsDisposed
DisposableObject.IsEnabledDispose
DisposableObject.AllocatedMemory
DisposableObject.AllocatedMemorySize
DisposableObject.Dispose()
DisposableObject.Dispose(Boolean)
DisposableObject.AllocGCHandle(Object)
DisposableObject.AllocMemory(Int32)
DisposableObject.NotifyMemoryPressure(Int64)
DisposableObject.ThrowIfDisposed()
Namespace: OpenCvSharp
Assembly: OpenCvSharp.dll
Syntax
public class RidgeDetectionFilter : Algorithm, ICvPtrHolder

Constructors

| Improve this Doc View Source

RidgeDetectionFilter(IntPtr)

Constructor

Declaration
protected RidgeDetectionFilter(IntPtr p)
Parameters
Type Name Description
IntPtr p

Methods

| Improve this Doc View Source

Create(Nullable<MatType>, Int32, Int32, Int32, Nullable<MatType>, Double, Double, BorderTypes)

Create pointer to the Ridge detection filter.

Declaration
public static RidgeDetectionFilter Create(MatType? ddepth = null, int dx = 1, int dy = 1, int ksize = 3, MatType? outDtype = null, double scale = 1, double delta = 0, BorderTypes borderType = BorderTypes.Reflect101)
Parameters
Type Name Description
System.Nullable<OpenCvSharp.MatType> ddepth

Specifies output image depth. Defualt is CV_32FC1

System.Int32 dx

Order of derivative x, default is 1

System.Int32 dy

Order of derivative y, default is 1

System.Int32 ksize

Sobel kernel size , default is 3

System.Nullable<OpenCvSharp.MatType> outDtype

Converted format for output, default is CV_8UC1

System.Double scale

Optional scale value for derivative values, default is 1

System.Double delta

Optional bias added to output, default is 0

BorderTypes borderType

Pixel extrapolation method, default is BORDER_DEFAULT

Returns
Type Description
RidgeDetectionFilter
| Improve this Doc View Source

DisposeManaged()

Releases managed resources

Declaration
protected override void DisposeManaged()
Overrides
DisposableObject.DisposeManaged()
| Improve this Doc View Source

DisposeUnmanaged()

Declaration
protected override void DisposeUnmanaged()
Overrides
DisposableCvObject.DisposeUnmanaged()
| Improve this Doc View Source

Get()

Declaration
public override IntPtr Get()
Returns
Type Description
IntPtr
| Improve this Doc View Source

GetRidgeFilteredImage(InputArray, OutputArray)

Apply Ridge detection filter on input image.

Declaration
public virtual void GetRidgeFilteredImage(InputArray src, OutputArray dst)
Parameters
Type Name Description
InputArray src

InputArray as supported by Sobel. img can be 1-Channel or 3-Channels.

OutputArray dst

OutputAray of structure as RidgeDetectionFilter::ddepth. Output image with ridges.

Implements

ICvPtrHolder
  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX