Last fall I wrote about a complaint some MATLAB users had about reading certain kinds of TIFF files. Specifically, some users have TIFF files that each contain tens of thousands of images—or more! One user sent us a single TIFF file containing almost 130,000 individual images. My tongue-in-cheek name for these files is "Massively Multipage TIFF" (MMT).
The problem is that the syntax for reading the k-th image from a TIFF file:
>> I = imread(filename, k);
takes significantly longer for images at the end of the file. As a result, reading all of the images in such a file takes way too long. I discussed the technical issues in the post "How many images can fit in a TIFF file" last September.
We now have updated files you can use to improve import performance on these TIFF files. The patch is only for the most recent MATLAB release, R2008a. Please do not try to apply the patch to earlier releases.
[Update - August 11, 2008 - The download link above now points to an official MathWorks technical support solution page.
With the updated files, images at the end of a TIFF file can be read in the same amount of time as images at the beginning of the file. Note that a different syntax is necessary, so please read the instructions in the download carefully.
You should be aware that these updates will NOT be included in the upcoming R2008b release. These changes were implemented very recently, and the relevant development deadline for R2008b changes was a couple of months ago.
Also, we don't have any updates available yet for improving the performance of creating such TIFF files using imwrite.
댓글을 남기려면 링크 를 클릭하여 MathWorks 계정에 로그인하거나 계정을 새로 만드십시오.