next up previous
Next: 5.5.4.4 ProcessRotZoom Up: 5.5.4 Processing modules Previous: 5.5.4.2 ProcessGrey

5.5.4.3 ProcessOrient

 
This module changes the orientation of StereoImages.

The main parameters are -left, -right and -both, each is followed by an orientation. The orientation following -left is used on the left component of the StereoImages, that following -right is used on the right components and that following -both is used on both components. If -left, -right and -both are all omitted, the default is -both.

Valid orientations are:

The module works by utilising the ImageVision iflOrientation property of ilImage objects, which defines the coordinate space of the image. A change in coordinate space, without any change in image data, is equivalent to a change in orientation of the data. Since the image data itself is untouched by this operation it is a very fast operation, and operates when the ilImage's data is accessed in the new orientation (specifically, the data is looped in a different order, corresponding to the new orientation). The module uses a lookup table which maps operations and original image orientations onto the new image orientation, which is then set in the image before it is returned.

The 90 degree rotation orientations transpose the \( x \) and \( y \) dimensions of the image, but the other orientations do not alter the dimensions of the image.

The valid names for this module are orient and orientate.


next up previous
Next: 5.5.4.4 ProcessRotZoom Up: 5.5.4 Processing modules Previous: 5.5.4.2 ProcessGrey
Kevin Pulo
2000-08-22