Method and apparatus for switching region of interest
A technology of region of interest and switching device, which is applied in the field of region of interest switching method and device, can solve the problems of insufficient exposure of the region of interest, easy to be affected by illumination, and reduce the scope of application, so as to facilitate identification and abnormal judgment, image Satisfied brightness and clear details
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0028] figure 1 It is an implementation flowchart of the method for switching regions of interest provided by the embodiment of the present invention, and is described in detail as follows:
[0029] In step S101, an image of a frame before exposure is acquired;
[0030] Step S101, specifically:
[0031] During the driving process, the image of the previous frame of the current exposure image is obtained. In step S102, output the luminance value of each subregion of the image, the accumulated number of pixels lower than the first set threshold, and the accumulated number of pixels higher than the second set threshold to generate evaluation data;
[0032] In step S103, according to the evaluation data and the preset illuminance evaluation area distribution table, feature values of a plurality of illuminance evaluation areas are generated;
[0033] Wherein, step S103 is specifically:
[0034] The preset evaluation area distribution divides the entire image into multiple are...
Embodiment 2
[0051] The embodiment of the present invention describes the composition of multiple illuminance evaluation areas, which are described in detail as follows:
[0052] The plurality of illuminance evaluation areas include the front area, the center area of the image and the areas on both sides of the vehicle.
[0053] refer to figure 2 , figure 2 It is a better sample diagram of multiple illuminance evaluation areas provided by the embodiment of the present invention.
[0054] The two upper THR0, the middle THR1 and the lower two THR2 are representative five small windows.
[0055] Wherein, THR0 represents the area directly in front, that is, the area directly in front of the vehicle.
[0056] Among them, THR1 represents the central region of the image.
[0057] Among them, THR2 represents the area on both sides of the vehicle.
Embodiment 3
[0059] image 3 It is an implementation flowchart of step S104 of the region of interest switching method provided by the embodiment of the present invention, and is described in detail as follows:
[0060] S301, judging whether the luminance ratios of the plurality of illuminance evaluation areas are all within a set range;
[0061] S302. When the luminance ratios of the plurality of illuminance evaluation areas are all within a set range, determine that the illuminance of the environment where the vehicle is located is a normal illuminance;
[0062] S303, when the luminance ratios of the plurality of illuminance evaluation areas are not within the set range, and the luminance average value corresponding to the area directly in front is higher than the luminance average value corresponding to the areas on both sides of the vehicle, determine that the illuminance of the environment where the vehicle is located is low Illumination;
[0063] Wherein, the brightness ratio is th...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


