bool OEMaskGrid(GridType1 &outgrid, const GridType2 &mask_grid, unsigned int type=OEGridMaskType::Default)