You are here: Start » AVL.NET » Invoke.LawsFilter

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
inImageAvl.ImageInput mono image.
inRoiAtl.Optional<Avl.Region>Region of Interest. Default value: atl::NIL.
inVerticalFilterAvl.LawsFilterTypeLevelVertical part of filter. Default value: Level.
inHorizontalFilterAvl.LawsFilterTypeEdgeHorizontal part of filter. Default value: Edge.
inFilterSizeAvl.LawsFilterSizeFilter window size.
inMacroBlockSizeint<3, INF>15Macroblock is used to gather generated texture energy. Default value: 15.
inNormalizeLocalContrastboolFalseWhether to normalize image before processing. Default value: False.
outTextureImageAvl.ImageFiltered image.
outTextureEnergyImageAvl.ImageTexture energy (AVG).

See also