We first load OpenMorpho:
load ../debug/OpenMorphoTcl OpenMorpho
CMMFile File
CImageGrey img -this [File PGMRead shape2.pgm]