You are here: Start » FIL.NET » FIL.ImageRidges
FIL.ImageRidges
Finds ridge pixels in an image.
Namespace: | FilNet |
---|---|
Assembly: | FIL.NET.dll |
Syntax
C++
C#
public static void ImageRidges ( FilNet.Image inImage, NullableRef<FilNet.Region> inRoi, FilNet.Polarity inPolarity, float? inMinValue, float? inMaxValue, float inNoiseLevel, FilNet.Region outRidges )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
![]() | inImage | FilNet.Image | Input image. | ||
![]() | inRoi | FilNet.NullableRef<FilNet.Region> | Range of pixels to be processed. Default value: ftl::NIL. | ||
![]() | inPolarity | FilNet.Polarity | Specifies the type of ridges to be detected (Bright, Dark or Any). | ||
![]() | inMinValue | float? | Minimal value of pixel to be considered. Default value: ftl::NIL. | ||
![]() | inMaxValue | float? | Maximal value of pixel to be considered. Default value: ftl::NIL. | ||
![]() | inNoiseLevel | float | <0.0f, INF> | Defines how much stronger a pixel has to be than its neighbors to be deemed a ridge pixel. | |
![]() | outRidges | FilNet.Region | Region of ridges. |
Description
The operation finds region of pixels being local ridges on the image inImage within specific region inRoi. For a pixel to be deemed a ridge pixel it is necessary to be stronger than both its neighbor pixels in at least one from four main directions (horizontal, vertical and two diagonals) by at least inNoiseLevel. Furthermore, the pixel value must be between inMinValue and inMaxValue.
Errors
List of possible exceptions:
Error type | Description |
---|---|
DomainError | Region exceeds an input image in ImageRidges. |