litSnn

[ XITE Reference Manual | XITE home ]

Name

litSnn - texture measure, combination of lit and snn

Syntax

litSnn <inimage> <outimage> <dp> [<dx> [<dy>]]

Description

Combination of lit - local information transform - and snn - symmetric nearest neighbour. Only those pixels selected by the snn filter are included in the counting of pixels within the pixel value interval [centerpixel-dp..centerpixel+dp]. The output pixel value is the number of such pixels within the window. Uses a rectangular processing window of size dx * dy.

dp is the delta pixel value. dx has default value 3, dy has default value dx.

See also

lit(1), snn(1)

Restrictions

inimage must have bands with pixel type unsigned byte. Even values of dx and dy are increased by one.

Author

Tor Lønnestad, BLAB, Ifi, UiO

Examples

 snn mona.img monals.img 10
 snn mona.img monals.img 10 5
 snn mona.img monals.img 10 5 7

Id

$Id: litSnn.c,v 1.23 1997/01/10 19:42:34 svein Exp $