morphOpen
[ XITE Reference Manual | XITE home ]
Name
morphOpen - morphological grayscale open on a band.
Syntax
#include <xite/morph.h>
int morphOpen( IBAND inband, IBAND outband,
ISS_BAND B );
Description
morphOpen calculates the morphological operation
open on the band inband, with a structuring
element B. The result is sent to the band spesified
in outband. The actual calculation is performed with the
expression:
outband = morphDilate(morphErode(inband))
Restrictions
inband and outband must have pixel type unsigned byte,
B must have pixel type signed short.
See also
morphOpen(1), morphClose(3), morphDilate(3), morphErode(3)
Return value
0 : OK
1 : Bad input pixel type
2 : Bad output pixel type
3 : Bad pixel type for structuring element
Author
Martin Torpe Lie, BLAB, Ifi, UiO
Id
$Id: morphOpen.c,v 1.20 1997/01/16 16:06:44 svein Exp $