PANDORE Version 6 | GREYC-IMAGE |
pshapedesign creates a new image from the specified dimensions (width, height, depth) with a synthetic shape. The parameter type determines the number of the shape type. The background is set to 0 and the shape is set to 255. Shapes are oriented vertically.
The center of the shape is center in the image. Height, width and depth of the shape are deduced from the diameter and the length parameters.
2D
3D
Returns SUCCESS or FAILURE.
Builds a synthetic image (a square) to illustrate the Gibbs phenomenon in wavelets analysis.
pshapedesign 256 256 0 2 150 150 a.pan pqmf daubechies 4 b.pan pdwt 1 a.pan b.pan c.pan psplitimage c.pan d1.pan d2.pan d3.pan d4.pan pthresholding 20 400 d2.pan e2.pan pthresholding 20 400 d3.pan e3.pan pthresholding 20 400 d4.pan e4.pan pmergeimages d1.pan e2.pan e3.pan e4.pan f.pan pidwt 1 f.pan b.pan out.pan
Création d'une image vierge ou avec une forme synthétique prédéfinie.
Author: Jean-Marie Janik