Drexel dragonThe Math ForumDonate to the Math Forum



Search All of the Math Forum:

Views expressed in these public forums are not endorsed by Drexel University or The Math Forum.


Math Forum » Discussions » Software » comp.soft-sys.matlab

Topic: writing multi-image tiff
Replies: 4   Last Post: Jun 15, 2012 5:13 PM

Advanced Search

Back to Topic List Back to Topic List Jump to Tree View Jump to Tree View   Messages: [ Previous | Next ]
Peter Boettcher

Posts: 3,594
Registered: 12/4/04
Re: writing multi-image tiff
Posted: Jun 15, 2007 2:07 PM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

Steve Eddins <Steve.Eddins@mathworks.com> writes:

> Peter Boettcher wrote:
>> "Mark B." <medwardb@hotmail.com> writes:
>>

>>> I am trying to read, process and the write multi-image tiff files
>>> (uint16 intensity images).
>>> I use imread to read each frame into a matrix. Then I do some
>>> processing on the matrices and try to write back out to multi-image
>>> tiff using imwrite. This works with single images but not image
>>> stacks since imwrite expects the additional dimension to be a
>>> colormap. I can fwrite out the matrix but then it isn't read as an
>>> image.

>>
>> It appears imwrite doesn't support multi-image tiffs. You might have
>> to use an external utility to combine a set of discrete tiffs into a
>> multipager. tiffcp maybe?
>>
>> -Peter

>
> imwrite(image1, 'foobar.tif');
> imwrite(image2, 'foobar.tif', 'WriteMode', 'append');
> imwrite(image3, 'foobar.tif', 'WriteMode', 'append');


Oh. Oops. Sorry, Mark.

-Peter



Point your RSS reader here for a feed of the latest messages in this topic.

[Privacy Policy] [Terms of Use]

© Drexel University 1994-2014. All Rights Reserved.
The Math Forum is a research and educational enterprise of the Drexel University School of Education.