Insight Toolkit (ITK) -- Official Repository. ITK builds on a proven, spatially-oriented architecture for processing, segmentation, and registration of scientific images in two, three, or more dimensions.
Tested that a "value-initialized" object of one of the FixedArray derived types, CovariantVectorDiffusionTensor3D, RGBAPixel, RGBPixel, SymmetricSecondRankTensor, Point, or Vector is zero-filled.
Replaced MakeFilled<Self>(NumericTraits<T>::ZeroValue()) with Self{} in the ZeroValue() implementation of NumericTraits specializations.
Tested that a "value-initialized" object of one of the
FixedArray
derived types,CovariantVector
DiffusionTensor3D
,RGBAPixel
,RGBPixel
,SymmetricSecondRankTensor
,Point
, orVector
is zero-filled.Replaced
MakeFilled<Self>(NumericTraits<T>::ZeroValue())
withSelf{}
in theZeroValue()
implementation ofNumericTraits
specializations.Used the syntax
T{}
to create "value-initialized" objects of each of those types, see also: https://en.cppreference.com/w/cpp/language/value_initialization