Login  Register

Re: Uncompressing Tiff files created in Matlab

Posted by Marko Usaj on Dec 16, 2007; 8:54pm
URL: http://imagej.273.s1.nabble.com/Uncompressing-Tiff-files-created-in-Matlab-tp3697751p3697753.html

Hi!

You can do uncompressed tiffs in Matlab with function

imwrite(A,filename,fmt).

All you have to do is to specify parameter/flag 'Compression' to 'none'. Default setting is with compression.

Example:

you have data A to store in file named mypicture.tiff as tiff file with no compression:

imwrite(A,'mypicture.tiff', 'tiff', 'Compression','none');

Hope it helps.

Marko

-----Original Message-----
From: ImageJ Interest Group on behalf of Curtis Rueden
Sent: pet 14.12.2007 15:38
To: [hidden email]
Subject: Re: Uncompressing Tiff files created in Matlab
 
Hi Robert,

Did you try:
  * Bio-Formats -- http://www.loci.wisc.edu/ome/formats.html
  * the JIMI reader -- http://rsb.info.nih.gov/ij/plugins/jimi.html
  * the Image I/O reader --
http://ij-plugins.sourceforge.net/plugins/imageio/index.html

The ImageJ Documentation Wiki has a nice list of plugins for different
file formats:
http://imagejdocu.tudor.lu/imagej-documentation-wiki/faq/which-file-types-are-supported-by-imagej

If nothing works, and you would be willing to send a sample file, I
can investigate adding support to Bio-Formats.

-Curtis

On Dec 14, 2007 1:41 AM, Robert Edward Martin
<[hidden email]> wrote:

> Greetings List,
>
> I have created a series of 3-D tiff matrices/images in Matlab and
> ImageJ does not seem to be able to uncompress these series of images.
> Does anyone know of a way to uncompress these so that I can scroll
> through them in ImageJ?  Alternately, does anyone know how to create
> uncompressed tiffs in Matlab?
>
>
> Thanks
>
> Robert Martin
>