Beatmup
|
Region filling kernel implementing flood fill starting from a given seed. More...
#include <region_filling.h>
Public Types | |
typedef in_t::pixtype::operating_type | inpixvaltype |
Static Public Member Functions | |
static void | process (AbstractBitmap &input, AbstractBitmap &output, IntPoint maskOffset, IntPoint seed, inpixvaltype tolerance, std::vector< IntPoint > &border, IntRectangle &bounds) |
Fills a region in an output bitmap starting from a given position in an input bitmap. More... | |
Region filling kernel implementing flood fill starting from a given seed.
Definition at line 31 of file region_filling.h.
typedef in_t::pixtype::operating_type Kernels::FillRegion< in_t, out_t >::inpixvaltype |
Definition at line 33 of file region_filling.h.
|
inlinestatic |
Fills a region in an output bitmap starting from a given position in an input bitmap.
input | Input bitmap reader |
output | Output mask writer |
maskOffset | Mask position in the bitmap |
seed | Entry point |
tolerance | Tolerance level: how much a pixel has to be different from seed to not to be filled |
border | A vector to put border points to for further processing |
bounds | Bounding box of the filled region; the input value is updated but not reset |
Definition at line 44 of file region_filling.h.