Quantcast
Channel: OpenCV Q&A Forum - RSS feed
Viewing all articles
Browse latest Browse all 41027

Pixel intencity difference in opencv and Matlab

$
0
0
I am trying to implement various Matlab functions rgb2lab in opencv. I got output images(in opencv) similar to Matlab. But their pixel values are different. For example output pixels values of 2x2 pixel image: 1. Opencv pixel values : [255, 255, 255, 255, 255, 255; 255, 255, 255, 255, 255, 255] 2. Matlab pixel values : e(:,:,1) = 51.0815 51.0815 51.0815 51.0815 e(:,:,2) = 33.3777 33.3777 33.3777 33.3777 e(:,:,3) = 10.6660 10.6660 10.6660 10.6660 Please help me to resolve my problem. How it happen?

Viewing all articles
Browse latest Browse all 41027


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>