(self, img1, img2, α=0.8, β=1., λ=0.):
return cv2.addWeighted(img1.astype(np.uint8),
                               α, img2.astype(np.uint8), β, λ)
The result image is computed as follows:
        img1 * α + img2 * β + λ
        NOTE: img1 and img2 must be the same shape!
The result image is computed as follows:
        img1 * α + img2 * β + λ
        NOTE: img1 and img2 must be the same shape!
The result image is computed as follows : img1 * α + img2 * β + λ NOTE : img1 and img2 must be the same shape!
def miximg(self, img1, img2, α=0.8, β=1., λ=0.):
        """
        The result image is computed as follows:
        img1 * α + img2 * β + λ
        NOTE: img1 and img2 must be the same shape!
        """
        return cv2.addWeighted(img1.astype(np.uint8),
                               α, img2.astype(np.uint8), β, λ)
def miximg ( self , img1 , img2 , α= 0 .8, =1 . ,  λ 0. ) : return cv2 . addWeighted ( img1 . astype ( np . uint8 ) , α, mg2. a stype( n p. u int8) , ,  λ