PetaPixel

Use Small Selections to Improve Results with Content Aware Fill

Photoshop product manager Bryan O’Neil Hughes offers this quick tip for getting better results with Content Aware Fill: use smaller selections for more accurate results.

(via John Nack)


 
  • Josh

    Good advice… but he didn’t explain very well why it is more logical to do it this way. By making a bigger selection, he’s telling me that Content Aware now knows LESS about the image…? 

  • Josh

    Good advice… but he didn’t explain very well why it is more logical to do it this way. By making a bigger selection, he’s telling me that Content Aware now knows LESS about the image…? 

  • Josh

    Good advice… but he didn’t explain very well why it is more logical to do it this way. By making a bigger selection, he’s telling me that Content Aware now knows LESS about the image…? 

  • hero

    Content-aware fill works like a cross between Spot Healing Brush and the Patch tool, in that it is a user-defined selection (like Patch) but with an automatically inferred source (like Spot Healing).  The smaller the selection, the less inference the algorithm needs to make, because it doesn’t need to sample as large a surrounding region to make the fill.  This is why a large selection is less likely to succeed; the algorithm tries to find a similarly large region of the image from which to infer the contents of the target.  If a large selection is made adjacent to an area where the image features are very different, the algorithm guesses incorrectly.

    So yes, the larger the selection, the LESS is known about the image, because (1) the selection represents data that you wish to correct, and therefore represents “unknown” image content; and (2) there is relatively less “valid” source data available from which the algorithm can sample and return a result the user intended.  By selecting pixels, you are telling Photoshop, “hey, these pixels are wrong, fix them.”  The more pixels you select, the less Photoshop knows about what their values SHOULD be based off the pixels you did NOT select.

  • Bob

    no…he is telling you that Content Aware fill knows too much about the image when you select a large area …you have to pick smaller areas so that the tool has less choices surrounding it to make its changes.  If used properly..with the right “touch” it can save a lot of time.

  • Anonymous

    With a large selection, Photoshop has a more difficult time trying to figure out what you’re trying to eliminate. The more specific the selection is, the easier it is to fill.