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