How to get opencv images from argus/syncsensor sample?

Hi,
You may refer to this patch: