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.

TDA3MV: How to use ipipe gamma module

Part Number: TDA3MV

hello

I have a few questions about using gamma module.

Question1. 

The input format of IFIFE moudle is 12bit grayscale image. 

Below, I got answer in this forum for gamma module.

I have a question about 12-bit input format.

We get 12-bit data of the camera. But I think that the gamma module use only the msb 9bits in 12-bit data.

What is the meaning of the 0x0005(the lsb 3bits) in the value 0x0B15?

Could you let me know how to make 12 bit format

------------------------------------------------------------------------------------------------------------------

For example, if you have a 12-bit input data with a value of 2837, which is 0xB15 in hex value, you'd first down-shift the data by 3 to get the index to the gamma look-up-table, which is 0x162 in this case, or 354 in decimal.The lsb 3bits of the data, which is 5, is upshifted by 3 to yield 40.

Now assume your  gamma[354] entry has a offset value of 719 and a slope value of 2.

The final output from the gamma table operation will then be:

clip(719+((2*40)>>6)) = 720.

-------------------------------------------------------------------------------------------------------------------

Question2.

So, i make up 12 bit data that the msb 9 bit data is camera data and the lsb 3 bit is 0.

In this case, there is contour line in image, too.

I think that this case is caused by the lost of lsb 3 bit.

Am i wrong? If then, Could you let me know the reason? or How can I solve this problem?

Question3. 

When I use the gamma module, the contrast of the image get lower compared to not using gamma module.

i think that this problem is caused by the clip, 12bit to 10bit. 

Is this right? Then, how to i can solve?

Actually, I need to used edge enhancer in IPIPE module.

So I have to use gamma module in IPIPE module.

If you have other solution, then let me know it, please.

Thanks