PANDORE Version 6 GREYC-IMAGE

psedesign



Designs structuring element as image.



Synopsis

psedesign num_se halfsize [im_out|-]

Description

psedesign allows to generate a structuring element as a new image.

The structuring element is designed from the type num_se and the size halfsize. For example, a halfsize of 1 for a num_se=3 gives a structuring element of type disc with size 3x3.

It is possible to create a structurant element with other shape from its specification in a text file (see ptxt2pan).

These structuring elements can then be used by the operators pseerosion and psedilation.

Parameters

Outputs

Result

Returns SUCCESS or FAILURE.

Examples

See also

Morphology, psedilation, pseerosion, ptxt2pan

C++ prototype

Img2duc* PSEDesign( int numse, int halfsize );

Author: Régis Clouard