Mike on the MATLAB Desktop

November 15th, 2010

Throw Away Your Picasa, iPhoto, or Other Media Libraries

Image Preview in the Current Folder Browser is here! Steve, from Steve on Image Processing, recently reminded me about this new gem of a feature we haven’t covered yet. With MATLAB R2009b, the Current Folder Browser started previewing certain file types, such as MAT-files and MATLAB code files. Starting in R2010b, that preview functionality has been expanded to cover certain image types.

Here is an example of one of the files that comes with the Image Processing Toolbox. Who’s office is that? It’s certainly not mine!

MATLAB's Image Preview feature in the Current Folder Browser

Despite the provocative title, this new feature is not meant to in any way replace an image organizer. Instead the point is to make it easy to see what is in a particular image file before importing it in to MATLAB. The preview is particularly handy for automatically named files, such as from screen-shots or cameras, where the name may not describe the contents. In addition to a thumbnail, the size of the image is also shown, which may make it easier to pick out the right image or reduce the chance of accidentally opening a large file.

There are some limitations to this feature. It does not preview all image files that MATLAB understands. Right now it only shows JPEG, JPG, BMP, WBMP, PNG, and GIF images. However, I think it’s a pretty good start.

Leave a Reply

Wrap code fragments inside <pre> tags, like this:

<pre class="code">
a = magic(3);
sum(a)
</pre>

If you have a "<" character in your code, either follow it with a space or replace it with "&lt;" (including the semicolon).


MathWorks
Mike works on the MATLAB Desktop team.

These postings are the author's and don't necessarily represent the opinions of The MathWorks.