#include <hdfeosfrmt.h>

Being very difficult to make a generic implementation that's not specific to a single dataset, much of this code is specific to Aster L1A and L1B products.
Definition at line 37 of file hdfeosfrmt.h.
Public Types | |
| enum | ScaleType { SCALE_NN = 1, SCALE_BI, SCALE_BC } |
| enum | DataType { NOT_DEFINED, INT8, UINT8, INT16, UINT16, INT32, UINT32, INT64, UINT64, FLOAT16, FLOAT32, FLOAT64 } |
Public Member Functions | |
| ~HdfEosFrmt () | |
| virtual bool | open (std::string fname) |
| Open an HDF image and pull out associated metadata. | |
| virtual void | getLL (int iband, double &i, double &j, bool toWGS84) |
| virtual void | getLL (int iband, double &i, double &j) |
| virtual void | getXY (int iband, double &i, double &j) |
| virtual void * | getBand (int iband, int x1, int y1, int w1, int h1, int w2, int h2, ScaleType=SCALE_BI) const |
| std::vector< BandInf > & | getBandInfSet () |
| unsigned int | getNumBands () |
| const BandInf & | getBandInf (int iband) |
| std::string | getName () const |
| char * | scaleData (char **orig, int ow, int oh, int nw, int nh, DataType dt, ScaleType st, bool del=true) const |
| char * | scaleData (char **orig, int ox, int oy, int ow, int oh, int fw, int fh, int nw, int nh, DataType dt, ScaleType st, bool del=true) const |
| template<class DType> | |
| DType * | scaleDT (DType *orig, int ox, int oy, int ow, int oh, int fw, int fh, int nw, int nh, ScaleType st) const |
| template<typename DType> | |
| DType * | scl_nearestneighbor (DType *orig, int ox, int oy, int ow, int oh, int fw, int fh, int nw, int nh) const |
| template<class DType> | |
| DType * | scl_bilinear (DType *orig, int ox, int oy, int ow, int oh, int fw, int fh, int nw, int nh) const |
| unsigned char * | scl_bicubic (unsigned char *orig, int ow, int oh, int nw, int nh, int szd) const |
| ImageInf & | getImageInf () |
| void | setCornerPnts (int iband, ImageInf &inf) |
Static Public Member Functions | |
| static std::string | dtypeToString (DataType dt) |
| static int | dtypeSize (DataType dt) |
| static bool | isFloat (DataType dt) |
Protected Types | |
| enum | Projection { UNSUPPORTED, UTM } |
| Aliases for projection names. More... | |
Protected Member Functions | |
| void | parseGeoFlds (int32 swid, std::string swname) |
| get info from Aster HDF file | |
| std::string | getHdfGblAttr (const std::string &fname, const std::string &attrname) const |
| get info from Aster HDF file | |
| std::string | getAquiDateTime (const std::string &fname) const |
| Get image aquisition date/time from Aster HDF file. | |
| std::string | getProjection (const std::string &fname) const |
| get projection info from Aster HDF file | |
| std::string | getOrigID (const std::string &fname) const |
| get origin ID info from Aster HDF file | |
| std::string | getInstZenith (const std::string &fname) const |
| get instrument zenith info from Aster HDF file | |
| std::string | getCloudPct (const std::string &fname) const |
| get percentage of cloud cover info from Aster HDF file | |
| std::string | getSunAzim (const std::string &fname) const |
| get sun azimuth info from Aster HDF file | |
| std::string | getSunElev (const std::string &fname) const |
| get sun elevation info from Aster HDF file | |
| std::string | getImageAzim (const std::string &fname) const |
| get image azimuth info from Aster HDF file | |
| std::string | getInstID (const std::string &fname) const |
| get image ID info from Aster HDF file | |
| std::string | getInstAz (const std::string &fname) const |
| get instrument azimuth info from Aster HDF file | |
| void | getBandMetaData () const |
| get band metadata info from Aster HDF file | |
| std::vector< std::string > | splitList (char *clist, char delim) |
| template<class DType> | |
| void | findrange (int32 swid, std::string field, DType &lwr, DType &upr, std::vector< int32 > dims) |
| template<class DType> | |
| void | maxmin (DType *data, int sz, DType &lwr, DType &upr) |
| template<class DType> | |
| void | bilinterp (DType *map, std::vector< int32 > dims, std::vector< int32 > offset, std::vector< int32 > inc, int x, int y, double &res) |
| void | getGeoFields (int iband) |
| void | getIntersect (int &track, int &p1, int p2, int iband, double searchVal, bool isLon, bool horizontal=true) |
| void | trackLineTo (int &x, int &y, int iband, double trackVal, double searchVal) |
| bool | between (double a, double b, double c) |
| void | xyToLL (int iband, double &x, double &y) |
| void | xyToMeter (int iband, double &x, double &y) |
| void | meterToLL (int iband, double &x, double &y) |
| void | llToMeter (int iband, double &lon, double &lat) |
| void | llToXY (int iband, double &lon, double &lat) |
| projPJ | createProj (int iband) |
| void | getULCorners () |
Protected Attributes | |
| int32 | mSWfid |
| std::vector< DataField > | mDFList |
| std::vector< GeoField > | mGFList |
| Projection | mProj |
| std::string | mFName |
| std::vector< BandInf > | mBandSet |
| ImageInf | mImageInf |
Classes | |
| struct | DataField |
| Structure to hold geographic metadata about the image. More... | |
| struct | GeoField |
| Structure to hold geographic metadata about the image. More... | |
enum HdfEosFrmt::Projection [protected] |
enum ImageFormat::ScaleType [inherited] |
enum ImageFormat::DataType [inherited] |
Definition at line 45 of file imageformat.h.
| HdfEosFrmt::~HdfEosFrmt | ( | ) |
Definition at line 5 of file hdfeosfrmt.cpp.
References HdfEosFrmt::GeoField::geomap, mGFList, mSWfid, and HdfEosFrmt::GeoField::type.
| void HdfEosFrmt::parseGeoFlds | ( | int32 | swid, | |
| std::string | swname | |||
| ) | [protected] |
get info from Aster HDF file
Definition at line 873 of file hdfeosfrmt.cpp.
References HdfEosFrmt::GeoField::dimnames, HdfEosFrmt::GeoField::dims, HdfEosFrmt::GeoField::geomap, HdfEosFrmt::GeoField::gfldname, mGFList, splitList(), HdfEosFrmt::GeoField::swathname, and HdfEosFrmt::GeoField::type.
Referenced by open().

| std::string HdfEosFrmt::getHdfGblAttr | ( | const std::string & | fname, | |
| const std::string & | attrname | |||
| ) | const [protected] |
get info from Aster HDF file
Definition at line 1299 of file hdfeosfrmt.cpp.
Referenced by getAquiDateTime(), getBandMetaData(), getCloudPct(), getImageAzim(), getInstAz(), getInstID(), getInstZenith(), getOrigID(), getProjection(), getSunAzim(), and getSunElev().
| std::string HdfEosFrmt::getAquiDateTime | ( | const std::string & | fname | ) | const [protected] |
Get image aquisition date/time from Aster HDF file.
Definition at line 978 of file hdfeosfrmt.cpp.
References ODLTree::getElem(), getHdfGblAttr(), ODLParser::getObject(), and ODLElement::getValue().
Referenced by open().

| std::string HdfEosFrmt::getProjection | ( | const std::string & | fname | ) | const [protected] |
get projection info from Aster HDF file
Definition at line 1184 of file hdfeosfrmt.cpp.
References ODLTree::getElem(), getHdfGblAttr(), ODLParser::getObject(), and ODLElement::getValue().
Referenced by open().

| std::string HdfEosFrmt::getOrigID | ( | const std::string & | fname | ) | const [protected] |
get origin ID info from Aster HDF file
Definition at line 1061 of file hdfeosfrmt.cpp.
References ODLTree::getElem(), getHdfGblAttr(), ODLParser::getObject(), and ODLElement::getValue().
Referenced by open().

| std::string HdfEosFrmt::getInstZenith | ( | const std::string & | fname | ) | const [protected] |
get instrument zenith info from Aster HDF file
Definition at line 1083 of file hdfeosfrmt.cpp.
References ODLTree::getElem(), getHdfGblAttr(), ODLParser::getObject(), and ODLElement::getValue().
Referenced by open().

| std::string HdfEosFrmt::getCloudPct | ( | const std::string & | fname | ) | const [protected] |
get percentage of cloud cover info from Aster HDF file
Definition at line 1102 of file hdfeosfrmt.cpp.
References ODLTree::getElem(), getHdfGblAttr(), ODLParser::getObject(), and ODLElement::getValue().
Referenced by open().

| std::string HdfEosFrmt::getSunAzim | ( | const std::string & | fname | ) | const [protected] |
get sun azimuth info from Aster HDF file
Definition at line 1121 of file hdfeosfrmt.cpp.
References ODLTree::getElem(), getHdfGblAttr(), ODLParser::getObject(), and ODLElement::getValue().
Referenced by open().

| std::string HdfEosFrmt::getSunElev | ( | const std::string & | fname | ) | const [protected] |
get sun elevation info from Aster HDF file
Definition at line 1143 of file hdfeosfrmt.cpp.
References ODLTree::getElem(), getHdfGblAttr(), ODLParser::getObject(), and ODLElement::getValue().
Referenced by open().

| std::string HdfEosFrmt::getImageAzim | ( | const std::string & | fname | ) | const [protected] |
get image azimuth info from Aster HDF file
Definition at line 1165 of file hdfeosfrmt.cpp.
References ODLTree::getElem(), getHdfGblAttr(), ODLParser::getObject(), and ODLElement::getValue().
Referenced by open().

| std::string HdfEosFrmt::getInstID | ( | const std::string & | fname | ) | const [protected] |
get image ID info from Aster HDF file
Definition at line 1255 of file hdfeosfrmt.cpp.
References ODLTree::getElem(), getHdfGblAttr(), ODLParser::getObject(), and ODLElement::getValue().
Referenced by open().

| std::string HdfEosFrmt::getInstAz | ( | const std::string & | fname | ) | const [protected] |
get instrument azimuth info from Aster HDF file
Definition at line 1277 of file hdfeosfrmt.cpp.
References ODLTree::getElem(), getHdfGblAttr(), ODLParser::getObject(), and ODLElement::getValue().
Referenced by open().

| void HdfEosFrmt::getBandMetaData | ( | ) | const [protected] |
get band metadata info from Aster HDF file
Definition at line 1335 of file hdfeosfrmt.cpp.
References ODLTree::getChildSet(), ODLTree::getElem(), getHdfGblAttr(), ImageFormat::getName(), ODLParser::getObject(), ODLElement::getValue(), ImageFormat::mBandSet, ImageFormat::mFName, ImageFormat::BandInf::name, ImageFormat::BandInf::parms, ImageFormat::BandInf::proj, ImageFormat::BandInf::res, ImageFormat::BandInf::rot, ImageFormat::BandInf::ulx, ImageFormat::BandInf::uly, and ImageFormat::BandInf::UTMZ.
Referenced by open().

| std::vector<std::string> HdfEosFrmt::splitList | ( | char * | clist, | |
| char | delim | |||
| ) | [inline, protected] |
| void HdfEosFrmt::findrange | ( | int32 | swid, | |
| std::string | field, | |||
| DType & | lwr, | |||
| DType & | upr, | |||
| std::vector< int32 > | dims | |||
| ) | [inline, protected] |
Definition at line 948 of file hdfeosfrmt.cpp.
References maxmin().
Referenced by open().

| void HdfEosFrmt::maxmin | ( | DType * | data, | |
| int | sz, | |||
| DType & | lwr, | |||
| DType & | upr | |||
| ) | [inline, protected] |
| void HdfEosFrmt::bilinterp | ( | DType * | map, | |
| std::vector< int32 > | dims, | |||
| std::vector< int32 > | offset, | |||
| std::vector< int32 > | inc, | |||
| int | x, | |||
| int | y, | |||
| double & | res | |||
| ) | [inline, protected] |
| void HdfEosFrmt::getGeoFields | ( | int | iband | ) | [protected] |
Definition at line 233 of file hdfeosfrmt.cpp.
References HdfEosFrmt::DataField::dimnames, HdfEosFrmt::DataField::dims, HdfEosFrmt::DataField::geofldlat, HdfEosFrmt::DataField::geofldlon, HdfEosFrmt::DataField::latinc, HdfEosFrmt::DataField::latoff, HdfEosFrmt::DataField::loninc, HdfEosFrmt::DataField::lonoff, mDFList, mGFList, mSWfid, and HdfEosFrmt::DataField::swathname.
Referenced by open().
| void HdfEosFrmt::getIntersect | ( | int & | track, | |
| int & | p1, | |||
| int | p2, | |||
| int | iband, | |||
| double | searchVal, | |||
| bool | isLon, | |||
| bool | horizontal = true | |||
| ) | [protected] |
Definition at line 635 of file hdfeosfrmt.cpp.
References getLL().
Referenced by getXY().

| void HdfEosFrmt::trackLineTo | ( | int & | x, | |
| int & | y, | |||
| int | iband, | |||
| double | trackVal, | |||
| double | searchVal | |||
| ) | [protected] |
Definition at line 725 of file hdfeosfrmt.cpp.
References getLL().
Referenced by getXY().

| bool HdfEosFrmt::between | ( | double | a, | |
| double | b, | |||
| double | c | |||
| ) | [inline, protected] |
| bool HdfEosFrmt::open | ( | std::string | fname | ) | [virtual] |
Open an HDF image and pull out associated metadata.
Implements ImageFormat.
Definition at line 21 of file hdfeosfrmt.cpp.
References HdfEosFrmt::DataField::dimnames, HdfEosFrmt::DataField::dims, HdfEosFrmt::DataField::fieldname, findrange(), getAquiDateTime(), getBandMetaData(), getCloudPct(), getGeoFields(), getImageAzim(), getInstAz(), getInstID(), getInstZenith(), getLL(), getOrigID(), getProjection(), getSunAzim(), getSunElev(), ImageFormat::getULCorners(), ImageFormat::BandInf::height, ImageFormat::INT16, ImageFormat::INT8, ImageInf::mAquiDateTime, ImageFormat::BandInf::max, ImageFormat::mBandSet, ImageInf::mCenterLat, ImageInf::mCenterLon, ImageInf::mCloudPct, mDFList, ImageFormat::mFName, ImageInf::mImageAzim, ImageFormat::mImageInf, ImageFormat::BandInf::min, ImageInf::mInstID, ImageInf::mInstrument_azimuth, ImageInf::mInstrument_zenith, ImageInf::mLocURL, ImageInf::mOrigID, ImageInf::mProjection, ImageInf::mSunAzim, ImageInf::mSunElev, mSWfid, ImageFormat::BandInf::name, ImageFormat::BandInf::ndims, ImageFormat::NOT_DEFINED, parseGeoFlds(), splitList(), HdfEosFrmt::DataField::swathname, ImageFormat::BandInf::type, HdfEosFrmt::DataField::type, ImageFormat::UINT16, ImageFormat::UINT8, and ImageFormat::BandInf::width.
Referenced by Image::openImage().

| void HdfEosFrmt::getLL | ( | int | iband, | |
| double & | i, | |||
| double & | j, | |||
| bool | toWGS84 | |||
| ) | [virtual] |
Definition at line 317 of file hdfeosfrmt.cpp.
References bilinterp(), HdfEosFrmt::GeoField::dims, HdfEosFrmt::DataField::geofldlat, HdfEosFrmt::DataField::geofldlon, HdfEosFrmt::GeoField::geomap, HdfEosFrmt::DataField::latinc, HdfEosFrmt::DataField::latoff, HdfEosFrmt::DataField::loninc, HdfEosFrmt::DataField::lonoff, M_PI, ImageFormat::mBandSet, mDFList, and HdfEosFrmt::GeoField::type.
Referenced by getIntersect(), getLL(), getXY(), open(), and trackLineTo().

| virtual void HdfEosFrmt::getLL | ( | int | iband, | |
| double & | i, | |||
| double & | j | |||
| ) | [inline, virtual] |
Implements ImageFormat.
Definition at line 256 of file hdfeosfrmt.h.
References getLL(), ImageFormat::mBandSet, and ImageFormat::xyToLL().

| void HdfEosFrmt::getXY | ( | int | iband, | |
| double & | i, | |||
| double & | j | |||
| ) | [virtual] |
Implements ImageFormat.
Definition at line 392 of file hdfeosfrmt.cpp.
References between(), HdfEosFrmt::GeoField::dims, HdfEosFrmt::DataField::geofldlat, HdfEosFrmt::DataField::geofldlon, HdfEosFrmt::GeoField::geomap, getIntersect(), getLL(), HdfEosFrmt::DataField::latinc, HdfEosFrmt::DataField::latoff, ImageFormat::llToXY(), M_PI, ImageFormat::mBandSet, mDFList, trackLineTo(), and HdfEosFrmt::GeoField::type.

| void * HdfEosFrmt::getBand | ( | int | iband, | |
| int | x1, | |||
| int | y1, | |||
| int | w1, | |||
| int | h1, | |||
| int | w2, | |||
| int | h2, | |||
| ScaleType | st = SCALE_BI | |||
| ) | const [virtual] |
Implements ImageFormat.
Definition at line 820 of file hdfeosfrmt.cpp.
References ImageFormat::dtypeSize(), ImageFormat::mBandSet, mDFList, mSWfid, and ImageFormat::scaleData().

| void ImageFormat::xyToLL | ( | int | iband, | |
| double & | x, | |||
| double & | y | |||
| ) | [protected, inherited] |
Definition at line 618 of file imageformat.cpp.
References ImageFormat::mBandSet, ImageFormat::meterToLL(), and ImageFormat::xyToMeter().
Referenced by NlapsFrmt::fillImageInf(), NlapsFrmt::getLL(), and getLL().

| void ImageFormat::xyToMeter | ( | int | iband, | |
| double & | x, | |||
| double & | y | |||
| ) | [protected, inherited] |
Definition at line 493 of file imageformat.cpp.
References M_PI, ImageFormat::mBandSet, ImageFormat::BandInf::proj, ImageFormat::BandInf::res, ImageFormat::BandInf::rot, ImageFormat::BandInf::ulx, and ImageFormat::BandInf::uly.
Referenced by ImageFormat::xyToLL().
| void ImageFormat::meterToLL | ( | int | iband, | |
| double & | x, | |||
| double & | y | |||
| ) | [protected, inherited] |
Definition at line 533 of file imageformat.cpp.
References ImageFormat::createProj(), and ImageFormat::mBandSet.
Referenced by ImageFormat::xyToLL().

| void ImageFormat::llToMeter | ( | int | iband, | |
| double & | lon, | |||
| double & | lat | |||
| ) | [protected, inherited] |
Definition at line 550 of file imageformat.cpp.
References ImageFormat::createProj(), and ImageFormat::mBandSet.
Referenced by ImageFormat::getULCorners(), and ImageFormat::llToXY().

| void ImageFormat::llToXY | ( | int | iband, | |
| double & | lon, | |||
| double & | lat | |||
| ) | [protected, inherited] |
Definition at line 568 of file imageformat.cpp.
References ImageFormat::llToMeter(), M_PI, and ImageFormat::mBandSet.
Referenced by NlapsFrmt::getXY(), and getXY().

| projPJ ImageFormat::createProj | ( | int | iband | ) | [protected, inherited] |
Definition at line 629 of file imageformat.cpp.
References ImageFormat::mBandSet, ImageFormat::mParms, ImageFormat::BandInf::parms, ImageFormat::BandInf::proj, and ImageFormat::BandInf::UTMZ.
Referenced by ImageFormat::llToMeter(), and ImageFormat::meterToLL().
| void ImageFormat::getULCorners | ( | ) | [protected, inherited] |
Definition at line 663 of file imageformat.cpp.
References ImageFormat::llToMeter(), ImageFormat::mBandSet, ImageFormat::BandInf::proj, ImageFormat::BandInf::ulx, and ImageFormat::BandInf::uly.
Referenced by NlapsFrmt::fillBandInf(), and open().

| std::vector< ImageFormat::BandInf > & ImageFormat::getBandInfSet | ( | ) | [inherited] |
Definition at line 20 of file imageformat.cpp.
References ImageFormat::mBandSet.
Referenced by Image::getBandInfSet(), Image::getRect(), Image::height(), Image::Image(), InMemFormat::InMemFormat(), L7A_Nlaps::open(), L7A_Fast::open(), InMemFormat::stateToMem(), and Image::width().
| unsigned int ImageFormat::getNumBands | ( | ) | [inline, inherited] |
Definition at line 123 of file imageformat.h.
Referenced by ImageInterface::getBands(), L7A_Nlaps::getFrmt(), and L7A_Fast::getFrmt().
| const ImageFormat::BandInf & ImageFormat::getBandInf | ( | int | iband | ) | [inherited] |
Definition at line 24 of file imageformat.cpp.
References ImageFormat::mBandSet.
Referenced by L7A_Geotiff::open().
| std::string ImageFormat::getName | ( | ) | const [inherited] |
Definition at line 28 of file imageformat.cpp.
References ImageFormat::mFName.
Referenced by getBandMetaData(), and Image::getName().
| std::string ImageFormat::dtypeToString | ( | ImageFormat::DataType | dt | ) | [static, inherited] |
Definition at line 32 of file imageformat.cpp.
References ImageFormat::FLOAT16, ImageFormat::FLOAT32, ImageFormat::FLOAT64, ImageFormat::INT16, ImageFormat::INT32, ImageFormat::INT64, ImageFormat::INT8, ImageFormat::NOT_DEFINED, ImageFormat::UINT16, ImageFormat::UINT32, ImageFormat::UINT64, and ImageFormat::UINT8.
Referenced by BandChooserDlg::reloadList().
| int ImageFormat::dtypeSize | ( | ImageFormat::DataType | dt | ) | [static, inherited] |
Definition at line 92 of file imageformat.cpp.
References ImageFormat::FLOAT16, ImageFormat::FLOAT32, ImageFormat::FLOAT64, ImageFormat::INT16, ImageFormat::INT32, ImageFormat::INT64, ImageFormat::INT8, ImageFormat::NOT_DEFINED, ImageFormat::UINT16, ImageFormat::UINT32, ImageFormat::UINT64, and ImageFormat::UINT8.
Referenced by NlapsFrmt::getBand(), getBand(), and InMemFormat::stateToMem().
| bool ImageFormat::isFloat | ( | ImageFormat::DataType | dt | ) | [static, inherited] |
Definition at line 152 of file imageformat.cpp.
References ImageFormat::INT16, ImageFormat::INT32, ImageFormat::INT64, ImageFormat::INT8, ImageFormat::NOT_DEFINED, ImageFormat::UINT16, ImageFormat::UINT32, ImageFormat::UINT64, and ImageFormat::UINT8.
| char * ImageFormat::scaleData | ( | char ** | orig, | |
| int | ow, | |||
| int | oh, | |||
| int | nw, | |||
| int | nh, | |||
| DataType | dt, | |||
| ScaleType | st, | |||
| bool | del = true | |||
| ) | const [inherited] |
Definition at line 198 of file imageformat.cpp.
Referenced by NlapsFrmt::getBand(), getBand(), and InMemFormat::getMemRect().
| char * ImageFormat::scaleData | ( | char ** | orig, | |
| int | ox, | |||
| int | oy, | |||
| int | ow, | |||
| int | oh, | |||
| int | fw, | |||
| int | fh, | |||
| int | nw, | |||
| int | nh, | |||
| DataType | dt, | |||
| ScaleType | st, | |||
| bool | del = true | |||
| ) | const [inherited] |
Definition at line 209 of file imageformat.cpp.
References ImageFormat::FLOAT32, ImageFormat::FLOAT64, ImageFormat::INT16, ImageFormat::INT8, ImageFormat::SCALE_BI, ImageFormat::SCALE_NN, ImageFormat::scl_bilinear(), ImageFormat::scl_nearestneighbor(), ImageFormat::UINT16, and ImageFormat::UINT8.

| DType * ImageFormat::scaleDT | ( | DType * | orig, | |
| int | ox, | |||
| int | oy, | |||
| int | ow, | |||
| int | oh, | |||
| int | fw, | |||
| int | fh, | |||
| int | nw, | |||
| int | nh, | |||
| ScaleType | st | |||
| ) | const [inline, inherited] |
Definition at line 322 of file imageformat.cpp.
References ImageFormat::SCALE_BC, ImageFormat::SCALE_BI, and ImageFormat::SCALE_NN.
| DType * ImageFormat::scl_nearestneighbor | ( | DType * | orig, | |
| int | ox, | |||
| int | oy, | |||
| int | ow, | |||
| int | oh, | |||
| int | fw, | |||
| int | fh, | |||
| int | nw, | |||
| int | nh | |||
| ) | const [inline, inherited] |
| DType * ImageFormat::scl_bilinear | ( | DType * | orig, | |
| int | ox, | |||
| int | oy, | |||
| int | ow, | |||
| int | oh, | |||
| int | fw, | |||
| int | fh, | |||
| int | nw, | |||
| int | nh | |||
| ) | const [inline, inherited] |
| unsigned char * ImageFormat::scl_bicubic | ( | unsigned char * | orig, | |
| int | ow, | |||
| int | oh, | |||
| int | nw, | |||
| int | nh, | |||
| int | szd | |||
| ) | const [inherited] |
Definition at line 454 of file imageformat.cpp.
| ImageInf& ImageFormat::getImageInf | ( | ) | [inline, inherited] |
Definition at line 197 of file imageformat.h.
| void ImageFormat::setCornerPnts | ( | int | iband, | |
| ImageInf & | inf | |||
| ) | [inherited] |
Definition at line 463 of file imageformat.cpp.
References ImageFormat::getLL(), ImageFormat::mBandSet, ImageInf::mP1, ImageInf::mP2, ImageInf::mP3, ImageInf::mP4, Node::x, Node::y, and Node::z.

int32 HdfEosFrmt::mSWfid [protected] |
Definition at line 39 of file hdfeosfrmt.h.
Referenced by getBand(), getGeoFields(), open(), and ~HdfEosFrmt().
std::vector<DataField> HdfEosFrmt::mDFList [protected] |
Definition at line 78 of file hdfeosfrmt.h.
Referenced by getBand(), getGeoFields(), getLL(), getXY(), and open().
std::vector<GeoField> HdfEosFrmt::mGFList [protected] |
Definition at line 79 of file hdfeosfrmt.h.
Referenced by getGeoFields(), parseGeoFlds(), and ~HdfEosFrmt().
Projection HdfEosFrmt::mProj [protected] |
Definition at line 80 of file hdfeosfrmt.h.
std::string ImageFormat::mFName [protected, inherited] |
Definition at line 86 of file imageformat.h.
Referenced by NlapsFrmt::getBand(), getBandMetaData(), ImageFormat::getName(), NlapsFrmt::open(), open(), GDALFrmt::open(), and NlapsFrmt::readFile().
std::vector<BandInf> ImageFormat::mBandSet [protected, inherited] |
Definition at line 87 of file imageformat.h.
Referenced by ImageFormat::createProj(), NlapsFrmt::fillBandInf(), NlapsFrmt::fillImageInf(), NlapsFrmt::getBand(), L7A_Nlaps::getBand(), L7A_Geotiff::getBand(), L7A_Fast::getBand(), getBand(), GDALFrmt::getBand(), ImageFormat::getBandInf(), ImageFormat::getBandInfSet(), getBandMetaData(), L7A_Nlaps::getFrmt(), L7A_Fast::getFrmt(), L7A_Nlaps::getLL(), L7A_Geotiff::getLL(), L7A_Fast::getLL(), getLL(), ImageFormat::getULCorners(), L7A_Nlaps::getXY(), L7A_Geotiff::getXY(), L7A_Fast::getXY(), getXY(), ImageFormat::llToMeter(), ImageFormat::llToXY(), ImageFormat::meterToLL(), L7A_Nlaps::open(), L7A_Geotiff::open(), L7A_Fast::open(), open(), GDALFrmt::open(), ImageFormat::setCornerPnts(), ImageFormat::xyToLL(), and ImageFormat::xyToMeter().
ImageInf ImageFormat::mImageInf [protected, inherited] |
Definition at line 88 of file imageformat.h.
Referenced by NlapsFrmt::fillImageInf(), L7A_Nlaps::open(), L7A_Geotiff::open(), L7A_Fast::open(), open(), and GDALFrmt::open().
|
Home |
Search |
Disclaimers & Privacy |
Contact Us GLIMSView Maintainer: dsoltesz@usgs.gov |