PANDORE Version 6 | GREYC-IMAGE |
pphase computes the phase between 2 images considered as a unique complex image.
The phase between 2 images is calculated as follows:
pixel(im_out) = atan(pixel(im_in2) / pixel(im_in1))
Returns SUCCESS or FAILURE.
Converts an image of a square from the spatial domain to the frequency domain and reciprocally:
pshapedesign 256 256 0 2 20 0 square.pan pshapedesign 256 256 0 0 0 0 empty.pan pfft square.pan empty.pan real.pan imaginary.pan pmodulus real.pan imaginary.pan modulus.pan pphase real.pan imaginary.pan phase.pan pifft real.pan imaginary.pan square1.pan empty1.pan plineartransform 0 0 255 square1.pan square2.pan pim2uc square2.pan newsquare.pan
Calcul de la phase entre deux images.
Author: Régis Clouard