merge two binary images using Matlab
- by Pier-alexandre Bouchard
I need to create two different black binary rectangles using Matlab, to overlay a part of both and to extract the insertion.
How can I overlay two binary images?
-------|----------|
| | 2 |
| 1 |----|-----|
| |
|-----------|
I created my two binary images using the false(X, Y) Matlab function.
I dont find how to produce the merge the two images and to extract the insertion.