Dual-mode regional dimming method
Through the dual-mode area dimming method, image preprocessing and ROI area selection are used to dim the image background and ROI area using different dimming modes and parameters, which solves the low efficiency of regional dimming and complex operation in the prior art. Problem, achieving efficient and simple image dimming effect.
Patent Information
- Application Number
- CN202411281610.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-13
- Publication Date
- 2025-01-03
AI Technical Summary
In the prior art, regional dimming efficiency is low, complex operation is used and low dimming quality, especially deep learning frameworks have low application efficiency and low feasibility.
A dual-mode area dimming method is proposed, by inputting image data for preprocessing, selecting ROI areas, and selecting area isolation mode or area regulation mode for dimming according to requirements, respectively, the image background and parameters are used to adjust the image background and The ROI area is dimmed, including linear dimming, histogram dimming, limited adaptive histogram dimming, and hybrid dimming.
It realizes efficient and simple image area dimming, and can dim the ROI area separately according to needs or dim the entire image background according to pixel dynamic range, improving dimming quality and real-timeness and wide applicability.
Smart Images

Figure CN119251125A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of image processing technology, and in particular to a dual-mode regional dimming method. Background Art
[0002] Local dimming technology refers to the LCD TV system dividing the image signal into several areas, analyzing and calculating the brightness of the image in each area, and then automatically controlling the brightness of the backlight in each area. Generally, local dimming is performed from the perspectives of hardware, structure, optics, etc., but this method has high hardware requirements, a narrow application range, and high costs. In the prior art, local dimming can also be performed at the algorithm level, but this dimming method uses a deep learning framework, which is inefficient, complex to operate, and the dimming quality is affected by the quality of the data set, so it is less feasible. Summary of the invention
[0003] In view of the above problems, a dual-mode regional dimming method is proposed, aiming to solve the technical problems of low regional dimming efficiency, complex operation and low dimming quality in the prior art.
[0004] In a first aspect, the present invention further provides a dual-mode local dimming method, the method comprising:
[0005] Step S1: input image data and pre-process the image data;
[0006] Step S2: Use the requirement box to select the ROI area that needs to be dimmed;
[0007] Step S3: When the image in the ROI area needs to be dimmed separately, the regional isolation mode is selected for dimming, otherwise the regional regulation mode is selected for dimming; the regional isolation mode is to dim the image background and the ROI area using different dimming modes, and the regional regulation mode is to dim the image background using the image data of the ROI area;
[0008] Step S4: outputting the dimmed image data.
[0009] Furthermore, the preprocessing of the image in step S1 specifically includes: filtering the image noise generated by the real environment in the image data.
[0010] Furthermore, the shape of the ROI region in step S2 can be freely set as needed, and the shape of the ROI region can be regular or irregular.
[0011] Furthermore, the number of ROI regions in step S2 may be one or more.
[0012] Furthermore, in step S3, the image background and the ROI area are dimmed using different dimming modes as follows: the dimming mode of the image background is selected and the corresponding dimming parameters are set to dim the image background; the ROI area dimming mode is selected and the dimming parameters of the ROI area are set to achieve separate dimming of the ROI area.
[0013] Furthermore, the dimming parameters include brightness and contrast.
[0014] Furthermore, the dimming modes of the image background include linear dimming, histogram dimming, limited adaptive histogram dimming, and mixed dimming.
[0015] Furthermore, the dimming mode and dimming parameters of the image background may be the same as the dimming mode and dimming parameters of the ROI area.
[0016] Furthermore, in step S3, dimming the image background using the image data of the ROI region specifically includes: dimming the image background using the pixel dynamic range of the ROI region as a dimming parameter.
[0017] Furthermore, the pixel dynamic range is the difference between the maximum value and the minimum value of the pixel.
[0018] Compared with the prior art, the present invention has the following beneficial effects:
[0019] (1) A dual-mode image area dimming method is provided, that is, the ROI area can be dimmed separately according to the needs, and the entire image background can also be dimmed according to the pixel dynamic range of the ROI area. The former is suitable for occasions where the image dynamic range, contrast, and brightness in the area are controlled separately, and the latter is suitable for occasions where the background image needs to change simultaneously with the image dynamic range, contrast, and brightness in the area. The present invention selects the dimming method according to different occasions, and the dimming method is simple, consumes low computing power, and has high real-time performance;
[0020] (2) The shape and number of the ROI area of the present invention can be arbitrarily selected according to actual conditions, that is, the dimming method is simple to operate and has wide applicability. BRIEF DESCRIPTION OF THE DRAWINGS
[0021] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on the provided drawings without paying creative work.
[0022] Figure 1 A flow chart of a dual-mode local dimming method provided by an embodiment of the present invention;
[0023] Figure 2 A schematic diagram of a frame-selected ROI area provided in an embodiment of the present invention;
[0024] Figure 3 A schematic diagram of an image processing structure in a region isolation mode provided by an embodiment of the present invention;
[0025] Figure 4 A schematic diagram of an image processing structure in a regional control mode provided by an embodiment of the present invention;
[0026] Figure 5 The output image after normal dimming provided by the embodiment of the present invention;
[0027] Figure 6 An output image after dimming in the area isolation mode provided in an embodiment of the present invention;
[0028] Figure 7 This is an output image after dimming in the regional control mode provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0029] In order to make the purpose, technical scheme and advantages of the present invention more clearly understood, the present invention is further described in detail below in conjunction with the accompanying drawings and embodiments. Obviously, the specific embodiments described herein are only used to explain the present invention and are part of the embodiments of the present invention, rather than all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of the present invention.
[0030] Example 1
[0031] like Figure 1 A flow chart of a dual-mode local dimming method provided in Embodiment 1 of the present invention, the flow chart specifically includes:
[0032] Step S1: input image data and pre-process the image data;
[0033] Specifically, the purpose of preprocessing is to filter image noise generated by the real environment in the image data to improve the accuracy of the image data.
[0034] Step S2: Use the requirement box to select the ROI area that needs to be dimmed;
[0035] Specifically, the shape and number of the ROI (Region of Interest) area of the present invention can be freely set as needed, that is, the shape of the ROI area can be regular or irregular; the number of ROI areas can be one or more, such as Figure 2 shown.
[0036] Step S3: When the image in the ROI area needs to be dimmed separately, the regional isolation mode is selected for dimming, otherwise the regional regulation mode is selected for dimming; the regional isolation mode is to dim the image background and the ROI area using different dimming modes, and the regional regulation mode is to dim the image background using the image data of the ROI area;
[0037] Specifically, the principle of the regional isolation mode is to highlight the local dimming effect by changing the brightness and contrast of the region, mainly by using different dimming modes and parameters in the ROI area and the background to achieve the effect of highlighting the target. This mode is suitable for situations where the dynamic range, contrast, and brightness of the image in the area are controlled separately to eliminate the influence of the background image on the ROI area. Figure 3 As shown, the image background and the ROI area are dimmed using different dimming modes as follows: select the dimming mode of the image background and set the corresponding dimming parameters to dim the image background; select the ROI area dimming mode and set the dimming parameters of the ROI area to achieve separate dimming of the ROI area. The dimming modes of the image background include linear dimming, histogram dimming, limited adaptive histogram dimming, and mixed dimming. The dimming mode and dimming parameters of the image background can also be the same as the dimming mode and dimming parameters of the ROI area.
[0038] Specifically, the principle of regional control mode is to change the brightness and contrast of the image background to highlight the local dimming effect. It mainly calculates and dims the light by replacing the entire image with the maximum and minimum values and dynamic range of the image pixels in the region. It is a kind of manual dimming and can also achieve the function of highlighting the target object in the region. This mode is suitable for occasions where the background image needs to change simultaneously with the dynamic range, contrast, and brightness of the image in the region. Figure 4 As shown, using the image data of the ROI area to dim the image background is specifically: using the pixel dynamic range of the ROI area as a dimming parameter to dim the image background, and the pixel dynamic range is the difference between the maximum and minimum values of the pixel. The background of the image will change with the dynamic range of the ROI area, so as to highlight the function of the target shape and features in the ROI area. In this mode, if there are multiple ROI areas, only one ROI area can be regionally dimmed, but you can switch back and forth in each ROI area so that the currently selected dynamic range takes effect.
[0039] Step S4: Output the dimmed image data.
[0040] Specifically, the output image after dimming in the area isolation mode is as follows: Figure 6 As shown, the output image after dimming in regional control mode is as follows Figure 7The output image after normal dimming is as shown in Figure 5 It can be seen from the comparison of the images shown that the two regional dimming effects proposed by the present invention are better.
[0041] The present invention provides a dual-mode regional dimming method, which performs two different local dimming operations for the ROI area. The area can be dimmed individually according to the needs, or the whole area can be mapped and dimmed according to the pixel dynamic range of the area. In addition, the ROI area and number of local dimming can be arbitrarily selected, the algorithm is simple, the computing power consumption is low, the real-time performance is high, and the applicability is wide.
[0042] The above embodiments only express the preferred implementation mode of the present invention, and the description thereof is relatively specific and detailed, but it cannot be understood as limiting the scope of the patent of the present invention. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present invention, and these all belong to the protection scope of the present invention. Therefore, the protection scope of the patent of the present invention shall be subject to the attached claims.
Claims
1. A dual-mode regional dimming method, characterized in that: The following steps are involved: Step S1: input image data and pre-process the image data; Step S2: Use the requirement box to select the ROI area that needs to be dimmed; Step S3: When the image in the ROI area needs to be dimmed separately, the regional isolation mode is selected for dimming, otherwise the regional regulation mode is selected for dimming; the regional isolation mode is to dim the image background and the ROI area using different dimming modes, and the regional regulation mode is to dim the image background using the image data of the ROI area; Step S4: outputting the dimmed image data.
2. The dual-mode local dimming method according to claim 1, characterized in that: The preprocessing of the image in step S1 specifically includes: filtering the image noise generated by the real environment in the image data.
3. The dual-mode local dimming method according to claim 2, characterized in that: The shape of the ROI region in step S2 can be freely set as needed, and the shape of the ROI region can be regular or irregular.
4. The dual-mode local dimming method according to claim 3, characterized in that: The number of ROI regions in step S2 may be one or more.
5. The dual-mode local dimming method according to claim 1, characterized in that: In step S3, the image background and the ROI area are dimmed using different dimming modes, specifically: selecting the dimming mode of the image background and setting the corresponding dimming parameters to dim the image background; selecting the ROI area dimming mode and setting the dimming parameters of the ROI area to achieve separate dimming of the ROI area.
6. The dual-mode local dimming method according to claim 5, characterized in that: The dimming parameters include brightness and contrast.
7. The dual-mode local dimming method according to claim 5, characterized in that: The dimming modes of the image background include linear dimming, histogram dimming, limited adaptive histogram dimming, and mixed dimming.
8. The dual-mode local dimming method according to claim 5, characterized in that: The dimming mode and dimming parameters of the image background may also be the same as the dimming mode and dimming parameters of the ROI area.
9. The dual-mode local dimming method according to claim 1, characterized in that: The step S3 of dimming the image background using the image data of the ROI area specifically includes: dimming the image background using the pixel dynamic range of the ROI area as a dimming parameter.
10. The dual-mode local dimming method according to claim 9, characterized in that: The pixel dynamic range is the difference between the maximum value and the minimum value of the pixel.
