Comments (12)
Compression >= 1000 is documented as "System specific RAW data" in the CZI specification v1.2.2. No further details are given. Looks like uncompressed in this case.
from libczi.
CziUtils::CompressionModeFromInt turns 1001 into "Invalid" and then libCZI::CreateBitmapFromSubBlock throws an exception and doesn't try to return the bitmap.
from libczi.
Hi all,
this 1001 compression refers to an special raw CZi used to write image data "really fast" to disk when using cameras. Such an raw CZI is not supported by libCZI.
Workaround: Open the 1001 CZI in ZEN and save it again. This should work then.
from libczi.
Thanks for the comment. It is working now when I resave it using Zen with:
- Save As or
- if I use Save As with options and select 'Original' under 'compression'
However, considering that we have 200 to 500 GB datasets, it looks like we have to duplicate them again to make it readable with libCZI!
from libczi.
Hi @pr4deepr ,
you mean you can already view and press the "raw" CZI in ZEN blue? AFAIK such an CZI is automatically converted to normal when opening it in ZEN since this special format is only used during "save process" when streaming data from the camera.
Can you elaborate a bit on your workflow:
- you acquire a CZI and save it to disk using ZEN Black?
- you open the CZI in ZEN Black or ZEN Blue to check the data?
- you tried to read the CZI that was already opened and saved in ZEN blue using aicslibCZI --> OK?
- you tried to read the CZI that was already opened but not saved in ZEN blue using aicslibCZI --> NOK?
- you tried to read the CZI that was never opened in ZEN blue using aicslibCZI --> NOK?
from libczi.
Hi
Thanks for the reply. We use Zen Blue (v 3.4) to acquire the data from the Zeiss lattice, and have Auto-Save enabled. Once the experiment is complete, it is automatically saved as a .czi file. We DO NOT do any resaving after this.
- you open the CZI in ZEN Black or ZEN Blue to check the data?
Using Zen Blue, we can open and check the data fine.
- you tried to read the CZI that was already opened and saved in ZEN blue using aicslibCZI -->
Yes, but it DOES NOT work when we open it using aicslibCZI
- you tried to read the CZI that was already opened but not saved in ZEN blue using aicslibCZI
No, We use Zen Blue for acquisition and saving (auto saving)
As I mentioned, When I open the raw .czi file with Zen Blue, it opens fine. I have to use "Save As" option to save it into a czi format that aicslibCZI can recognise.
If the auto-save is the issue, is it possible to enable a convert to "normal" czi after this?
Thanks again!
Cheers
Pradeep
from libczi.
Hi @pr4deepr ,
ok, I think I should have realized that earlier ...
You are talking about CZI data acquired with the Lattice Light Sheet. AFIAK ZEN blue 3.4 should not use this anymore, but apparently there still is an issue so we will check, if this has to do with the AutoSave functionality.
Is there any chance you can give me access to a small CZI file having this problematic RAW compressing from your system?
What happens is you do not use Autosave but just acquire and save normally? Does this CZI work for you? And obviously one could automate the process of re-opening and saving the CZI again (as a workaround).
Best regards, Sebi
from libczi.
Hi @pr4deepr ,
the problematic compression should actually not be used in ZEN blue 3.4 anymore? Are the CZIs, that do not open "older" and where acquired with earlier versions of ZEN blue (controlling your LLS)?
Sebi
from libczi.
Hi
I havent gotten a chance to check the new files yet. I have been testing this with "older" files acquired with an earlier version of ZEN blue controlling the LLS, where I have been running into trouble.
I'll update this post once I test it using recently acquired files.
Cheers
Pradeep
from libczi.
Problematic czi file download
from libczi.
Hi
Apologies for this extremely late reply.
I finally got my hand on the new files acquired using the latest version of Zen and I can confirm that it opens without a problem using aicsimageio.
With files from older versions of Zen, I have to resave it as a czi so that it can be recognised by aicsimageio library.
Appreciate the help in this matter
Cheers
Pradeep
from libczi.
Feel free to reopen the issue in case of new questions.
from libczi.
Related Issues (20)
- how to free the bitmap?if I call it 10000,my cpu is 100%,my memory is 80%
- Multiple-scene overlapped area rendering HOT 5
- ChannelComposite extraction using CZIcmd yields only half an image HOT 2
- Wrong dimension T for AiryScan time series HOT 7
- Commercial license HOT 1
- alligned_alloc gcc compatibility HOT 1
- CZIcmd: Colour Channel order reversed for 10 bit and 12 bit images. HOT 8
- thread safety HOT 3
- memory initialisation in CHeapAllocator::Allocate HOT 2
- SingleChannelPyramidLevelTileAccessor throws when a matching pyramid level is not found
- libCZI static not properly building
- Incorrect Output in release build HOT 2
- low contrast thumbnail
- Add install instructions and cmake project configuration
- EnumAttachments issue - update not a bug. HOT 1
- Increase png image resolution HOT 1
- Reading Attachments
- eigen3 build is failing HOT 1
- Missing/White tile on 5x and below resolution HOT 1
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 libczi.