ITKTextureFeatures icon indicating copy to clipboard operation
ITKTextureFeatures copied to clipboard

Lower the default number of bins

Open thewtex opened this issue 7 years ago • 1 comments

256 makes computation very slow, and this is larger than the typical number of effective intensity bins encountered in many images. A better default is 8, 10, 16?

thewtex avatar Sep 07 '17 14:09 thewtex

Related is the default range of the histogram. This defaults to the range of input pixel type. I think that reducing the size of the histogram may result in the all the intensities being in one bin for some common medical image modalities. Without adding a feature of automatically detecting the min/max of the input, it is risking producing constant images by default.

So I think this is a good idea. Along with adding a feature request for auto-range detection by default.

blowekamp avatar Sep 07 '17 14:09 blowekamp