Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update tiffRead.m #1

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Update tiffRead.m #1

wants to merge 1 commit into from

Conversation

shinkira
Copy link

@shinkira shinkira commented Mar 8, 2017

For SI2016 data, scanimage.util.opentif is not readily available? (I could not find it online...)
So I came up with workaround with MATLAB built-in function.
This might be easier for other people in the lab to use.

For SI2016 data, scanimage.util.opentif is not readily available? (I could not find it online...)
So I came up with workaround with MATLAB built-in function.
This might be easier for other people in the lab to use.
@Selmaan
Copy link
Contributor

Selmaan commented Mar 8, 2017

I think this is a nice, temporary workaround, but I was actually planning to replace our tiffRead function entirely with this scanimage tiff reader:
http://scanimage.gitlab.io/ScanImageTiffReaderDocs/

The reader is ~3x as fast reading data from the server, works for generic tiffs, and has internal methods for extracting metadata that scanimage will keep updated in the future, so we son't have to change our code as scanimage changes.

@Selmaan
Copy link
Contributor

Selmaan commented Mar 8, 2017

this is going to be easy to fix with the scanimage tiff reader. in addition to metadata, each frame has a 'description' which includes among other things its frame number since the start of the acquisition (independent of how the frames are chunked into files). If we simply use this to calculate slice/channel, it should work flawlessly. I'm making a pull request now for the new tiff reader

@shinkira
Copy link
Author

shinkira commented Mar 8, 2017

I downloaded the zip file from the link, and ScanImageTiffReader calls MEX files. The zip file contains some MEX files but they are not compatible with my PC. How do you compile the code into MEX files?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants