next up previous contents
Next: Filtering and thresholding Up: Image processing Previous: File commands

Basic image commands

  

tabular1983

This command attempts to convert some image into another format as well as possible.

tabular1990

This command crops an area out of the image for later processing.

tabular1997

This command converts a given image to matrix presentation (see Section 2.17.1 for further details).

Example (ex6.1):

NDA> loadimg 003.gif pict1
# masking 
NDA> matrix mask.real [0, -1, 0; -1, 4, -1; 0, -1, 0]
# grayscale - pictures 
NDA> cnvimg -in pict1 -out pict -gray
# convert image to matrix
NDA> convmatrix -in pict -out matrix
...



Erkki Hakkinen
Thu Sep 24 11:51:34 EET DST 1998