Comments (3)
I ran into that problem while using the big stack branch, but any 1 is a problem, not only at the last position.
That works:
stacks = TIFFStack(p, [], [2,2]);
But these fail:
stacks = TIFFStack(p, [], [1,1]);
stacks = TIFFStack(p, [], [1,2]);
stacks = TIFFStack(p, [], [2,1]);
(No crash just returns only the first image instead of the reshaped 512x512x900 stack)
from tiffstack.
Maybe resolved by #11
The size
function was stopping at the first unitary dimension, not the last. At least with the PR I have that:
>> disp(size(TIFFStack(p, [], [1,2])))
512 512 1 2 450
>> disp(size(TIFFStack(p, [], [1])))
512 512 1 900
>> disp(size(TIFFStack(p, [], [2,2])))
512 512 2 2 225
>> disp(size(TIFFStack(p, [], [900, 1])))
512 512 900
(the first 2 were 512 512 before the PR)
from tiffstack.
Thanks @ablot for fixing this bug. Please re-open if you notice another permutation of it.
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.