public class PSNR extends Object
| Constructor and Description |
|---|
PSNR() |
| Modifier and Type | Method and Description |
|---|---|
static <T extends net.imglib2.type.numeric.RealType<T>> |
computeMetrics(net.imglib2.RandomAccessibleInterval<T> reference,
net.imglib2.RandomAccessibleInterval<T> processed)
Compute the peak signal-to-noise ratio (PSNR) score between reference and processed images.
|
public static <T extends net.imglib2.type.numeric.RealType<T>> double computeMetrics(net.imglib2.RandomAccessibleInterval<T> reference, net.imglib2.RandomAccessibleInterval<T> processed)
T - Type of the image pixelsreference - Reference imageprocessed - Processed imageCopyright © 2009–2026 ImgLib2. All rights reserved.