next up previous contents index
Next: emptypoly Up: Reference Previous: disocclusion   Contents   Index

drawocclusion

$ \bigcirc$Name


drawocclusion Interactive creation of occlusions on an image




$ \bigcirc$Command Synopsis


drawocclusion [-g gray] [-h hole_image] [-z zoom] cimage label



-g gray : Occlusions gray level in the occluded image (default: 255)

-h hole_image : Occluded image

-z zoom : zoom factor for image display (even integer)

cimage : Input image

label : Output image of labelled occlusions




$ \bigcirc$Function Summary


void drawocclusion (image , labelimage , hole_image , window , zoom , gray )

Cimage image , *hole_image ;

Fimage labelimage ;

char *window ;

int *zoom ;

int *gray ;




$ \bigcirc$Description


This module allows to interactively define closed polygonal regions in an image. The input image appears in a window and the regions can be ``drawn'' with the mouse (type h in the window for more help). The -z option changes the image appearance on screen but does not modify the dimensions of the final image. The output label image contains only these regions, each of them uniquely associated with a positive value. The option -h hole_image creates an additional image hole$ \_image$ which coincides with the input image except that all polygonal regions appear with the level gray (default : 255). This module can be used to test the disocclusion module.




$ \bigcirc$See Also


czoom.




$ \bigcirc$Version 1.21


Last Modification date : Sun May 2 23:31:17 2004


$ \bigcirc$Author


Simon Masnou






next up previous contents index
Next: emptypoly Up: Reference Previous: disocclusion   Contents   Index
mw 2004-05-05