RAW to Grayscale

proof ? datasheet says:

output formats: 10-bit RAW

(which sounds more like 10bit monochrome to me)

please print out img.type(), img.size(), img.channels() , and show us