I want to show a smaller image on another bigger image, but the smaller image has white background which is unwanted So how to remove the white background and correctly place the smaller image ?
Show older comments
After searching a lot for this problem on the internet I finally decided to post my own at mathworks.
So far I have used the following code. (Tested, but I would prefer a better code) CODE:
imshow(biggerimage)
hold on;
imshow(smallerimage, 'XData', xdata, 'YData', ydata);
hold off;
Answers (0)
Categories
Find more on Image Arithmetic in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!