OTB  9.0.0
Orfeo Toolbox
grmFullLambdaScheduleSegmenter.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Generic Region Merging Library
4  Language: C++
5  author: Lassalle Pierre
6  contact: lassallepierre34@gmail.com
7 
8 
9 
10  Copyright (c) Centre National d'Etudes Spatiales. All rights reserved
11 
12 
13  This software is distributed WITHOUT ANY WARRANTY; without even
14  the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
15  PURPOSE. See the above copyright notices for more information.
16 
17 =========================================================================*/
18 #ifndef GRM_FULL_LAMBDA_SCHEDULE_SEGMENTER_H
19 #define GRM_FULL_LAMBDA_SCHEDULE_SEGMENTER_H
20 #include "grmSegmenter.h"
21 
22 namespace grm
23 {
24  struct FLSNode : Node<FLSNode>
25  {
26  std::vector<float> m_Means;
27  };
28 
29  struct FLSParam{};
30 
31  template<class TImage>
32  class FullLambdaScheduleSegmenter : public Segmenter< TImage, FLSNode, FLSParam>
33  {
34  public:
35  /* Some convenient typedefs */
37  typedef TImage ImageType;
38  typedef typename Superclass::GraphType GraphType;
42 
45  void InitFromImage();
46  };
47 } // end of namespace grm
48 #include "grmFullLambdaScheduleSegmenter.txx"
49 #endif
grmSegmenter.h
grm::GraphToOtbImage
Definition: grmGraphToOtbImage.h:35
grm
Definition: grmBaatzSegmenter.h:22
grm::FullLambdaScheduleSegmenter
Definition: grmFullLambdaScheduleSegmenter.h:32
grm::FLSNode::m_Means
std::vector< float > m_Means
Definition: grmFullLambdaScheduleSegmenter.h:26
grm::Segmenter
Definition: grmSegmenter.h:27
grm::FullLambdaScheduleSegmenter::ComputeMergingCost
float ComputeMergingCost(NodePointerType n1, NodePointerType n2)
grm::FLSNode
Definition: grmFullLambdaScheduleSegmenter.h:24
grm::FullLambdaScheduleSegmenter::IOType
GraphToOtbImage< GraphType > IOType
Definition: grmFullLambdaScheduleSegmenter.h:41
grm::Segmenter< TImage, FLSNode, FLSParam >::NodePointerType
GraphOperatorType::NodePointerType NodePointerType
Definition: grmSegmenter.h:40
grm::FullLambdaScheduleSegmenter::InitFromImage
void InitFromImage()
grm::FullLambdaScheduleSegmenter::NodePointerType
Superclass::NodePointerType NodePointerType
Definition: grmFullLambdaScheduleSegmenter.h:39
grm::FullLambdaScheduleSegmenter::GraphType
Superclass::GraphType GraphType
Definition: grmFullLambdaScheduleSegmenter.h:38
grm::FullLambdaScheduleSegmenter::ImageType
TImage ImageType
Definition: grmFullLambdaScheduleSegmenter.h:37
grm::FLSParam
Definition: grmFullLambdaScheduleSegmenter.h:29
grm::Node
Definition: grmGraph.h:83
grm::FullLambdaScheduleSegmenter::Superclass
Segmenter< TImage, FLSNode, FLSParam > Superclass
Definition: grmFullLambdaScheduleSegmenter.h:36
grm::Graph< NodeType >
grm::FullLambdaScheduleSegmenter::UpdateSpecificAttributes
void UpdateSpecificAttributes(NodePointerType n1, NodePointerType n2)
grm::GraphOperations
Definition: grmGraphOperations.h:34
grm::FullLambdaScheduleSegmenter::GraphOperatorType
Superclass::GraphOperatorType GraphOperatorType
Definition: grmFullLambdaScheduleSegmenter.h:40