Jafar
|
00001 package require image 00002 package require display 00003 package require camera 00004 00005 # create the camera model 00006 set model [::camera::new_CameraParabolicBarreto] 00007 00008 # load the model 00009 $model load "demo.cal" 00010 00011 # read an image and display it 00012 set image [image::Image_loadImage "image.pgm"] 00013 display::show $image 00014 00015 # create a mask 00016 set mask [::camera::new_PanoMask $model] 00017 00018 $mask apply $image 00019 00020 display::refresh $image
Generated on Wed Oct 15 2014 00:37:17 for Jafar by doxygen 1.7.6.1 |