how to superimpose a picture on an other pic in a same fig?

i mean to say suppose i have two pic, one is of a playground and other is a ball. now i open the pic of playground by using imread() command. now in that same fig i have to impose the ball also in a particular co-ordinate.how to do that?

Answers (2)

You can either have to replace the playground image pixels with the ball pixels, or average them with the ball pixels. Or you can have the ball be in the overlay (on top of the playground), so that the playground image itself if not altered. Which do you want to do?

2 Comments

i can replace the playground imagew pixcel with the ball pixcel.bt,its very necessary that only the small size where the ball will be placed,wiil be altered.

Sign in to comment.

Categories

Find more on Images in Help Center and File Exchange

Products

Asked:

on 12 Mar 2012

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!