We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bin centers computed by net.imglib2.algorithm.stats.RealBinMapper are not consistent with the input minBin and maxBin values and not what I'd expect.
net.imglib2.algorithm.stats.RealBinMapper
invMap's behavior is also not what I'd expect:
Pseudocode:
mapper = RealBinMapper( 0.0, 1.0, 4 ) println( mapper.invMap( 0 )) println( mapper.invMap( 1 )) println( mapper.invMap( 2 )) println( mapper.invMap( 3 ))
outputs
0.0 0.5 1.0 1.5
net.imglib2.histogram.Real1dBinMapper however seems to work as expected. https://github.com/imglib/imglib2/tree/master/src/main/java/net/imglib2/histogram
net.imglib2.histogram.Real1dBinMapper
Perhaps we should deprecate net.imglib2.algorithm.stats in favor of net.imglib2.histogram (?) which so far seems to have the behavior I expect.
net.imglib2.algorithm.stats
net.imglib2.histogram
The text was updated successfully, but these errors were encountered:
👍 on my side. The net.imglib2.histogram stuff is certainly what ImageJ Ops and ImageJ Common is using.
Sorry, something went wrong.
No branches or pull requests
Bin centers computed by
net.imglib2.algorithm.stats.RealBinMapper
are not consistent with the input minBin and maxBin values and not what I'd expect.invMap's behavior is also not what I'd expect:
Pseudocode:
outputs
net.imglib2.histogram.Real1dBinMapper
however seems to work as expected.https://github.com/imglib/imglib2/tree/master/src/main/java/net/imglib2/histogram
Perhaps we should deprecate
net.imglib2.algorithm.stats
in favor ofnet.imglib2.histogram
(?)which so far seems to have the behavior I expect.
The text was updated successfully, but these errors were encountered: