| TerraLib 4.1

- Main Page
- Related Pages
- Modules
- Namespaces
- Classes
- Files
- Examples

- File List
- File Members

E:/Projetos_Primeiro_Semestre_2012/TerraView/terralib/src/terralib/image_processing/TePDIGeoMosaic.hpp
Go to the documentation of this file.

    00001 /*
    00002 TerraLib - a library for developing GIS applications.
    00003 Copyright  2001, 2002, 2003 INPE and Tecgraf/PUC-Rio.
    00004
    00005 This code is part of the TerraLib library.
    00006 This library is free software; you can redistribute it and/or
    00007 modify it under the terms of the GNU Lesser General Public
    00008 License as published by the Free Software Foundation; either
    00009 version 2.1 of the License, or (at your option) any later version.
    00010
    00011 You should have received a copy of the GNU Lesser General Public
    00012 License along with this library.
    00013
    00014 The authors reassure the license terms regarding the warranties.
    00015 They specifically disclaim any warranties, including, but not limited to,
    00016 the implied warranties of merchantability and fitness for a particular
    00017 purpose. The library provided hereunder is on an "as is" basis, and the
    00018 authors have no obligation to provide maintenance, support, updates,
    00019 enhancements, or modifications.
    00020 In no event shall INPE be held liable to any party
    00021 for direct, indirect, special, incidental, or consequential damages arising
    00022 out of the use of this library and its documentation.
    00023 */
    00024
    00025 #ifndef TEPDIGEOMOSAIC_HPP
    00026   #define TEPDIGEOMOSAIC_HPP
    00027
    00028   #include "TePDIAlgorithm.hpp"
    00029
    00030   #include "TePDIHistogram.hpp"
    00031
    00074   class PDI_DLL TePDIGeoMosaic : public TePDIAlgorithm {
    00075     public :
    00076
    00077
    00078       TePDIGeoMosaic();
    00079
    00080       ~TePDIGeoMosaic();
    00081
    00082       //overloaded
    00083       bool CheckParameters( const TePDIParameters& parameters ) const;
    00084
    00085     protected :
    00086
    00087       //overloaded
    00088       void ResetState( const TePDIParameters& params );
    00089
    00090       //overloaded
    00091       bool RunImplementation();
    00092
    00111       bool calcEqParams( const TePDITypes::TePDIRasterPtrType& raster1,
    00112         const std::vector< unsigned int >& channels1,
    00113         TePolygon& r1Pol,
    00114         const TePDITypes::TePDIRasterPtrType& raster2,
    00115         const std::vector< unsigned int >& channels2,
    00116         TePolygon& r2Pol,
    00117         const double& dummyValue,
    00118         std::vector< double >& pixelOffsets1,
    00119         std::vector< double >& pixelScales1,
    00120         std::vector< double >& pixelOffsets2,
    00121         std::vector< double >& pixelScales2 ) const;
    00122
    00134       bool calcStats( const TePDITypes::TePDIRasterPtrType& raster,
    00135         const std::vector< unsigned int >& channels,
    00136         TePolygonSet& polSet,
    00137         const double& dummyValue,
    00138         std::vector< double >& means,
    00139         std::vector< double >& variances ) const;
    00140   };
    00141
    00142 #endif

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines