Table of Contents
QccIMGImageSequenceToImageCube, QccIMGImageCubeToImageSequence -
convert image sequence to/from image cube
#include "libQccPack.h"
int QccIMGImageSequenceToImageCube(QccIMGImageSequence *image_sequence,
QccIMGImageCube *image_cube);
int QccIMGImageCubeToImageSequence(const
QccIMGImageCube *image_cube, QccIMGImageSequence *image_sequence);
QccIMGImageSequenceToImageCube() converts image_sequence, a QccIMGImageSequence
structure, to image_cube, a QccImageCube structure. QccIMGImageSequenceStartRead(3)
should be called on image_sequence, and image_cube should be allocated
via a call to QccIMGImageCubeAlloc(3)
prior to calling QccIMGImageSequenceToImageCube().
The frames of image_sequence are placed as the 2D "frames" in image_cube.
Consequently, all frames of the image sequence must be grayscale.
QccIMGImageCubeToImageSequence()
converts image_cube, a QccIMGImageCube structure, to image_sequence, a
QccIMGImageSequence structure. image_sequence must be allocated via a call
to QccIMGImageSequenceAlloc(3)
prior to calling QccIMGImageCubeToImageSequence().
These routines return 0 on success, 1 on failure.
QccIMGImageSequence(3)
, QccImageCube(3)
, QccPackIMG(3)
, QccPack(3)
Copyright (C) 1997-2021 James E. Fowler
Table of Contents