You are here: Start » FIL.NET » Invoke.LawsFilter
Filters image with one of the classic LAWS filter.
Namespace: | Fil |
---|---|
Assembly: | FilNet.dll |
Syntax
C++
C#
public static void LawsFilter ( Fil.Image inImage, Optional<Fil.Region> inRoi, Fil.LawsFilterType inVerticalFilter, Fil.LawsFilterType inHorizontalFilter, Fil.LawsFilterSize inFilterSize, int inMacroBlockSize, bool inNormalizeLocalContrast, Fil.Image outTextureImage, Fil.Image outTextureEnergyImage )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
![]() | inImage | Fil.Image | Input mono image. | ||
![]() | inRoi | Ftl.Optional<Fil.Region> | Region of Interest. Default value: ftl::NIL. | ||
![]() | inVerticalFilter | Fil.LawsFilterType | Level | Vertical part of filter. Default value: Level. | |
![]() | inHorizontalFilter | Fil.LawsFilterType | Edge | Horizontal part of filter. Default value: Edge. | |
![]() | inFilterSize | Fil.LawsFilterSize | Filter window size. | ||
![]() | inMacroBlockSize | int | <3, INF> | 15 | Macroblock is used to gather generated texture energy. Default value: 15. |
![]() | inNormalizeLocalContrast | bool | False | Whether to normalize image before processing. Default value: False. | |
![]() | outTextureImage | Fil.Image | Filtered image. | ||
![]() | outTextureEnergyImage | Fil.Image | Texture energy (AVG). |