Showing content from http://www.arrayfire.org/docs/group__image__func__inverse__deconv.htm below:
ArrayFire: inverseDeconv
Inverse Deconvolution. More...
Inverse Deconvolution.
Inverse deconvolution is an linear algorithm i.e. they are non-iterative in nature and usually faster than iterative deconvolution algorithms.
Depending on the values passed on to the enum af_inverse_deconv_algo, different equations are used to compute the final result.
Tikhonov's Deconvolution Method:
The update equation for this algorithm is as follows:
\[ \hat{I}_{\omega} = \frac{ I_{\omega} * P^{*}_{\omega} } { |P_{\omega}|^2 + \gamma } \]
where
- \( I_{\omega} \) is the observed(input/blurred) image in frequency domain
- \( P_{\omega} \) is the point spread function in frequency domain
- \( \gamma \) is a user defined regularization constant
Inverse deconvolution function excepts af::array of the following types only:
-
Note
-
The type of output af::array from deconvolution will be double if the input array type is double. Otherwise, it will be float in rest of the cases. Should the caller want to save the image to disk or require the values of output to be in a fixed range, that should be done by the caller explicitly.
◆ af_inverse_deconv()
C Interface for Tikhonov deconvolution algorithm.
-
Parameters
-
[out] out is the sharp estimate generated from the blurred input [in] in is the blurred input image [in] psf is the kernel(point spread function) known to have caused the blur in the system [in] gamma takes different meaning depending on the algorithm chosen. If
algo
is AF_INVERSE_DECONV_TIKHONOV, then gamma
is a user defined regularization constant. [in] algo takes value of type enum af_inverse_deconv_algo indicating the inverse deconvolution algorithm to be used
-
Returns
-
AF_SUCCESS if the deconvolution is successful, otherwise an appropriate error code is returned.
◆ inverseDeconv()
C++ Interface for Tikhonov deconvolution algorithm.
-
Parameters
-
[in] in is the blurred input image [in] psf is the kernel(point spread function) known to have caused the blur in the system [in] gamma is a user defined regularization constant [in] algo takes different meaning depending on the algorithm chosen. If
algo
is AF_INVERSE_DECONV_TIKHONOV, then gamma
is a user defined regularization constant.
-
Returns
-
sharp image estimate generated from the blurred input
RetroSearch is an open source project built by @garambo
| Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4