[vtkusers] Can't control the number of bins used by vtkImageHistogramStatistics?
david.gobbi at gmail.com
Tue Oct 18 10:53:43 EDT 2016
Call AutomaticBinningOff() and SetNumberOfBins(n).
If you have negative values, also call SetBinOrigin(x)
where 'x' is the minimum expected data value. Use
SetBinSpacing() to adjust the bin width.
On Tue, Oct 18, 2016 at 8:40 AM, Elvis Stansvik <
elvis.stansvik at orexplore.com> wrote:
> It seems that even if I call SetNumberOfBins(256), the default (65536)
> is always used (float input).
> The docs says "By default, 65536 bins are used for float data, giving
> at least 16 bits of precision.", which I thought meant that I could
> change this default.
> Is it possible?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the vtkusers