Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversion to other types #34

Description

@osoyer

I'm trying to perform some downstream analysis on tiff stacks and would like to use other functions in MATLAB image processing toolbox. Many of those require specific data types. Hence, is it possible to convert a TIFFStack object to type double, uint8, etc.? I can do this for individual slices as follow, but would be better to do on the full stack.

example on a slice;
tsStack = TIFFStack(filename1);
im=uint8(tsStack(:, :, 100)/256)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions