oa::image::psnr
Peak signal-to-noise ratio per image plane in decibels, following cv::PSNR: 10 * log10(peak^2 / mse) through a serial per-plane reduction, +inf when the planes match exactly. The result Matrix carries the image’s leading plane dimensions. Errors Returns an error unless both images are nonempty FP32 NCHW/CHW images with identical shape, layout, and format and peak_value is finite and positive.
Function Documentation
Peak signal-to-noise ratio per image plane in decibels, following cv::PSNR: 10 * log10(peak^2 / mse) through a serial per-plane reduction, +inf when the planes match exactly. The result Matrix carries the image’s leading plane dimensions. Errors Returns an error unless both images are nonempty FP32 NCHW/CHW images with identical shape, layout, and format and peak_value is finite and positive.