DATAMANIP (kdatamanip) functions


LIBRARY ROUTINE

lkinverse - perform inverse filtering (restoration) in Fourier frequency domain

LIBRARY CALL

int lkinverse(kobject in_obj, kobject psf_obj, double thresh, kobject out_obj)

INPUT

OUTPUT

RETURN VALUE

TRUE (1) on success, FALSE (0) otherwise

DESCRIPTION

Perform restoration of data in the spatial domain by inverse filtering in the frequency domain. The idea is to deconvolve the blurring function from the blurred data. A few problems exist in performing this operation, as described in great detail in any good image processing book.

The major difficulty lies in how small the denominator is allowed to be before you call it garbage. The value chosen is supplied as the thresh argument, which is assumed to be the minimum magnitude that will allow the restoration calculation to be performed using the supplied PSF FFT at a particular frequency. PSF frequencies will lesser magnitudes will cause the restored data at that frequency to be set to zero.

ADDITIONAL INFORMATION

none

EXAMPLES

none

SIDE EFFECTS

none

RESTRICTIONS

Restrictions on data or input as applicable

MODIFICATION

none

FILES

$DATAMANIP/objects/library/kdatamanip/src/lkinverse.c

SEE ALSO

kdatamanip(3)

COPYRIGHT

Copyright (C) 1993 - 1997, Khoral Research, Inc. ("KRI") All rights reserved.