[scikit-image] Absolute difference of images: OpenCV vs Numpy
Surya Kasturi
suryak at udel.edu
Thu Apr 20 19:11:48 EDT 2017
I’m sorry,
Its
>> np.abs(im1 - im2)
Surya
> On Apr 20, 2017, at 7:10 PM, Surya Kasturi <suryak at 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/scikit-image/attachments/20170420/ed75d8e3/attachment.html>
More information about the scikit-image
mailing list