[go: up one dir, main page]

CN115439354A - Display improvement method, system, terminal and storage medium based on total color blindness - Google Patents

Display improvement method, system, terminal and storage medium based on total color blindness Download PDF

Info

Publication number
CN115439354A
CN115439354A CN202211032381.2A CN202211032381A CN115439354A CN 115439354 A CN115439354 A CN 115439354A CN 202211032381 A CN202211032381 A CN 202211032381A CN 115439354 A CN115439354 A CN 115439354A
Authority
CN
China
Prior art keywords
brightness
image
matrix
luminance
display
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202211032381.2A
Other languages
Chinese (zh)
Inventor
钱进
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Konka Electronic Technology Co Ltd
Original Assignee
Shenzhen Konka Electronic Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Konka Electronic Technology Co Ltd filed Critical Shenzhen Konka Electronic Technology Co Ltd
Priority to CN202211032381.2A priority Critical patent/CN115439354A/en
Publication of CN115439354A publication Critical patent/CN115439354A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T5/00Image enhancement or restoration
    • G06T5/90Dynamic range modification of images or parts thereof
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/14Digital output to display device ; Cooperation and interconnection of the display device with other functional units
    • G06F3/147Digital output to display device ; Cooperation and interconnection of the display device with other functional units using display panels
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/10Segmentation; Edge detection
    • G06T7/11Region-based segmentation
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2207/00Indexing scheme for image analysis or image enhancement
    • G06T2207/10Image acquisition modality
    • G06T2207/10024Color image

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Human Computer Interaction (AREA)
  • General Engineering & Computer Science (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Control Of Indicators Other Than Cathode Ray Tubes (AREA)

Abstract

The invention discloses a display improvement method, a system, a terminal and a storage medium based on total color blindness, wherein the method comprises the following steps: acquiring brightness information of each partitioned image, and obtaining a first image brightness matrix based on the brightness information; acquiring the maximum brightness and the minimum brightness of the first image brightness matrix, and calculating the difference value between the maximum brightness and the minimum brightness; and converting the first image brightness matrix based on the difference value to obtain a second image brightness matrix, and transmitting the second image brightness matrix to a display to finish image display. The invention obtains the image more suitable for the full-color blind crowd through the segmented brightness conversion function based on the visual characteristics of the full-color blind crowd, provides an individualized watching mode for the full-color blind special user, brings more comfortable watching experience, and improves the happiness index of the full-color blind special user.

Description

一种基于全色盲的显示改善方法、系统、终端及存储介质A display improvement method, system, terminal and storage medium based on achromatopsia

技术领域technical field

本发明涉及显示终端场景的技术领域,尤其涉及一种基于全色盲的显示改善方法、系统、终端及存储介质。The present invention relates to the technical field of displaying terminal scenes, and in particular to a display improvement method, system, terminal and storage medium based on panchromatic blindness.

背景技术Background technique

色弱(color weakness)亦称“异常三色视觉”,能辨认颜色但感受性较低,只在波长有较大差别时才能区分色调的变化;色盲(color blindness)通常称为先天性色觉障碍,它不能分辨自然光谱中的各种颜色或某种颜色;全色盲(achromatopsia)属于完全性视锥细胞功能障碍,与夜盲(视杆细胞功能障碍)恰好相反,患者尤喜暗、畏光,表现为昼盲,视网膜上的视锥细胞存在三种感光色素,能够帮助识别红、绿、蓝三原色,如图1中L(长波)/M(中波)/S(短波),而当视网膜缺少某种感光色素时,完全不能辨别某种或某几种颜色的人,在医学上被称为色盲患者,如果对三种颜色都无法感光的话,则为全色盲患者。全色盲患者眼中的七彩世界是一片灰暗,如同观黑白电视一般,仅有明暗之分,而无颜色差别;而色弱、色盲的发生率在我国男性约为5%~8%、女性0.5~1%;其中约6%人口为三色视觉(色弱),约2%人口为二色视觉(色盲),也有一部分为单色视觉(全色盲)。Color weakness, also known as "abnormal trichromatic vision", can recognize colors but has low sensitivity, and can only distinguish changes in hue when there is a large difference in wavelength; color blindness (color blindness) is usually called congenital color vision impairment. Inability to distinguish various colors or a certain color in the natural spectrum; achromatopsia is a complete cone cell dysfunction, which is just the opposite of night blindness (rod cell dysfunction). Day blindness, there are three photosensitive pigments in the cone cells on the retina, which can help recognize the three primary colors of red, green and blue, as shown in Figure 1 L (long wave)/M (medium wave)/S (short wave), and when the retina lacks a certain People who cannot distinguish one or several colors at all when they have one photosensitive pigment are called color blind patients in medicine. If they cannot be sensitive to three colors, they are panchromatic patients. The colorful world in the eyes of patients with achromatopsia is gray and dark, just like watching black and white TV, there is only light and shade, but no color difference; and the incidence of color weakness and color blindness in my country is about 5% to 8% for men and 0.5 to 1% for women. %; About 6% of the population is trichromatic (color blindness), about 2% of the population is dichromatic (color blind), and some are monochromatic (full color blind).

现有的技术是在显示器上增加目标像素(红色、绿色、蓝色像素)的幅度,调用目标模式的方式来改善对象人群的视觉体验,所以需要针对不同的对象人群定制不同的显示屏,成本贵而且不灵活,对改善色弱有一定的效果,对色盲的改善效果甚微;对全色盲群体没有合适的显示改善技术;因此,现有技术中无法给全色盲群体提供合适的显示图像的问题。The existing technology is to increase the range of target pixels (red, green, blue pixels) on the display, and call the target mode to improve the visual experience of the target population. Therefore, it is necessary to customize different display screens for different target groups, and the cost Expensive and inflexible, it has a certain effect on improving color blindness, but has little effect on improving color blindness; there is no suitable display improvement technology for panchromatic blind groups; therefore, the existing technology cannot provide suitable display images for panchromatic blind groups .

因此,现有技术还有待于改进和发展。Therefore, the prior art still needs to be improved and developed.

发明内容Contents of the invention

本发明的主要目的在于提供一种基于全色盲的显示改善方法、系统、终端及存储介质,旨在解决现有技术中无法给全色盲群体提供合适的显示图像的问题。The main purpose of the present invention is to provide a display improvement method, system, terminal and storage medium based on panchromatic blindness, aiming to solve the problem in the prior art that suitable display images cannot be provided to panchromatic blind people.

为实现上述目的,本发明提供一种基于全色盲的显示改善方法,所述基于全色盲的显示改善方法包括如下步骤:In order to achieve the above object, the present invention provides a display improvement method based on achromatopsia, which includes the following steps:

获取各分区图像的亮度信息,并基于所述亮度信息得到第一图像亮度矩阵;Acquiring brightness information of each partition image, and obtaining a first image brightness matrix based on the brightness information;

获取所述第一图像亮度矩阵的最大亮度和最小亮度,并计算所述最大亮度与所述最小亮度的差值;Obtaining the maximum brightness and the minimum brightness of the brightness matrix of the first image, and calculating the difference between the maximum brightness and the minimum brightness;

基于所述差值对所述第一图像亮度矩阵进行转换得到第二图像亮度矩阵,并将所述第二图像亮度矩阵传输至显示器,以完成图像显示。Converting the first image brightness matrix based on the difference to obtain a second image brightness matrix, and transmitting the second image brightness matrix to a display to complete image display.

可选地,所述的基于全色盲的显示改善方法,其中,所述获取各分区图像的亮度信息,并基于所述亮度信息得到第一图像亮度矩阵,具体包括:Optionally, the method for improving display based on panchromatic blindness, wherein the acquiring the brightness information of each partition image, and obtaining the brightness matrix of the first image based on the brightness information specifically includes:

获取图像处理芯片存储的图像,并将所述图像进行分割,得到多个分区图像;Obtaining the image stored by the image processing chip, and dividing the image to obtain multiple partitioned images;

基于多个所述分区图像分别得到每个分区图像的亮度平均值,并基于所述亮度平均值构建所述第一图像亮度矩阵。Obtaining the brightness average of each partition image based on the plurality of partition images, and constructing the first image brightness matrix based on the brightness average.

可选地,所述的基于全色盲的显示改善方法,其中,所述第一图像亮度矩阵为:Optionally, the display improvement method based on panchromatic blindness, wherein the brightness matrix of the first image is:

Figure BDA0003817982420000031
Figure BDA0003817982420000031

其中,Z表示第一图像亮度矩阵,C表示图像的横轴背光分区数量,D表示图像的竖轴背光分区数量,ZCD表示所述第一图像亮度矩阵中第C横第D纵分区的亮度,且所述ZCD的亮度范围为(0,255)。Wherein, Z represents the brightness matrix of the first image, C represents the number of backlight partitions on the horizontal axis of the image, D represents the number of backlight partitions on the vertical axis of the image, and Z CD represents the brightness of the Cth horizontal and D vertical partitions in the first image brightness matrix , and the brightness range of Z CD is (0, 255).

可选地,所述的基于全色盲的显示改善方法,其中,所述基于所述差值对所述第一图像亮度矩阵进行转换得到第二图像亮度矩阵,并将所述第二图像亮度矩阵传输至显示器,以完成图像显示,具体包括:Optionally, in the method for improving display based on panchromatic blindness, wherein, converting the first image brightness matrix based on the difference value to obtain a second image brightness matrix, and converting the second image brightness matrix Transfer to the display to complete the image display, including:

基于所述差值的大小和所述最大亮度选择对应的亮度转换公式,或者基于所述差值的大小,以及所述最大亮度与所述最小亮度所属区间选择对应的亮度转换公式;Selecting a corresponding brightness conversion formula based on the magnitude of the difference and the maximum brightness, or selecting a corresponding brightness conversion formula based on the magnitude of the difference and the interval to which the maximum brightness and the minimum brightness belong;

基于所述亮度转换公式,对所述第一图像亮度矩阵进行转换得到第二图像亮度矩阵;Based on the brightness conversion formula, converting the first image brightness matrix to obtain a second image brightness matrix;

将所述第二图像亮度矩阵传输至背光分区控制模块得到新图像,并将所述新图像传输至显示器以完成显示。The brightness matrix of the second image is transmitted to the backlight partition control module to obtain a new image, and the new image is transmitted to the display to complete the display.

可选地,所述的基于全色盲的显示改善方法,其中,所述基于所述差值的大小和所述最大亮度选择对应的亮度转换公式,其中,所述亮度转换公式为:Optionally, in the display improvement method based on panchromatic blindness, wherein the corresponding brightness conversion formula is selected based on the magnitude of the difference and the maximum brightness, wherein the brightness conversion formula is:

若ΔZ≧120,或Zmax≧200,则Z′=Z;If ΔZ≧120, or Zmax≧200, then Z′=Z;

其中,Z表示第一图像亮度矩阵,Zmax表示所述第一图像亮度矩阵的最大亮度,ΔZ表示所述最大亮度与所述最小亮度的差值,Z′表示为第二图像亮度矩阵。Wherein, Z represents the brightness matrix of the first image, Zmax represents the maximum brightness of the brightness matrix of the first image, ΔZ represents the difference between the maximum brightness and the minimum brightness, and Z′ represents the brightness matrix of the second image.

可选地,所述的基于全色盲的显示改善方法,其中,所述基于所述差值的大小,以及所述最大亮度与所述最小亮度所属区间选择对应的亮度转换公式,其中,所述亮度转换公式包括:Optionally, the display improvement method based on panchromatic blindness, wherein, the brightness conversion formula corresponding to the range selected based on the magnitude of the difference and the interval between the maximum brightness and the minimum brightness is selected, wherein the The brightness conversion formula includes:

若ΔZ<120且[Zmin,Zmax]∈[0,120],则

Figure BDA0003817982420000045
If ΔZ<120 and [Zmin, Zmax]∈[0,120], then
Figure BDA0003817982420000045

若ΔZ<120且[Zmin,Zmax]∈[20,140],则

Figure BDA0003817982420000044
其中,β1的范围为(10,14);If ΔZ<120 and [Zmin, Zmax]∈[20,140], then
Figure BDA0003817982420000044
Among them, the range of β1 is (10, 14);

若ΔZ<120且[Zmin,Zmax]∈[40,160],则

Figure BDA0003817982420000041
其中,β2的范围为(14,18);If ΔZ<120 and [Zmin, Zmax]∈[40,160], then
Figure BDA0003817982420000041
Among them, the range of β2 is (14, 18);

若ΔZ<120且[Zmin,Zmax]∈[60,180],则

Figure BDA0003817982420000042
其中,β3可的范围为(18,22);If ΔZ<120 and [Zmin, Zmax]∈[60,180], then
Figure BDA0003817982420000042
Among them, the possible range of β3 is (18, 22);

若ΔZ<120且[Zmin,Zmax]∈[80,200],则

Figure BDA0003817982420000043
其中,β4的范围为(22,26);If ΔZ<120 and [Zmin, Zmax]∈[80,200], then
Figure BDA0003817982420000043
Among them, the range of β4 is (22, 26);

其中,Z表示第一图像亮度矩阵,Zmax表示所述第一图像亮度矩阵的最大亮度,Zmin表示所述第一图像亮度矩阵的最小亮度,ΔZ表示所述最大亮度与所述最小亮度的差值,Z′表示为第二图像亮度矩阵,β1表示第一调节因子,β2表示第二调节因子,β3表示第三调节因子,β4表示第四调节因子。Wherein, Z represents the brightness matrix of the first image, Zmax represents the maximum brightness of the brightness matrix of the first image, Zmin represents the minimum brightness of the brightness matrix of the first image, and ΔZ represents the difference between the maximum brightness and the minimum brightness , Z' represents the brightness matrix of the second image, β1 represents the first adjustment factor, β2 represents the second adjustment factor, β3 represents the third adjustment factor, and β4 represents the fourth adjustment factor.

可选地,所述的基于全色盲的显示改善方法,其中,所述第二图像亮度矩阵为:Optionally, the display improvement method based on panchromatic blindness, wherein the second image brightness matrix is:

Figure BDA0003817982420000051
Figure BDA0003817982420000051

其中,Z′表示第二图像亮度矩阵,C表示图像的横轴背光分区数量,D表示图像的竖轴背光分区数量,Z′CD表示所述第二图像亮度矩阵中第C横第D纵分区的亮度。Wherein, Z' represents the brightness matrix of the second image, C represents the number of backlight partitions on the horizontal axis of the image, D represents the number of backlight partitions on the vertical axis of the image, and Z' CD represents the Cth horizontal D vertical partition in the second image brightness matrix brightness.

可选地,所述的基于全色盲的显示改善方法,其中,所述基于全色盲的显示改善系统包括:Optionally, the display improvement method based on achromatopsia, wherein the display improvement system based on achromatopsia includes:

视频输入模块,用于输入用户所要观看的视频;The video input module is used to input the video that the user wants to watch;

用户模式选择模块,用于切换不同的观看模式,其中,所述观看模式包括正常模式和全色盲模式;A user mode selection module, configured to switch between different viewing modes, wherein the viewing modes include a normal mode and a color-blind mode;

信号处理芯片,用于对全色盲模式下视频的图像亮度矩阵进行处理,其中,所述信号处理芯片包括亮度矩阵计算模块、亮度矩阵信息识别模块和亮度矩阵转换模块;The signal processing chip is used to process the image brightness matrix of the video under the panchromatic mode, wherein the signal processing chip includes a brightness matrix calculation module, a brightness matrix information identification module and a brightness matrix conversion module;

所述亮度矩阵计算模块,用于计算第一图像各分区的亮度;The brightness matrix calculation module is used to calculate the brightness of each subregion of the first image;

所述亮度矩阵信息识别模块,用于识别第一图像亮度矩阵的最大亮度、最小亮度及最大亮度与最小亮度的差值的大小;The brightness matrix information identification module is used to identify the maximum brightness, the minimum brightness and the difference between the maximum brightness and the minimum brightness of the brightness matrix of the first image;

所述亮度矩阵转换模块,用于基于所述最大亮度、所述最小亮度和所述差值大小之间的关系选择相对应的转换公式,并通过所述转换公式对所述第一图像亮度矩阵进行转换得到第二图像亮度矩阵;The luminance matrix conversion module is configured to select a corresponding conversion formula based on the relationship between the maximum luminance, the minimum luminance and the magnitude of the difference, and use the conversion formula to convert the brightness matrix of the first image Perform conversion to obtain the second image brightness matrix;

背光分区驱动模块,用于接收通过总线传输的所述第二图像亮度矩阵,并基于所述第二图像亮度矩阵对视频的图像亮度进行调整得到新的视频图像亮度;A backlight partition driver module, configured to receive the second image brightness matrix transmitted through the bus, and adjust the image brightness of the video based on the second image brightness matrix to obtain a new video image brightness;

显示模块,基于新的视频图像亮度用于将输入的视频在显示器中显示。The display module is used to display the input video on the display based on the brightness of the new video image.

此外,为实现上述目的,本发明还提供一种终端,其中,所述终端包括:存储器、处理器及存储在所述存储器上并可在所述处理器上运行的基于全色盲的显示改善程序,所述基于全色盲的显示改善程序被所述处理器执行时实现如上所述的基于全色盲的显示改善方法的步骤。In addition, in order to achieve the above object, the present invention also provides a terminal, wherein the terminal includes: a memory, a processor, and a display improvement program based on achromatopsia that is stored in the memory and can run on the processor When the achromatopsia-based display improvement program is executed by the processor, the steps of the above-mentioned achromatopsia-based display improvement method are implemented.

此外,为实现上述目的,本发明还提供一种计算机可读存储介质,其中,所述计算机可读存储介质存储有基于全色盲的显示改善程序,所述基于全色盲的显示改善程序被处理器执行时实现如上所述基于全色盲的显示改善方法的步骤。In addition, in order to achieve the above object, the present invention also provides a computer-readable storage medium, wherein the computer-readable storage medium stores a display improvement program based on achromatic blindness, and the display improvement program based on achromatic blindness is processed by the processor During execution, the steps of the display improvement method based on achromatopsia as described above are realized.

本发明通过获取分区图像的亮度信息,并基于所述亮度信息得到第一图像亮度矩阵;获取所述第一图像亮度矩阵的最大亮度和最小亮度,并计算所述最大亮度与所述最小亮度的差值;基于所述差值对所述第一图像亮度矩阵进行转换得到第二图像亮度矩阵,并将所述第二图像亮度矩阵传输至显示器,以完成图像显示。本发明基于全色盲人群的的视觉特性,通过分段的亮度转换函数,得到更适合全色盲人群的图像,给全色盲特殊用户提供了一种个性化的观看模式,带来了更舒适的观看体验,提高全色盲特殊用户的幸福指数。The present invention obtains the brightness information of the partition image, and obtains the first image brightness matrix based on the brightness information; obtains the maximum brightness and the minimum brightness of the first image brightness matrix, and calculates the maximum brightness and the minimum brightness difference: converting the first image brightness matrix based on the difference to obtain a second image brightness matrix, and transmitting the second image brightness matrix to a display to complete image display. Based on the visual characteristics of panchromatic people, the present invention obtains images that are more suitable for panchromatic people through segmented brightness conversion functions, and provides a personalized viewing mode for special panchromatic users, bringing more comfortable viewing Experience and improve the happiness index of special users with full color blindness.

附图说明Description of drawings

图1是现有技术中红绿蓝三原色波长示意图;Fig. 1 is a schematic diagram of the wavelengths of the three primary colors of red, green and blue in the prior art;

图2是本发明中基于全色盲的显示改善方法的较佳实施例的流程图;Fig. 2 is a flow chart of a preferred embodiment of the display improvement method based on achromatopsia in the present invention;

图3是本发明中基于全色盲的显示改善方法的较佳实施例中步骤S10的流程图;Fig. 3 is a flowchart of step S10 in a preferred embodiment of the display improvement method based on achromatopsia in the present invention;

图4是本发明中基于全色盲的显示改善方法的较佳实施例中步骤S30的流程图;Fig. 4 is a flowchart of step S30 in a preferred embodiment of the display improvement method based on achromatopsia in the present invention;

图5是本发明中基于全色盲的显示改善系统的整体流程示意图;Fig. 5 is a schematic diagram of the overall flow of the display improvement system based on achromatopsia in the present invention;

图6为本发明终端的较佳实施例的运行环境示意图。Fig. 6 is a schematic diagram of an operating environment of a preferred embodiment of the terminal of the present invention.

具体实施方式detailed description

为使本发明的目的、技术方案及优点更加清楚、明确,以下参照附图并举实施例对本发明进一步详细说明。应当理解,此处所描述的具体实施例仅仅用以解释本发明,并不用于限定本发明。In order to make the object, technical solution and advantages of the present invention more clear and definite, the present invention will be further described in detail below with reference to the accompanying drawings and examples. It should be understood that the specific embodiments described here are only used to explain the present invention, not to limit the present invention.

需要说明,若本发明实施例中有涉及方向性指示(诸如上、下、左、右、前、后……),则该方向性指示仅用于解释在某一特定姿态(如附图所示)下各部件之间的相对位置关系、运动情况等,如果该特定姿态发生改变时,则该方向性指示也相应地随之改变。It should be noted that if there is a directional indication (such as up, down, left, right, front, back...) in the embodiment of the present invention, the directional indication is only used to explain the position in a certain posture (as shown in the accompanying drawing). If the specific posture changes, the directional indication will also change accordingly.

另外,若本发明实施例中有涉及“第一”、“第二”等的描述,则该“第一”、“第二”等的描述仅用于描述目的,而不能理解为指示或暗示其相对重要性或者隐含指明所指示的技术特征的数量。由此,限定有“第一”、“第二”的特征可以明示或者隐含地包括至少一个该特征。另外,各个实施例之间的技术方案可以相互结合,但是必须是以本领域普通技术人员能够实现为基础,当技术方案的结合出现相互矛盾或无法实现时应当认为这种技术方案的结合不存在,也不在本发明要求的保护范围之内。In addition, if there are descriptions involving "first", "second" and so on in the embodiments of the present invention, the descriptions of "first", "second" and so on are only for descriptive purposes, and should not be interpreted as indicating or implying Its relative importance or implicitly indicates the number of technical features indicated. Thus, the features defined as "first" and "second" may explicitly or implicitly include at least one of these features. In addition, the technical solutions of the various embodiments can be combined with each other, but it must be based on the realization of those skilled in the art. When the combination of technical solutions is contradictory or cannot be realized, it should be considered that the combination of technical solutions does not exist , nor within the scope of protection required by the present invention.

本发明较佳实施例所述的基于全色盲的显示改善方法,如图2所示,所述基于全色盲的显示改善方法包括以下步骤:The display improvement method based on achromatopsia described in a preferred embodiment of the present invention, as shown in FIG. 2 , the display improvement method based on achromatopsia includes the following steps:

步骤S10、获取分区图像的亮度信息,并基于所述亮度信息得到第一图像亮度矩阵。Step S10 , acquiring luminance information of the subregion image, and obtaining a luminance matrix of the first image based on the luminance information.

具体过程请参阅图3,其为本发明提供的基于全色盲的显示改善方法中步骤S10的流程图。Please refer to FIG. 3 for the specific process, which is a flow chart of step S10 in the display improvement method based on achromatopsia provided by the present invention.

如图3所示,所述步骤S10包括:As shown in Figure 3, the step S10 includes:

步骤S11、获取图像处理芯片存储的图像,并将所述图像进行分割,得到多个分区图像;Step S11, acquiring the image stored by the image processing chip, and dividing the image to obtain a plurality of partitioned images;

步骤S12、基于多个所述分区图像分别得到每个分区图像的亮度平均值,并基于所述亮度平均值构建所述第一图像亮度矩阵。Step S12, obtaining the average brightness of each sub-regional image based on the plurality of sub-regional images, and constructing the first image brightness matrix based on the average brightness.

具体地,当图像处理芯片把一帧的图像存取后,获取所述图像处理芯片存储的图像,并将所述图像进行等分分割得到分区图像,(例如,将图像分为C*D个分区图像,其中,C指的是在横轴方向上等分C个区,D指的是在纵轴方向上等分D个区。)基于多个所述分区图像分别得到每个分区图像的亮度平均值,并基于所述亮度平均值构建所述第一图像亮度矩阵。Specifically, after the image processing chip accesses the image of one frame, the image stored by the image processing chip is obtained, and the image is equally divided to obtain partitioned images, (for example, the image is divided into C*D Partition image, wherein, C refers to the equal division of C districts in the direction of the horizontal axis, and D refers to the equal division of D districts in the direction of the vertical axis.) Obtain each partition image based on a plurality of said partition images an average brightness value, and construct the first image brightness matrix based on the average brightness value.

其中,所述第一图像亮度矩阵为:Wherein, the brightness matrix of the first image is:

Figure BDA0003817982420000091
Figure BDA0003817982420000091

其中,Z表示第一图像亮度矩阵,C表示图像的横轴背光分区数量,D表示图像的竖轴背光分区数量,ZCD表示所述第一图像亮度矩阵中第C横第D纵分区的亮度,且所述ZCD的亮度范围为(0,255)。Wherein, Z represents the brightness matrix of the first image, C represents the number of backlight partitions on the horizontal axis of the image, D represents the number of backlight partitions on the vertical axis of the image, and Z CD represents the brightness of the Cth horizontal and D vertical partitions in the first image brightness matrix , and the brightness range of Z CD is (0, 255).

步骤S20、获取所述第一图像亮度矩阵的最大亮度和最小亮度,并计算所述最大亮度与所述最小亮度的差值。Step S20, obtaining the maximum brightness and the minimum brightness of the brightness matrix of the first image, and calculating the difference between the maximum brightness and the minimum brightness.

具体地,获取所述第一图像亮度矩阵的最大亮度和最小亮度,并将所述最大亮度与所述最小亮度进行作差得到差值,根据所述差值的不同,结合所述最大亮度与所述最小亮度的所属区间,用于选择亮度转换公式。Specifically, acquire the maximum brightness and minimum brightness of the brightness matrix of the first image, and make a difference between the maximum brightness and the minimum brightness to obtain a difference value, and combine the maximum brightness and the minimum brightness according to the difference of the difference The range to which the minimum brightness belongs is used to select a brightness conversion formula.

步骤S30、基于所述差值对所述第一图像亮度矩阵进行转换得到第二图像亮度矩阵,并将所述第二图像亮度矩阵传输至显示器,以完成图像显示。Step S30 , converting the first image luminance matrix based on the difference value to obtain a second image luminance matrix, and transmitting the second image luminance matrix to a display to complete image display.

具体过程请参阅图4,其为本发明提供的基于全色盲的显示改善方法中步骤S30的流程图。For the specific process, please refer to FIG. 4 , which is a flow chart of step S30 in the display improvement method based on achromatopsia provided by the present invention.

如图4所示,所述步骤S30包括:As shown in Figure 4, the step S30 includes:

步骤S31、基于所述差值的大小和所述最大亮度选择对应的亮度转换公式,或者基于所述差值的大小,以及所述最大亮度与所述最小亮度所属区间选择对应的亮度转换公式;Step S31, selecting a corresponding brightness conversion formula based on the magnitude of the difference and the maximum brightness, or selecting a corresponding brightness conversion formula based on the magnitude of the difference and the interval to which the maximum brightness and the minimum brightness belong;

步骤S32、基于所述亮度转换公式,对所述第一图像亮度矩阵进行转换得到第二图像亮度矩阵;Step S32. Based on the brightness conversion formula, convert the brightness matrix of the first image to obtain a brightness matrix of the second image;

步骤S33、将所述第二图像亮度矩阵传输至背光分区控制模块得到新图像,并将所述新图像传输至显示器以完成显示。Step S33 , transmitting the brightness matrix of the second image to the backlight partition control module to obtain a new image, and transmitting the new image to the display to complete the display.

具体地,基于所述差值的大小和所述最大亮度选择对应的亮度转换公式,若ΔZ≧120,或Zmax≧200,则Z′=Z,其中,Z表示第一图像亮度矩阵,Zmax表示所述第一图像亮度矩阵的最大亮度,ΔZ表示所述最大亮度与所述最小亮度的差值,Z′表示为第二图像亮度矩阵;或者基于所述差值的大小,以及所述最大亮度与所述最小亮度所属区间选择对应的亮度转换公式,所述亮度转换公式包括:若ΔZ<120且[Zmin,Zmax]∈[0,120],则

Figure BDA0003817982420000101
若ΔZ<120且[Zmin,Zmax]∈[20,140],则
Figure BDA0003817982420000102
其中,β1的范围为(10,14);若ΔZ<120且[Zmin,Zmax]∈[40,160],则
Figure BDA0003817982420000103
其中,β2的范围为(14,18);若ΔZ<120且[Zmin,Zmax]∈[60,180],则
Figure BDA0003817982420000104
其中,β3的范围为(18,22);若ΔZ<120且[Zmin,Zmax]∈[80,200],则
Figure BDA0003817982420000105
其中,β4的范围为(22,26);其中,Z表示第一图像亮度矩阵,Zmax表示所述第一图像亮度矩阵的最大亮度,Zmin表示所述第一图像亮度矩阵的最小亮度,ΔZ表示所述最大亮度与所述最小亮度的差值,Z′表示为第二图像亮度矩阵,β1表示第一调节因子,β2表示第二调节因子,β3表示第三调节因子,β4表示第四调节因子;根据所述亮度转换公式,对所述第一图像亮度矩阵进行转换得到第二图像亮度矩阵,转换的目的是较大限度的增大相对于全盲人群为黑白图像的对比度,让全盲人群能够得到更好的观影体验;将所述第二图像亮度矩阵传输通过总线传输给背光分区控制模块,所述背光分区控制模块控制显示器的图像显示效果。Specifically, the corresponding brightness conversion formula is selected based on the magnitude of the difference and the maximum brightness. If ΔZ≧120, or Zmax≧200, then Z′=Z, where Z represents the brightness matrix of the first image, and Zmax represents The maximum brightness of the first image brightness matrix, ΔZ represents the difference between the maximum brightness and the minimum brightness, and Z' represents the second image brightness matrix; or based on the size of the difference, and the maximum brightness A brightness conversion formula corresponding to the selection of the interval to which the minimum brightness belongs, the brightness conversion formula includes: if ΔZ<120 and [Zmin, Zmax]∈[0,120], then
Figure BDA0003817982420000101
If ΔZ<120 and [Zmin, Zmax]∈[20,140], then
Figure BDA0003817982420000102
Among them, the range of β1 is (10, 14); if ΔZ<120 and [Zmin, Zmax] ∈ [40, 160], then
Figure BDA0003817982420000103
Among them, the range of β2 is (14, 18); if ΔZ<120 and [Zmin, Zmax]∈[60, 180], then
Figure BDA0003817982420000104
Among them, the range of β3 is (18, 22); if ΔZ<120 and [Zmin, Zmax]∈[80, 200], then
Figure BDA0003817982420000105
Wherein, the range of β4 is (22, 26); wherein, Z represents the brightness matrix of the first image, Zmax represents the maximum brightness of the brightness matrix of the first image, Zmin represents the minimum brightness of the brightness matrix of the first image, and ΔZ represents The difference between the maximum brightness and the minimum brightness, Z' is expressed as the second image brightness matrix, β1 represents the first adjustment factor, β2 represents the second adjustment factor, β3 represents the third adjustment factor, and β4 represents the fourth adjustment factor ; According to the brightness conversion formula, the brightness matrix of the first image is converted to obtain the brightness matrix of the second image. The purpose of the conversion is to increase the contrast of the black and white image relative to the completely blind people to the greatest extent, so that the completely blind people can get Better viewing experience: the brightness matrix of the second image is transmitted to the backlight partition control module through the bus, and the backlight partition control module controls the image display effect of the display.

进一步地,所述第二图像亮度矩阵为:Further, the brightness matrix of the second image is:

Figure BDA0003817982420000111
Figure BDA0003817982420000111

其中,Z′表示第二图像亮度矩阵,C表示图像的横轴背光分区数量,D表示图像的竖轴背光分区数量,Z′CD表示所述第二图像亮度矩阵中第C横第D纵分区的亮度。Wherein, Z' represents the brightness matrix of the second image, C represents the number of backlight partitions on the horizontal axis of the image, D represents the number of backlight partitions on the vertical axis of the image, and Z' CD represents the Cth horizontal D vertical partition in the second image brightness matrix brightness.

进一步地,如图5所示,基于上述基于全色盲的显示改善方法,本发明还相应提供了基于全色盲的显示改善系统,所述基于全色盲的显示改善系统包括:Further, as shown in Fig. 5, based on the above display improvement method based on achromatopsia, the present invention also provides a display improvement system based on achromatopsia correspondingly, and the display improvement system based on achromatopsia includes:

视频输入模块51,用于输入用户所要观看的视频;Video input module 51, for inputting the video that the user will watch;

用户模式选择模块52,用于切换不同的观看模式,其中,所述观看模式包括正常模式和全色盲模式;A user mode selection module 52, configured to switch between different viewing modes, wherein the viewing modes include a normal mode and a color-blind mode;

信号处理芯片53,用于对全色盲模式下视频的图像亮度矩阵进行处理,其中,所述信号处理芯片包括亮度矩阵计算模块101、亮度矩阵信息识别模块102和亮度矩阵转换模块103;The signal processing chip 53 is used to process the image luminance matrix of the video in full color blindness mode, wherein the signal processing chip includes a luminance matrix calculation module 101, a luminance matrix information identification module 102 and a luminance matrix conversion module 103;

所述亮度矩阵计算模块101,用于计算基于亮度信息得到的第一图像亮度矩阵的最大亮度与最小亮度的差值;The brightness matrix calculation module 101 is used to calculate the difference between the maximum brightness and the minimum brightness of the brightness matrix of the first image obtained based on the brightness information;

所述亮度矩阵信息识别模块102,用于识别第一图像亮度矩阵的最大亮度、最小亮度及最大亮度与最小亮度的差值的大小;The brightness matrix information identification module 102 is used to identify the maximum brightness, the minimum brightness and the difference between the maximum brightness and the minimum brightness of the brightness matrix of the first image;

所述亮度矩阵转换模块103,用于基于所述最大亮度、所述最小亮度和所述差值大小之间的关系选择相对应的转换公式,并通过所述转换公式对所述第一图像亮度矩阵进行转换得到第二图像亮度矩阵;The luminance matrix conversion module 103 is configured to select a corresponding conversion formula based on the relationship between the maximum luminance, the minimum luminance and the magnitude of the difference, and use the conversion formula to convert the brightness of the first image The matrix is converted to obtain the second image brightness matrix;

背光分区驱动模块54,用于接收通过总线传输的所述第二图像亮度矩阵,并基于所述第二图像亮度矩阵对视频的图像进行调整得到新的视频;The backlight partition driving module 54 is configured to receive the second image brightness matrix transmitted through the bus, and adjust the image of the video based on the second image brightness matrix to obtain a new video;

显示模块55,用于将输入的视频在显示器中显示。The display module 55 is configured to display the input video on the monitor.

进一步地,视频输入模块51将视频输入之后,用户模式选择模块52接收用户选择的模式,所述模式包括正常模式和全色盲模式;若选择的是正常模式,则背光分区驱动模块54直接将输入的视频传输至显示模块55,所述显示模块55对所述视频进行播放;若选择的是全色盲模式,则信号处理芯片对所述视频进行处理,所述信号处理芯片包括亮度矩阵计算模块101、亮度矩阵信息识别模块102和亮度矩阵转换模块103;将处理完成的视频输入至背光分区驱动模块54,所述背光分区驱动模块54将处理完成的视频传输至显示模块55,所述显示模块55对所述视频进行播放,给全色盲特殊用户提供了一种个性化的观看模式,使得能够更舒适的观看,提高全色盲特殊用户的幸福指数。Further, after the video input module 51 inputs the video, the user mode selection module 52 receives the mode selected by the user, and the mode includes a normal mode and a color-blind mode; The video is transmitted to the display module 55, and the display module 55 plays the video; if the full color blindness mode is selected, the signal processing chip processes the video, and the signal processing chip includes a brightness matrix calculation module 101 , luminance matrix information recognition module 102 and luminance matrix conversion module 103; the processed video is input to the backlight partition driver module 54, and the backlight partition driver module 54 transmits the processed video to the display module 55, and the display module 55 Playing the video provides a personalized viewing mode for special users with achromatopsia, enabling them to watch more comfortably and improving the happiness index of special users with achromatopsia.

进一步地,如图6所示,基于上述基于全色盲的显示改善方法,本发明还相应提供了一种终端,所述终端包括处理器10、存储器20及显示器30;图6仅示出了终端的部分组件,但是应理解的是,并不要求实施所有示出的组件,可以替代的实施更多或者更少的组件。Further, as shown in FIG. 6 , based on the above-mentioned method for improving display based on achromatopsia, the present invention also provides a terminal correspondingly. The terminal includes a processor 10, a memory 20, and a display 30; FIG. 6 only shows the terminal Some of the components are shown, but it is understood that implementation of all of the illustrated components is not required and that more or fewer components may instead be implemented.

所述存储器20在一些实施例中可以是所述终端的内部存储单元,例如终端的硬盘或内存。所述存储器20在另一些实施例中也可以是所述终端的外部存储设备,例如所述终端上配备的插接式硬盘,智能存储卡(Smart Media Card,SMC),安全数字(SecureDigital,SD)卡,闪存卡(Flash Card)等。进一步地,所述存储器20还可以既包括所述终端的内部存储单元也包括外部存储设备。所述存储器20用于存储安装于所述终端的应用软件及各类数据,例如所述安装终端的程序代码等。所述存储器20还可以用于暂时地存储已经输出或者将要输出的数据。在一实施例中,存储器20上存储有基于全色盲的显示改善程序40,该基于全色盲的显示改善程序40可被处理器10所执行,从而实现本申请中基于全色盲的显示改善方法。The storage 20 may be an internal storage unit of the terminal in some embodiments, such as a hard disk or memory of the terminal. In other embodiments, the memory 20 may also be an external storage device of the terminal, such as a plug-in hard disk equipped on the terminal, a smart memory card (Smart Media Card, SMC), a secure digital (SecureDigital, SD ) card, flash memory card (Flash Card), etc. Further, the memory 20 may also include both an internal storage unit of the terminal and an external storage device. The memory 20 is used to store application software and various data installed on the terminal, such as program codes of the installed terminal. The memory 20 can also be used to temporarily store data that has been output or will be output. In one embodiment, a display improvement program 40 based on achromatopsia is stored in the memory 20 , and the display improvement program 40 based on achromatopsia can be executed by the processor 10 , so as to realize the display improvement method based on achromatopsia in this application.

所述处理器10在一些实施例中可以是一中央处理器(Central Processing Unit,CPU),微处理器或其他数据处理芯片,用于运行所述存储器20中存储的程序代码或处理数据,例如执行所述基于全色盲的显示改善方法等。The processor 10 in some embodiments may be a central processing unit (Central Processing Unit, CPU), a microprocessor or other data processing chips for running program codes stored in the memory 20 or processing data, for example The display improvement method based on achromatopsia and the like are executed.

所述显示器30在一些实施例中可以是LED显示器、液晶显示器、触控式液晶显示器以及OLED(Organic Light-Emitting Diode,有机发光二极管)触摸器等。所述显示器30用于显示在所述终端的信息以及用于显示可视化的用户界面。所述终端的部件10-30通过系统总线相互通信。In some embodiments, the display 30 may be an LED display, a liquid crystal display, a touch-sensitive liquid crystal display, an OLED (Organic Light-Emitting Diode, Organic Light-Emitting Diode) touch device, and the like. The display 30 is used for displaying information on the terminal and for displaying a visualized user interface. The components 10-30 of the terminal communicate with each other via a system bus.

在一实施例中,当处理器10执行所述存储器20中分屏窗口的界面显示程序40时实现以下步骤:In one embodiment, when the processor 10 executes the interface display program 40 of the split-screen window in the memory 20, the following steps are implemented:

获取各分区图像的亮度信息,并基于所述亮度信息得到第一图像亮度矩阵;Acquiring brightness information of each partition image, and obtaining a first image brightness matrix based on the brightness information;

获取所述第一图像亮度矩阵的最大亮度和最小亮度,并计算所述最大亮度与所述最小亮度的差值;Obtaining the maximum brightness and the minimum brightness of the brightness matrix of the first image, and calculating the difference between the maximum brightness and the minimum brightness;

基于所述差值对所述第一图像亮度矩阵进行转换得到第二图像亮度矩阵,并将所述第二图像亮度矩阵传输至显示器,以完成图像显示。Converting the first image brightness matrix based on the difference to obtain a second image brightness matrix, and transmitting the second image brightness matrix to a display to complete image display.

其中,所述获取各分区图像的亮度信息,并基于所述亮度信息得到第一图像亮度矩阵,具体包括:Wherein, the acquiring the brightness information of each partition image, and obtaining the first image brightness matrix based on the brightness information specifically includes:

获取图像处理芯片存储的图像,并将所述图像进行分割,得到多个分区图像;Obtaining the image stored by the image processing chip, and dividing the image to obtain multiple partitioned images;

基于多个所述分区图像分别得到每个分区图像的亮度平均值,并基于所述亮度平均值构建所述第一图像亮度矩阵。Obtaining the brightness average of each partition image based on the plurality of partition images, and constructing the first image brightness matrix based on the brightness average.

其中,所述第一图像亮度矩阵为:Wherein, the brightness matrix of the first image is:

Figure BDA0003817982420000141
Figure BDA0003817982420000141

其中,Z表示第一图像亮度矩阵,C表示图像的横轴背光分区数量,D表示图像的竖轴背光分区数量,ZCD表示所述第一图像亮度矩阵中第C横第D纵分区的亮度,且所述ZCD的亮度范围为(0,255)。Wherein, Z represents the brightness matrix of the first image, C represents the number of backlight partitions on the horizontal axis of the image, D represents the number of backlight partitions on the vertical axis of the image, and Z CD represents the brightness of the Cth horizontal and D vertical partitions in the first image brightness matrix , and the brightness range of Z CD is (0, 255).

其中,所述基于所述差值对所述第一图像亮度矩阵进行转换得到第二图像亮度矩阵,并将所述第二图像亮度矩阵传输至显示器,以完成图像显示,具体包括:Wherein, converting the first image brightness matrix based on the difference value to obtain a second image brightness matrix, and transmitting the second image brightness matrix to a display to complete image display, specifically includes:

基于所述差值的大小和所述最大亮度选择对应的亮度转换公式,或者基于所述差值的大小,以及所述最大亮度与所述最小亮度所属区间选择对应的亮度转换公式;Selecting a corresponding brightness conversion formula based on the magnitude of the difference and the maximum brightness, or selecting a corresponding brightness conversion formula based on the magnitude of the difference and the interval to which the maximum brightness and the minimum brightness belong;

基于所述亮度转换公式,对所述第一图像亮度矩阵进行转换得到第二图像亮度矩阵;Based on the brightness conversion formula, converting the first image brightness matrix to obtain a second image brightness matrix;

将所述第二图像亮度矩阵传输至背光分区控制模块得到新图像,并将所述新图像传输至显示器以完成显示。The brightness matrix of the second image is transmitted to the backlight partition control module to obtain a new image, and the new image is transmitted to the display to complete the display.

其中,所述基于所述差值的大小和所述最大亮度选择对应的亮度转换公式,其中,所述亮度转换公式为:Wherein, the corresponding brightness conversion formula is selected based on the size of the difference value and the maximum brightness, wherein the brightness conversion formula is:

若ΔZ≧120,或Zmax≧200,则Z′=Z;If ΔZ≧120, or Zmax≧200, then Z′=Z;

其中,Z表示第一图像亮度矩阵,Zmax表示所述第一图像亮度矩阵的最大亮度,ΔZ表示所述最大亮度与所述最小亮度的差值,Z′表示为第二图像亮度矩阵。Wherein, Z represents the brightness matrix of the first image, Zmax represents the maximum brightness of the brightness matrix of the first image, ΔZ represents the difference between the maximum brightness and the minimum brightness, and Z′ represents the brightness matrix of the second image.

其中,所述基于所述差值的大小,以及所述最大亮度与所述最小亮度所属区间选择对应的亮度转换公式,其中,所述亮度转换公式包括:Wherein, the brightness conversion formula corresponding to the range selected based on the size of the difference and the maximum brightness and the minimum brightness belongs to, wherein the brightness conversion formula includes:

若ΔZ<120且[Zmin,Zmax]∈[0,120],则

Figure BDA0003817982420000151
If ΔZ<120 and [Zmin, Zmax]∈[0,120], then
Figure BDA0003817982420000151

若ΔZ<120且[Zmin,Zmax]∈[20,140],则

Figure BDA0003817982420000152
其中,β1的范围为(10,14);If ΔZ<120 and [Zmin, Zmax]∈[20,140], then
Figure BDA0003817982420000152
Among them, the range of β1 is (10, 14);

若ΔZ<120且[Zmin,Zmax]∈[40,160],则

Figure BDA0003817982420000161
其中,β2的范围为(14,18);If ΔZ<120 and [Zmin, Zmax]∈[40,160], then
Figure BDA0003817982420000161
Among them, the range of β2 is (14, 18);

若ΔZ<120且[Zmin,Zmax]∈[60,180],则

Figure BDA0003817982420000162
其中,β3可的范围为(18,22);If ΔZ<120 and [Zmin, Zmax]∈[60,180], then
Figure BDA0003817982420000162
Among them, the possible range of β3 is (18, 22);

若ΔZ<120且[Zmin,Zmax]∈[80,200],则

Figure BDA0003817982420000163
其中,β4的范围为(22,26);If ΔZ<120 and [Zmin, Zmax]∈[80,200], then
Figure BDA0003817982420000163
Among them, the range of β4 is (22, 26);

其中,Z表示第一图像亮度矩阵,Zmax表示所述第一图像亮度矩阵的最大亮度,Zmin表示所述第一图像亮度矩阵的最小亮度,ΔZ表示所述最大亮度与所述最小亮度的差值,Z′表示为第二图像亮度矩阵,β1表示第一调节因子,β2表示第二调节因子,β3表示第三调节因子,β4表示第四调节因子。Wherein, Z represents the brightness matrix of the first image, Zmax represents the maximum brightness of the brightness matrix of the first image, Zmin represents the minimum brightness of the brightness matrix of the first image, and ΔZ represents the difference between the maximum brightness and the minimum brightness , Z' represents the brightness matrix of the second image, β1 represents the first adjustment factor, β2 represents the second adjustment factor, β3 represents the third adjustment factor, and β4 represents the fourth adjustment factor.

其中,所述第二图像亮度矩阵为:Wherein, the second image brightness matrix is:

Figure BDA0003817982420000164
Figure BDA0003817982420000164

其中,Z′表示第二图像亮度矩阵,C表示图像的横轴背光分区数量,D表示图像的竖轴背光分区数量,Z′CD表示所述第二图像亮度矩阵中第C横第D纵分区的亮度。Wherein, Z' represents the brightness matrix of the second image, C represents the number of backlight partitions on the horizontal axis of the image, D represents the number of backlight partitions on the vertical axis of the image, and Z' CD represents the Cth horizontal D vertical partition in the second image brightness matrix brightness.

本发明还提供一种计算机可读存储介质,其中,所述计算机可读存储介质存储有基于全色盲的显示改善程序,所述基于全色盲的显示改善程序被处理器执行时实现如上所述基于全色盲的显示改善方法的步骤。The present invention also provides a computer-readable storage medium, wherein the computer-readable storage medium stores a display improvement program based on achromatopsia, and when the display improvement program based on achromatopsia is executed by a processor, the above-mentioned The steps of the display improvement method for achromatopsia.

综上所述,本发明提供一种基于全色盲的显示改善方法、系统、终端及存储介质,所述方法包括:获取各分区图像的亮度信息,并基于所述亮度信息得到第一图像亮度矩阵;获取所述第一图像亮度矩阵的最大亮度和最小亮度,并计算所述最大亮度与所述最小亮度的差值;基于所述差值对所述第一图像亮度矩阵进行转换得到第二图像亮度矩阵,并将所述第二图像亮度矩阵传输至显示器,以完成图像显示。本发明基于全色盲人群的的视觉特性,通过分段的亮度转换函数,得到更适合全色盲人群的图像,给全色盲特殊用户提供了一种个性化的观看模式,带来了更舒适的观看体验,提高全色盲特殊用户的幸福指数。To sum up, the present invention provides a display improvement method, system, terminal and storage medium based on panchromatic blindness. The method includes: acquiring the brightness information of each partition image, and obtaining the brightness matrix of the first image based on the brightness information ; Obtain the maximum brightness and minimum brightness of the brightness matrix of the first image, and calculate the difference between the maximum brightness and the minimum brightness; convert the brightness matrix of the first image based on the difference to obtain a second image brightness matrix, and transmit the brightness matrix of the second image to the display to complete image display. Based on the visual characteristics of panchromatic people, the present invention obtains images that are more suitable for panchromatic people through segmented brightness conversion functions, and provides a personalized viewing mode for special panchromatic users, bringing more comfortable viewing Experience and improve the happiness index of special users with full color blindness.

需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者装置不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者装置所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者装置中还存在另外的相同要素。It should be noted that, in this document, the term "comprising", "comprising" or any other variation thereof is intended to cover a non-exclusive inclusion such that a process, method, article or apparatus comprising a set of elements includes not only those elements, It also includes other elements not expressly listed, or elements inherent in the process, method, article, or device. Without further limitations, an element defined by the phrase "comprising a ..." does not preclude the presence of additional identical elements in the process, method, article, or apparatus comprising that element.

当然,本领域普通技术人员可以理解实现上述实施例方法中的全部或部分流程,是可以通过计算机程序来指令相关硬件(如处理器,控制器等)来完成,所述的程序可存储于计算机可读取的计算机可读存储介质中,所述程序在执行时可包括如上述各方法实施例的流程。其中所述的计算机可读存储介质可为存储器、磁碟、光盘等。Of course, those of ordinary skill in the art can understand that all or part of the processes in the methods of the above embodiments can be realized by instructing related hardware (such as processors, controllers, etc.) through computer programs, and the programs can be stored in the computer In the readable computer-readable storage medium, the program may include the processes of the above-mentioned method embodiments when executed. The computer-readable storage medium described herein may be a memory, a magnetic disk, an optical disk, and the like.

应当理解的是,本发明的应用不限于上述的举例,对本领域普通技术人员来说,可以根据上述说明加以改进或变换,所有这些改进和变换都应属于本发明所附权利要求的保护范围。It should be understood that the application of the present invention is not limited to the above examples, and those skilled in the art can make improvements or transformations according to the above descriptions, and all these improvements and transformations should belong to the protection scope of the appended claims of the present invention.

Claims (10)

1. A display improvement method based on achromatopsia is characterized in that the display improvement method based on achromatopsia comprises the following steps:
acquiring brightness information of each partitioned image, and obtaining a first image brightness matrix based on the brightness information;
acquiring the maximum brightness and the minimum brightness of the first image brightness matrix, and calculating the difference value between the maximum brightness and the minimum brightness;
and converting the first image brightness matrix based on the difference value to obtain a second image brightness matrix, and transmitting the second image brightness matrix to a display to finish image display.
2. The method for improving display based on total color blindness according to claim 1, wherein the obtaining luminance information of each partition image and obtaining a first image luminance matrix based on the luminance information specifically comprises:
acquiring an image stored by an image processing chip, and segmenting the image to obtain a plurality of subarea images;
and respectively obtaining the brightness average value of each subarea image based on the plurality of subarea images, and constructing the first image brightness matrix based on the brightness average value.
3. The method of improving a full-color-blind-based display according to claim 2, wherein the first image luminance matrix is:
Figure FDA0003817982410000011
wherein Z represents a first image brightness matrix, C represents the number of horizontal axis backlight partitions of an image, D represents the number of vertical axis backlight partitions of an image, Z CD Representing the luminance of the C-th horizontal and D-th vertical partition in the first image luminance matrix, and the Z CD The luminance range of (0, 255).
4. The method of claim 1, wherein the converting the first image luminance matrix based on the difference value to obtain a second image luminance matrix, and transmitting the second image luminance matrix to a display to complete image display comprises:
selecting a corresponding brightness conversion formula based on the size of the difference value and the maximum brightness, or selecting a corresponding brightness conversion formula based on the size of the difference value and the section to which the maximum brightness and the minimum brightness belong;
converting the first image brightness matrix to obtain a second image brightness matrix based on the brightness conversion formula;
and transmitting the second image brightness matrix to a backlight partition control module to obtain a new image, and transmitting the new image to a display to finish displaying.
5. The method of claim 4, wherein a corresponding luminance transformation formula is selected based on the magnitude of the difference and the maximum luminance, wherein the luminance transformation formula is:
if Δ Z ≧ 120 or Zmax ≧ 200, Z' = Z;
wherein Z represents a first image luminance matrix, zmax represents a maximum luminance of the first image luminance matrix, Δ Z represents a difference value between the maximum luminance and the minimum luminance, and Z' represents a second image luminance matrix.
6. The method of claim 4, wherein a corresponding luminance conversion formula is selected based on the magnitude of the difference value and the interval between the maximum luminance and the minimum luminance, wherein the luminance conversion formula comprises:
if Δ Z<120 and [ Zmin, zmax]∈[0,120]Then, then
Figure FDA0003817982410000031
If Δ Z<120 and [ Zmin, zmax]∈[20,140]Then, then
Figure FDA0003817982410000032
Wherein β 1 is in the range of (10, 14);
if Δ Z<120 and [ Zmin, zmax]∈[40,160]Then, then
Figure FDA0003817982410000033
Wherein β 2 ranges from (14, 18);
if Δ Z<120 and [ Zmin, zmax]∈[60,180]Then, then
Figure FDA0003817982410000034
Wherein β 3 may range from (18, 22);
if ΔZ<120 and [ Zmin, zmax]∈[80,200]Then, then
Figure FDA0003817982410000035
Wherein β 4 is in the range of (22, 26);
wherein Z denotes a first image luminance matrix, zmax denotes a maximum luminance of the first image luminance matrix, zmin denotes a minimum luminance of the first image luminance matrix, Δ Z denotes a difference between the maximum luminance and the minimum luminance, Z' denotes a second image luminance matrix, β 1 denotes a first adjustment factor, β 2 denotes a second adjustment factor, β 3 denotes a third adjustment factor, and β 4 denotes a fourth adjustment factor.
7. The method of claim 5 or 6, wherein the second image brightness matrix is:
Figure FDA0003817982410000041
wherein Z 'represents a second image luminance matrix, C represents the horizontal axis backlight partition number of the image, and D represents the vertical axis backlight partition number of the image, Z' CD And the brightness of the C-th horizontal and D-th vertical subarea in the second image brightness matrix is represented.
8. A full-color-blind based display improvement system, comprising:
the video input module is used for inputting a video to be watched by a user;
the system comprises a user mode selection module, a display module and a display module, wherein the user mode selection module is used for switching different viewing modes, and the viewing modes comprise a normal mode and a full-color blind mode;
the signal processing chip is used for processing an image brightness matrix of a video in a full-color blind mode, and comprises a brightness matrix calculation module, a brightness matrix information identification module and a brightness matrix conversion module;
the brightness matrix calculation module is used for calculating the brightness of each partition of the first image;
the brightness matrix information identification module is used for identifying the maximum brightness, the minimum brightness and the difference value between the maximum brightness and the minimum brightness of the first image brightness matrix;
the brightness matrix conversion module is used for selecting a corresponding conversion formula based on the relationship among the maximum brightness, the minimum brightness and the difference value, and converting the first image brightness matrix through the conversion formula to obtain a second image brightness matrix;
the backlight partition driving module is used for receiving the second image brightness matrix transmitted through the bus and adjusting the image brightness of the video based on the second image brightness matrix to obtain new video image brightness;
and the display module is used for displaying the input video in the display based on the new video image brightness.
9. A terminal, characterized in that the terminal comprises: memory, a processor and a full-color-blind based display improvement program stored on the memory and executable on the processor, the full-color-blind based display improvement program when executed by the processor implementing the steps of the full-color-blind based display improvement method according to any one of claims 1 to 7.
10. A computer-readable storage medium, characterized in that the computer-readable storage medium stores a full-color-blind-based display improvement program, which when executed by a processor, implements the steps of the full-color-blind-based display improvement method according to any one of claims 1 to 7.
CN202211032381.2A 2022-08-26 2022-08-26 Display improvement method, system, terminal and storage medium based on total color blindness Pending CN115439354A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211032381.2A CN115439354A (en) 2022-08-26 2022-08-26 Display improvement method, system, terminal and storage medium based on total color blindness

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211032381.2A CN115439354A (en) 2022-08-26 2022-08-26 Display improvement method, system, terminal and storage medium based on total color blindness

Publications (1)

Publication Number Publication Date
CN115439354A true CN115439354A (en) 2022-12-06

Family

ID=84245157

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211032381.2A Pending CN115439354A (en) 2022-08-26 2022-08-26 Display improvement method, system, terminal and storage medium based on total color blindness

Country Status (1)

Country Link
CN (1) CN115439354A (en)

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1744687A (en) * 2005-09-14 2006-03-08 上海广电(集团)有限公司中央研究院 Method for dynamically increasing video image effect of vision
US20110285913A1 (en) * 2010-05-21 2011-11-24 Astrachan Paul M Enhanced histogram equalization
CN102708810A (en) * 2012-06-27 2012-10-03 南京大学(苏州)高新技术研究院 Self-adaption LED (Light Emitting Diode) dynamic backlight method
CN106297653A (en) * 2016-10-28 2017-01-04 重庆工商职业学院 A kind of LED screen pixel brightness correcting method based on image procossing and system thereof
CN108428436A (en) * 2018-05-08 2018-08-21 京东方科技集团股份有限公司 Luminance compensation method, luminance compensating mechanism, display device and storage medium
CN109389951A (en) * 2017-08-14 2019-02-26 京东方科技集团股份有限公司 Driving method and driving circuit, the backlight and display device of backlight
CN109697738A (en) * 2018-12-28 2019-04-30 Oppo广东移动通信有限公司 Image processing method, device, terminal device and storage medium
CN114420053A (en) * 2021-12-01 2022-04-29 康佳集团股份有限公司 Backlight partition brightness control method and device, terminal equipment and storage medium

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1744687A (en) * 2005-09-14 2006-03-08 上海广电(集团)有限公司中央研究院 Method for dynamically increasing video image effect of vision
US20110285913A1 (en) * 2010-05-21 2011-11-24 Astrachan Paul M Enhanced histogram equalization
CN102708810A (en) * 2012-06-27 2012-10-03 南京大学(苏州)高新技术研究院 Self-adaption LED (Light Emitting Diode) dynamic backlight method
CN106297653A (en) * 2016-10-28 2017-01-04 重庆工商职业学院 A kind of LED screen pixel brightness correcting method based on image procossing and system thereof
CN109389951A (en) * 2017-08-14 2019-02-26 京东方科技集团股份有限公司 Driving method and driving circuit, the backlight and display device of backlight
CN108428436A (en) * 2018-05-08 2018-08-21 京东方科技集团股份有限公司 Luminance compensation method, luminance compensating mechanism, display device and storage medium
CN109697738A (en) * 2018-12-28 2019-04-30 Oppo广东移动通信有限公司 Image processing method, device, terminal device and storage medium
CN114420053A (en) * 2021-12-01 2022-04-29 康佳集团股份有限公司 Backlight partition brightness control method and device, terminal equipment and storage medium

Similar Documents

Publication Publication Date Title
CN109979401B (en) Driving method, driving apparatus, display device, and computer readable medium
CN109783178B (en) Color adjusting method, device, equipment and medium for interface component
WO2019219063A1 (en) Method and device for driving display panel, and display apparatus
US20190098227A1 (en) Apparatus and method for displaying ar object
US8538147B2 (en) Methods and appartuses for restoring color and enhancing electronic images
EP3815047A1 (en) Image colorization based on reference information
US9542595B2 (en) Systems and methods for recommending cosmetic products for users with mobile devices
TWI667610B (en) Automatic Gamma curve setting method for display
CN108037824A (en) Screen parameter adjusting method, device and equipment
WO2023273111A1 (en) Image processing method and apparatus, and computer device and storage medium
WO2008070628A1 (en) Developing layered platform components
CN111540335A (en) Color blindness correction device, method, intelligent glasses, controller and medium
US20110084966A1 (en) Method for forming three-dimension images and related display module
CN116668838A (en) Image processing method and electronic equipment
JP2023184453A (en) Gamma automatic correction adjustment system with environmental adaptability
CN116259281A (en) Display equipment and backlight control method
US20130293568A1 (en) Image processing apparatus and image processing program product
CN115439354A (en) Display improvement method, system, terminal and storage medium based on total color blindness
CN106775527B (en) Adjust the method, apparatus and display equipment of the display parameters of display panel
CN116016806B (en) FPGA-based image correction method, device, equipment, and medium
TW202503506A (en) Mixed reality recording of foveated display content systems and methods
CN115547230B (en) Video data display processing method and device, micro display screen and storage medium
US20240153157A1 (en) Image processing method and electronic device
WO2022116718A1 (en) Display adjustment method and apparatus, electronic device, and storage medium
US20250203227A1 (en) Image color tone adjustment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination