Select the leave-one-out cross validation bandwidth for local
linear kernel 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
.
cv.jpex(image, bandwidths, ncpus = 1)
The estimated surface by local linear kernel (LLK) smoothing, using the CV selected bandwidth.
The estimated noise level, defined as the square root of the mean squared error (MSE) between LLK and the input image.
A vector of the same length as that of the input bandwidths. Each element in the vector is the leave-one-out CV score associated with the corresponding bandwidth value.
The bandwidth parameters input by user.
The bandwidth parameter that results in the smallest CV score.
A blurry input image.
A vector of positive integers that specify the size of the neighborhood for local smoothing.
The number of CPUs allocated for parallel computing.
Yicheng Kang
Kang, Y. (2020) ``Consistent Blind Image Deblurring Using Jump-Preserving Extrapolation'', Journal of Computational and Graphical Statistics, 29(2), 372 -- 382, tools:::Rd_expr_doi("10.1080/10618600.2019.1665536").
jpex
library(DRIP)
data(stopsign)
out <- cv.jpex(stopsign, c(2,3))
Run the code above in your browser using DataLab