|
FZGPUModules 2.0
GPU-accelerated modular compression pipelines
|
Reconstruction quality metrics (MSE, PSNR, max error, NRMSE). More...
#include <cstddef>Go to the source code of this file.
Classes | |
| struct | fz::ReconstructionStats |
Functions | |
| template<typename T > | |
| ReconstructionStats | fz::calculateStatistics (const T *d_original, const T *d_decompressed, size_t n) |
Reconstruction quality metrics (MSE, PSNR, max error, NRMSE).
| ReconstructionStats fz::calculateStatistics | ( | const T * | d_original, |
| const T * | d_decompressed, | ||
| size_t | n | ||
| ) |
Compute reconstruction statistics between two device arrays.
| d_original | Device pointer to original data. |
| d_decompressed | Device pointer to reconstructed data. |
| n | Number of elements. |