-
Notifications
You must be signed in to change notification settings - Fork 14
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
Bug in the Writing ImageJ compatible metadata example #184
Comments
Upon a second look, I noticed that this could actually be ImageJ's issue. None of Icy, Ubuntu's document viewer, or Bio-Formats Importer shares the same problem. I will close this issue for now. |
I am reopening this issue for the reason @cgohlke stated in the link posted above. For the sake of convenience, I am posting it here.
|
Hi @lanceXwq, thanks for the bug report and sorry that the demo was overly primitive. The original impetus behind the demo was trying to showcase It appears from @cgohlke's comment that ImageJ is less flexible than I was expecting when I wrote this short demo. It would be quite easy to modify |
The one commenter who brought up the
Looks like the primary issues are with odd offsets in this demo. I'm not actually sure what |
That would be very useful @tlnagy. If IFDs are written first, we are one step closer from what people call cloud-optimized geotiff (COG). GeoTIFF.jl would directly benefit from this change. |
Hello,
I was going over the Writing ImageJ compatible metadata example and noticed a bug may exist. After running this example, ImageJ seemed to misinterpret the produced tiff file. Specifically, although this example should create an "imagej.tiff" with only zeros, I got nonzero pixel values at some slices and frames in ImageJ, as shown in the screenshot below (also see the "Pixel value range" field in the second screenshot).

Moreover, running
TiffImage.load("imagej.tiff")
still produces an all-zero image stack.I am using Julia 1.11.3, TiffImages 0.11.3, ImageJ 1.54p (see below).

Please let me know if you need any more info. I appreciate any help you can provide!
The text was updated successfully, but these errors were encountered: