A reason why Photoshop CS4 kicks ass

Here’s one reason why Photoshop CS4 kicks ass (here’s something completely new).

Content Aware Scale

It’s called “Content-Aware Scale“.  Unlike the transform controls from previous iterations, this scaling mode is somehow aware of the contents of an image and can discern what elements you want to scale.

So when you start scaling up or down, only the elements like the sky, water, background elements stretch and the people and buildings maintain their perspective and float around the scaling background.  Pretty cool huh?

So here’s an image I’ve grabbed from Google – a panorama of Trakai Castle.  In the image below I’ve scaled it to 50% width – the top image is “Content-Aware Scale”, and the bottom image is shrunk with the normal transform tools.

Content Aware Scale - Example

That took 30 seconds to do.  How long would you previously spend cleverly masking and cloning areas of the image by hand to do that?

How cool is that – it’s image transformation, just like in the movies.  Next we’ll be enhancing perfect images of suspects from pixellated CCTV footage, just like in CSI.

About James

James is a Senior New Media Developer at MMT Digital, and has BA(Hons) in Design for Interactive Media from the University of Gloucestershire. He loves designing and producing all sorts of website and Flash-related things, as well as prattling on about technologies.Day-to-day he works with Flash, Dreamweaver, Director, Microsoft Office Sharepoint Server 2007 (MOSS) and in his spare time he mucks about in Flex and Wordpress.Follow James on Twitter.

5 Responses to “A reason why Photoshop CS4 kicks ass”

  1. Paulius Uza 28th January, 2009 at 10:59 am # Reply

    Sorry for the off topic, but is this Trakai Castle in the picture? :)

  2. James 28th January, 2009 at 11:05 am # Reply

    You know, I think it is – I grabbed the picture from Google Image search, but was never able to find it again to give some attribution!

    I’ll change the ‘some castle’ bit in the post above.

  3. lee 28th January, 2009 at 5:55 pm # Reply

    Very coool James, but how does content-aware-scaling look in high-resolution? Any noticeable artifacts, blurs, etc?

  4. James 28th January, 2009 at 6:12 pm # Reply

    There’s nothing obvious in terms of quality loss – I should mention that the screenshot above is pretty poor quality – I forgot to turn on antialiasing in my Photoshop preferences when I did that!

    I think there are limits to what it can do when you’re scaling things up or down – my best guess is that it’s working with convolution filters to pick out areas of high contrast and edges, and then scaling portions of the image as it goes.

    If your image has got a lot of large artefacts then it’ll preserve them, but it does a pretty fine job of matching blurs around edges.

    The only thing I’ve picked up on is the scaling of shades and tones – in the image above you can notice that the sky colours have been squashed in the top picture – it’s preserved the general texture, but with the sky colours being a very similar tone, it hasn’t really picked up on the colour changes and dealt with those.

  5. whatever 29th January, 2009 at 10:44 am # Reply

    Google “Seam Carving” if you’d like to know how it’s done.

Leave a Reply

Note: This post is over 3 years old. You may want to check later in this blog to see if there is new information relevant to your comment.