MAN page from Mandrake Other XITE-3.3-3.i386.rpm
GLCM
Section: C Library Functions (3)
Updated: 16 Mar 1998
Index
NAME
glcm - Computes Grey Level Cooccurrence Matrix
SYNTAX
#include <
xite/texture.h>
int glcm( IBAND input, ID_BAND output, int dx,
int dy, int nogreylevel );
DESCRIPTION
Computes the Grey Level Cooccurence Matrix of an image.The angle and the displacement will be computed from thegiven
dxand
dy.dxand
dycan be negative. All thegreylevel values (<
nogreylevels)on the input band willbe increased by one on the output band coordinate system.It means that if there is a greylevel combination (0,1) on theinput band then the index (1,2) on the output band willbe increased.
RESTRICTIONS
inputmust have pixel type unsigned byte.
outputmusthave pixel type double.
RETURN VALUE
0 => ok
1 => there are grey levels > "nogreylevel" in
the input band
2 => bad pixel type in input
3 => output is not integer type
4 => horizontal size of output is less than "nogreylevel"
5 => vertical size of output is less than "nogreylevel"
REFERENCE
R. M. Haralick, K. Shanmugam, and I. Dinstein,
"Textural Features for Image Classification",
IEEE Trans. on Systems, Man and Cybernetics,
Vol. SMC-3, pp. 610-621, 1973.
AUTHOR
Yogesan K., BLAB, Ifi, UiO
ID
$Id: glcm.c,v 1.16 1997/01/14 13:02:18 svein Exp $
Index
- NAME
- SYNTAX
- DESCRIPTION
- RESTRICTIONS
- RETURN VALUE
- REFERENCE
- AUTHOR
- ID
This document was created byman2html,using the manual pages.