|
OTB
9.0.0
Orfeo Toolbox
|
Go to the documentation of this file.
18 #ifndef GRM_GRAPH_OPERATIONS_H
19 #define GRM_GRAPH_OPERATIONS_H
33 template<
class TSegmenter>
40 typedef typename SegmenterType::ImageType
ImageType;
41 typedef typename SegmenterType::GraphType
GraphType;
45 typedef typename GraphType::NodeListType
NodeList;
48 typedef typename GraphType::EdgeListType
EdgeList;
145 const unsigned int width);
205 #include "grmGraphOperations.txx"
GraphType::EdgeIteratorType EdgeIterator
GraphType::NodePointerType NodePointerType
static NodePointerType CheckBF(NodePointerType a, float t)
GraphType::EdgeConstIteratorType EdgeConstIterator
static void InitNodes(ImageType *inputImg, SegmenterType &seg, CONNECTIVITY mask)
static void ComputeMergingCostsUsingDither(NodePointerType r, SegmenterType &seg)
GraphType::NodeIteratorType NodeIterator
GraphType::NodeConstIteratorType NodeConstIterator
static bool PerfomAllDitheredIterationsWithBF(SegmenterType &seg)
GraphType::EdgeType EdgeType
static void UpdateNeighbors(NodePointerType a, NodePointerType b)
static void UpdateMergingCosts(SegmenterType &seg)
GraphType::NodeType NodeType
static void RemoveExpiredNodes(GraphType &graph)
static bool PerfomOneIterationWithLMBF(SegmenterType &seg)
static NodePointerType CheckLMBF(NodePointerType, float t)
SegmenterType::GraphType GraphType
static void UpdateInternalAttributes(NodePointerType a, NodePointerType b, const unsigned int width)
SegmenterType::ImageType ImageType
static bool PerfomAllIterationsWithLMBFAndConstThreshold(SegmenterType &seg)
GraphType::EdgeListType EdgeList
static EdgeIterator FindEdge(NodePointerType n, NodePointerType target)
GraphType::NodeListType NodeList
static bool PerfomOneDitheredIterationWithBF(SegmenterType &seg)