-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Copy of infiniteISP v1.1 * Update CCM for RTL, change CCM matrix from config * Update CSC for RTL, change np.round * remove float32 * disable sharpen, enable linearization * change CSC 8 bit division * rounding off after 2**4 division * automate_execution currently works on config_automate file to generate RTL compatible results. * added in_single_folder flag to set the structure of the out_for_RTL folder. If True, all input files are saved in a single folder. * - automate_execution.py works on configs.yml now instead of a separate config_automate.yml. - added is_save flag in configs.yml * added DG manual flag to bypass auto update by AE operation * added images to complete 8 sensor RAW inputs * added short script to output 16-bit reg value for WB gains in config file * shifted fixed float fraction list to relevant function description * changes made to run script for windows OS * added blc scaling factor register value conversion * generated test vectors in .raw for RAW domain ISP blocks * modification of BLC model and WB function for parameterized call to fixed point function * added printing for U16.14 precision fixed point linearize factor * corrected fixed point generator function arguments --------- Co-authored-by: muqudas-10xe <[email protected]> Co-authored-by: Maria_Nadeem-10x <[email protected]>
- Loading branch information
1 parent
27beb54
commit 50c2a22
Showing
8 changed files
with
26,056 additions
and
190 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
import numpy as np | ||
from utils import get_approximate | ||
|
||
#put white balance gain values from config.yml as arguments of get_approximate | ||
redgain, rgainpattern = get_approximate(1.24609375) | ||
bluegain, bgainpattern = get_approximate(2.80859375) | ||
blc_scalingfact, blc_scalingfactpattern = get_approximate(4095/(3000-203)) | ||
|
||
print('check values in debug window') | ||
print('red gain reg value (U8.8 format): ' + rgainpattern) | ||
print('blue gain reg value (U8.8 format): ' + bgainpattern) | ||
print('blc scaling fact reg value (U8.8 format): ' + blc_scalingfactpattern) | ||
|
||
|