merge two binary images using Matlab
        Posted  
        
            by 
                Pier-alexandre Bouchard
            
        on Stack Overflow
        
        See other posts from Stack Overflow
        
            or by Pier-alexandre Bouchard
        
        
        
        Published on 2012-10-06T14:52:15Z
        Indexed on 
            2012/10/06
            15:37 UTC
        
        
        Read the original article
        Hit count: 355
        
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.
© Stack Overflow or respective owner