Sorry if this sounds a bit ignorant.
A Bayer sensor have 4 pixels to collect light. I suppose it will then output as one pixel. So in that sense whatever the resolution of the sensor should be one quarter of what is claimed?
eg a 12 MP sensor actually is a 3 MP sensor?
Please correct me if I am wrong.