<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: How many images can fit in a TIFF file?</title>
	<atom:link href="http://blogs.mathworks.com/steve/2007/09/16/multipage-tiffs/feed/" rel="self" type="application/rss+xml" />
	<link>http://blogs.mathworks.com/steve/2007/09/16/multipage-tiffs/</link>
	<description>Steve Eddins manages the Image &#38; Geospatial development team at The MathWorks and coauthored Digital Image Processing Using MATLAB. He writes here about image processing concepts, algorithm implementations, and MATLAB.</description>
	<lastBuildDate>Wed, 01 Feb 2012 13:58:45 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
	<item>
		<title>By: Steve</title>
		<link>http://blogs.mathworks.com/steve/2007/09/16/multipage-tiffs/#comment-23724</link>
		<dc:creator>Steve</dc:creator>
		<pubDate>Mon, 22 Nov 2010 13:19:57 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.mathworks.com/steve/2007/09/16/multipage-tiffs/#comment-23724</guid>
		<description>Suchi&#8212;See my &lt;a href=&quot;http://blogs.mathworks.com/steve/2006/06/06/batch-processing/&quot; rel=&quot;nofollow&quot;&gt;batch processing&lt;/a&gt; post.</description>
		<content:encoded><![CDATA[<p>Suchi&mdash;See my <a href="http://blogs.mathworks.com/steve/2006/06/06/batch-processing/" rel="nofollow">batch processing</a> post.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Suchi</title>
		<link>http://blogs.mathworks.com/steve/2007/09/16/multipage-tiffs/#comment-23723</link>
		<dc:creator>Suchi</dc:creator>
		<pubDate>Mon, 22 Nov 2010 05:34:52 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.mathworks.com/steve/2007/09/16/multipage-tiffs/#comment-23723</guid>
		<description>Hi Steve,

I am completely new to Matlab. I went through the blog, but still couldnt figure out exactly how to work my way through image processing. We take videos of surfaces at different depths. For each depth level, we have a single image file (tif). I would like to know if it is possible to import all these files into matlab, without having to enter each filename separately. The files are all numbered sequentially according to depth values.</description>
		<content:encoded><![CDATA[<p>Hi Steve,</p>
<p>I am completely new to Matlab. I went through the blog, but still couldnt figure out exactly how to work my way through image processing. We take videos of surfaces at different depths. For each depth level, we have a single image file (tif). I would like to know if it is possible to import all these files into matlab, without having to enter each filename separately. The files are all numbered sequentially according to depth values.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Steve</title>
		<link>http://blogs.mathworks.com/steve/2007/09/16/multipage-tiffs/#comment-22234</link>
		<dc:creator>Steve</dc:creator>
		<pubDate>Mon, 19 Oct 2009 19:48:43 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.mathworks.com/steve/2007/09/16/multipage-tiffs/#comment-22234</guid>
		<description>Eran&#8212;Thanks.  I corrected your syntax; you had &lt;&gt; instead of ~=.</description>
		<content:encoded><![CDATA[<p>Eran&mdash;Thanks.  I corrected your syntax; you had &lt;&gt; instead of ~=.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Eran Mukamel</title>
		<link>http://blogs.mathworks.com/steve/2007/09/16/multipage-tiffs/#comment-22217</link>
		<dc:creator>Eran Mukamel</dc:creator>
		<pubDate>Tue, 13 Oct 2009 21:53:02 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.mathworks.com/steve/2007/09/16/multipage-tiffs/#comment-22217</guid>
		<description>Following up on Andrew Carter&#039;s suggestion, here is a function that returns the number of frames in a tiff stack:

&lt;pre&gt;

function j = tiff_frames(fn)
%
% n = tiff_frames(filename)
%
% Returns the number of slices in a TIFF stack.
%
%

status = 1; j=0;
jstep = 10^3;
while status
    try
        j=j+jstep;
        imread(fn,j);
    catch
        if jstep&lt;&gt;1
            j=j-jstep;
            jstep = jstep/10;
        else
            j=j-1;
            status = 0;
        end
    end
end

&lt;/pre&gt;</description>
		<content:encoded><![CDATA[<p>Following up on Andrew Carter&#8217;s suggestion, here is a function that returns the number of frames in a tiff stack:</p>
<pre>

function j = tiff_frames(fn)
%
% n = tiff_frames(filename)
%
% Returns the number of slices in a TIFF stack.
%
%

status = 1; j=0;
jstep = 10^3;
while status
    try
        j=j+jstep;
        imread(fn,j);
    catch
        if jstep&lt;&gt;1
            j=j-jstep;
            jstep = jstep/10;
        else
            j=j-1;
            status = 0;
        end
    end
end
</pre>
]]></content:encoded>
	</item>
	<item>
		<title>By: Steve</title>
		<link>http://blogs.mathworks.com/steve/2007/09/16/multipage-tiffs/#comment-22012</link>
		<dc:creator>Steve</dc:creator>
		<pubDate>Mon, 27 Jul 2009 13:51:06 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.mathworks.com/steve/2007/09/16/multipage-tiffs/#comment-22012</guid>
		<description>Jurgen&#8212;Thanks for your input.</description>
		<content:encoded><![CDATA[<p>Jurgen&mdash;Thanks for your input.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: jurgen</title>
		<link>http://blogs.mathworks.com/steve/2007/09/16/multipage-tiffs/#comment-21994</link>
		<dc:creator>jurgen</dc:creator>
		<pubDate>Wed, 22 Jul 2009 15:32:33 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.mathworks.com/steve/2007/09/16/multipage-tiffs/#comment-21994</guid>
		<description>Hello Steve, 
I read your post rather accidently while I was searching fro a method to read meta data from tif files but : 
you wrote &quot; I&#039;ve seen a tool that takes a directory full of single-image TIFF files and merges them quickly into a multipage TIFF file. Would something like that be helpful to you? &quot; I would be interested in the tool since we work with highspeed images of spreading processes, and then we could structure all images of one throw.

kind regard, and thanks fro the answer</description>
		<content:encoded><![CDATA[<p>Hello Steve,<br />
I read your post rather accidently while I was searching fro a method to read meta data from tif files but :<br />
you wrote &#8221; I&#8217;ve seen a tool that takes a directory full of single-image TIFF files and merges them quickly into a multipage TIFF file. Would something like that be helpful to you? &#8221; I would be interested in the tool since we work with highspeed images of spreading processes, and then we could structure all images of one throw.</p>
<p>kind regard, and thanks fro the answer</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Steve</title>
		<link>http://blogs.mathworks.com/steve/2007/09/16/multipage-tiffs/#comment-21817</link>
		<dc:creator>Steve</dc:creator>
		<pubDate>Mon, 01 Jun 2009 14:44:18 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.mathworks.com/steve/2007/09/16/multipage-tiffs/#comment-21817</guid>
		<description>Sathya&#8212;You&#039;ve given no details about what kind of processing you are doing, so I can&#039;t even begin to guess what the issue might be.  I suggest that you use the MATLAB Profiler to analyze the performance of your code and see where the bottlenecks are.</description>
		<content:encoded><![CDATA[<p>Sathya&mdash;You&#8217;ve given no details about what kind of processing you are doing, so I can&#8217;t even begin to guess what the issue might be.  I suggest that you use the MATLAB Profiler to analyze the performance of your code and see where the bottlenecks are.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sathya</title>
		<link>http://blogs.mathworks.com/steve/2007/09/16/multipage-tiffs/#comment-21774</link>
		<dc:creator>Sathya</dc:creator>
		<pubDate>Fri, 22 May 2009 21:06:54 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.mathworks.com/steve/2007/09/16/multipage-tiffs/#comment-21774</guid>
		<description>Thanks for the reply.
I have an avi file with more than 10000 frames. I can write each frame as a single tif file(overwrite next time) and process image and find length of an object in the image. (I need to find length of object for all the 10000 frames and plot a graph using the result).But for the 100 frames itself, it takes much time. I tried for 250 frames too. Not dare enough to try 10000 frames. Is there anyway to do that in minimum time?</description>
		<content:encoded><![CDATA[<p>Thanks for the reply.<br />
I have an avi file with more than 10000 frames. I can write each frame as a single tif file(overwrite next time) and process image and find length of an object in the image. (I need to find length of object for all the 10000 frames and plot a graph using the result).But for the 100 frames itself, it takes much time. I tried for 250 frames too. Not dare enough to try 10000 frames. Is there anyway to do that in minimum time?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Steve</title>
		<link>http://blogs.mathworks.com/steve/2007/09/16/multipage-tiffs/#comment-21714</link>
		<dc:creator>Steve</dc:creator>
		<pubDate>Mon, 27 Apr 2009 19:24:50 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.mathworks.com/steve/2007/09/16/multipage-tiffs/#comment-21714</guid>
		<description>Sathya&#8212;Use &lt;tt&gt;imwrite&lt;/tt&gt; with the &lt;tt&gt;&#039;WriteMode&#039;, &#039;append&#039;&lt;/tt&gt; option.</description>
		<content:encoded><![CDATA[<p>Sathya&mdash;Use <tt>imwrite</tt> with the <tt>'WriteMode', 'append'</tt> option.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sathya</title>
		<link>http://blogs.mathworks.com/steve/2007/09/16/multipage-tiffs/#comment-21713</link>
		<dc:creator>Sathya</dc:creator>
		<pubDate>Mon, 27 Apr 2009 19:13:27 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.mathworks.com/steve/2007/09/16/multipage-tiffs/#comment-21713</guid>
		<description>Hello,
I have an avi video, from which I can read every 50th frame. I want to save these frames as a single tif file. Is that possible? How can I do that?</description>
		<content:encoded><![CDATA[<p>Hello,<br />
I have an avi video, from which I can read every 50th frame. I want to save these frames as a single tif file. Is that possible? How can I do that?</p>
]]></content:encoded>
	</item>
</channel>
</rss>

