PANDORE Version 6 | GREYC-IMAGE |
ppow computes the nth power of the input im_in.
If im_in is an image then the new image im_out is built with the power of each pixel:
pixel(im_out)=pow(pixel(im_in),n)
The output image im_out is always a Float image.
For color or multispectral image, the power is computed separately on each band.
If im_in is a graph then the new graph im_out is built with the nth power of each node value.
Returns SUCCESS or FAILURE.
Computes the power 2 of the tangram.pan image.
ppow 2 tangram.pan a.pan
Puissance nième d'une image ou d'un graphe.
Author: Régis Clouard