Go to the source code of this file.
|
| namespace | ug |
| | the ug namespace
|
| |
|
| template<class T > |
| void | ug::BlurField (Field< T > &field, number alpha, size_t numIterations, const T &noDataValue) |
| | Smoothens the field by adjusting the value of each pixel towards the average of its neighbours.
|
| |
| void | ug::CreateGridFromField (Grid &grid, const Field< number > &field, const vector2 &cellSize, const vector2 &offset, number noDataValue, Grid::VertexAttachmentAccessor< APosition > aaPos) |
| |
| void | ug::CreateGridFromFieldBoundary (Grid &grid, const Field< number > &field, const vector2 &cellSize, const vector2 &offset, number noDataValue, Grid::VertexAttachmentAccessor< APosition > aaPos) |
| |
| template<class T > |
| bool | ug::EliminateInvalidCells (Field< T > &field, const T &noDataValue) |
| | eliminates invalid cells by repeatedly filling those cells with averages of neighboring cells
|
| |
| template<class T > |
| void | ug::InvalidateSmallLenses (Field< T > &field, size_t thresholdCellCount, const T &noDataValue) |
| | invalidates cells that belong to a small lense
|
| |