18 #ifndef GRM_GRAPH_TO_OTBIMAGE_H
19 #define GRM_GRAPH_TO_OTBIMAGE_H
20 #include <itkRGBPixel.h>
21 #include <itkImageRegion.h>
34 template<
class TGraph>
42 typedef std::vector< std::shared_ptr<NodeType> >
NodeList;
52 const unsigned int width,
53 const unsigned int height);
56 const unsigned int width,
57 const unsigned int height);
61 #include "grmGraphToOtbImage.txx"
GraphType::NodeType NodeType
std::vector< std::shared_ptr< NodeType > > NodeList
otb::Image< LabelPixelType, 2 > LabelImageType
NodeList::const_iterator NodeConstIterator
LabelImageType::Pointer GetLabelImage(const GraphType &graph, const unsigned int width, const unsigned int height)
unsigned int LabelPixelType
otb::VectorImage< ClusterPixelType, 2 > ClusteredImageType
unsigned char ClusterPixelType
ClusteredImageType::Pointer GetClusteredOutput(const GraphType &graph, const unsigned int width, const unsigned int height)
Creation of an "otb" image which contains metadata.
itk::SmartPointer< Self > Pointer
Creation of an "otb" vector image which contains metadata.
itk::SmartPointer< Self > Pointer