| 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/TePDIParaSegBaatzStrategy.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 TEPDIPARASEGBAATZSTRATEGY_HPP
    00026   #define TEPDIPARASEGBAATZSTRATEGY_HPP
    00027
    00028   #include "TePDIParaSegStrategy.hpp"
    00029   #include "TePDIBaatz.hpp"
    00030
    00031   #include <vector>
    00032
    00053   class PDI_DLL TePDIParaSegBaatzStrategy : public TePDIParaSegStrategy
    00054   {
    00055     public :
    00056
    00057       // This method has the same parameters as the
    00058       // TePDIParaSegStrategy constructor
    00059       TePDIParaSegBaatzStrategy( const TePDIParaSegStrategyParams& params );
    00060
    00061       ~TePDIParaSegBaatzStrategy();
    00062
    00063       // overloaded
    00064       bool execute( const RasterDataVecT& rasterDataVector,
    00065         TePDIParaSegSegmentsBlock::SegmentsPointersMatrixT& outSegsMatrix );
    00066
    00067       //overloaded
    00068       bool setParameters( const TePDIParameters& params );
    00069
    00070       //overloaded
    00071       bool mergeSegments(
    00072        TePDIParaSegSegmentsBlock::SegmentsPointersMatrixT& centerMatrix,
    00073        TePDIParaSegSegmentsBlock::SegmentsPointersMatrixT* topMatrixPtr,
    00074        TePDIParaSegSegmentsBlock::SegmentsPointersMatrixT* leftMatrixPtr );
    00075
    00076       //overloaded
    00077       double getMemUsageFactor() const { return 1.5; };
    00078
    00079     protected :
    00080
    00082       TePDITypes::TePDIRasterPtrType inputRasterPtr_;
    00083
    00085       TePDITypes::TePDIRasterPtrType outputRasterPtr_;
    00086
    00088       TePDIParameters segParams_;
    00089
    00091       TePDIBaatz segmenter_;
    00092
    00094       double eucTreshold_;
    00095
    00096   };
    00097
    00098 #endif

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines