PANDORE Version 6 GREYC-IMAGE

pplot1d



Renders a plot of a 1D function as a 2D color image.



Synopsis

pplot1d dimx dimy type ymin ymax [im_in|-] [im_out|-]

Description

pplot1d draws the representation of a 1D function as a 2D image. Parameters dimx and dimy specify the output image dimension.

The representation can take several forms according to the parameter type.

Parameters

Inputs

Outputs

Result

Returns SUCCESS or FAILURE.

Examples

Displays the histogram of the tangram.pan image as a 1D function:

   phistogram tangram.pan a.pan
   pplot1d 512 256 0 0 0 a.pan b.pan
   pvisu b.pan

See also

Visualization

C++ prototype

Errc PPlot1d( const Img1d &ims, Imc2duc &imd, Uchar type,Float ymin, Float ymax );

Version française

Construction d'une image 2D à partir d'une fonction 1D.

Inportant notice

The source code of this Pandore operator is governed by a specific Free-Software License (the CeCiLL License), also applying to the CImg Library. Please read it carefully, if you want to use this module in your own project (file CImg.h).

IN PARTICULAR, YOU ARE NOT ALLOWED TO USE THIS PANDORE MODULE IN A CLOSED-SOURCE PROPRIETARY PROJECT WITHOUT ASKING AN AUTHORIZATION TO THE CIMG LIBRARY AUTHOR ( http://www.greyc.ensicaen.fr/~dtschump/ )


Author: D. Tschumperlé