imglib / imglyb

Connecting Java/ImgLib2 + Python/NumPy
https://pypi.org/project/imglyb/
BSD 2-Clause "Simplified" License
31 stars 5 forks source link

Use reference store for imglyb.to_imglib #9

Open hanslovsky opened 4 years ago

hanslovsky commented 4 years ago

Similar to what is done with wrapping as cached cell images (#7).

I am not 100% sure about this one. The user still needs to make sure that the reference store stays within scope as long as necessary. Instead, callers could do the same thing for the actual ndarray, and a reference store may be obsolete here.