modules/utils.py
def ims2rgb(im1, im2):
    '''
        Concatenate images into RGB
        
        Inputs:
            im1, im2: Two images to compare
    '''
    H, W = im1.shape
    
    imrgb = np.zeros((H, W, 3))
    imrgb[..., 0] = im1
    imrgb[..., 2] = im2

    return imrgb

        Concatenate images into RGB
        
        Inputs:
            im1, im2: Two images to compare
    
Concatenate images into RGB
Inputs:
im1, im2: Two images to compare
Concatenate images into RGB Inputs : im1 im2 : Two images to compare
def ims2rgb(im1, im2):
    H, W = im1.shape
    imrgb = np.zeros((H, W, 3))
    imrgb[..., 0] = im1
    imrgb[..., 2] = im2
    return imrgb
def ims2rgb ( im1 , im2 ) : H , W = im1 . shape imrgb = np . zeros ( ( H , W , 3 ) ) imrgb [ ... , 0 ] = im1 imrgb [ ... , 2 ] = im2 return imrgb
Concatenate images into RGB
Inputs:
im1, im2: Two images to compare
Concatenate images into RGB Inputs : im1 im2 : Two images to compare
'''
        Concatenate images into RGB
        
        Inputs:
            im1, im2: Two images to compare
    '''
im1
im2