PANDORE Version 6 GREYC-IMAGE

psqrt



Computes square root of image or graph.



Synopsis

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

Description

psqrt computes the square root of the input im_in.

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

pixel(im_out)=sqrt(pixel(im_in))

The output image im_out is always a Float image.

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

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

Inputs

Outputs

Result

Returns SUCCESS or FAILURE.

Examples

   psqrt tangram.pan a.pan

See also

Arithmetic

C++ prototype

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

Version française

Racine carrée d'une image ou d'un graphe.


Author: Régis Clouard