Skip to content
New issue

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

Index overflow during isosurface #106

Closed
kephale opened this issue Jul 12, 2018 · 3 comments
Closed

Index overflow during isosurface #106

kephale opened this issue Jul 12, 2018 · 3 comments

Comments

@kephale
Copy link

kephale commented Jul 12, 2018

final ImgPlus<BitType> bitImgPlus = Common.toBitTypeImgPlus(ops,

http://forum.imagej.net/t/bonej2-isosurface/11959/3

@rimadoma
Copy link
Contributor

rimadoma commented Aug 7, 2018

@dietzc Any insight into why DefaultChunker would throw an ArrayIndexOutOfBoundsException when converting a very large Img with ops.convert().bit(img)?

@ctrueden
Copy link
Member

ctrueden commented Aug 7, 2018

@rimadoma As I wrote here, we may want to add signatures to Ops that do the conversion lazily using the Converters utility class, instead of always pumping pixels upfront. In the meantime, have you tried calling Converters.convert to go from T to BitType?

Of course, none of that changes the fact that an AIOOBE here is bad. 😦

@mdoube
Copy link
Member

mdoube commented Jan 7, 2019

Fixed by imagej/imagej-ops@badcaf6

@mdoube mdoube closed this as completed Jan 7, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants