You are here: Start » AVL.NET » Invoke.LawsFilter
Filters image with one of the classic LAWS filter.
| Namespace: | Avl | 
|---|---|
| Assembly: | AvlNet.dll | 
Syntax
C++
C#
public static void LawsFilter ( Avl.Image inImage, Optional<Avl.Region> inRoi, Avl.LawsFilterType inVerticalFilter, Avl.LawsFilterType inHorizontalFilter, Avl.LawsFilterSize inFilterSize, int inMacroBlockSize, bool inNormalizeLocalContrast, Avl.Image outTextureImage, Avl.Image outTextureEnergyImage )
Parameters
| Name | Type | Range | Default | Description | |
|---|---|---|---|---|---|
![]()  | inImage | Avl.Image | Input mono image. | ||
![]()  | inRoi | Atl.Optional<Avl.Region> | Region of Interest. Default value: atl::NIL. | ||
![]()  | inVerticalFilter | Avl.LawsFilterType | Level | Vertical part of filter. Default value: Level. | |
![]()  | inHorizontalFilter | Avl.LawsFilterType | Edge | Horizontal part of filter. Default value: Edge. | |
![]()  | inFilterSize | Avl.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 | Avl.Image | Filtered image. | ||
![]()  | outTextureEnergyImage | Avl.Image | Texture energy (AVG). | 


