PANDORE Version 6 GREYC-IMAGE

pexp



Computes exponential of image or graph.



Synopsis

pexp [-m mask] [im_in|-] [im_out|-]

Description

pexp computes the exponential of the input im_in.

If im_in is an image then the new image im_out is built with the exponential of each pixel:

pixel(im_out)=exp(pixel(im_in))

The output image is a always a Float image.

For color or multispectral image, the exponential is computed separately on each band.

If im_in is a graph then the new graph im_out is built with the exponential of each node value.

Inputs

Outputs

Result

Returns SUCCESS or FAILURE.

Examples

Computes the exponential of the image tangram.pan :

   pexp tangram.pan a.pan

See also

Arithmetic

C++ prototype

Errc PExp( const Img2duc &im_in, Img2duc &im_out );

Version française

Exponentiel d'une image ou d'un graphe.


Author: Régis Clouard