Changing the header of cv mat. Opencv matrix does not respect the const modifier. It does not have any extra data fields.