VistaIOBandInterp(3) | Library Functions Manual | VistaIOBandInterp(3) |
VistaIOImageFrameInterp, VistaIOImageViewpointInterp, VistaIOImageColorInterp, VistaIOImageComponentInterp - image band interpretation
#include <vistaio.h>
VistaIOBandInterp VistaIOImageFrameInterp (VistaIOImage image)
VistaIOBandInterp VistaIOImageViewpointInterp (VistaIOImage image)
VistaIOBandInterp VistaIOImageColorInterp (VistaIOImage image)
VistaIOBandInterp VistaIOImageComponentInterp (VistaIOImage image)
typedef enum { VistaIOBandInterpNone, /* no interpretation */ VistaIOBandInterpOther, /* unknown interpretation */ VistaIOBandInterpStereoPair, /* describing camera viewpoints */ VistaIOBandInterpRGB, /* describing color channels */ VistaIOBandInterpComplex, /* describing vector components */ VistaIOBandInterpGradient, VistaIOBandInterpIntensity, VistaIOBandInterpOrientation } VistaIOBandInterp;
These four routines return information about how an image's bands are to be interpreted. Each reports on one of four band interpretation dimensions: motion sequence frame, camera viewpoint, color channel, or vector component.
Each routine examines the size of its respective dimension (e.g., nframes), plus any band interpretation attribute for its dimension (e.g., frame_interp) and returns a value based on them. Specifically:
A warning is issued and VistaIOBandInterpOther is returned if a dimension's size (e.g., ncolors) and the corresponding band interpretation attribute (e.g., color_interp) are inconsistent.
A warning is also issued if the product of the four dimension's sizes does not equal the total number of bands in the image.
Art Pope <pope@cs.ubc.ca>
Adaption to vistaio: Gert Wollny <gw.fossdev@gmail.com>
24 April 1993 | VistaIO Version 1.2.14 |