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.

TDA4VH-Q1: how to do [R, T] transformation in LDC?

Part Number: TDA4VH-Q1


Tool/software:

Hi, TI experts, 

In DCC LDC plugin, there is a 3x3 [R, T] matrix to do rotation and translation. However, in this matrix we can only do rotation along z-axis, and do translation in x-y plane.


My question is: how to do rotation along x or y axis in LDC ?

Thanks, 

Jianxiong Hua

  • Hi Jianxiong,

    My question is: how to do rotation along x or y axis in LDC ?

    That requires enabling perspective warp in LDC register and changing the values of G and H.

    in this matrix we can only do rotation along z-axis, and do translation in x-y plane.

    In general, I don't recommend using the perspective because of H/W limitation (bit-depth and precision) if you cannot verify all possible G and H values together with the mesh LUT.

  • Hi Gang, 

    To do rotation along x, y, z axis, the matrix are belows:

    But in DCC, the [R T] matrix is: 

    I'm skeptical about using this matrix implementation of achiving perspective transformation. 

    In other words, is it possible to inclue both rotation and perspective transformation via a user defined mesh.txt?

    Jianxiong Hua

  • I'm skeptical about using this matrix implementation of achiving perspective transformation. 

    LDC matrix is common back mapping and nothing special except for the integer presession limitations.
    The math shall be the same although your equations are for forward mapping.

    In other words, is it possible to inclue both rotation and perspective transformation via a user defined mesh.txt?

    That is what I normally recommend doing to avoid integer precision issue in LDC H/W.