File Exchange Pick of the Week

September 4th, 2007

Content aware image resizing

One of the things I love about MATLAB is hearing about an interesting algorithm and being able to put it together quickly to understand how it works, if only to satiate my curiosity. What I really love is when someone on the File Exchange has already done the coding of said algorithm and I can just start my exploration there.

That happened this week when Aslak pointed to a video that does some really cool content aware image resizing:

This algorithm will make an image like this:

before.jpg

Look like this:

after.jpg

This would be good for web pages that change width as a reader resizes the window and other applications.

Here is a promo video for the file Aslak made.


Here is the file itself.

2 Responses to “Content aware image resizing”

  1. JIJEESH replied on :

    It was superb.can i get the code for this

  2. Doug replied on :

    @Jijeesh

    Please contact the original author directly. The link to his files is at the bottom of the post.

    Doug

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

Brett & Jiro share their favorite user-contributed submissions from the File Exchange.

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