Back to Adaptive Vision Studio website

You are here: Start » Filter Reference » Texture Analysis » LawsFilter

LawsFilter


Filters image with one of classic LAWS filter

Name Type Range Description
inImage Image Input mono image.
inRoi Region* Region of Interest.
inVerticalFilter LawsFilterType Vertical part of filter.
inHorizontalFilter LawsFilterType Horizontal part of filter.
inFilterSize LawsFilterSize Filter window size.
inMacroBlockSize Integer 3 - Macroblock is used to gather generated texture energy.
inNormalizeLocalContrast Bool Whether to normalize image before processing.
outTextureImage Image Filtered image.
outTextureEnergyImage Image Texture energy (AVG).

Only the following inImage pixel formats are supported: 1xuint8

Errors

This filter can throw an exception to report error. Read how to deal with errors here: Error Handling

Error type Description
DomainError Laws filters can be applied to single channel images only.

Complexity Level

This filter is available on Basic Complexity Level.