To decode a scene from an image only one function call is required:
LT_STATUS ltic_decode(LTICImageH image,
xxxxxxxxxxxxxxxxxxxxxxdouble xUpperLeft,
xxxxxxxxxxxxxxxxxxxxxxdouble yUpperLeft,
xxxxxxxxxxxxxxxxxxxxxxdouble width,
xxxxxxxxxxxxxxxxxxxxxxdouble height,
xxxxxxxxxxxxxxxxxxxxxxdouble magnification,
xxxxxxxxxxxxxxxxxxxxxxvoid** buffers)
Note that this function closely approximates the C++ API for read operations: the five double arguments correspond exactly to an LTIScene
object and the buffers argument is a pointer to an array of band buffers, corresponding to the constructor of an LTISceneBuffer
object.
Only “packed BSQ” output is available using the C API.