Comments (7)
Hi @TomPJWyatt, do you have an example file we could test with? I'd also be interested in knowing how you are initializing the image, like if perhaps supplying the LifReader
directly may change anything (like so)
from aicsimageio import AICSImage
from aicsimageio.readers import LifReader
img = AICSImage(filepath, reader=LifReader)
img.dims
img.shape
img = AICSImage(filepath)
img.dims
img.shape
from aicsimageio.
Hi Sean, I have an example file but github won't allow uploading of lif files, any ideas?
I just tried your suggestiong with supplying the LifReader directly and the channels/z are still mixed up I'm afraid.
from aicsimageio.
@TomPJWyatt Maybe you can use dropbox, or other cloud file storage that allows link sharing. We can just download the file and then you could remove it once we confirm we got it.
from aicsimageio.
Hello, here's a link to a lif that opens fine in fiji but with aicsimagebio the chanel/z-slices get mixed up:
https://we.tl/t-zlX9sCoO9j
It should have 5 channels and 27 z-slices and should be clear that they are mixed up e.g. from the fact that the first channel is the only nuclei stain but you'll see slices from this channel showing up in other channels
from aicsimageio.
I am able to reproduce this with your file; other LIF files I have on hand seem to not have this issue. I'm able to get it to read correctly using a change to the way the xy dimensions are ordered together, but it doesn't seem to solve the issue consistently nor am I sure how to flag files like yours as needing to be arranged differently (compared to the other LIF files I have for example) such that if that fix worked we could apply it when needed.
That is all to say this might not be an issue with aicsimageio
per se. Was this file saved using the LAS X Stage Navigator? This might be a known issue with readlif
the underlying package responsible for reading LIF files in aicsimageio
as described here. I'll keep poking around a bit longer to see if I can find something to assist this.
from aicsimageio.
Hi @SeanLeRoy yes it was saved with LAS X Navigator. Thanks for the update!
from aicsimageio.
Moving this issue over to bioio-lif. aicsimageio
is moving into "maintenance" mode where only easy to implement bugfixes deemed critical (or community contributed) work will be done in aicsimageio
. Instead of aicsimageio
, we are creating a package soon to be released called bioio and plugins like the one aforementioned. See the reason for this change here.
from aicsimageio.
Related Issues (20)
- OmeZarrReader Performance Benchmarks HOT 11
- OmeZarrReader physical pixel resolution
- czi reader is very slow to get channel_names for a large file HOT 2
- dtype error converting Olympus VSI HOT 8
- OmeZarrWriter: allow user choice of chunk sizes!
- same Example_FLIM.lif has 32 bit images in it that aicsimageio cannot read HOT 3
- Latest version of aicsimageio cannot read some czi images HOT 5
- `Dimensions` typing HOT 2
- tifffile min version incorrect, and now incompatible with bfio extra HOT 6
- ome_metadata fro czi file HOT 10
- update gh-actions to fix warnings about deprecated node12 actions
- current dask no longer supports Python 3.8
- czi number of channels can be out of sync and is reported as error HOT 2
- pydantic user warning on import
- Specify resolution level for reading OME-Zarr HOT 6
- Move test files out of old modeling AWS account
- main[base-imageio] failing due to Pillow
- TimeStamps
- Large timing overhead on TiffReader HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from aicsimageio.