Optional
Image to use as the output.
Number of slots that histogram can have. Slots must be a power of 2.
Threshold value that should be used. Threshold is a value in range [0,1], which will be interpreted as a percentage of image.maxValue.
Image to use as the output.