[iafftshift] [Up] [iahaarmatrix] Image Transformation

iaifftshift
Undoes the effects of iafftshift.

Synopsis

HS = iaifftshift( H )

Implemented in Python.

Input

H Image. Gray-scale (uint8 or uint16) or binary image (logical).

DFT image with (0,0) in the center.

Output

HS Image. Gray-scale (uint8 or uint16) or binary image (logical).

DFT image with (0,0) in the top-left corner.

Equation

Source Code

def iaifftshift(H):
    from Numeric import ceil, array, shape
    HS = iaptrans(H, ceil(-array(shape(H))/2))
    return HS
    

See also

iafftshift Shifts zero-frequency component to center of spectrum.
iaptrans Periodic translation.
[iafftshift] [Up] [iahaarmatrix] http://www.python.org