10 virtual void print(
int ident);
11 virtual void apply(std::vector<std::shared_ptr<Base> >& bfuncs);
26 std::vector<bool> pixels,
unsigned int height,
unsigned int width);
29 const std::vector<bool>& pixels,
unsigned int height,
unsigned int width)
const;
34 const std::vector<bool>& pixels, std::vector<unsigned int>& cache,
35 unsigned int y)
const;
std::string::iterator iterator
virtual void apply(std::vector< std::shared_ptr< Base > > &bfuncs)
virtual void print(int ident)
std::vector< IntPixel_t > minimizeNumberOfRectangles(std::vector< bool > pixels, unsigned int height, unsigned int width)
std::pair< IntPoint, IntPoint > findMaximalRectangle(const std::vector< bool > &pixels, unsigned int height, unsigned int width) const
static bool parse_detail(iterator &it, const iterator &end, Function *&fun)
unsigned int computeArea(const IntPoint &ll, const IntPoint &ur) const
std::pair< IntPoint, IntPoint > IntPixel_t
void updateCache(const std::vector< bool > &pixels, std::vector< unsigned int > &cache, unsigned int y) const
std::vector< Rectangle > pixels_m