Dear all,
how to produce file awb_calc_data.c in TI 2A under dm365 ipnc platform, Does it use awb calibration function in image tuning tool? pls give me any suguesstion or document.
thanks.
alex luo
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.
Hi,
This file is auto generated by tuning tool when you do the AWB tuning.
Please refer to the ITT user guide on the tuning procedure for the AWB.
Regards,
Uday
thanks you for our answer. i use the awb tuning function in ImageTuningTool step by step, it procude some files in AWB_Tuning directory. such as TI_AWB_Calibration_Config.txt,3000_YUV_H3A_SELECTED.txt,3000_RGB_H3A_SELECTED.txt,3000_RGB_HIGH_RES.txt,3000_RGB_H3A.txt, etc.
but no file awb_calc_data.c , when I use "AWB Send Parameter" send the parameters to IPNC , the software say "Error: AWB Send Parameters(AWB_Config.cfg) could not be found in c:\Program files\ImageTuningTool_DM36x\Program\AWB_Tuning".
the soft version is 2.2 , what's the error mean? how can i do?
thanks.
alexluo
Can you please check if the file named "AWB_config_hardware.txt" is generated? the contents of this file are the one that are kept in awb_calc_data.c file.
Regrds,
Uday
Looks like some problem with process of the tuning you have done.
Can you list all the files that tuning tool generated.
Also please copy the contents of the file TI_AWB_Calibration_Config.txt. I will try to locate the problem.
Regards,
Uday
the files under awb_tuning directory are:
TI_AWB_Calibration_Config.txt,3000_YUV_H3A_SELECTED.txt,3000_RGB_H3A_SELECTED.txt,3000_RGB_HIGH_RES.txt,3000_RGB_H3A.txt,4000_YUV_H3A_SELECTED.txt,
4000_RGB_H3A_SELECTED.txt,4000_RGB_HIGH_RES.txt,4000_RGB_H3A.txt,4200_YUV_H3A_SELECTED.txt,4200_RGB_H3A_SELECTED.txt,4200_RGB_HIGH_RES.txt,
4200_RGB_H3A.txt,6500_YUV_H3A_SELECTED.txt,6500_RGB_H3A_SELECTED.txt,6500_RGB_HIGH_RES.txt,6500_RGB_H3A.txt,4300_YUV_H3A_SELECTED.txt,4300_RGB_H3A_SELECTED.txt,
4300_RGB_HIGH_RES.txt,4300_RGB_H3A.txt,TI_AWB_Tuning.exe.
the content of file TI_AWB_Calibration_Config.txt is:
'.\\'; # INPUT.REF.path
{'', '', '', ''}; # INPUT.REF.ref_list
[ ]; # INPUT.REF.ref_colortemp
'.\\'; # INPUT.OUTPUT.path
'.\\'; # INPUT.OUTPUT.AWB_Config_path
'AWB_config_hardware.txt'; # INPUT.OUTPUT.AWB_Config_filename_1
'AWB_Config.cfg'; # INPUT.OUTPUT.AWB_Config_filename_2
12; # INPUT.H3A.col
32; # INPUT.H3A.row
##########################################################################
# AWB Tuning parameters
#
# Keep these parameters fixed for basic tuning
##########################################################################
50; # TUNING.radius
#Square of the radius of expected gray region
5; # TUNING.luma_awb_min
#Minimal and maximal luminance value (The following setting is recommended for 8-bit H3A output data)
250; # TUNING.luma_awb_max
#Minimal and maximal luminance value (The following setting is recommended for 8-bit H3A output data)
3500; # TUNING.low_color_temp_thresh
0; # TUNING.apply_rgb_adjust
110; # TUNING.R_adjust:
90; # TUNING.B_adjust:
#-----------------------------------------------------------------------
#If ( apply_rgb_adjust==1 && color_temperature < low_color_temp_thresh )
# R_gain = R_gain * R_adjust / 100;
# B_gain = B_gain * B_adjust / 100;
#end
#-----------------------------------------------------------------------
999999; # TUNING.SB_1
#Brightness thresholds for mid brightness scenes
1000000; # TUNING.SB_2
#Brightness thresholds for high brightness scenes
0; # TUNING.SB_low_bound
#Brightness thresholds for low brightness scenes
; # TUNING.default_T_H
#Default color temperature for high brightness scenes
; # TUNING.default_T_MH
#Default color temperature for mid-high brightness scenes
; # TUNING.default_T_ML
#Default color temperature for mid-low brightness scenes
; # TUNING.default_T_L
#Default color temperature for low brightness scenes
1; # TUNING.best_gray_index_default
#Default gray index used, a total of four gray levels for each color temperature are supported
##########################################################################
# Additional input parameters
#
# Keep these parameters fixed for basic tuning
#
##########################################################################
{}; # INPUT.REF.addi_ref_list
#List of additional references. If outdoor sunny and outdoor shade references are used, put them here. Otherwise, leave this field empty
[]; # INPUT.REF.addi_ref_colortemp
#Color temperature of the additional references, in the same order as INPUT.REF.addi_ref_list (use a Chroma meter to measure color temperature)
0; # CONTROL.display_addi_ref
#0-do not display additional ref; 1-display additional ref
0; # CONTROL.use_addi_ref
#0-do not use additional ref; 1-use additional ref
[-90 40 -90 40]; # INPUT.DISPLAY.axis
#This field is the axis of the plots for white balance references (You may update this field after run Step2: Display DATA)
'AUTO'; #CONTROL.interp
#'MANUAL': manually determine how many interpolation points are needed by setting up INPUT.interp field below
#'AUTO': automatic deciding number of interpolated points based on the measured references and TUNING.radius
[2 4 3]; # INPUT.interp
#Update this field only if CONTROL.interp is set to 'MANUAL'. This field contains the number of interpolated points between each two references listed in INPUT.REF.ref_list.
10; # INPUT.H3A.bit_num
#H3A settings, the following fields need to match the H3A configuration in the hardware (H3A input data bit size)
4; # INPUT.REF.num_of_gray:
#Number of gray levels, (Factory setting, DO NOT CHANGE)
# These input fields are used to compute the initial values for TUNING.SB_1 and TUNING.SB_2
[30 53 29 47 44]; #INPUT.SB.lightbox_ref
# Filling in the estimated brightness for all the light box references
# The estimated brightness of the image can be found in line 35 in xxx_awbdebug.txt from the OMAP ISP simulation
[1331 320]; #INPUT.SB.outdoor_ref
#Filling in the estimated brightness for all the outdoor references
[1/2 1/2]; #INPUT.SB.params_1
#Parameters for computing SB_1, DO NOT CHANGE
[1/3 2/3]; #INPUT.SB.params_2
#Parameters for computing SB_2, DO NOT CHANGE
Best Regards,
alexluo