Ask Your Question

Jeffrey's profile - activity

2012-11-06 23:45:38 -0500 received badge  Famous Question (source)
2012-09-11 22:58:23 -0500 received badge  Notable Question (source)
2012-09-04 10:17:09 -0500 received badge  Popular Question (source)
2012-09-01 04:17:17 -0500 commented question Image.meanColor RGB? or BGR?

Anyway, the reference of simplecv describe that the oder of colorspace is mostly BGR. ^_^

2012-09-01 04:06:52 -0500 commented question Image.meanColor RGB? or BGR?

Thanks Jay. But I think there are some problem in consistency. when I call, splitChannels it returns r, g, b regardless of its colorspace. Also the example image and code in the book does not include this information.

2012-09-01 03:57:55 -0500 received badge  Scholar (source)
2012-09-01 03:53:22 -0500 received badge  Editor (source)
2012-09-01 03:52:19 -0500 received badge  Supporter (source)
2012-08-31 22:33:28 -0500 asked a question Image.meanColor RGB? or BGR?

My simplecv version is 1.3.0. My OS is Mac OS mountain tiger. When I follow examples from simpleCV book. I found some strange thing in chapter 5. The output of meanColor looks like BGR not RGB. Did anyone find similar problems? is it a kind of bug or my fault?

....

SimpleCV:43> [r, g, b] = only_car.splitChannels()

SimpleCV:47> only_car.meanColor()
SimpleCV:47: (4.482825, 18.878725, 25.601725000000002)

SimpleCV:48> b.meanColor()
SimpleCV:48: (4.482825, 4.482825, 4.482825)

SimpleCV:49> g.meanColor()
SimpleCV:49: (18.878725, 18.878725, 18.878725)

SimpleCV:51> r.meanColor()
SimpleCV:51: (25.601725000000002, 25.601725000000002, 25.601725000000002)