| 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/TePDIWiSpeRFusion.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 TEPDIWISPERFUSION_HPP
    00026   #define TEPDIWISPERFUSION_HPP
    00027
    00028   #include "TePDILevelRemap.hpp"
    00029   #include "TePDIAlgorithm.hpp"
    00030   #include "TePDIInterpolator.hpp"
    00031   #include "../kernel/TeSharedPtr.h"
    00032
    00033   #define waveletPlanes 2
    00034
    00063   class PDI_DLL TePDIWiSpeRFusion : public TePDIAlgorithm {
    00064     public :
    00066       enum TeSatellitesTypes {CBERS, CBERS2B, IKONOS, QUICKBIRD, SPOT4, SPOT5};
    00067
    00071       enum InterpMethod {
    00073         Nothing = 0,
    00075         NNMethod = 1,
    00077         BilinearMethod = 2,
    00079         BicubicMethod = 3
    00080       };
    00081
    00086       TePDIWiSpeRFusion();
    00087
    00091       ~TePDIWiSpeRFusion();
    00092
    00102       bool CheckParameters( const TePDIParameters& parameters ) const;
    00103
    00104     protected :
    00110       bool RunImplementation();
    00111
    00117       void ResetState(const TePDIParameters&);
    00118
    00126       bool fractions(TeMatrix &p_multi_pan, string satellite, int &pan_index);
    00127
    00142       bool resampleRasterByResLinsCols(
    00143         const TePDITypes::TePDIRasterPtrType& input_raster,
    00144         const TePDITypes::TePDIRasterPtrType& output_raster,
    00145         double x_resolution_ratio,
    00146         double y_resolution_ratio,
    00147         int l,
    00148         int c,
    00149         TePDIInterpolator::InterpMethod interpol,
    00150         bool enable_progress );
    00151   };
    00152
    00153 #endif //TEPDIWaveletAtrous_HPP

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines