OTB  9.0.0
Orfeo Toolbox
Public Types | Public Member Functions | List of all members
grm::GraphToOtbImage< TGraph > Class Template Reference

#include <grmGraphToOtbImage.h>

Public Types

typedef otb::VectorImage< ClusterPixelType, 2 > ClusteredImageType
 
typedef unsigned char ClusterPixelType
 
using ContourOperator = lp::ContourOperations
 
typedef TGraph GraphType
 
typedef otb::Image< LabelPixelType, 2 > LabelImageType
 
typedef unsigned int LabelPixelType
 
typedef NodeList::const_iterator NodeConstIterator
 
typedef std::vector< std::shared_ptr< NodeType > > NodeList
 
typedef GraphType::NodeType NodeType
 

Public Member Functions

ClusteredImageType::Pointer GetClusteredOutput (const GraphType &graph, const unsigned int width, const unsigned int height)
 
LabelImageType::Pointer GetLabelImage (const GraphType &graph, const unsigned int width, const unsigned int height)
 

Detailed Description

template<class TGraph>
class grm::GraphToOtbImage< TGraph >

Definition at line 35 of file grmGraphToOtbImage.h.

Member Typedef Documentation

◆ ClusteredImageType

template<class TGraph >
typedef otb::VectorImage<ClusterPixelType, 2> grm::GraphToOtbImage< TGraph >::ClusteredImageType

Definition at line 47 of file grmGraphToOtbImage.h.

◆ ClusterPixelType

template<class TGraph >
typedef unsigned char grm::GraphToOtbImage< TGraph >::ClusterPixelType

Definition at line 46 of file grmGraphToOtbImage.h.

◆ ContourOperator

template<class TGraph >
using grm::GraphToOtbImage< TGraph >::ContourOperator = lp::ContourOperations

Definition at line 48 of file grmGraphToOtbImage.h.

◆ GraphType

template<class TGraph >
typedef TGraph grm::GraphToOtbImage< TGraph >::GraphType

Definition at line 40 of file grmGraphToOtbImage.h.

◆ LabelImageType

template<class TGraph >
typedef otb::Image<LabelPixelType, 2> grm::GraphToOtbImage< TGraph >::LabelImageType

Definition at line 45 of file grmGraphToOtbImage.h.

◆ LabelPixelType

template<class TGraph >
typedef unsigned int grm::GraphToOtbImage< TGraph >::LabelPixelType

Definition at line 44 of file grmGraphToOtbImage.h.

◆ NodeConstIterator

template<class TGraph >
typedef NodeList::const_iterator grm::GraphToOtbImage< TGraph >::NodeConstIterator

Definition at line 43 of file grmGraphToOtbImage.h.

◆ NodeList

template<class TGraph >
typedef std::vector< std::shared_ptr<NodeType> > grm::GraphToOtbImage< TGraph >::NodeList

Definition at line 42 of file grmGraphToOtbImage.h.

◆ NodeType

template<class TGraph >
typedef GraphType::NodeType grm::GraphToOtbImage< TGraph >::NodeType

Definition at line 41 of file grmGraphToOtbImage.h.

Member Function Documentation

◆ GetClusteredOutput()

template<class TGraph >
ClusteredImageType::Pointer grm::GraphToOtbImage< TGraph >::GetClusteredOutput ( const GraphType graph,
const unsigned int  width,
const unsigned int  height 
)

◆ GetLabelImage()

template<class TGraph >
LabelImageType::Pointer grm::GraphToOtbImage< TGraph >::GetLabelImage ( const GraphType graph,
const unsigned int  width,
const unsigned int  height 
)

The documentation for this class was generated from the following file: