maxHisto

[ XITE Reference Manual | XITE home ]

Name

maxHisto - texture measure

Syntax

 maxHisto <inimage> <outimage> [<nx> [<ny>]]

Description

Filters the input image into the output image using a local filter with window size nx * ny. The number of occurrences of the pixel value occurring most frequently in the window becomes the new center value.

Even values of nx or ny are increased by one. Uses histogram updating when moving horizontally from pixel to pixel. If histogram value is larger than 255, 255 is used.

Default value for nx is 3. Default value for ny is nx.

Restrictions

inimage must have bands with pixel type unsigned byte.

References

Lowitz, Gabriel E.: "Can a Local Histogram Really Map Texture Information?" Pattern Rec., Vol. 16, pp141-147, 1983.

Author

Tor Lønnestad, BLAB, Ifi, UiO

Examples

 maxHisto mona.img monaMH.img
 maxHisto mona.img monaMH.img 5
 maxHisto mona.img monaMH.img 5 7