主权项 |
1. A camera array correction method, adapted for an image correction between a first camera and a second camera, the camera array correction method comprising:
using the first camera and the second camera to shoot a light source to generate a first image and a second image; calculating a first red image gain value, a first green image gain value, a first blue image gain value, a second red image gain value, a second green image gain value and a second blue image gain value, according to a first red image data, a first green image data and a first blue image data of the first image, and a second red image data, a second green image data and a second blue image data of the second image; calculating a red image gain ratio, a green image gain ratio and a blue image gain ratio of the second image, wherein the red image gain ratio is a ratio of the second red image gain value and the first red image gain value, and the green image gain ratio is a ratio of the second green image gain value and the first green image gain value, and the blue image gain ratio is a ratio of the second blue image gain value and the first blue image gain value; generating a red image correction gain, a green image correction gain and a blue image correction gain of a third image when the first sensing element array and the second sensing element array shoot an external environment to generate the third image and a fourth image respectively; multiplying the red image gain ratio, the red image correction gain and the second red image data to obtain corrected red image data, and multiplying the green image gain ratio, the green image correction gain and the second green image data to obtain corrected green image data, and multiplying the blue image gain ratio, the blue image correction gain and the second blue image data to obtain corrected blue image data; and correcting the fourth image to generate a corrected image according to the corrected red image data, the corrected green image data and the corrected blue image data, to enable the corrected image and the third image having substantially equal image features. |