I am getting different pixel values when i tried to read image using both opencv imread() and matlab imread() for same image. I would like to know the reason? [closed]
I tried to process the image for my assignment. When I read the image using both Matlab imread() and opencv imread() function, I am getting different pixel value.
is that a jpeg (or anything "lossy" ?)
(different image libs will get you different results then.)
many reason
1
2
3
....
Thanks all . @berak Yes it is jpeg image
so, avoid those, if you need to compare results.
.bmp
or.png
should be safe.Thanks @berak & @LBerger