


Crop scene data.
[scene,rect] = sceneCrop(scene,[rect])
Purpose:
Crop the data (photons) in the scene or optical image to within the
rectangle, rect. If rect is not defined a graphical routine is
initiated for selecting the rectangle. The values of rect can be
returned.
Because these are multispectral data, we can't use the usual imcrop.
Instead, we use vcROISelect to return the selected data. Then we turn
the selected data into a photon image and reset the relevant parameters
in the scene structure.
Example:
[val,scene] = vcGetSelectedObject('SCENE');
newScene = sceneCrop(scene);
Copyright ImagEval Consultants, LLC, 2003.