Replacing a segmented part of an image with other images

asked 2018-12-26 02:49:59 -0500

Hi, I want to replace a part of an image with another image. I am able to segment an image into it's respective class, take for example, this picture of an eagle has been segmented using solid colours to differentiate between the object and the background.

image description image description

Is there a suitable algorithm that I can experiment, which detects object by colour, and performs object replacement? For example, I want to replace this eagle with another type of bird.

I'm very new to this concept, so any feedback will be greatly appreciated! I'm by no means asking for solutions, I'm just looking for a starting point (which algorithms, sample code, tutorials, etc) for me to explore further. Thank you so much.

edit retag flag offensive close merge delete