Ask Your Question

ac17407's profile - activity

2020-11-06 18:12:17 -0500 received badge  Popular Question (source)
2019-06-06 06:45:46 -0500 commented answer vec3b has more than 3 elements?

Thanks for the suggestion. It works! So only accessing the first three elements using at is safe?

2019-06-06 05:40:06 -0500 commented answer vec3b has more than 3 elements?

Thanks for the suggestion. It works! So only accessing the first three elements using at is safe? Or I shall never use a

2019-06-06 05:36:14 -0500 marked best answer vec3b has more than 3 elements?

I was using imread to load a 3-channel png image and accessing the bgr pixel values through:

image.at<vec3b>(x,y)[0]

image.at<vec3b>(x,y)[1]

image.at<vec3b>(x,y)[2]

However, I found that vec3b[n] (n>=3) also contain some values. Any ideas on what these values indicate? Shouldn't vec3b only contain three values representing bgr channels?

2019-06-06 05:36:14 -0500 received badge  Scholar (source)
2019-06-05 21:32:49 -0500 received badge  Supporter (source)
2019-06-05 11:25:09 -0500 received badge  Student (source)
2019-06-05 10:42:27 -0500 edited question vec3b has more than 3 elements?

vec3b has more than 3 elements? I was using imread to load a 3-channel png image and accessing the bgr pixel values thro

2019-06-05 10:41:19 -0500 asked a question vec3b has more than 3 elements?

vec3b has more than 3 elements? I was using imread to load a 3-channel png image and accessing the bgr pixel values thro

2019-05-31 01:46:02 -0500 edited question Do different png compression rates result in different images?

Do different png compression rates result in different images? I have some ImageNet 2012 images in JPEG. I was only usin

2019-05-31 01:45:34 -0500 edited question Do different png compression rates result in different images?

Do different png compression rates result in different images? I have some ImageNet 2012 images in JPEG. I was only usin

2019-05-31 01:44:46 -0500 edited question Do different png compression rates result in different images?

Do different png compression rates result in different images? I have some ImageNet 2012 images in JPEG. I was only usin

2019-05-31 01:44:16 -0500 commented question Do different png compression rates result in different images?

Thanks for reply. Added the code and image examples. The dataset comes with JPEG so nothing I can do with it. To first c

2019-05-31 01:41:46 -0500 received badge  Editor (source)
2019-05-31 01:41:46 -0500 edited question Do different png compression rates result in different images?

Do different png compression rates result in different images? I have some ImageNet 2012 images in JPEG. I was only usin

2019-05-30 23:02:59 -0500 asked a question Do different png compression rates result in different images?

Do different png compression rates result in different images? I have some ImageNet 2012 images in JPEG. I was using two