When you remove an element from a picture, how does the software know what to fill the gap with?

637 views

When you remove an element from a picture, how does the software know what to fill the gap with?

In: Technology

2 Answers

Anonymous 0 Comments

Unless you are using a format/software that allows layers of different graphics, removing a part of a picture will result in the area being filled with whatever colour is currently defined as the background in the software, or being defined as transparent again assuming the format/software supports that.

Anonymous 0 Comments

I’m guessing you’re thinking of software such as Photoshop. It doesn’t ‘know’ in the way that you and I do. Computers are not yet capable of looking at a picture and understanding what they are looking at; they don’t get context. They can learn to recognise a tomato in a picture, over time, but not whether it should be there, nor what would be appropriate (to people) to be in its place if it was removed.

When you use software to remove/replace something, I believe the software looks at the colours and patterns nearby and uses those to replace what you have removed. It doesn’t understand that you’ve taken a cat out of the garden. Only that you’ve removed something from that part of the picture and that there are lots of green pixels around it (grass/leaves etc to us) and it reuses those patterns and colours to fill it in.