Info
Diese Frage ist geschlossen. Öffnen Sie sie erneut, um sie zu bearbeiten oder zu beantworten.
How do I remove an image background to show the bottom layer image
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
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?
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/341842/image.png)
It should look like this
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/341845/image.png)
0 Kommentare
Antworten (1)
Felipe Bayona
am 5 Aug. 2020
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 Kommentare
Diese Frage ist geschlossen.
Siehe auch
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!