In case of RealSense, Color3 of RGBFrame that retrieve from ColorSensor has wrong color order.
Color3::blue contains red information, and Color3::red contains blue information.
That is inverse. Perhaps, There is a mistake in implementation of NuiTrack.
RGBFrame stores a buffer of a colored image with BGR byte order.
Usually, The Color3::blue member variables should contain Blue information, The Color3::red member variables should contain Red information.
But, In case of NuiTrack SDK with RealSense, The Color3::blue member variables contain Red information, The Color3::red member variables contain Blue information.
I think it confuses developers. Why?
(NuiTrack with RealSense)
I think it is bug.
Seems that there maybe should be a seperate class called colorBGR that uses the correct labels for each value.
Thank you for reporting this issue. We’ll fix this in the next release.