Comments (6)
Please let me know the exact dimensions of your stack, if possible. Also let me know what version of ImageJ
you have, and please check you are using the latest versions of TIFFStack
and MappedTensor
.
from tiffstack.
I have just fixed a bug in TIFFStack
where the number of frames, channels, slices would be set incorrectly, since ImageJ
doesn't write these values out if they are equal to 1. Please check to see if that fixes your issue.
from tiffstack.
Hi Dylan,
Thanks so much for the speedy reply. The stack has dimensions 512 x 672 x 9000 (rows,col,time).; ImageJ v1.49 ; just updated to latest version of TIFFStack and MappedTensor. Unfortunately, still running into the same problem. When I save the file in imageJ, I get the following info if I want to open the file as 'raw':
name=Untitled, dir=, width=672, height=512, nImages=9000, offset=304092, type=ushort, byteOrder=big, format=0, url=, whiteIsZero=f, lutSize=0, comp=1, ranges=null, samples=1
I've attached two .png files - the first is what the first frame should look like (:,:,1), the second is what the first frame of the TIFFobject in MATLAB looks like:
from tiffstack.
@raswanson Thanks for getting back to me. The issue was in constructing the MappedTensor
to read the stack — the first two dimensions were incorrectly assigned, leading the image to be incorrectly shaped. I've just committed a fix; please check that everything looks good for you now, and reopen this issue if there are still problems.
Thanks for your help in fixing the bug!
from tiffstack.
Hi Dylan,
Your TiffStack function is working almost perfectly post the fix above - just one final problem I'd hugely appreciate help with!
TiffStack successfully loads tiff stacks > 4 GB and I can access this data via indexing into the created object, however when I access a single slice of the data (tiffstack(:,:,1)), the following warning prints 5 times:
Warning: TIFF library warning - 'TIFFReadDirectory: Unknown field with tag 65329 (0xff31) encountered.'
In TIFFStack>TS_set_directory (line 1550)
In TIFFStack>TS_read_data_Tiff (line 1245)
In TIFFStack/subsref (line 679)
In GridSmooth (line 57)
Because this prints for every slice along the z dimension (regardless of the number of pixels accessed within that frame), when I try to access large portions of the data it takes an unworkably long amount of time.
Again, any help is much appreciated!
from tiffstack.
from tiffstack.
Related Issues (20)
- Resolved: Files with more than 2^16 images cannot be accessed correctly HOT 11
- .ImageDescription does not appear after getImageInfo() HOT 1
- Get offset position to find varying metadata HOT 1
- Error reading ANDOR tags in tiffread31_readtags HOT 2
- Slow loading from server compared with hard drive (much slower than ImageJ) HOT 3
- Cannot access multiple channels in demultiplexed scanimage stack HOT 4
- Matlab system error when running the function with 2017b version HOT 16
- Reading header tags is slow, especially for files with many frames HOT 3
- Epic
- ImageJ hyperstacks which mis-report the number of frames in the stack cause an error HOT 8
- tiffstack not opening the file HOT 5
- Error in opening big tiff stacks
- Support for slicing and concatenting? HOT 5
- Conversion to other types HOT 1
- Question about speed HOT 4
- Trouble reading tiff files saved by MATLAB HOT 2
- TIFFStack crashes on MATLAB R2021b HOT 1
- .Tif
- @TIFFStack
- Error with uint indexes 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 tiffstack.