haarTexture
[ XITE Reference Manual | XITE home ]
Name
haarTexture - texture extraction from 2D Haar transform
Syntax
haarTexture [-t <title>] <input> <output> <xp1> <yp1>
[<xp2> <yp2>....[<xpn> <ypn>]..]
Description
Extracts texture information from the input image,
returns it through the output image. The input is
assumed to be the result of a forward 2D haar
transform, haar2d. Only the first band of the input
image is used.
xp (and yp) specifies the kind of textural
information, and may be varied independently between
1 (high frequency information) and log2(XSIZE)+1
(low frequency), where XSIZE is the horisontal size
of the image. The horisontal size of the texture
element will be 2^xp except for xp = log2(XSIZE)+1,
which will use a texture element of size XSIZE.
Correspondingly for yp/YSIZE/vertical.
You can specify any number of xp, yp pairs, the
output image will have as many bands as such pairs.
See also
haar2d(1)
Restrictions
Input image must have bands of type IR_BAND, both horizontal
and vertical size must be some power of two. The image must be
the result of a forward 2D Haar transform.
xp (yp) must be between 1 and log2(XSIZE)+1
(log2(YSIZE)+1).
Return value
0 when ok
Author
Tor Lønnestad, BLAB, Ifi, UiO
Examples
Extraction of four bands with high frequency
texture information:
haarTexture monaHaar.img monaTexture.img \\
1 1 1 2 2 1 2 2
Id
$Id: haarTexture.c,v 1.28 1997/03/07 12:51:57 svein Exp $