You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
bool normalizeImageByTotalSATValues = false; //!< after sum performation division will be performed for the entire image by the max sum values in (maxX, 0, z) depending on input image - needed for UNORM and SNORM
33
-
uint8_t axesToSum = 0u; //!< which axes you want to sum; X: bit0, Y: bit1, Z: bit2
33
+
uint8_t axesToSum = 0u; //!< which axes you want to sum; X: bit0, Y: bit1, Z: bit2 // TODO: make ALL_AXES the default and make sure examples using it work as expected.
@@ -96,13 +96,16 @@ class CSummedAreaTableImageFilter : public CMatchedSizeInOutImageFilterCommon, p
96
96
97
97
if (state->scratchMemoryByteSize < state_type::getRequiredScratchByteSize(state->inImage, state->extent))
98
98
returnfalse;
99
+
100
+
if (state->axesToSum == 0u)
101
+
returnfalse;
99
102
100
103
if (asset::getFormatChannelCount(outFormat) != asset::getFormatChannelCount(inFormat))
101
104
returnfalse;
102
105
103
106
if (asset::getFormatClass(inFormat) > asset::getFormatClass(outFormat)) // TODO in future! Change to a function checking a bit-depth for an each single channel
0 commit comments