Functions | |
void | gstlrn::morpho_distance (Id option, const 1 &radius, bool flagDistErode, BImage &imagin, 1 &dist, bool verbose=false) |
gstlrn::gridcell_neigh (Id ndim, Id option, Id radius, bool flag_center=true, bool verbose=false) | |
imagin | Pointer to the BImage containing the one input image |
option | Description of the structuring element: 1 for BLOCK and 0 for CROSS (see remarks for more information) |
radius | Vector giving the extensions of the structuring element along each direction of the Space. |
flagDistErode | Inflate the grain; 0 Reduce the grain |
dist | Contains the vector of returned distances |
iptr0 | UID where the angle calculation will be calculated |
flag_center | True to omit the center |
verbose | Verbose flag |
Create the array of index shifts (relatively to the center cell) for a dilation by 'radius' of a regular grid