CPC G06T 7/80 (2017.01) [G06T 3/40 (2013.01); G06T 7/33 (2017.01); H04N 23/6812 (2023.01); H04N 23/80 (2023.01); H04N 23/90 (2023.01); G06T 2207/10024 (2013.01); G06T 2207/10048 (2013.01); G06T 2207/20212 (2013.01)] | 16 Claims |
1. A camera device comprising:
a color camera;
an infrared (IR) camera;
a flexible connection member connecting the color camera and the IR camera;
a sensor device configured to sense a movement or impact: and
a processor configured to:
in response to the movement or the impact sensed by the sensor device being less than a first level, calculate three-dimensional (3D) error information based on a color image from the color camera and an IR image from the IR camera, compensate for at least one of the color image and the IR image based on the calculated 3D error information, and output a compensated color image or a compensated IR image, and
in response to the movement or the impact sensed by the sensor device being greater than or equal to the first level, extract a first region of a color image from the color camera, extract a second region of an IR image from the IR camera, calculate error information based on a difference between a gradient of the first region and a gradient of the second region, compensate for at least one of the color image and the IR image based on the calculated error information, and output a compensated color image or a compensated IR image.
|