I wrote a small tool to try to quickly adjust the luminance_lut array. I enlarged, reduced, and moved the entire proportion of the original array, but I couldn't completely remove the vignetting.I'm not sure what happened on Bookworm, since adjusting the lens shading was something I had happily accomplished on the older system in the past.
Code:
import pandas as pddef process_array(arr): processed_arr = [round(abs(num-0)*2, 3) for num in arr] return processed_arrdef print_table(arr, file_name): with open(file_name, 'w') as f: for i in range(0, len(arr), 32): row = arr[i:i+32] row_str = ', '.join([f'{num:.3f}' for num in row]) f.write(row_str + ',\n')my_array=[ ]processed_array = process_array(my_array)print_table(processed_array, '/Users/yinqiang/output.txt')print("The results have been saved to 'output.txt'.")[code]
Statistics: Posted by yq3w — Thu Jun 13, 2024 5:00 am