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 SegmenterSegmentsBlock & | operator= (const SegmenterSegmentsBlock &) | 
| SegmenterSegmentsBlock (const SegmenterSegmentsBlock &) | |
Segmenter segments block description class.
Definition at line 41 of file SegmenterSegmentsBlock.h.
| typedef unsigned int te::rp::SegmenterSegmentsBlock::SegmentIdDataType | 
Segment ID data type definition - (zero: means invalid ID)
Definition at line 57 of file SegmenterSegmentsBlock.h.
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.
| te::rp::SegmenterSegmentsBlock::SegmenterSegmentsBlock | ( | ) | 
Definition at line 10 of file SegmenterSegmentsBlock.cpp.
References clear().
| te::rp::SegmenterSegmentsBlock::~SegmenterSegmentsBlock | ( | ) | 
Definition at line 22 of file SegmenterSegmentsBlock.cpp.
References clear().
      
  | 
  protected | 
Definition at line 15 of file SegmenterSegmentsBlock.cpp.
References clear().
| void te::rp::SegmenterSegmentsBlock::clear | ( | ) | 
Clear all internal data
Definition at line 27 of file SegmenterSegmentsBlock.cpp.
References BlockNotProcessed, m_bottomCutOffProfile, m_height, m_leftCutOffProfile, m_rightCutOffProfile, m_segmentsMatrixXIndex, m_segmentsMatrixYIndex, m_startX, m_startY, m_status, m_topCutOffProfile, and m_width.
Referenced by SegmenterSegmentsBlock(), and ~SegmenterSegmentsBlock().
      
  | 
  protected | 
Definition at line 40 of file SegmenterSegmentsBlock.cpp.
| 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.
Referenced by clear(), te::rp::Segmenter::execute(), te::rp::SegmenterRegionGrowingStrategy::initializeSegments(), and te::rp::Segmenter::updateBlockCutOffProfiles().
| unsigned int te::rp::SegmenterSegmentsBlock::m_height | 
Block height - default:0
Definition at line 72 of file SegmenterSegmentsBlock.h.
Referenced by clear(), te::rp::Segmenter::execute(), te::rp::SegmenterRegionGrowingStrategy::initializeSegments(), and te::rp::Segmenter::updateBlockCutOffProfiles().
| 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.
Referenced by clear(), te::rp::Segmenter::execute(), te::rp::SegmenterRegionGrowingStrategy::initializeSegments(), and te::rp::Segmenter::updateBlockCutOffProfiles().
| 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.
Referenced by clear(), te::rp::Segmenter::execute(), te::rp::SegmenterRegionGrowingStrategy::initializeSegments(), and te::rp::Segmenter::updateBlockCutOffProfiles().
| unsigned int te::rp::SegmenterSegmentsBlock::m_segmentsMatrixXIndex | 
Block X index inside the segments matrix - default:0
Definition at line 75 of file SegmenterSegmentsBlock.h.
Referenced by clear(), te::rp::Segmenter::execute(), and te::rp::Segmenter::updateBlockCutOffProfiles().
| unsigned int te::rp::SegmenterSegmentsBlock::m_segmentsMatrixYIndex | 
Block Y index inside the segments matrix - default:0
Definition at line 78 of file SegmenterSegmentsBlock.h.
Referenced by clear(), te::rp::Segmenter::execute(), and te::rp::Segmenter::updateBlockCutOffProfiles().
| 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.
Referenced by clear(), te::rp::Segmenter::execute(), te::rp::SegmenterRegionGrowingStrategy::initializeSegments(), and te::rp::Segmenter::updateBlockCutOffProfiles().
| 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.
Referenced by clear(), te::rp::Segmenter::execute(), te::rp::SegmenterRegionGrowingStrategy::initializeSegments(), and te::rp::Segmenter::updateBlockCutOffProfiles().
| BlockStatus te::rp::SegmenterSegmentsBlock::m_status | 
Block status - default:BlockNotProcessed
Definition at line 60 of file SegmenterSegmentsBlock.h.
Referenced by clear(), te::rp::Segmenter::execute(), and te::rp::Segmenter::segmenterThreadEntry().
| 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.
Referenced by clear(), te::rp::Segmenter::execute(), te::rp::SegmenterRegionGrowingStrategy::initializeSegments(), and te::rp::Segmenter::updateBlockCutOffProfiles().
| unsigned int te::rp::SegmenterSegmentsBlock::m_width | 
Block width - default:0
Definition at line 69 of file SegmenterSegmentsBlock.h.
Referenced by clear(), te::rp::Segmenter::execute(), te::rp::SegmenterRegionGrowingStrategy::initializeSegments(), and te::rp::Segmenter::updateBlockCutOffProfiles().