OSSIM - Open Source Software Image Map
Version 1.9.0 (20180803)
|
#include "init/ossimInit.h"
#include "base/data_types/ossimFilename.h"
#include "base/data_types/ossimString.h"
#include "imaging/ossimImageData.h"
#include "imaging/formats/ossimImageHandler.h"
#include "imaging/factory/ossimImageHandlerRegistry.h"
#include "imaging/factory/ossimImageDataFactory.h"
#include "base/misc/lookup_tables/ossimScalarTypeLut.h"
#include <iterator>
#include <iostream>
Go to the source code of this file.
Functions | |
void | usage () |
void | printDataStatus (ossimDataObjectStatus status) |
void | demo1 (const ossimFilename &filename) |
void | demo2 (const ossimFilename &filename) |
void | demo3 (const ossimFilename &filename) |
int | main (int argc, char *argv[]) |
void demo1 | ( | const ossimFilename & | filename | ) |
Definition at line 145 of file image_data.cpp.
References ossimImageData::getBuf(), ossimDataObject::getDataObjectStatus(), ossimLookUpTable::getEntryString(), ossimImageData::getHeight(), ossimImageData::getImageRectangle(), ossimImageData::getMaxPix(), ossimImageData::getMinPix(), ossimImageData::getNullPix(), ossimImageData::getNumberOfBands(), ossimRectilinearDataObject::getScalarType(), ossimImageSource::getTile(), ossimImageData::getWidth(), ossimScalarTypeLut::instance(), ossimImageHandlerRegistry::instance(), ossimImageHandlerRegistry::open(), OSSIM_FULL, OSSIM_PARTIAL, OSSIM_UCHAR, printDataStatus(), and ossimRefPtr< T >::valid().
Referenced by main().
void demo2 | ( | const ossimFilename & | filename | ) |
Definition at line 299 of file image_data.cpp.
References ossimImageDataFactory::create(), ossimImageData::dup(), ossimImageData::initialize(), ossimImageDataFactory::instance(), ossimImageHandlerRegistry::instance(), ossimDataObject::isInitialize(), ossimImageHandlerRegistry::open(), OSSIM_UCHAR, and ossimImageData::setImageRectangle().
Referenced by main().
void demo3 | ( | const ossimFilename & | filename | ) |
Definition at line 376 of file image_data.cpp.
References ossimImageDataFactory::create(), ossimRefPtr< T >::get(), ossimImageData::getBuf(), ossimDataObject::getDataObjectStatus(), ossimImageData::getImageRectangle(), ossimImageData::getNumberOfBands(), ossimImageSource::getTile(), ossimImageData::initialize(), ossimImageDataFactory::instance(), ossimImageHandlerRegistry::instance(), ossimImageData::loadBand(), ossimImageData::loadTile(), ossimImageHandlerRegistry::open(), OSSIM_BSQ, printDataStatus(), ossimImageData::setImageRectangle(), ossimRefPtr< T >::valid(), and ossimImageData::validate().
Referenced by main().
int main | ( | int | argc, |
char * | argv[] | ||
) |
Definition at line 56 of file image_data.cpp.
References demo1(), demo2(), demo3(), ossimInit::finalize(), ossimInit::initialize(), ossimInit::instance(), and usage().
void printDataStatus | ( | ossimDataObjectStatus | status | ) |
Definition at line 109 of file image_data.cpp.
References OSSIM_EMPTY, OSSIM_FULL, OSSIM_NULL, OSSIM_PARTIAL, and status.
Referenced by demo1(), and demo3().
void usage | ( | ) |
OVERVIEW:
We will retrieve information from the input source and manipulate the data. All filters will have a data access point called getTile that can take a rectangle/region of interest and a resolution level. Once we have retrieved the data we will show documented examples on how to manipulate the data.
PURPOSE:
Definition at line 86 of file image_data.cpp.
Referenced by main().