2013-09-11 10:59:42 -0600 | commented answer | Why am I getting garbage value instead of RGB while printing out colour of pixels? I had type casted but then stored it in uchar which gives the ascii equivalent while printing. Thanks. |
2013-09-11 10:58:15 -0600 | commented answer | Why am I getting garbage value instead of RGB while printing out colour of pixels? Yup that was my mistake. Type casting solved the issue. |
2013-09-11 10:57:37 -0600 | received badge | ● Supporter (source) |
2013-09-11 10:57:33 -0600 | received badge | ● Scholar (source) |
2013-09-11 07:48:10 -0600 | commented answer | Why am I getting garbage value instead of RGB while printing out colour of pixels? But its element val[0] has << overloaded. So it should give the RGB colour. People have extensively used this method to print RGB values of pixels. |
2013-09-11 05:38:20 -0600 | received badge | ● Editor (source) |
2013-09-11 05:35:22 -0600 | asked a question | Why am I getting garbage value instead of RGB while printing out colour of pixels? This snippet of code prints out garbage values. But this prints out the vector of RGB values. The moment I try to access the individual RGB values I get garbage values printed, Any reason why this might be happening? |