Skip to main content
Inspiring
June 22, 2018
Answered

Content aware crop - strange behaviour

  • June 22, 2018
  • 2 replies
  • 582 views

Until yesterday, I had never used the "Content aware crop" tool. I was aware of it, but never used it.

I was experimenting with it yesterday, and having some problems.

In all cases, I was starting in LR. I had created a merge pano using LR, and straightened in in LR, but was looking for a better crop. Turned off Auto-crop, and sent it to PS (dng file of course). Auto-crop simply would not work. I reset the tool. No luck. Google then gave me a few hits of others with similar issues, but no clear solution. I did check I wasn't using a smart object or a background layer.

Next I sent the two individual images (jpgs) that I had used to merge in LR from LR to PS as "Merge to Panorama in PS". This gave me a pretty similar merged file. I flattened the layers and tried the Content aware crop, which this time decided to work, but produced some pretty strange results (see the sky in the sea at bottom left)

This image shows the result of PS merging to pano:

This image shows the result of PS Content aware crop:

I appreciate that no tool is going to be perfect, but in my humble opinion, this is probably one of the easier CAC's that this tool would be asked to perform - essentially plain blue sky and smooth sea.

So next I decided to try the LR merged pano again. Still no luck. I then decided to use the crop but only rotate the image (even though it had been straightened in LR). This time CAC decided it would work.

This image shows the result of PS Content aware crop using rotate only on LR merged DNG file:

This produced similar but significantly different results (no sky in bottom left).

Finally, I sent one of the two jpgs used for the merge to PS, and did a Rotate CAC, and I got a perfect result.

jpg before rotate:

jpg after rotate CAC:

Odd behaviour?

Anyone any thoughts on this topic?

Thanks

Colin

    This topic has been closed for replies.
    Correct answer JohanElzenga

    Content-aware crop only fills in those empty areas that are added as a result of that crop. The blank areas in your image were already there before you applied the crop, that's why they didn't get filled, but actually cause problems for the areas that do get filled. Photomerge has an option to fill-in the empty areas during stitching. That is what you should have used.

    2 replies

    ColinMcDAuthor
    Inspiring
    June 22, 2018

    Wonderful. Thanks for such a prompt (and helpful) answer. Should have realised that!

    JohanElzenga
    Community Expert
    JohanElzengaCommunity ExpertCorrect answer
    Community Expert
    June 22, 2018

    Content-aware crop only fills in those empty areas that are added as a result of that crop. The blank areas in your image were already there before you applied the crop, that's why they didn't get filled, but actually cause problems for the areas that do get filled. Photomerge has an option to fill-in the empty areas during stitching. That is what you should have used.

    -- Johan W. Elzenga