Function iaifftshift

namespace:ia636
page:iaifftshift

Synopse

Undoes the effects of iafftshift.

  • HS = iaifftshift(H)
    • HS: Image.
    • H: Image. DFT image with (0,0) in the center.
1. from numpy import *
2. 
3. def iaifftshift(H):
4.     from iaptrans import iaptrans
5. 
6.     HS = iaptrans(H, ceil(-array(shape(H))/2).astype(int))
7.     return HS

Examples

1. pass

Equation

See Also

  • iafftshift - Shifts zero-frequency component to center of spectrum.
  • iaptrans - Periodic translation.