You are here: Getting Started > Example Code

Example Code

The GeoExpress SDK includes a number of examples that demonstrate the major features of the SDK. The table below shows which files to consult for various types of operations.

Code example files to use as demonstrations of various common tasks

Opening image files

JP2 DecodeJP2ToBBB.cpp
DecodeJP2ToJPG.cpp
DecodeJP2ToMemory.cpp
MrSID DecodeMrSIDBandSelection.cpp
DecodeMrSIDToMemory.cpp
DecodeMrSIDToRaw.cpp
DecodeMrSIDToTIFF.cpp
NITF DecodeNITFToBBB.cpp
Setting the number of threads for a decoding operation MrSID DecodeMrSIDToMemory.cpp
Getting image properties   ImageInfo.cpp
MetadataDump.cpp
Writing images files Raw DecodeJP2ToBBB.cpp
DecodeMrSIDToRaw.cpp
DecodeNITFToBBB.cpp
JPEG DecodeJP2ToJPG.cpp
TIFF DecodeMrSIDToTIFF.cpp
Working with pixel data using LTISceneBuffer Accessing the BSQ data DecodeMrSIDBandSelection.cpp
DerivedImageFilter.cpp
Converting between BSQ and BIP DerivedImageReader.cpp
DerivedImageWriter.cpp
Using your own memory DecodeJP2ToMemory.cpp
DecodeMrSIDToMemory.cpp
Using sub-buffers SceneBuffer.cpp
Working with multispectral data   DecodeMrSIDBandSelection.cpp
Working with Alpha   DecodeMrSIDBandSelection.cpp
Creating custom progress and interrupt delegates   ProgressDelegate.cpp
InterruptDelegate.cpp
Converting a Geo region of interest to an LTIScene   GeoScene.cpp
Checking MrSID version   DecodeMrSIDLidar.cpp
Looking up error messages   ErrorHandling.cpp
Working with LTIOStreamInf   DerivedStream.cpp
UsingStreams.cpp
Building an image pipeline   Pipeline.cpp
Creating sub-class of LTIImageStage LTIImageReader DerivedImageReader.cpp
LTIImageFilter DerivedImageFilter.cpp
LTIImageWriter DerivedImageWriter.cpp