Main Page   Modules   Class Hierarchy   Compound List   File List   Compound Members   Related Pages  

Loading an image from disk

We first load OpenMorpho:

    load ../debug/OpenMorphoTcl OpenMorpho
Then we create a File object
    CMMFile File
And then we load the image into a CImageGrey
    CImageGrey img -this [File PGMRead shape2.pgm]
After that the image is in memory and you can manipulate it.


Generated at Sun May 12 19:04:30 2002 for OpenMorpho by doxygen1.2.0 written by Dimitri van Heesch, © 1997-2000