iLand
|
#include "global.h"
#include "stamp.h"
#include "grid.h"
#include "stampcontainer.h"
#include "helper.h"
Functions | |
Stamp * | stampFromGrid (const FloatGrid &grid, const int width) |
create a stamp from a FloatGrid with any size More... | |
create a stamp from a FloatGrid with any size
grid | source grid. It is assumed the actual stamp data is around the center point and the grid has an uneven size (e.g 13x13 or 25x25) |
width | number of pixels that should actually be used. e.g: grid 25x25, width=7 -> data is located from 9/9 to 16/16 (12+-3) |