Gamma Result

namespace yagit
class GammaResult : public yagit::ImageData

Container storing gamma index values.

Public Functions

double passingRate() const

The percentage of elements that are less than or equal to 1. It ignores NaN values.

value_type minGamma() const

Minimum value of gamma index. It ignores NaN values.

value_type maxGamma() const

Maximum value of gamma index. It ignores NaN values.

double sumGamma() const

Sum of values of gamma index. It ignores NaN values.

double meanGamma() const

Mean of values of gamma index. It ignores NaN values.

double varGamma() const

Variance of values of gamma index. It ignores NaN values.

ImageData()
template<typename U>
ImageData(const std::vector<U> &data, const DataSize &size, const DataOffset &offset, const DataSpacing &spacing)
ImageData(const Image2D &image2d, const DataOffset &offset, const DataSpacing &spacing)
ImageData(const Image3D &image3d, const DataOffset &offset, const DataSpacing &spacing)
ImageData(std::vector<value_type> &&data, const DataSize &size, const DataOffset &offset, const DataSpacing &spacing) noexcept
ImageData(const ImageData &other) = default
ImageData(ImageData &&other) noexcept