What is the formula in nvvidcon to convert I420 colour to GRAY8

My camera output is in UYVY format colour. Lighting can be changed by user in different colour. Image processing algorithm knows which lighting is selected and is only processing GRAY8 image considering processing speed. Would you please let me know the formula in nvvidcon how to convert I420 colour to GRAY8.

There is no update from you for a period, assuming this is not an issue any more.
Hence we are closing this topic. If need further support, please open a new one.

GRAY8 is only Y plane of I420, so it is direct copy without conversion. Do you see any issue in the conversion through nvvidconv?

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.