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

1 view (last 30 days)
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)

Image Analyst
Image Analyst on 12 Mar 2012
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
Krishnendu Mukherjee
Krishnendu Mukherjee on 12 Mar 2012
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.


Sean de Wolski
Sean de Wolski on 12 Mar 2012
R2012a:doc imfuse awesomeness

Categories

Find more on Image Processing Toolbox in Help Center and File Exchange

Products

Community Treasure Hunt

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

Start Hunting!