| CPC G06T 17/00 (2013.01) [G06T 5/40 (2013.01); G06T 5/70 (2024.01); G06V 10/25 (2022.01); G06V 10/56 (2022.01); G06T 2207/20132 (2013.01); G06T 2207/30252 (2013.01)] | 10 Claims |

|
1. An image-based lighting method comprising:
receiving an input image obtained by capturing a scene of one of a front, rear and side of a vehicle;
generating a panoramic image by mapping a first coordinate of each pixel constituting a region of interest of the received input image to a corresponding second coordinate using a lookup table;
analyzing histograms of red, green, and blue of an upper region of the panoramic image to select a color in which a red value, a green value, and a blue value with a highest frequency are combined, and performing alpha blending on the upper region using the selected color;
adjusting saturation of the panoramic image based on a deviation between the red value, the green value, and the blue value having a highest frequency;
converting the panoramic image into a cube map image; and
applying the cube map image to a 3D vehicle model,
wherein the lookup table stores a relationship in which a first coordinate of each pixel constituting the region of interest of the input image corresponds to a second coordinate of a pixel of the panoramic image.
|