VistaIOCopyBand(3) | Library Functions Manual | VistaIOCopyBand(3) |
VistaIOCopyBand - copy image pixel values
#include <vistaio.h>
VistaIOBoolean VistaIOCopyBand (src, src_band, dest, dest_band)
VistaIOImage src, dest; VistaIOBand src_band, dest_band;
VistaIOCopyBand copies pixel values from a source image, src, to a destination image, dest. The two images must have the same pixel representation, number of rows, and number of columns.
If src_band is the constant VistaIOAllBands, all of the source image's bands of pixel values are copied to the destination image beginning at the destination band dest_band. The destination image must have at least dest_band + VistaIOImageNBands (src) - 1 bands.
Otherwise, src_band specifies a single band of the source image. That band is copied to a single band, dest_band, of the destination image. The destination image must have at least dest_band + 1 bands.
Unlike most Vista image processing routines, this one does not copy the source image's attributes to the destination image.
VistaIOCopyImage returns TRUE if it is successful and FALSE otherwise.
VistaIOCopyImage(3), VistaIOCombineBands(3), VistaIOImage(3),
Art Pope <pope@cs.ubc.ca>
Adaption to vistaio: Gert Wollny <gw.fossdev@gmail.com>
24 April 1993 | VistaIO Version 1.2.14 |