Back to FabImage Library website
You are here: Start » Function Reference » Region » Region Morphology » ThinRegion

ThinRegion
Header: | FIL.h |
---|---|
Namespace: | fil |
Module: | FoundationBasic |
Performs a morphological thinning on a region using predefined kernels.
Syntax
C++
C#
void fil::ThinRegion ( const fil::Region& inRegion, fil::Region& outRegion )
Parameters
Description
The operation performs a morphological thinning. Similarly to other region morphology operations, thinning is conducted using a shape called kernel (or structuring element). There are two kernels: hit kernel and miss kernel, which are passed as parameters to RegionHitAndMissTransform. This operation's result is then subtracted from the input region giving the output region. The filter uses internally predefined kernels, which are the same as in SkeletonizeRegion filter.
See Also
- SkeletonizeRegion – Thins a region to its skeleton.
- ThickenRegion – Performs a morphological thickening on a region using predefined kernels.
- RegionHitAndMissTransform – Performs a hit-and-miss transformation on a region using arbitrary kernels.
- ErodeRegion_AnyKernel – Performs a morphological erosion on a region using an arbitrary kernel.