TWI784563B - Display color calibration method and electronic device - Google Patents
Display color calibration method and electronic device Download PDFInfo
- Publication number
- TWI784563B TWI784563B TW110121041A TW110121041A TWI784563B TW I784563 B TWI784563 B TW I784563B TW 110121041 A TW110121041 A TW 110121041A TW 110121041 A TW110121041 A TW 110121041A TW I784563 B TWI784563 B TW I784563B
- Authority
- TW
- Taiwan
- Prior art keywords
- color
- pixel
- parameters
- difference
- rgb
- Prior art date
Links
Images
Landscapes
- Spectrometry And Color Measurement (AREA)
- Testing, Inspecting, Measuring Of Stereoscopic Televisions And Televisions (AREA)
- Eye Examination Apparatus (AREA)
Abstract
Description
本發明是有關於一種顯示技術,且特別是有關於一種顯示器校色方法及電子裝置。 The present invention relates to a display technology, and in particular to a display color calibration method and an electronic device.
人眼具有負責感覺亮度明暗的桿狀細胞及負責感覺顏色的錐狀細胞,其中錐狀細胞又有三種,分別為L(長波420-440nm)、M(中波530-540nm)、S(短波560-580nm),各別用以感應紅、綠、藍三種顏色。 The human eye has rod cells responsible for sensing brightness and cone cells responsible for sensing color. Among them, there are three types of cone cells, namely L (long wave 420-440nm), M (medium wave 530-540nm), and S (short wave 560-580nm), which are used to sense red, green and blue respectively.
然而,當某人的基因出現缺陷而使得其中一種顏色靈敏度大幅減少時,將使得此人成為色盲患者。目前的色盲患者的色盲類型大致可分為紅色色盲、綠色色盲及藍色色盲等三種,而屬於此三種色盲種類的色盲患者將無法識別某些顏色。 However, when someone has a genetic defect that greatly reduces sensitivity to one of the colors, that person is color blind. The current types of color blindness in patients with color blindness can be roughly divided into three types: red color blindness, green color blindness and blue color blindness, and color blindness patients belonging to these three types of color blindness will not be able to recognize certain colors.
舉例而言,對於具有紅色色盲的色盲患者而言,其一般無法感知長波長顏色(例如紅色),且中波長的顏色(例如綠色)一般將以淡黃色的視覺型式呈現。 For example, a color-blind patient with protanopia typically cannot perceive long-wavelength colors such as red, and mid-wavelength colors such as green will generally appear as a yellowish visual pattern.
請參照圖1,其繪示正常人所見的影像及由色盲患者所見
的影像。在圖1中,參考影像110為包括綠葉及紅花(其大致位於圈選範圍內)的相片。然而,在屬於紅色色盲的色盲患者的眼中,參考影像110所提供的視覺感受將會是類似於影像120所呈現的感覺。在影像120中,無論是綠葉及紅花,對於上述色盲患者而言皆會呈現偏黃的顏色。在此情況下,上述色盲患者將無法在影像120中區分綠葉及紅花之間的差異,進而可能無法察覺影像120中實際上存在紅花,而類似情形在日常生活中相當常見。
Please refer to Figure 1, which shows the images seen by normal people and those seen by color blind patients
of the image. In FIG. 1 , the
在目前的醫學技術中,先天性色盲患者無法透過開刀及藥物改善其色彩辨識能力。市面上雖有鍍膜鏡片可以幫助矯正,但效果不佳。 In the current medical technology, patients with congenital color blindness cannot improve their color recognition ability through surgery and drugs. Although there are coated lenses on the market that can help correct it, the effect is not good.
因此,對於本領域技術人員而言,如何設計一種能夠改善色盲患者的色彩辨識能力的技術實為一項重要議題。 Therefore, for those skilled in the art, how to design a technology that can improve the color recognition ability of color-blind patients is an important issue.
有鑑於此,本發明提供一種顯示器校色方法及電子裝置,其可用於解決上述技術問題。 In view of this, the present invention provides a display color calibration method and an electronic device, which can be used to solve the above technical problems.
本發明提供一種顯示器校色方法,適於一電子裝置,所述方法包括:取得一參考影像,並將參考影像區分為多個色彩區域,其中所述多個色彩區域包括一第一色彩區域及一第二色彩區域,第一色彩區域包括一第一像素;基於一色盲患者的一色盲類型將第一像素轉換為一第二像素,並判斷色盲患者是否能夠區分第一像素及第二像素,其中第一像素及第二像素之間存在一第一 色彩差異;反應於判定色盲患者無法區分第一像素及第二像素,基於色盲患者的色盲類型將第二色彩區域中的一第三像素轉換為一第四像素,並取得第三像素與第四像素之間的一第二色彩差異;反應於判定第一色彩差異與第二色彩差異之間的差異小於一預設值,藉由調整第二色彩區域中的多個像素個別的色相參數以調整參考影像;以及控制顯示器顯示經調整的參考影像。 The present invention provides a display color calibration method, which is suitable for an electronic device. The method includes: obtaining a reference image, and dividing the reference image into a plurality of color regions, wherein the plurality of color regions include a first color region and a first color region. A second color area, the first color area includes a first pixel; converting the first pixel into a second pixel based on a color blindness type of a color blind patient, and judging whether the color blind patient can distinguish the first pixel from the second pixel, There is a first pixel between the first pixel and the second pixel Color difference; in response to determining that a color-blind patient cannot distinguish between the first pixel and the second pixel, a third pixel in the second color area is converted into a fourth pixel based on the color-blindness type of the color-blind patient, and the third pixel and the fourth pixel are obtained A second color difference between pixels; in response to determining that the difference between the first color difference and the second color difference is less than a preset value, the individual hue parameters of a plurality of pixels in the second color area are adjusted to adjust a reference image; and controlling the display to display the adjusted reference image.
本發明提供一種電子裝置,其包括儲存電路及處理器。儲存電路儲存一程式碼。處理器耦接儲存電路,存取程式碼以執行:取得一參考影像,並將參考影像區分為多個色彩區域,其中所述多個色彩區域包括一第一色彩區域及一第二色彩區域,第一色彩區域包括一第一像素;基於一色盲患者的一色盲類型將第一像素轉換為一第二像素,並判斷色盲患者是否能夠區分第一像素及第二像素,其中第一像素及第二像素之間存在一第一色彩差異;反應於判定色盲患者無法區分第一像素及第二像素,基於色盲患者的色盲類型將第二色彩區域中的一第三像素轉換為一第四像素,並取得第三像素與第四像素之間的一第二色彩差異;反應於判定第一色彩差異與第二色彩差異之間的差異小於一預設值,藉由調整第二色彩區域中的多個像素個別的色相參數以調整參考影像;以及控制顯示器顯示經調整的參考影像。 The invention provides an electronic device, which includes a storage circuit and a processor. The storage circuit stores a program code. The processor is coupled to the storage circuit, and accesses the program code to execute: obtain a reference image, and divide the reference image into a plurality of color regions, wherein the plurality of color regions include a first color region and a second color region, The first color region includes a first pixel; converting the first pixel into a second pixel based on a color blindness type of a color blind patient, and judging whether the color blind patient can distinguish the first pixel from the second pixel, wherein the first pixel and the second pixel There is a first color difference between the two pixels; in response to determining that the color-blind patient cannot distinguish the first pixel from the second pixel, converting a third pixel in the second color region into a fourth pixel based on the color-blindness type of the color-blind patient, And obtain a second color difference between the third pixel and the fourth pixel; in response to determining that the difference between the first color difference and the second color difference is less than a preset value, by adjusting the number of pixels in the second color area individual hue parameters of each pixel to adjust the reference image; and control the display to display the adjusted reference image.
110:參考影像 110:Reference Image
120:影像 120: Image
200:電子裝置 200: electronic device
202:儲存電路 202: storage circuit
204:處理器 204: Processor
410,420,430:色彩區域 410, 420, 430: color areas
411~419,421,431:參考像素 411~419,421,431: reference pixels
510:經調整的參考影像 510: Adjusted reference image
S310~S350:步驟 S310~S350: Steps
圖1繪示正常人所見的影像及由色盲患者所見的影像。 Figure 1 shows images seen by normal people and images seen by color-blind patients.
圖2是依據本發明之一實施例繪示的電子裝置示意圖。 FIG. 2 is a schematic diagram of an electronic device according to an embodiment of the present invention.
圖3是依據本發明之一實施例繪示的顯示器校色方法流程圖。 FIG. 3 is a flow chart of a display color calibration method according to an embodiment of the present invention.
圖4是依據本發明之一實施例繪示的將參考影像區分為多個色彩區域的示意圖。 FIG. 4 is a schematic diagram of dividing a reference image into a plurality of color regions according to an embodiment of the present invention.
圖5是依據本發明之一實施例繪示的經調整的參考影像示意圖。 FIG. 5 is a schematic diagram of an adjusted reference image according to an embodiment of the present invention.
請參照圖2,其是依據本發明之一實施例繪示的電子裝置示意圖。在不同的實施例中,電子裝置200可實現為各式智慧型裝置及電腦裝置,但可不限於此。如圖2所示,電子裝置200包括儲存電路202及處理器204。
Please refer to FIG. 2 , which is a schematic diagram of an electronic device according to an embodiment of the present invention. In different embodiments, the
儲存電路202例如是任意型式的固定式或可移動式隨機存取記憶體(Random Access Memory,RAM)、唯讀記憶體(Read-Only Memory,ROM)、快閃記憶體(Flash memory)、硬碟或其他類似裝置或這些裝置的組合,而可用以記錄多個程式碼或模組。
The
處理器204耦接於儲存電路202,並可為一般用途處理器、特殊用途處理器、傳統的處理器、數位訊號處理器、多個微處理器(microprocessor)、一個或多個結合數位訊號處理器核心的微處
理器、控制器、微控制器、特殊應用積體電路(Application Specific Integrated Circuit,ASIC)、現場可程式閘陣列電路(Field Programmable Gate Array,FPGA)、任何其他種類的積體電路、狀態機、基於進階精簡指令集機器(Advanced RISC Machine,ARM)的處理器以及類似品。
The
在本發明的實施例中,處理器204可存取儲存電路202中記錄的模組、程式碼來實現本發明提出的顯示器校色方法,藉以調整顯示器299的顯示方式。在不同的實施例中,顯示器299可以是外接於電子裝置200的顯示裝置,或是內建於電子裝置200的顯示裝置,但可不限於此。
In an embodiment of the present invention, the
請參照圖3,其是依據本發明之一實施例繪示的顯示器校色方法流程圖。本實施例的方法可由圖2的電子裝置200執行,以下即搭配圖2所示的元件說明圖3各步驟的細節。
Please refer to FIG. 3 , which is a flow chart of a display color calibration method according to an embodiment of the present invention. The method of this embodiment can be executed by the
首先,在步驟S310中,處理器204可取得參考影像,並將參考影像區分為多個色彩區域。在本發明的實施例中,上述色彩區域可個別包括多個像素,而各色彩區域中的像素可具有相似的顏色。
First, in step S310, the
請參照圖4,其是依據本發明之一實施例繪示的將參考影像區分為多個色彩區域的示意圖。在圖4中,參考影像400例如可包括繪示為格子的多個參考像素。在一實施例中,處理器204例如可從上述參考像素中挑選相鄰的第一參考像素及第二參考像素,並可在判定第一參考像素及第二參考像素彼此的顏色相近後,
將其視為屬於同一個色彩區域。為便於說明,以下假設第一參考像素及第二參考像素分別為圖4中的參考像素411及412,其中參考像素411及412在參考影像400中的座標分別例如是(x,y)及(x+1,y),但可不限於此。
Please refer to FIG. 4 , which is a schematic diagram of dividing a reference image into multiple color regions according to an embodiment of the present invention. In FIG. 4 , the
具體而言,在一實施例中,參考像素411及412個別可具有屬於RGB色彩空間(例如是由CIE特殊委員定義的CIE RGB空間)的一組RGB參數,而處理器204可將參考像素411及412個別的該組RGB參數轉換為屬於Y 'C b C r 色彩空間的Y '參數、 C b 參數及 C r 參數,而其相關的轉換細節可參照Y 'C b C r 色彩空間的相關現有技術文獻,例如「X.Jin et al.,"Color image encryption in YCbCr space," 2016 8th International Conference on Wireless Communications & Signal Processing(WCSP),2016,pp.1-5,doi:10.1109/WCSP.2016.7752646.」。
Specifically, in one embodiment, each of the
之後,處理器204可取得參考像素411的Y '參數與參考像素412的Y '參數之間的差異、參考像素411的C b 參數與參考像素412的C b 參數之間的差異,以及參考像素411的C r 參數與參考像素412的C r 參數之間的差異。
Afterwards, the
在一實施例中,反應於判定參考像素411的Y '參數與參考像素412的Y '參數之間的差異小於第一門限值(例如10)、參考像素411的 C b 參數與參考像素412的 C b 參數之間的差異小於第二門限值(例如10),以及參考像素411的 C r 參數與參考像素412的 C r 參數之間的差異小於第三門限值(例如10),處理器204可將參考像
素411及參考像素412定義為屬於同一個色彩區域410(即,由編號1的偏紅色格子所組成的區域)。
In one embodiment, in response to determining that the difference between the Y ' parameter of the
在其他實施例中,反應於判定參考像素411的Y '參數與參考像素412的Y '參數之間的差異未小於第一門限值(例如10)、參考像素411的 C b 參數與參考像素412的 C b 參數之間的差異未小於第二門限值(例如10),或者參考像素411的 C r 參數與參考像素412的 C r 參數之間的差異未小於第三門限值(例如10),處理器204可將參考像素411及參考像素412定義為不屬於同一個色彩區域。
In other embodiments, in response to determining that the difference between the Y ' parameter of the
此外,處理器204可逐一判斷鄰近於參考像素411的其他參考像素412~419是否與參考像素411屬於同一個色彩區域410。在圖4中,假設參考像素412~418皆與參考像素411屬於同一個色彩區域410,而參考像素419未與參考像素411屬於同一個色彩區域410,但可不限於此。
In addition, the
基於上述教示,處理器204可相應地在參考影像400中另找出其他的色彩區域420(即,由編號2的偏綠色格子所組成的區域)及色彩區域430(即,由編號3的偏藍色格子所組成的區域),但可不限於此。
Based on the above teachings, the
為便於說明,在本發明的實施例中,可假設所考慮的參考影像經過步驟S310後可被區分為第一色彩區域及第二色彩區域,其中第一色彩區域可包括第一像素,且此第一像素可具有屬於RGB色彩空間的一組RGB參數,但可不限於此。 For the convenience of description, in the embodiment of the present invention, it can be assumed that the considered reference image can be divided into a first color area and a second color area after step S310, wherein the first color area can include the first pixel, and here The first pixel may have a set of RGB parameters belonging to an RGB color space, but may not be limited thereto.
在一些實施例中,上述第一像素例如是第一色彩區域中的任一像素。舉例而言,假設第一色彩區域為圖4中的色彩區域410,則其對應的第一像素可以是編號1的方格中的任一,例如參考像素411,但可不限於此。
In some embodiments, the above-mentioned first pixel is, for example, any pixel in the first color region. For example, assuming that the first color region is the
之後,在步驟S320中,基於色盲患者的色盲類型將第一像素轉換為第二像素,並判斷色盲患者是否能夠區分第一像素及第二像素。在一實施例中,上述色盲患者例如是顯示器299的觀看者,而處理器204例如可藉由要求此色盲患者自行輸入其所屬的色盲類型(例如紅色色盲、綠色色盲或藍色色盲)來取得步驟S320所需的資訊,但可不限於此。
Afterwards, in step S320, the first pixel is converted into a second pixel based on the color blindness type of the color blind patient, and it is determined whether the color blind patient can distinguish the first pixel from the second pixel. In one embodiment, the above-mentioned color-blind patient is, for example, the viewer of the
在一實施例中,在取得色盲患者的色盲類型後,處理器204可取得對應於此色盲類型的色盲感知模型,並據以將第一像素的該組RGB參數轉換為另一組RGB參數,以產生具有所述另一組RGB參數的上述第二像素。
In one embodiment, after obtaining the color blindness type of the color blindness patient, the
在一實施例中,第一像素的該組RGB參數例如可表徵為,所述另一組RGB參數例如可表徵為。在此情況下,處理器204例如可基於下式估算。
In one embodiment, the set of RGB parameters of the first pixel can be characterized as , the other set of RGB parameters can be characterized as, for example, . In this case, the
在不同的實施例中,當色盲患者的色盲類型為紅色色盲 時,;當色盲患者的色盲類型為綠色 色盲時,;當色盲患者的色盲類型為 藍色色盲時,,其中λ為0。 In different embodiments, when the color blindness type of the color blind patient is red color blindness, ; When the color blindness type of the color blind patient is green color blindness, ; When the color blindness type of the color blind patient is blue color blindness, , where λ is 0.
之後,在判斷色盲患者是否能夠區分第一像素及第二像素的過程中,處理器204例如可將第一像素的該組RGB參數轉換為位於二維色彩空間(例如是由CIE特殊委員定義的CIE xy空間)上的一第一二維座標。
Afterwards, in the process of judging whether a color-blind patient can distinguish the first pixel from the second pixel, the
在一實施例中,處理器204例如可將第一像素的該組RGB參數轉換為位於XYZ色彩空間(例如是由CIE特殊委員定義的CIE XYZ空間)上的第一三維座標,並將第一三維座標轉換為位於上述二維色彩空間上的第一二維座標。在一實施例中,第一三維座標可表徵為,其中 。另外,第一二維座標可表徵為,且。
In one embodiment, the
概略而言,第一像素的該組RGB參數可理解對應於為由視覺功能正常的人所看到的顏色,而第二像素的另一組RGB參數可理解為對應於由上述色盲患者所看到的顏色。 Roughly speaking, the set of RGB parameters of the first pixel can be understood to correspond to the colors seen by a person with normal visual function, while the other set of RGB parameters of the second pixel can be understood to correspond to the color seen by the above-mentioned color-blind patients. to the color.
之後,處理器204可將第二像素的另一組RGB參數轉換
為位於二維色彩空間上的第二二維座標(其可表徵為),而其相關轉換細節可參照以上教示,於此不另贅述。
Afterwards, the
接著,處理器204可取得第一二維座標及第二二維座標之間的第一距離。在一實施例中,所述第一距離例如是第一二維座標及第二二維座標之間的歐氏距離,且可表徵為,但可不限於此。在一實施例中,第一距離可表徵為第一像素及第二像素之間的第一色彩差異,但可不限於此。
Next, the
之後,處理器204可判斷第一距離是否大於第一距離門限值(例如0.4)。反應於判定第一距離未大於第一距離門限值,此即代表第一像素及第二像素對於色盲患者而言在視覺上相當接近,因此處理器204可判定色盲患者無法區分第一像素及第二像素。另一方面,反應於判定第一距離大於第一距離門限值,此即代表第一像素及第二像素對於色盲患者而言在視覺上有一定程度的差異,因此處理器204可則判定色盲患者能夠區分第一像素及第二像素,但可不限於此。
Afterwards, the
在步驟S330中,反應於判定色盲患者無法區分第一像素及第二像素,處理器204可基於色盲患者的色盲類型將第二色彩區域中的第三像素轉換為第四像素,並取得第三像素與第四像素之間的第二色彩差異。
In step S330, in response to determining that the color-blind patient cannot distinguish the first pixel from the second pixel, the
在一實施例中,第二色彩區域中的所述第三像素可具有屬於RGB色彩空間的一組RGB參數。並且,在一些實施例中,
上述第三像素例如是第二色彩區域中的任一像素。舉例而言,假設第二色彩區域為圖4中的色彩區域420,則其對應的第一像素可以是編號2的方格中的任一,例如參考像素421,但可不限於此。
In an embodiment, the third pixel in the second color region may have a set of RGB parameters belonging to an RGB color space. And, in some embodiments,
The above-mentioned third pixel is, for example, any pixel in the second color region. For example, assuming that the second color region is the
在決定第二色彩區域中的所述第三像素之後,處理器204可相應地基於色盲患者的色盲類型將此第三像素轉換為第四像素,而相關的轉換手段可參照先前將第一像素轉換為第二像素的內容,故其細節於此不另贅述。
After determining the third pixel in the second color area, the
此外,處理器204取得第三像素與第四像素之間的第二色彩差異的方式可參照先前取得第一像素與第二像素之間的第一色彩差異(即,第一距離)的內容,故其細節於此不另贅述。
In addition, the method for the
在一實施例中,處理器204可判斷第一色彩差異與第二色彩差異之間的差異小於預設值(例如0.05)。
In one embodiment, the
之後,在步驟S340中,反應於判定第一色彩差異與第二色彩差異之間的差異小於預設值,處理器204可藉由調整第二色彩區域中的多個像素個別的色相參數以調整參考影像。
Afterwards, in step S340, in response to determining that the difference between the first color difference and the second color difference is smaller than a preset value, the
以圖4為例,假設第一色彩區域及第二色彩區域分別為色彩區域410及420,而第一像素及第三像素分別為參考像素411及421。在一實施例中,假設對應於第一像素的第一色彩差異為0.456,且對應於第三像素的第二色彩差異為0.432。在此情況下,由於第一色彩差異與第二色彩差異之間的差異小於預設值(例如0.05),因此若不針對色彩區域420進行調整的話,將可能使得色盲患者無法辨識色彩區域410及420之間的差異。因此,處理器
204可相應地調整色彩區域420中的多個像素個別的色相參數。
Taking FIG. 4 as an example, it is assumed that the first color area and the second color area are
在一實施例中,在處理器204調整色彩區域420中的多個像素個別的色相參數的過程中,處理器204可將色彩區域420中各像素的該組RGB參數轉換為屬於HSL色彩空間的色相參數、飽和度參數及明度參數,而其相關的轉換手段可參照相關的現有技術文獻,例如「G.Saravanan,G.Yamuna and S.Nandhini,"Real time implementation of RGB to HSV/HSI/HSL and its reverse color space models," 2016 International Conference on Communication and Signal Processing(ICCSP),2016,pp.0462-0466,doi:10.1109/ICCSP.2016.7754179.」,故其細節於此不另贅述。
In one embodiment, during the process of the
之後,處理器204可將色彩區域420中各像素的色相參數加上一修正值,以調整色彩區域420中各像素的色相參數。在一實施例中,上述修正值例如可介於120度至240度。在一較佳實施例中,上述修正值例如是180度,藉以讓色彩區域420中的各像素被轉換為其對應的互補色,但可不限於此。之後,處理器204可將色彩區域420中各像素的調整後色相參數、飽和度參數及明度參數轉換為屬於RGB色彩空間的另一組RGB參數。
Afterwards, the
接著,在步驟S350中,處理器204可控制顯示器299顯示經調整的參考影像400。在一實施例中,處理器204可透過對應於顯示器299的iGPU/dGPU將調整後的色彩區域420的相關RGB參數寫入顯示器299,以調整顯示器299呈現色彩區域420的顏色。藉此,色彩區域420中的各像素可因經過色相參數的調整而使得
色盲患者能夠較易於在顯示器299上辨識色彩區域410及420的差異。
Next, in step S350 , the
應了解的是,雖以上將色彩區域410及420分別假設為第一色彩區域及第二色彩區域,但在其他實施例中,處理器204亦可改為將色彩區域410及420分別假設為第二色彩區域及第一色彩區域。在此情況下,反應於判定第一色彩差異與第二色彩差異之間的差異小於預設值,處理器204可藉由調整色彩區域410中的多個像素個別的色相參數以調整參考影像。相關細節可參照先前實施例的說明,於此不另贅述。
It should be understood that although the
在其他實施例中,處理器204還可從所考慮的參考影像中選擇其他色彩區域作為第二色彩區域。舉例而言,在假設圖4的色彩區域410為第一色彩區域的情況下,處理器204可另外選定色彩區域430作為第二色彩區域,而並從中選擇任一像素(例如參考像素431)作為對應的第三像素。在一實施例中,假設對應於第一像素的第一色彩差異為0.456,且對應於第三像素的第二色彩差異為0.200。在此情況下,由於第一色彩差異與第二色彩差異之間的差異不小於預設值(例如0.05),因此即便不針對色彩區域430進行調整,色盲患者仍能夠辨識色彩區域410及430之間的差異。因此,處理器204可相應地不調整色彩區域430中的多個像素個別的色相參數,但可不限於此。
In other embodiments, the
請參照圖5,其是依據本發明之一實施例繪示的經調整的參考影像示意圖。在圖5中,原始的參考影像110例如可相同於
圖1所示的參考影像110。在本實施例中,若不進行上述實施例所記載的手段,則屬於紅色色盲的色盲患者可能無法在整體皆黃的影像120中辨識參考影像110中的綠葉及紅花(其大致位於圈選範圍內)。
Please refer to FIG. 5 , which is a schematic diagram of an adjusted reference image according to an embodiment of the present invention. In FIG. 5, the
然而,在處理器204取得參考影像110之後,其例如可執行步驟S310以將參考影像110區分為對應於分別對應於綠葉及紅花的第一色彩區域及第二色彩區域。之後,在依序執行步驟S320~S350之後,處理器204例如可取得並控制顯示器299顯示調整後的參考影像510。
However, after the
在經調整的參考影像510中,對應於紅花的第二色彩區域例如可在經過色相參數的調整之後,被調整為偏紫色(即,紅色的互補色)的顏色。由於屬於紅色色盲的色盲患者可辨識綠色及紫色之間的差異,因此即可在經調整的參考影像510中看出對應於紅花的影像區域(其大致位於圈選範圍內),進而得到較佳的觀看體驗。
In the adjusted
綜上所述,本發明實施例的方法可在判斷屬於某色盲類型的色盲患者無法區分參考影像中的兩個色彩區域時,將其中一個色彩區域內像素的色相參數進行調整,以相應地調整參考影像。藉此,上述色盲患者即可在調整後的參考影像中辨識上述兩個色彩區域之間的差異,進而得到較佳的視覺體驗。 To sum up, the method of the embodiment of the present invention can adjust the hue parameter of the pixels in one of the color regions when it is judged that a color blindness patient belonging to a certain type of color blindness cannot distinguish the two color regions in the reference image, so as to adjust accordingly Reference image. In this way, the above-mentioned color-blind patients can recognize the difference between the above-mentioned two color regions in the adjusted reference image, and then obtain a better visual experience.
雖然本發明已以實施例揭露如上,然其並非用以限定本發明,任何所屬技術領域中具有通常知識者,在不脫離本發明的 精神和範圍內,當可作些許的更動與潤飾,故本發明的保護範圍當視後附的申請專利範圍所界定者為準。 Although the present invention has been disclosed as above with the embodiments, it is not intended to limit the present invention. Anyone with ordinary knowledge in the technical field will not depart from the scope of the present invention. Within the spirit and scope, some changes and modifications can be made, so the protection scope of the present invention should be defined by the scope of the appended patent application.
S310~S350:步驟 S310~S350: Steps
Claims (10)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
TW110121041A TWI784563B (en) | 2021-06-09 | 2021-06-09 | Display color calibration method and electronic device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
TW110121041A TWI784563B (en) | 2021-06-09 | 2021-06-09 | Display color calibration method and electronic device |
Publications (2)
Publication Number | Publication Date |
---|---|
TWI784563B true TWI784563B (en) | 2022-11-21 |
TW202248989A TW202248989A (en) | 2022-12-16 |
Family
ID=85793595
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
TW110121041A TWI784563B (en) | 2021-06-09 | 2021-06-09 | Display color calibration method and electronic device |
Country Status (1)
Country | Link |
---|---|
TW (1) | TWI784563B (en) |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
TW561248B (en) * | 2002-10-08 | 2003-11-11 | Zenith Color Tech Corp | Visible type color-distinguishing inspection method |
CN101477793A (en) * | 2001-05-09 | 2009-07-08 | 三星电子株式会社 | Conversion of a sub-pixel format data to another sub-pixel data format |
CN102695065A (en) * | 2011-03-23 | 2012-09-26 | 索尼公司 | Image processing apparatus, image processing method, and program |
US20180288423A1 (en) * | 2017-04-01 | 2018-10-04 | Intel Corporation | Predictive viewport renderer and foveated color compressor |
US20190266977A1 (en) * | 2016-11-07 | 2019-08-29 | Irystec Software Inc. | System and method for age-based gamut mapping |
US20200219431A1 (en) * | 2019-01-03 | 2020-07-09 | Samsung Electronics Co., Ltd. | Electronic device for changing characteristics of display according to external light and method therefor |
-
2021
- 2021-06-09 TW TW110121041A patent/TWI784563B/en active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101477793A (en) * | 2001-05-09 | 2009-07-08 | 三星电子株式会社 | Conversion of a sub-pixel format data to another sub-pixel data format |
TW561248B (en) * | 2002-10-08 | 2003-11-11 | Zenith Color Tech Corp | Visible type color-distinguishing inspection method |
CN102695065A (en) * | 2011-03-23 | 2012-09-26 | 索尼公司 | Image processing apparatus, image processing method, and program |
US20190266977A1 (en) * | 2016-11-07 | 2019-08-29 | Irystec Software Inc. | System and method for age-based gamut mapping |
US20180288423A1 (en) * | 2017-04-01 | 2018-10-04 | Intel Corporation | Predictive viewport renderer and foveated color compressor |
US20200219431A1 (en) * | 2019-01-03 | 2020-07-09 | Samsung Electronics Co., Ltd. | Electronic device for changing characteristics of display according to external light and method therefor |
Also Published As
Publication number | Publication date |
---|---|
TW202248989A (en) | 2022-12-16 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2021031458A1 (en) | Method and device for image color correction applicable in endoscope, and storage medium | |
TWI293742B (en) | ||
US7916941B2 (en) | Methods and apparatuses for restoring color and enhancing electronic images | |
CN101953148B (en) | Method for processing color image, color processing device and color processing program | |
WO2010087162A1 (en) | Color image processing method, color image processing device and recording medium | |
CN100421126C (en) | Method and system in a digital image processing chain for adjusting a colour balance, corresponding equipment, and software means for implementing the method | |
US8559668B2 (en) | Red-eye reduction using facial detection | |
CN108230407B (en) | Image processing method and device | |
CN109427041B (en) | Image white balance method and system, storage medium and terminal equipment | |
CN111627076B (en) | Face changing method and device and electronic equipment | |
CN108876742A (en) | image color enhancement method and device | |
US10892166B2 (en) | System and method for light field correction of colored surfaces in an image | |
CN111899182A (en) | Color enhancement method and device | |
CN101983510A (en) | System and method for adaptive local white balance adjustment | |
CN108024105A (en) | Image color adjusting method, device, electronic equipment and storage medium | |
CN113132696B (en) | Image tone mapping method, image tone mapping device, electronic equipment and storage medium | |
CN107135384A (en) | White balance adjusting method, device, image processing terminal and storage medium | |
CN101088297A (en) | Automatic white balance control | |
US9030575B2 (en) | Transformations and white point constraint solutions for a novel chromaticity space | |
CN110192388A (en) | Image processing apparatus, digital camera, image processing program and recording medium | |
TWI784563B (en) | Display color calibration method and electronic device | |
CN107122103A (en) | A kind of image processing method and terminal | |
JP6467881B2 (en) | Visual assistance device, visual assistance program, visual assistance method, inspection device, inspection program, and inspection method | |
Hsu et al. | A novel automatic white balance method for color constancy under different color temperatures | |
WO2016184153A1 (en) | Method, terminal for preventing color shift and computer storage medium |