Comments (6)
Hi,
What is the format of your original data file? Is it TIFF?
I'm asking because this looks like what could happen when reading TIFF files, rather than writing (creating).
TIFF files can often have custom fields that LibTIFF (the software library included with MATLAB that deals with TIFF files) cannot recognize, thus the warning messages - note that these are not error messages.
These infamous "unknown field" warning messages when reading TIFFs can mostly be safely ignored.
Have you tried ignoring these warning messages and see if EZcalcium can finish the processing just fine? If not, the problem would be something else.
from ezcalcium.
Thank you for your answer!
I exported the 2P data as a series of individual color TIFF frames, then loaded in Image J and turned to BW and saved as 8bit stack for motion correction. Once the correction is done, the resulting file does not open in Windows Photo Viewer "file appears to be damaged, corrupted, or is too large" or in ImageJ "unsupported format or file not found".
from ezcalcium.
color TIFF frames
I'm curious why would they be color, instead of gray scale (black and white)? Do you have multiple channels recorded during imaging? Or is it just single channel really, such that red, green and blue channels all have identical data?
EZcalcium can only handle single channel (gray scale) images.
saved as 8bit stack
Is 8-bit also the bit depth of your original data recorded? As far as I know typically imaging software uses 16-bit, so you would want to use the same bit depth to avoid precision loss.
does not open in Windows Photo Viewer
Windows photo viewer certainly cannot handle TIFFs with multiple images...
in ImageJ "unsupported format or file not found"
So I think more details about your original data format and how exactly you converted them to TIFF stack that fed to EZcalcium would be helpful.
from ezcalcium.
I'm curious why would they be color, instead of gray scale (black and white)? Do you have multiple channels recorded during imaging? Or is it just single channel really, such that red, green and blue channels all have identical data?
By mistake, I originally exported RGB images, but I also did the same thing in grayscale but the issue is not resolved.
Windows photo viewer certainly cannot handle TIFFs with multiple images...
Looks like it can, but not after mcor: https://www.dropbox.com/s/woyhbgebl3jsdmn/tiff%20mcor.png?dl=0
So I think more details about your original data format and how exactly you converted them to TIFF stack that fed to EZcalcium would be helpful.
I saved as grayscale tiffs from Olympus software, imported as an image sequence to ImageJ and then exported as a tiff.
Here's a ministack before and after mcor:
https://www.dropbox.com/s/mbtvo200hpncww8/mini%20stack.tif?dl=0
https://www.dropbox.com/s/1ifsv0yp8x4362s/mini%20stack_mcor.tif?dl=0
from ezcalcium.
I got everything working even though the files no longer open in ImageJ after the mcor - they work fine for the analysis steps.
from ezcalcium.
Looks like it can
Oh I see, then I'm wrong.
but not after mcor
the files no longer open in ImageJ after the mcor
I guess it's due to the fact that EZcalcium always saves TIFF file with the "BigTIFF" format:
https://en.wikipedia.org/wiki/TIFF#BigTIFF
The 4 GB limit can be easily exceeded in modern 2-photon imaging, so I decided to always use BigTIFF, even when the file size is smaller than 4 GB. It's not something new - LibTIFF 4.0 was released more than 10 years ago - but it's still "new" enough that many applications don't support it yet.
But I would assume ImageJ should support it, given how often big TIFF files are handled by its users. I don't have much experience with ImageJ, though...You may want to look into maybe some plug-ins for ImageJ to add support for BigTIFF?
Maybe FIJI?
https://imagej.net/software/fiji/downloads
from ezcalcium.
Related Issues (20)
- motion correction HOT 1
- Unrecognized field name "Z_mod". HOT 1
- Issue exporting data HOT 2
- Issue with importing the file HOT 1
- Unrecognized function or variable 'find_unsaturatedPixels'. HOT 1
- Array indices must be positive integers or logical values. HOT 4
- getRunningApp error
- problem with running ez_roi_detect.mlapp HOT 1
- Error using register_frame HOT 1
- ROI detection, find_unsaturatedPixels error HOT 1
- Error at the time of the analysis of video files HOT 12
- Error when using MCEM and MCMC HOT 1
- Including inactive neurons using EZcalcium automated ROI detection HOT 3
- Error when running any EzCalcium function HOT 1
- Errors during ROI detection HOT 1
- Negative Signal Detection
- problem running EZcalcium
- Output explanation
- File size issue ROI detection 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 ezcalcium.