Is there is any way either in Obj c or swift, to alter the background so nicely that one could feel the person must be in the image

I just want to know is it possible..to alter the background image so nicely that one could feel the person must be in the picture..if yes then please let me know any tutorial regarding this..or any kind of help. both obj c or swift language code will be helpfull..thanks in advance