logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

VistaIOSetBandInterp - set image band interpretation attributes

Arguments

image     Specifies the image whose attributes are to be set.

       frame_interp, nframesviewpoint_interp, nviewpointscolor_interp, ncolorscomponent_interp, ncomponents
                 Specify values for various band interpretation attributes.

Author

       Art Pope <pope@cs.ubc.ca>

       Adaption to vistaio: Gert Wollny <gw.fossdev@gmail.com>

VistaIO Version 1.2.14                             2 June 1994                           VistaIOSetBandInterp(3)

Description

VistaIOSetBandInterp  provides  a convenient way to simultaneously set all of the standard attributes de‐
       scribing how an image's bands are to be interpreted.

       The frame_interp, viewpoint_interp, color_interp and component_interp arguments  supply  values  for  the
       correspondingly-named  attributes. If any of these values is the constant VistaIOBandInterpNone, the cor‐
       responding attribute is omitted from the image.

       Similarly, the nframes, nviewpoints, ncolors, and ncomponents arguments supply values  for  other  corre‐
       spondingly-named  attributes.  The  product of these values should equal the total number of bands in the
       image.

Diagnostics

       ``No. bands conflicts with no. of frames, etc.''
              The product of the numbers of frames, viewpoints, colors, and components specified is isn't  equal
              to the number of bands in the image.

Name

       VistaIOSetBandInterp - set image band interpretation attributes

Return Values

VistaIOSetBandInterp returns TRUE if successful, and FALSE on encountering an error.

See Also

VistaIOBandInterp(3), VistaIOImage(3),

Synopsis

#include<vistaio.h>VistaIOBooleanVistaIOSetBandInterp(VistaIOImageimage,VistaIOBandInterpframe_interp,intnframes,VistaIOBandInterpviewpoint_interp,intnviewpoints,VistaIOBandInterpcolor_interp,intncolors,VistaIOBandInterpcomponent_interp,intncomponents);

See Also