47 template<
typename dtype>
51 dtype inConstantValue = 0)
53 auto inImageArrayCopy = inImageArray.template astype<double>();
54 inImageArrayCopy -=
meanFilter(inImageArray, inSize, inBoundaryType, inConstantValue);
56 return inImageArrayCopy;
Definition: addBoundary1d.hpp:44
NdArray< double > complementaryMeanFilter(const NdArray< dtype > &inImageArray, uint32 inSize, Boundary inBoundaryType=Boundary::REFLECT, dtype inConstantValue=0)
Definition: complementaryMeanFilter.hpp:48
NdArray< double > meanFilter(const NdArray< dtype > &inImageArray, uint32 inSize, Boundary inBoundaryType=Boundary::REFLECT, dtype inConstantValue=0)
Definition: meanFilter.hpp:50
Boundary
Boundary condition to apply to the image filter.
Definition: Boundary.hpp:36
std::uint32_t uint32
Definition: Types.hpp:40