Skip to main content
victoriah80830523
Participating Frequently
March 17, 2017
Question

how come when i remove an object with content aware it brings in unselected part of the picture to fill with?

  • March 17, 2017
  • 4 replies
  • 6627 views

I am trying to remove an object in the background of a picture, and have watched tutorials saying to use the lasso tool the the content aware fill, but when I try this it fills it with blurry parts of people from below the object despite the lasso'd area not touching the people in the picture. Is there a different way that I cant find of removing an object that is touching different coloured parts of the background?  Thanks

    This topic has been closed for replies.

    4 replies

    victoriah80830523
    Participating Frequently
    March 22, 2017

    Thanks for all the advice and help everyone :-) And that's good Dave I thought I was been even stupider than normal haha but if that step wasn't needed that's good, but yeah I can try it next time now I know!

    Trevor your wall corner looks a lot better than mine! I didnt think it looked too bad until I saw yours   Rectangular marquee sounds easier than my rubbish attempts with the clone stamp... but I will check out the tutorials, ive been scared of photoshop for a while and been sticking to lightroom for just general tweaking but now i am quite excited about photoshop and its opened lots of new things to do with photos!

    just out of interest how long did it take you both roughly to come up with your finished photos?

    davescm
    Community Expert
    Community Expert
    March 22, 2017

    just out of interest how long did it take you both roughly to come up with your finished photos?

    Just a few minutes. The more you do this, and get used to the tools, the quicker you get

    Dave

    victoriah80830523
    Participating Frequently
    March 24, 2017

    a few minutes! thats pretty good

    victoriah80830523
    Participating Frequently
    March 18, 2017

    Here is the photo, it is the tv I am trying to remove (its for a friend who wanted to frame it for someone so its not really necessary as its still a nice photo but they would prefer it without and I wanted to try and improve my editing skills, ive not done object removal before)

    So with the content aware at first it replaced it with some smeary hair and randomly an eyeball, and by creating another layer for the fill it blended the top of the cards into where we would like wall to be which makes sense if it uses its surroundings to fill it, thats why I was wondering if I was going about it the wrong way?

    davescm
    Community Expert
    Community Expert
    March 18, 2017

    Hi

    The best way with that is to use select and mask to select the area you want - then drop in a new background behind it.

    Open the image and select and mask, set the view mode to onion skin and transparency to 30%. Now use the quick select tool (the brush at the top left) to paint in the areas you want i.e. the children & seat. If it it picks up areas you don't want hold the Alt key whilst painting and it will remove them.

    Once you have done that change to the refine edge tool (second one down) and set the brush to just 10px wide. Now paint around the edges of the hair (and only those edges)

    When you are done set the output (bottom right) to New Layer with Layer Mask and press OK

    Now you can insert a new layer underneath with whatever background you choose - I used a layer using Filter - Render - Clouds and  set to the luminosity blending mode over a brown layer.

    Finally add an additional layer above the masked layer - set the layer blending mode to colour and paint around the edges of the hair with a brush set the same as the hair colour. This just removes any fringes of colour from around the edge that had been picked up from the background.

    I hope that helps you

    Dave

    victoriah80830523
    Participating Frequently
    March 21, 2017

    Hii,

    Wow thank you, that was really helpful, I managed to make the mask so I could sort the background out easier with the clone stamp without having to go round all the bits of hair etc in the way (that was really annoying before) then merged the mask back onto the background, although I need to improve my edging,I didn't really get the last part, but i don't think it looks that bad for my first attempt so thank you very much :-) I shall keep practicing now I have an idea what im doing

    martinl78027992
    Participating Frequently
    March 18, 2017

    Create a mask for your original photo. Mask out any areas you do not want content aware fill to sample from. Highlight the orginal photo, create the selection and use content aware fill. Only unmasked areas will be sampled from

    davescm
    Community Expert
    Community Expert
    March 17, 2017

    Copy the section of the image that you want content aware to use when filling, onto a separate layer then make your selection round the object and use content aware fill on that separate layer.

    Dave

    victoriah80830523
    Participating Frequently
    March 17, 2017

    hi, thanks for the reply, i tried that which has solved the bringing random parts of picture in but as it has some cards under the tv (which is what im trying to remove) it just smears the cards into the space i am trying to get blank wall, i take it this method only works with similar coloured backgrounds/?

    davescm
    Community Expert
    Community Expert
    March 17, 2017

    Hi

    It is hard to tell you the best method without seeing the image. Sometimes cloning works better, sometimes healing, sometimes content aware.

    Are you able to post the image stating what you are trying to remove/replace and we'll and help you with a method for that image?

    Dave