Skip to main content

nnls

Function nnls 

Source
pub fn nnls(
    image: &DynamicImage,
    psf: &Kernel2D,
) -> Result<(DynamicImage, SolveReport)>
Expand description

Restore an image with non-negative least squares and default settings.

ยงErrors

Returns an error for invalid PSFs, empty or non-finite image data, invalid solver parameters, or non-convergent operator norm estimation.