te::rp::SegmenterSegmentsBlock Class Reference

Segmenter segments block description class. More...

#include <SegmenterSegmentsBlock.h>

Public Types

enum  BlockStatus { BlockNotProcessed = 0, BlockUnderSegmentation = 1, BlockSegmented = 2 }
 
typedef unsigned int SegmentIdDataType
 

Public Member Functions

void clear ()
 
 SegmenterSegmentsBlock ()
 
 ~SegmenterSegmentsBlock ()
 

Public Attributes

std::vector< unsigned int > m_bottomCutOffProfile
 
unsigned int m_height
 
std::vector< unsigned int > m_leftCutOffProfile
 
std::vector< unsigned int > m_rightCutOffProfile
 
unsigned int m_segmentsMatrixXIndex
 
unsigned int m_segmentsMatrixYIndex
 
unsigned int m_startX
 
unsigned int m_startY
 
BlockStatus m_status
 
std::vector< unsigned int > m_topCutOffProfile
 
unsigned int m_width
 

Protected Member Functions

const SegmenterSegmentsBlockoperator= (const SegmenterSegmentsBlock &)
 
 SegmenterSegmentsBlock (const SegmenterSegmentsBlock &)
 

Detailed Description

Segmenter segments block description class.

Definition at line 41 of file SegmenterSegmentsBlock.h.

Member Typedef Documentation

Segment ID data type definition - (zero: means invalid ID)

Definition at line 57 of file SegmenterSegmentsBlock.h.

Member Enumeration Documentation

Block status flag.

Enumerator
BlockNotProcessed 

This block was not processed yet

BlockUnderSegmentation 

This block is under segmentation

BlockSegmented 

This block already was segmented

Definition at line 46 of file SegmenterSegmentsBlock.h.

Constructor & Destructor Documentation

te::rp::SegmenterSegmentsBlock::SegmenterSegmentsBlock ( )
te::rp::SegmenterSegmentsBlock::~SegmenterSegmentsBlock ( )
te::rp::SegmenterSegmentsBlock::SegmenterSegmentsBlock ( const SegmenterSegmentsBlock )
protected

Member Function Documentation

void te::rp::SegmenterSegmentsBlock::clear ( )

Clear all internal data

const SegmenterSegmentsBlock& te::rp::SegmenterSegmentsBlock::operator= ( const SegmenterSegmentsBlock )
protected

Member Data Documentation

std::vector< unsigned int > te::rp::SegmenterSegmentsBlock::m_bottomCutOffProfile

Bottom cut off profile - a vector of block line number (all pixels below this line must be ignored - the size of this vector is m_width - default:empty vector

Definition at line 86 of file SegmenterSegmentsBlock.h.

unsigned int te::rp::SegmenterSegmentsBlock::m_height

Block height - default:0

Definition at line 72 of file SegmenterSegmentsBlock.h.

std::vector< unsigned int > te::rp::SegmenterSegmentsBlock::m_leftCutOffProfile

Left cut off profile - a vector of block column numbers (all pixels to the left of this line must be ignored - the size of this vector is m_height - default:empty vector

Definition at line 90 of file SegmenterSegmentsBlock.h.

std::vector< unsigned int > te::rp::SegmenterSegmentsBlock::m_rightCutOffProfile

Right cut off profile - a vector of block column numbers (all pixels to the right of this line must be ignored - the size of this vector is m_height - default:empty vector

Definition at line 94 of file SegmenterSegmentsBlock.h.

unsigned int te::rp::SegmenterSegmentsBlock::m_segmentsMatrixXIndex

Block X index inside the segments matrix - default:0

Definition at line 75 of file SegmenterSegmentsBlock.h.

unsigned int te::rp::SegmenterSegmentsBlock::m_segmentsMatrixYIndex

Block Y index inside the segments matrix - default:0

Definition at line 78 of file SegmenterSegmentsBlock.h.

unsigned int te::rp::SegmenterSegmentsBlock::m_startX

Block upper left X over input full image - default:UINT_MAX

Definition at line 63 of file SegmenterSegmentsBlock.h.

unsigned int te::rp::SegmenterSegmentsBlock::m_startY

Block upper left Y over input full image - default:UINT_MAX

Definition at line 66 of file SegmenterSegmentsBlock.h.

BlockStatus te::rp::SegmenterSegmentsBlock::m_status

Block status - default:BlockNotProcessed

Definition at line 60 of file SegmenterSegmentsBlock.h.

std::vector< unsigned int > te::rp::SegmenterSegmentsBlock::m_topCutOffProfile

Top cut off profile - a vector of block line numbers (all pixels above this line must be ignored - the size of this vector is m_width - default:empty vector

Definition at line 82 of file SegmenterSegmentsBlock.h.

unsigned int te::rp::SegmenterSegmentsBlock::m_width

Block width - default:0

Definition at line 69 of file SegmenterSegmentsBlock.h.


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