regionDraw
[ XITE Reference Manual | XITE home ]
Name
regionDraw - draw one or more y-line regions in a band
Syntax
#include <xite/region.h>
int regionDraw( IBAND band, region* reg,
int loop, int pv );
Description
The region specified by "reg" is drawn in the "band"
with pixel value "pv". The region is clipped against
the border of the image; eventual parts of the region
outside the band are not drawn. If "loop" is true,
the next pointer in reg is followed until NIL, and all
regions are drawn. If "pv" = -1, the object number of
each region is used as pixel value. If "pv" = -2, the
region number of each region is used as pixel value.
Return value
0 => ok
1 => bad band pixel type
2 => bad region specification
3 => pixel value outside -2..255
See also
regionAnalyse(1), regionArea(3),
regionConvexHull(3), regionCreate(3),
regionFree(3), regionHistoUpdate(3), regionHisto(3),
regionImoment(3), regionInsertYline(3), regionDeleteYline(3),
regionEndInsert(3), regionXmean(3), regionYmean(3),
regionMean(3), regionXmin(3), regionXmax(3), regionYmin(3),
regionYmax(3), regionMinMax(3), regionCMoment(3),
regionPMoment(3), regionMoment(3), regionPerform(3),
regionPerimeter(3), regionIsPoint(3), regionPoint(3),
regionSearch(3), regionSort(3), regionCopy(3), regionUnion(3),
regionOverlap(3), regionNeighbor(3), regionVolume(3),
regionYline(3)
Author
Tor Loennestad, BLAB, ifi, UiO
Id
$Id: regionDraw.c,v 1.18 1996/02/02 10:24:51 svein Exp $