25 #ifndef __TERRALIB_RP_INTERNAL_SEQUENCEMOSAIC_H 
   26 #define __TERRALIB_RP_INTERNAL_SEQUENCEMOSAIC_H 
   32 #include "../raster/Interpolator.h" 
   33 #include "../dataaccess/datasource/DataSource.h" 
   34 #include "../geometry/GTParameters.h" 
  101             void reset() throw( te::rp::Exception );
 
  107             AbstractParameters* clone() const;
 
  122             std::vector< std::vector< te::gm::GTParameters::TiePoint > > 
m_tiePoints; 
 
  126             MosaicSequenceInfo();
 
  128             ~MosaicSequenceInfo();
 
  150             void reset() throw( te::rp::Exception );
 
  156             AbstractParameters* clone() const;
 
  167         void reset() throw( te::rp::Exception );
 
  172         bool isInitialized() const;
 
  178         bool m_isInitialized; 
 
  193         static 
void calcBandStatistics( const te::rst::Band& band,
 
  194           const 
bool& forceNoDataValue,
 
  195           const 
double& noDataValue,
 
  210         bool createRasterDataSet( const std::
string& dataSetName,
 
  211           const te::rst::Raster& sourceRaster, te::da::DataSource* dataSourcePtr ) const;
 
  222         bool createDiskRasterCopy( const std::
string& fileName,
 
  223           const te::rst::Raster& sourceRaster ) const;
 
  235         double getTPConvexHullArea( 
 
  236           const std::vector< te::gm::GTParameters::TiePoint >& tiePoints,
 
  237           const 
bool useTPSecondCoordPair ) const;
 
std::string m_geomTransfName
The name of the geometric transformation used if tie-points are supplied (see each te::gm::GTFactory ...
 
te::rst::Interpolator::Method m_interpMethod
The raster interpolator method (default:NearestNeighbor). 
 
bool m_useRasterCache
Enable(true) or disable the use of raster caching (default:true). 
 
std::string m_outDataSetsNamePrefix
The raster output data sets names prefix. 
 
Raster Processing algorithm base interface class. 
 
std::vector< MosaicSequenceInfo > m_sequencesInfo
 
TiePointsLocator locator. 
 
te::rp::Blender::BlendMethod m_blendMethod
The pixel blending method (default: NoBlendMethod). 
 
te::da::DataSource * m_outputDSPtr
The mosaic sequences info. 
 
std::vector< unsigned int > m_rasterFeederIndexes
The indexes (inside the input rasters feeder) of the rasters written to this mosaic sequence...
 
unsigned int m_tiePointsLocationBandIndex
The band used to locate tie-points, this is the index inside each vector of m_inputRastersBands (defa...
 
double m_noDataValue
The pixel value used where no raster data is avaliable (defaul:0). 
 
Raster Processing algorithm base interface. 
 
Create mosaics from a sequence of overlapped rasters using an automatic tie-points detection method...
 
Method
Allowed interpolation methods. 
 
std::string m_outDataSetsNameSufix
The raster output data sets names sufix. 
 
TiePointsLocator input parameters. 
 
FeederConstRaster * m_feederRasterPtr
Input rasters feeder. 
 
bool m_enableMultiThread
Enable/Disable the use of multi-threads (default:true). 
 
bool m_enableProgress
Enable/Disable the progress interface (default:false). 
 
bool m_autoEqualize
Auto equalization will be performed using the overlaped image areas (default:true). 
 
std::vector< std::vector< te::gm::GTParameters::TiePoint > > m_tiePoints
The generated tie-pionts (te::gm::GTParameters::TiePoint::first are mosaic coods, te::gm::GTParameter...
 
std::vector< std::vector< unsigned int > > m_inputRastersBands
Bands to process for each input raster. 
 
An abstract class for data providers like a DBMS, Web Services or a regular file. ...
 
Feeder from a input rasters. 
 
std::string m_dataSetName
The generated data set name for this mosaic sequence. 
 
Raster Processing algorithm output parameters base interface. 
 
Mosaic output parameters. 
 
te::rp::TiePointsLocator::InputParameters m_locatorParams
The parameters used by the tie-points locator when processing each rasters pair (leave untouched to u...
 
double m_minRequiredTiePointsCoveredAreaPercent
The mininumum required tie-points covered area percent of each raster area - valid range [0...
 
Blended pixel value calculation for two overlaped rasters. 
 
bool m_forceInputNoDataValue
If true, m_noDataValue will be used as the no-data value for input rasters (defalt:false). 
 
#define TERPEXPORT
You can use this macro in order to export/import classes and functions from this module. 
 
Raster Processing algorithm input parameters base interface.