Is the range
param in calcHist()
supposed to accept and correctly return counts for bins defined using negative float values? As an example, is the following a valid range definition for three dimensions?
range = [
0, 255,
-1 * np.pi, np.pi,
0.0, 255 * np.sqrt(2)
]