lsgrmBaatzSegmenter.h 821 Bytes
Newer Older
1 2
#ifndef __LSGRM_BAATZ_SEGMENTER_H
#define __LSGRM_BAATZ_SEGMENTER_H
remicres's avatar
remicres committed
3
#include "lsgrmSegmenter.h"
4
#include "grmBaatzSegmenter.h"
5

remicres's avatar
remicres committed
6
namespace lsgrm
7 8
{

9 10 11 12 13 14 15 16 17 18 19
template<class TImage>
class BaatzSegmenter : public Segmenter<grm::BaatzSegmenter<TImage> >
{
public:

  /* Some convenient typedefs */
  typedef grm::BaatzSegmenter<TImage> Superclass;
  typedef typename Superclass::NodeType NodeType;
  typedef typename Superclass::EdgeType EdgeType;
  typedef typename Superclass::NodePointerType NodePointerType;

20

21
  BaatzSegmenter(){};
22

23 24
  void WriteSpecificAttributes(NodePointerType node, FILE * nodeStream);
  void ReadSpecificAttributes(NodePointerType node, FILE * nodeStream);
25
  long long unsigned int GetSpecificAttributesMemory(NodePointerType &node);
26
};
27 28

} // end of namespace lsrm
29
#include "lsgrmBaatzSegmenter.txx"
30 31 32 33
#endif