Pink 0.9

complex_modulus.c File Reference

pixelwise modulus of complex More...


Detailed Description

pixelwise modulus of complex

Usage: complex_modulus in.pgm out.pgm

Description: Applies to complex images only. For each pixel p, out[p] = modulus(in[p]), where modulus(x+iy) = sqrt(x^2 + y^2).

Types supported: complex 2d, complex 3d

Category: arith

Author:
Michel Couprie