STIRA
0.1
|
finds maximal rectangles contained in an object Maximal means that the rectangle can not be in its whole part of a larger rectangle Algorithm is from http://www.montefiore.ulg.ac.be/~pierard/rectangles/ More...
#include <FindMaximalIncludedRectangles.h>
Public Member Functions | |
FindMaximalIncludedRectangles () | |
constructor | |
Static Public Member Functions | |
static std::vector< common::RectangularROI< int > > | Run (ArrayGrid< bool > *pObjectGrid) |
finds contained maximum rectangles contained in boolean object More... | |
static histogram::IntHistogram | CreateRectangleHistogram (std::vector< common::RectangularROI< int > > vRectangle, rectangleMeasure myMeasure=MEASURE_AREA, bool isCumulative=true) |
finds maximal rectangles contained in an object Maximal means that the rectangle can not be in its whole part of a larger rectangle Algorithm is from http://www.montefiore.ulg.ac.be/~pierard/rectangles/
|
static |
finds contained maximum rectangles contained in boolean object
pObjectGrid | input boolean grid |
References stira::histogram::HistogramMaster< T >::AddDataPoint(), stira::histogram::IntHistogram::ConvertInCumulativeHistogram(), stira::imagedata::ArrayGrid< T >::GetHeight(), stira::imagedata::ArrayGrid< T >::GetValue(), and stira::imagedata::ArrayGrid< T >::GetWidth().