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

cdisc

$ \bigcirc$Name


cdisc Draw a disc




$ \bigcirc$Command Synopsis


cdisc [-x x] [-y y] [-r r] out nx ny



-x x : disc center (x coordinate)

-y y : disc center (y coordinate)

-r r : disc radius

out : output Cimage

nx : image size (x coordinate)

ny : image size (y coordinate)




$ \bigcirc$Function Summary


Cimage cdisc (out , nx , ny , x , y , r )

Cimage out ;

int nx , ny ;

float *x , *y ;

float *r ;




$ \bigcirc$Description


This module builds a Cimage with size nx×ny. The backgound is set to white (255), while the points (X, Y) such that (X - x)2 + (Y - y)2 $ \leq$ r2 are set to 0.




$ \bigcirc$Version 1.0


Last Modification date : Thu Nov 29 20:23:56 2001


$ \bigcirc$Author


Lionel Moisan






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