remove setNumberOfPixels (instead use max from setDePixelCountMinMax)