-
Notifications
You must be signed in to change notification settings - Fork 35
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
image shifted when converting #117
Comments
If you remove |
Thanks @melissalinkert for you answer. Unfortunately, using |
Apologies for the delay here. Assuming what you see in OpenSlide matches what you see in 3DHISTECH's CaseViewer software, we'll need to see the problematic dataset or at minimum the |
My turn to apologize for late reply. I checked with CaseViewer and it looks like it crops the image around the object of interest. So it looks, again, different from all other results above. If anyone is interested in trying out, here's the slide in the .MRXS format I tried to convert: https://drive.google.com/file/d/1j4m8F2XwjbMV1PcQtAVeki-JKRGh7qQO/view?usp=sharing |
Hello,
I am using bioformats2raw for converting MRXS files and I noticed a shift in the converted images. More precisely, it looks that the tissue region is shifted such that the bounding box has its top-left corner at (0,0) (see examples, the converted image comes from the ZARR raw format, border added for visualization). The resulting image size matches the original, just the content gets moved. I wonder whether this is linked to openslide's bounding box option which is available for some (including MRXS) image formats.
Would it be possible to either remove the shift altogether or provide a command line option? Or, even better, provide an option to allow converting only a user-specified region (e.g. --roi=(100,100,1024,2048,5) for a region of interest with (100,100) top-left corner, width=1024, height=2048 in level 5 coordinates - or something similar...)
Tried with:
bioformats2raw version = 0.3.0-rc4 with Bio-Formats version = 6.5.1
Command line:
bioformats2raw --log-level=ERROR --downsample-type=GAUSSIAN --fill-value=255 --max_workers=12 --dimension-order=XYZCT --progress --overwrite ~/tmp/HE.mrxs ~/tmp/HE-raw.zarr
Thanks a lot,
Vlad
The text was updated successfully, but these errors were encountered: