This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

J721S2XSOMXEVM: VPAC3 Demosaic for RYYCy sensor

Part Number: J721S2XSOMXEVM

Tool/software:

Hello, TI experts,

I've brought up a new sensor that outputs RYYCy raw data, and now able to capture raw images.

I have the DCC tool and am now attempting to retrieve YUV image through VISS.

It seems that the RGGB setting for CFA format on the DCC tool is the starting point to begin with when working with some CFA format that is not natively supported by DCC.
However, I am unsure of the next steps to take.

I considered attempting to manipulate some coefficient matrix for CFAI, but the CFAI method seemed to be gradient-based interpolation according to the TRM,
and I was unable to determine how to manipulate it for RYYCy.

I need help figuring out the way. Should I simply use CFAI as if it were RGGB and then tune it at CCM?
Or somehow should I adjust CFAI to make RYYCy generate RGB? Or another better way?

Please let me know how to do it.

Regards,

Juhyun

  • Hi Juhyun,

    Should I simply use CFAI as if it were RGGB

    You may treat RYYCy as RGGB for CFAI tuning.
    CFAI will output R, Y, Cy similar to R, G, B.

    then tune it at CCM?

    Yes, this can be done similarly with the RGGB tuning flow.
    I don't have much experience with RYYCy sensor applications myself to predict if the final RGB result will be perfect.
    If you get reasonable CCMs for all lighting conditions and good RGB output color, then RGB output should be fine for your RYYCy sensor.

    somehow should I adjust CFAI to make RYYCy generate RGB?

    That depends on your application requirements.
    Using RGGB tuning flow is a good starting point at least.

    Ideally, the sensor vendor should optimize the RYYCy CFA such that good conversion from RYCy to RGB is possible without bad side effects.

  • Thank you Gang, for the detailed explanation.

    Regards,

    Juhyun

  • Thank you for the confirmation and close this thread.