cv.jpex {DRIP} | R Documentation |
Bandwidth Selection and Noise Level Estimation
Description
cv.jpex() selects the leave-one-out cross validation (CV) bandwidth for LLK smoothing and estimates the noise level in the input image. Both the bandwidth parameter and the noise level are required inputs for the blind image deblurring procedure jpex().
Usage
cv.jpex(image, bandwidths, ncpus = 1)
Arguments
image |
A blurry image to deblurred |
bandwidths |
A vector of positive integers that specifies the size of the neighborhood for local smoothing. |
ncpus |
The number of CPUs allocated for parallel computing. |
Value
LLK |
The estimated surface by local linear kernel (LLK) smoothing, using the CV selected bandwidth. |
sigma |
The estimated noise level, defined as the square root of the mean squared error (MSE) between LLK and the input image. |
cv |
A vector of the same length as that of bandwidth. Each element in the vector is the leave-one-out CV error associated with the corresponding bandwidth parameter. |
bandwidth |
The bandwidth parameters input by user. |
band.min |
The bandwidth parameter that results in the smallest CV error. |
Author(s)
Yicheng Kang
References
Kang, Y. (2020) “Consistent Blind Image Deblurring Using Jump-Preserving Extrapolation”, Journal of Computational and Graphical Statistics, 29(2), 372 – 382.
See Also
Examples
library(DRIP)
data(stopsign)
out <- cv.jpex(stopsign, c(2,3))