window

[ XITE Reference Manual | XITE home ]

Name

window - Make a BIFF image containing a window function

Syntax

window [<option>...] <outimage>

Description

Make a BIFF image containing a circularly symmetric window function.

The window is returned with its center in the center of the image. To be applied to an image-domain filter, make sure that also the filter-function is centered around the image center. If the filter-function is centered around an image corner, the window must be shifted before it can be applied.

Options

-w type
Specifies the window type. Legal values are
"r" or 0
Circularly symmetric rectangular window.
"b" or 1
Circularly symmetric Bartlett window.
"hm" or 2
Circularly symmetric Hamming window.
"hn" or 3
Circularly symmetric Hanning window.
"t" or 4
Circularly symmetric triangular window.
Default: Hamming window.
-x xsize
Horizontal size of output image. Default: 512.
-y ysize
Vertical size of output image. Default: 512.
-s window_size
Diameter of window function. Default: xsize/2.
-t title
Title of image. Default: "Window".

See also

window(3), bartlett(3), lowpass(1)

Author

Svein Bøe, Blab, Ifi, UiO

Id

$Id: window.c,v 1.21 1997/05/27 13:23:15 svein Exp $