integral based difference-of-mean segmentation works
added specialized implementation of the integral image for 3d float->long based on arrays