Info
この質問は閉じられています。 編集または回答するには再度開いてください。
How do I remove an image background to show the bottom layer image
1 回表示 (過去 30 日間)
古いコメントを表示
I would like to remove the green background from this image to show the boat alone on first layer image, how can I do this?

It should look like this

0 件のコメント
回答 (1 件)
Felipe Bayona
2020 年 8 月 5 日
Hi
The beach and the boat are different images?
If so, you can try to load them as matrix, and overlap them.
If beach image is 1000 x 600 image, and boat 500 x 300, create a function that iterates over the beach matrix starting from point (0, 500) and replace the value i,j from the beach image for the i,k in the boat matrix only if the value in the boat matrix is different from the the green value (the value of the pixel)
Good luck
0 件のコメント
この質問は閉じられています。
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!