Hello,
Is there only one method to tune gamma in DCC 2.03 as shown in below picture? Is there a function to adjust the gamma curve instead of just one value?
And is 2.03 the latest DCC version?
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.
Hello,
Is there only one method to tune gamma in DCC 2.03 as shown in below picture? Is there a function to adjust the gamma curve instead of just one value?
And is 2.03 the latest DCC version?
Hello Wang,
Latest tuning tool version is 2.50 ( https://www.ti.com/securesoftware/docs/autopagepreview.tsp?opnId=16092)
Tuning tool generates gamma curve lookup table (LUT) from the γ value using the equation
Vout = Vinγ
If you are using gamma for contract, there are other ways of doing it - like in decompanding LUT or in GLBCE.
If you want to specify a very custom gamma curve, you can always manually generate the LUT and replace tool generated LUT.
Regards,
Mayank
Mayank,
Thanks for your sharing. The web link of DCC 2.50 can not open, as shown below.
And does DCC2.50 support TDA4?
Hello Wang,
2.50 supports TDA4. Please share your myTI account so that I can grant you access.
Regards,
Mayank
Mayank,
MyTI account is "wang zhili (6814535)", and the email is "zhili.wang@hirain.com".
Hello Wang,
You should have access now. Please let me know if anything else needed on this issue.
Regards,
Mayank
Hello Mayank,
Now I can download the DCC 2.5, thanks.
I have some questions about DCC:
1.How to distinguish VPACv1 and VAPCv3? Is it the difference in SDK or the difference in hardware?
2.I found that there is still no gamma curve tuning plugin which is dependent on brightness histogram, could you develop this function? Or is there any version DCC app that supports this funtion and is compatible with TDA4?
3.The older version of DCC has the gamma curve tuning plugin, which I seen on the internet (shown in below), could you tell me why you remove this plugin?
Regards,
Wang zhili
Hi Mayank,
Could you please give me some answers to these questions?
Regards,
Wang
Hi Zhili,
VPAC1 is in J7ES/TDA4VM and VPAC3 are in newer J7/TDA4 devices.
TDA4 tuning tool does not support changing Gamma curve given histogram.
TDA4 VISS uses the GLBCE IP block for automatic global and local tone mapping.
Best,
Gang
Hi Gang,
Thanks for your reply.
Can you or are you planning to develop Gamma curve given histogram? Because this function has a great effect on improving the brightness and contrast of the image, which is exactly what we need.
Regards,
Zhili
Hi Gang,
Is the LUT you refered "sensor_name_lut_wdr_overall_pwl_global.txt" generated by DCC CFA+WDR plugin?
And is there a way tuning gamma after AE?
Regards,
Zhili
Hi Zhili,
I believe you want to change the gamma curve before RGB2YUV.
You can do that by modifying "flexcc_contrast_lut_0.txt" included in "vx_vpac_viss_target_defaults.c".
We use the standard BT709 gamma in that file for the reason we talked above.
Best,
Gang
Hi Gang,
After I changed the values in file "flexcc_contrast_lut_0.txt", I can see the changes in images of TDA4.
So I want to know that what is the working mechanism of this file? Is it possible that we can adjust this gamma curve individually? For example to add it into DCC?
BTW, the FAEs in Beijing supporting HiRain you mentioned before have not contact us by far, could you please help to ask the arrangement of them? Thank you very much.
Regards,
Zhili
Hi Zhili,
Yes, you can change the default gamma curve or add control in s/w at openvx level for changing the curve dynamically.
We don't have a plan now for adding it to DCC.
Please feel free to reach out your local TI sales and technical support for help directly.
Best,
Gang
Hi Gang,
you can change the default gamma curve or add control in s/w at openvx level for changing the curve dynamically
Can you explain this in detail? Or is there any guides for how to develop this feature?
Regards,
Zhili
You may change the default LUT in "vx_vpac_viss_target_defaults.c".
Also, please take a look "vx_vpac_viss_target_dcc.c" to see how parameters are changed at runtime.
static uint32_t gflexcc_contrast_lut[] = { #include "flexcc_contrast_lut_0.txt" };
Hi Gang,
I do not find any parameters related to gamma in "vx_vpac_viss_target_dcc.c".
In "vx_vpac_viss_target_defaults.c", I saw gamma lut has been set in function "tivxVpacVissDefaultMapGammaParams" and has been called by function "tivxVpacVissDefaultMapFlexCCParams". While in "vx_vpac_viss_target_dcc.c" only the CCM parameters have been setted and called in function "tivxVpacVissDCCMapFlexCCParams".
Therefore, where is the gamma parameters called and changed?
Hi Zhili,
As discussed earlier, PSDK has a fixed gamma curve.
You may change the default gamma curve as necessary in PSDK.
If you want to change gamma dynamically, you will need to modify the code in "vx_vpac_viss_target_dcc.c" to do that.
You don't need to use DCC, but that is the place where you can get AE information and change the gamma table.
Best,
Gang