I’m sorry,

Its 

>> np.abs(im1 - im2)


Surya






> On Apr 20, 2017, at 7:10 PM, Surya Kasturi <sur...@udel.edu> wrote:
> 
> Hey,
> 
> I’m doing absolute difference between two images and found that the results 
> from opencv and scikit-image are different
> 
> >> im1 = imread(“file1.jpg”)
> >> im2 = imread(“file2.jpg”)
> >>
> >> cv2.absdiff(im1, im2)
> >> np.abs(im1, im2)
> 
> I was expecting exactly same result.. could anyone please let me know why I’m 
> observing slightly different results. 
> 
> (I could post images if you’d like)
> 
> Thanks
> Surya
> 

_______________________________________________
scikit-image mailing list
scikit-image@python.org
https://mail.python.org/mailman/listinfo/scikit-image

Reply via email to