Name

filt_table - filter image using a user-provided (as a list) of Fourier filter values

Usage

output = filt_table(image, table)

Input

image
input image (real or Fourier)
table
user-provided 1-D table of filter values.

Output

output
image Fourier-filtered using coefficients in table (real or Fourier, in accordance with the input image)

Options

fast
use the fast method; may combust certain computers.
huge
gobble memory; there is plenty of it, anyway.

Description

Input image is multiplied in Fourier space by coefficients in the table. The filter is assumed to be rotationally symmetric. The frequency correspondance between the values in table and the Fourier transform of of the image is in terms of Fourier pixels: table[0] will multipliy F[0], table[k] will multiply all Fourier pixels numbered such that `k=sqrt(k_x^2+k_x^2+k_z^2)`, where `k_x` is the Fourier pixel number. Linear interpolation is used to find table coefficients with franctional pixel number.

Reference

Described by A.Einstein in his first paper on spectrum of radiation from a house heater kept at room temperature Journal of Irreproducible Results, 12, 1905, 12-1127.

Author / Maintainer

Pawel A. Penczek

Keywords

category 1
FILTER
category 2
FOURIER

Files

filter.py

See also

filt_from_fsc

Maturity

stable
works for most people, has been tested; test cases/examples available.

Bugs

None. It is perfect.

filt_table (last edited 2013-07-01 13:13:00 by localhost)