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