TW202309734A - Color detection calibration method and color detection device - Google Patents

Color detection calibration method and color detection device Download PDF

Info

Publication number
TW202309734A
TW202309734A TW110130668A TW110130668A TW202309734A TW 202309734 A TW202309734 A TW 202309734A TW 110130668 A TW110130668 A TW 110130668A TW 110130668 A TW110130668 A TW 110130668A TW 202309734 A TW202309734 A TW 202309734A
Authority
TW
Taiwan
Prior art keywords
color
picking
light source
light
parameter
Prior art date
Application number
TW110130668A
Other languages
Chinese (zh)
Inventor
陳瑞麟
Original Assignee
宏碁股份有限公司
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 宏碁股份有限公司 filed Critical 宏碁股份有限公司
Priority to TW110130668A priority Critical patent/TW202309734A/en
Publication of TW202309734A publication Critical patent/TW202309734A/en

Links

Images

Landscapes

  • Spectrometry And Color Measurement (AREA)

Abstract

A color detection calibration method and a color detection device are disclosed. The method includes: in a calibration mode, emitting a color detection light to a reflective surface by a light emitter of the color detection device; receiving the color detection light reflected from the reflective surface by a light receiver of the color detection device; measuring a first color parameter of the color detection light reflected from the reflective surface; and updating a color detection parameter according to the first color parameter to reflect a light attenuation status of the color detection light.

Description

取色校正方法與取色裝置Color picking calibration method and color picking device

本發明是有關於一種取色校正技術,且特別是有關於一種取色校正方法與取色裝置。The present invention relates to a color picking and calibration technology, and in particular to a color picking and calibration method and a color picking device.

某些類型的筆記型電腦為了偵測螢幕的顯示狀況,可能會額外加裝顏色感測器,以利用此顏色感測器來偵測螢幕的顯示狀況(例如色差)並對其校正。然而,當顏色感測器所使用的取色光源因使用時間過長而發生色衰等狀況時,顏色感測器根據此取色光源對螢幕進行取色的結果也會發生誤差,進而降低顏色感測器的物體取色品質。Some types of notebook computers may additionally install a color sensor in order to detect the display condition of the screen, and use the color sensor to detect the display condition of the screen (such as color difference) and correct it. However, when the color-picking light source used by the color sensor suffers from color fading due to long-term use, errors will also occur in the color-picking results of the color sensor for the screen based on the color-picking light source, thereby reducing the color The object color pick-up quality of the sensor.

本發明提供一種取色校正方法與取色裝置,可對應於取色光源的光衰減狀態動態調整取色參數,從而改善物體的取色品質。The invention provides a color-picking correction method and a color-picking device, which can dynamically adjust color-picking parameters corresponding to the light attenuation state of a color-picking light source, thereby improving the color-picking quality of an object.

本發明的實施例提供一種取色校正方法,其用於校正取色裝置。所述取色校正方法包括:在校正模式中,由所述取色裝置的光發射器朝反射面發射取色光源;由所述取色裝置的光接收器接收經由所述反射面反射的所述取色光源;量測經由所述反射面反射的所述取色光源的第一色彩參數;以及根據所述第一色彩參數更新取色參數,以反映所述取色光源的光衰減狀態。An embodiment of the present invention provides a method for calibrating a color picking device, which is used for calibrating a color picking device. The color-picking correction method includes: in the calibration mode, the light emitter of the color-picking device emits a color-picking light source toward the reflective surface; the light receiver of the color-picking device receives the light reflected by the reflective surface The color-picking light source; measuring a first color parameter of the color-picking light source reflected by the reflective surface; and updating the color-picking parameter according to the first color parameter to reflect the light attenuation state of the color-picking light source.

本發明的實施例另提供一種取色裝置,其包括反射面、光發射器、光接收器及校正控制器。所述校正控制器耦接至所述光發射器與所述校正控制器。在校正模式中,所述光發射器朝所述反射面發射取色光源,所述光接收器接收經由所述反射面反射的所述取色光源,所述校正控制器量測經由所述反射面反射的所述取色光源的第一色彩參數,並且所述校正控制器根據所述第一色彩參數更新取色參數,以反映所述取色光源的光衰減狀態。An embodiment of the invention further provides a color picking device, which includes a reflective surface, a light emitter, a light receiver, and a calibration controller. The calibration controller is coupled to the light emitter and the calibration controller. In the calibration mode, the light transmitter transmits the color-picking light source toward the reflective surface, the light receiver receives the color-picking light source reflected by the reflective surface, and the calibration controller measures the color-picking light source reflected by the reflective surface. The first color parameter of the color-picking light source reflected by the surface, and the correction controller updates the color-picking parameter according to the first color parameter to reflect the light attenuation state of the color-picking light source.

基於上述,在校正模式中,取色裝置的光發射器可朝反射面發射取色光源,且所述取色裝置的光接收器可接收經由所述反射面反射的所述取色光源。在量測經由所述反射面反射的所述取色光源的第一色彩參數後,可根據所述第一色彩參數更新取色參數,以反映所述取色光源的光衰減狀態。藉此,可有效改善後續的物體取色品質。Based on the above, in the calibration mode, the light emitter of the color picking device can emit the color picking light source toward the reflective surface, and the light receiver of the color picking device can receive the color picking light source reflected by the reflecting surface. After measuring the first color parameter of the color-picking light source reflected by the reflective surface, the color-picking parameter can be updated according to the first color parameter to reflect the light attenuation state of the color-picking light source. Thereby, the quality of subsequent object color picking can be effectively improved.

圖1是根據本發明的一實施例所繪示的取色裝置的示意圖。請參照圖1,取色裝置10包括光發射器11、光接收器12、儲存電路13及校正控制器14。光發射器11用以發射光源。光發射器11發射的光源可為可見光(例如白光)或不可見光(例如紅外光)。特別是,光發射器11所發射的光源(亦稱為取色光源)是用以對目標物進行取色。在一實施例中,對目標物進行取色亦稱為對目標物進行顏色偵測。光接收器12用以接收光源。例如,光接收器12可為環境光感測器或顏色感測器。FIG. 1 is a schematic diagram of a color picking device according to an embodiment of the present invention. Please refer to FIG. 1 , the color picking device 10 includes a light transmitter 11 , a light receiver 12 , a storage circuit 13 and a calibration controller 14 . The light emitter 11 is used to emit light. The light source emitted by the light emitter 11 can be visible light (such as white light) or invisible light (such as infrared light). In particular, the light source emitted by the light emitter 11 (also referred to as a color-picking light source) is used for color-picking the object. In one embodiment, performing color picking on the target is also referred to as performing color detection on the target. The light receiver 12 is used for receiving the light source. For example, the light receiver 12 can be an ambient light sensor or a color sensor.

儲存電路13用以儲存資料。儲存電路13可包括揮發性儲存電路與非揮發性儲存電路。揮發性儲存電路用以揮發性地儲存資料。例如,揮發性儲存電路可包括隨機存取記憶體(Random Access Memory, RAM)或類似的揮發性儲存媒體。非揮發性儲存電路用以非揮發性地儲存資料。例如,非揮發性儲存電路可包括唯讀記憶體(Read Only Memory, ROM)、固態硬碟(solid state disk, SSD)及/或傳統硬碟(Hard disk drive, HDD)或類似的非揮發性儲存媒體。The storage circuit 13 is used for storing data. The storage circuit 13 may include a volatile storage circuit and a non-volatile storage circuit. The volatile storage circuit is used for volatile storage of data. For example, the volatile storage circuit may include random access memory (Random Access Memory, RAM) or similar volatile storage media. The non-volatile storage circuit is used for non-volatile storage of data. For example, the non-volatile storage circuit may include a read-only memory (Read Only Memory, ROM), a solid state disk (solid state disk, SSD) and/or a traditional hard disk (Hard disk drive, HDD) or similar non-volatile Storage media.

校正控制器14耦接至光發射器11、光接收器12及儲存電路13。校正控制器14用以負責取色裝置10的整體或部分運作。例如,校正控制器14可包括中央處理單元(CPU)或是其他可程式化之一般用途或特殊用途的微處理器、數位訊號處理器(Digital Signal Processor, DSP)、可程式化控制器、特殊應用積體電路(Application Specific Integrated Circuits, ASIC)、可程式化邏輯裝置(Programmable Logic Device, PLD)或其他類似裝置或這些裝置的組合。The calibration controller 14 is coupled to the light transmitter 11 , the light receiver 12 and the storage circuit 13 . The calibration controller 14 is responsible for the overall or partial operation of the color picking device 10 . For example, the calibration controller 14 may include a central processing unit (CPU) or other programmable general-purpose or special-purpose microprocessors, digital signal processors (Digital Signal Processor, DSP), programmable controllers, special Application Specific Integrated Circuits (ASIC), Programmable Logic Device (Programmable Logic Device, PLD) or other similar devices or a combination of these devices.

在一實施例中,儲存電路13中儲存有取色參數101。當光發射器11所發射光源(即取色光源)發生衰退(例如色衰)時,校正控制器14可啟動校正模式。在校正模式中,校正控制器14可基於所述發生衰退的取色光源,對取色裝置10進行取色校正。例如,在所述取色校正中,校正控制器14可更新取色參數101。爾後,在取色模式中,校正控制器14可基於所述發生衰退的取色光源以及經更新的取色參數101,對目標物產生較為正確的取色結果。In one embodiment, the color selection parameter 101 is stored in the storage circuit 13 . When the light source emitted by the light transmitter 11 (ie, the color light source) decays (eg, color fading), the calibration controller 14 can activate the calibration mode. In the calibration mode, the calibration controller 14 can perform color selection calibration on the color selection device 10 based on the degraded color selection light source. For example, in the color selection calibration, the calibration controller 14 can update the color selection parameter 101 . Afterwards, in the color picking mode, the calibration controller 14 can generate a more correct color picking result for the target object based on the degraded color picking light source and the updated color picking parameters 101 .

圖2是根據本發明的一實施例所繪示的校正模式的示意圖。請參照圖1與圖2,光發射器11與光接收器12可平行設置於取色裝置10的基板22上。反射面21可移動地設置於光發射器11與光接收器12上方。在校正模式中,光發射器11可朝上方的反射面21發射取色光源201。取色光源201可經反射面21反射回來。光接收器12可接收經由反射面21反射的取色光源202。校正控制器14可量測經由反射面21反射的取色光源202的色彩參數(亦稱為第一色彩參數)。校正控制器14可根據第一色彩參數更新取色參數101,以反映取色光源201的光衰減狀態。FIG. 2 is a schematic diagram of a calibration mode according to an embodiment of the present invention. Please refer to FIG. 1 and FIG. 2 , the light emitter 11 and the light receiver 12 can be disposed in parallel on the substrate 22 of the color picking device 10 . The reflective surface 21 is movably disposed above the light emitter 11 and the light receiver 12 . In the calibration mode, the light emitter 11 can emit the color-picking light source 201 toward the upper reflective surface 21 . The color-picking light source 201 can be reflected back by the reflective surface 21 . The light receiver 12 can receive the color-picking light source 202 reflected by the reflective surface 21 . The calibration controller 14 can measure the color parameter (also referred to as the first color parameter) of the color acquisition light source 202 reflected by the reflective surface 21 . The calibration controller 14 can update the color selection parameter 101 according to the first color parameter to reflect the light attenuation state of the color selection light source 201 .

圖3是根據本發明的一實施例所繪示的取色模式的示意圖。請參照圖1與圖3,在更新取色參數101後,在取色模式中,校正控制器14可指示光發射器11朝上方的待測物31發射取色光源301。取色光源301可相同或相似於取色光源201。例如,取色光源301的光衰減狀態可相同或相似於取色光源201的光衰減狀態。取色光源301可經待測物31反射回來。光接收器12可接收經由待測物31反射的取色光源302。校正控制器14可量測經由待測物31反射的取色光源302的色彩參數(亦稱為第二色彩參數)。校正控制器14可根據第二色彩參數與經更新的取色參數101獲得待測物31的色彩評估資訊。例如,此色彩評估資訊可反映對待測物31的取色結果(即待測物31的顏色)。換言之,即便光發射器11所發射的取色光源發生色衰等衰退狀況,藉由動態更新取色參數101,後續對待測物31的取色準確度仍可被提高或維持。FIG. 3 is a schematic diagram of a color picking mode according to an embodiment of the present invention. Referring to FIG. 1 and FIG. 3 , after updating the color-picking parameter 101 , in the color-picking mode, the calibration controller 14 can instruct the light emitter 11 to emit the color-picking light source 301 toward the object under test 31 above. The color-picking light source 301 may be the same as or similar to the color-picking light source 201 . For example, the light attenuation state of the color-picking light source 301 may be the same or similar to the light attenuation state of the color-picking light source 201 . The color-picking light source 301 can be reflected back by the object under test 31 . The light receiver 12 can receive the color-picking light source 302 reflected by the object under test 31 . The calibration controller 14 can measure the color parameter (also referred to as the second color parameter) of the color acquisition light source 302 reflected by the object 31 . The calibration controller 14 can obtain color evaluation information of the object under test 31 according to the second color parameter and the updated color selection parameter 101 . For example, the color evaluation information can reflect the color selection result of the object under test 31 (ie the color of the object under test 31 ). In other words, even if the color-picking light source emitted by the light transmitter 11 suffers from color fading and other degradations, by dynamically updating the color-picking parameters 101 , the subsequent color-picking accuracy of the object under test 31 can still be improved or maintained.

在一實施例中,所述第一色彩參數與所述第二色彩參數皆是以國際照明委員會(International Commission on Illumination, CIE)所規範的XYZ色彩空間值來表示。此外,所述色彩評估資訊是以所述國際照明委員會(CIE)所規範的RGB色彩空間值來表示。In an embodiment, both the first color parameter and the second color parameter are represented by XYZ color space values standardized by the International Commission on Illumination (CIE). In addition, the color evaluation information is represented by RGB color space values regulated by the International Commission on Illumination (CIE).

在一實施例中,取色參數101記載於一個色彩空間轉換矩陣中。所述色彩空間轉換矩陣用以執行所述XYZ色彩空間值與所述RGB色彩空間值的轉換。In one embodiment, the color selection parameters 101 are recorded in a color space conversion matrix. The color space conversion matrix is used to perform conversion between the XYZ color space value and the RGB color space value.

在一實施例中,校正控制器14根據第一色彩參數更新取色參數101的操作包括根據所述第一色彩參數來更新所述色彩空間轉換矩陣,以將所述取色光源的光衰減狀態反映至所述色彩空間轉換矩陣中。爾後,在取色模式中,經更新的色彩空間轉換矩陣可用以更加準確地產生對待測物31的取色結果(即待測物31的色彩評估資訊)。In an embodiment, the operation of the correction controller 14 to update the color selection parameter 101 according to the first color parameter includes updating the color space conversion matrix according to the first color parameter, so as to change the light attenuation state of the color selection light source to reflected in the color space conversion matrix. Then, in the color picking mode, the updated color space conversion matrix can be used to more accurately generate the color picking result of the object under test 31 (ie, the color evaluation information of the object under test 31 ).

在一實施例中,校正控制器14可根據以下方程式(1.1)至(1.3)來更新色彩空間轉換矩陣。In an embodiment, the calibration controller 14 can update the color space transformation matrix according to the following equations (1.1) to (1.3).

[A]=

Figure 02_image003
(1.1 ) [A]=
Figure 02_image003
(1.1 )

Figure 02_image011
(1.2)
Figure 02_image011
(1.2)

[M]=

Figure 02_image015
(1.3) [M]=
Figure 02_image015
(1.3)

在方程式(1.1)至(1.3)中,矩陣A表示第一色彩參數,矩陣M表示色彩空間轉換矩陣,且參數Xr、Xg、Xb、Yr、Yg、Yb、Zr、Zg及Zb為預設值。參數Sr、Sg及Sb為可反映取色光源的光衰減狀態的可變動參數。根據第一色彩參數,色彩空間轉換矩陣(即矩陣M)可被更新(例如更新參數Sr、Sg及Sb的至少其中之一),以反映取色光源的光衰減狀態。In equations (1.1) to (1.3), matrix A represents the first color parameter, matrix M represents the color space conversion matrix, and parameters Xr, Xg, Xb, Yr, Yg, Yb, Zr, Zg and Zb are preset values . The parameters Sr, Sg and Sb are variable parameters that can reflect the light attenuation state of the color picker light source. According to the first color parameter, the color space conversion matrix (ie, the matrix M) can be updated (for example, at least one of the parameters Sr, Sg, and Sb) to reflect the light attenuation state of the color-picking light source.

在一實施例中,校正控制器14可根據以下方程式(2.1)與(2.2)來產生待測物的色彩評估資訊。In one embodiment, the calibration controller 14 can generate color evaluation information of the object under test according to the following equations (2.1) and (2.2).

Figure 02_image017
(2.1)
Figure 02_image017
(2.1)

[C]=

Figure 02_image021
Figure 02_image023
Figure 02_image025
(2.2) [C]=
Figure 02_image021
Figure 02_image023
Figure 02_image025
(2.2)

在方程式(2.1)與(2.2)中,矩陣B表示第二色彩參數,且矩陣C表示待測物的色彩評估資訊。根據第二色彩參數與經更新的色彩空間轉換矩陣(即矩陣M),待測物的色彩評估資訊(即矩陣C)可被獲得。特別是,由於取色光源的光衰減狀態已被反映至所述色彩空間轉換矩陣中,故即便取色光源發生衰退,所獲得的待測物的色彩評估資訊仍可更加準確地反映待測物的真實顏色。In the equations (2.1) and (2.2), the matrix B represents the second color parameter, and the matrix C represents the color evaluation information of the DUT. According to the second color parameter and the updated color space conversion matrix (ie, matrix M), color evaluation information (ie, matrix C) of the object under test can be obtained. In particular, since the light attenuation state of the color-picking light source has been reflected in the color space conversion matrix, even if the color-picking light source decays, the obtained color evaluation information of the object under test can still reflect the object under test more accurately. true color.

在一實施例中,用於反射所述取色光源的反射面,可對應於不同的操作模式而移動。例如,在校正模式中,所述反射面可移動至光感測器11與光接收器12上方,以反射所述取色光源。此外,在取色模式中,所述反射面可從光感測器11與光接收器12上方移開,以避免遮蔽待測物。In an embodiment, the reflective surface for reflecting the color-picking light source can be moved corresponding to different operation modes. For example, in the calibration mode, the reflective surface can be moved above the light sensor 11 and the light receiver 12 to reflect the color-picking light source. In addition, in the color picking mode, the reflective surface can be moved away from above the light sensor 11 and the light receiver 12 to avoid covering the object under test.

圖4與圖5是根據本發明的一實施例所繪示的可移動的反射面的示意圖。請參照圖4,在進入校正模式之前或於取色模式中,反射面21可位於待命位置401。在待命位置401,反射面21無法反射所述取色光源。此時,可執行圖3的操作以偵測待測物31的顏色。請參照圖5,在進入校正模式之後,反射面21可手動或自動移動至光感測器11與光接收器12上方的反射位置402。在反射位置402,反射面21可用以反射所述取色光源。4 and 5 are schematic diagrams of a movable reflective surface according to an embodiment of the present invention. Please refer to FIG. 4 , before entering the calibration mode or in the color picking mode, the reflective surface 21 can be located at the standby position 401 . In the standby position 401, the reflective surface 21 cannot reflect the color-picking light source. At this time, the operation shown in FIG. 3 can be performed to detect the color of the object under test 31 . Referring to FIG. 5 , after entering the calibration mode, the reflection surface 21 can be manually or automatically moved to the reflection position 402 above the light sensor 11 and the light receiver 12 . At the reflecting position 402, the reflecting surface 21 can be used to reflect the color-picking light source.

圖6是根據本發明的一實施例所繪示的取色裝置的示意圖。請參照圖6,在一實施例中,取色裝置10還包括移動控制器61。移動控制器61耦接至校正控制器14與反射面21。移動控制器61可包括驅動控制器與驅動馬達。移動控制器61可根據校正控制器14的指示,在不同的操作模式下控制反射面21移動。例如,在校正模式中,移動控制器61可控制反射面21移動至光發射器11與光接收器12前方的反射位置(例如圖5的反射位置402),以反射取色光源。此外,在取色模式中,移動控制器61可控制反射面21從所述反射位置移開,例如移動至圖4的待命位置401。FIG. 6 is a schematic diagram of a color picking device according to an embodiment of the present invention. Please refer to FIG. 6 , in an embodiment, the color picking device 10 further includes a mobile controller 61 . The movement controller 61 is coupled to the correction controller 14 and the reflective surface 21 . The movement controller 61 may include a driving controller and a driving motor. The movement controller 61 can control the movement of the reflective surface 21 in different operation modes according to the instructions of the calibration controller 14 . For example, in the calibration mode, the mobile controller 61 can control the reflective surface 21 to move to a reflective position in front of the light emitter 11 and the light receiver 12 (such as the reflective position 402 in FIG. 5 ) to reflect the color-picking light source. In addition, in the color picking mode, the movement controller 61 can control the reflective surface 21 to move away from the reflective position, for example, to move to the standby position 401 in FIG. 4 .

在一實施例中,校正控制器14可偵測反射面21是否已移動至光發射器11與光接收器12前方的反射位置(例如圖5的反射位置402)。若反射面21已移動至光發射器11與光接收器12前方的反射位置,校正控制器14可觸發取色裝置10進入所述校正模式。反之,若反射面21未移動至光發射器11與光接收器12前方的反射位置,則校正控制器14可暫不啟動或進入所述校正模式。In one embodiment, the calibration controller 14 can detect whether the reflective surface 21 has moved to a reflective position in front of the light emitter 11 and the light receiver 12 (such as the reflective position 402 in FIG. 5 ). If the reflective surface 21 has moved to the reflective position in front of the light emitter 11 and the light receiver 12 , the calibration controller 14 can trigger the color picking device 10 to enter the calibration mode. On the contrary, if the reflective surface 21 has not moved to the reflective position in front of the light emitter 11 and the light receiver 12 , the calibration controller 14 may not be activated temporarily or enter the calibration mode.

在一實施例中,取色裝置10可實施於筆記型電腦中。例如,光發射器11與光接收器12可配置於筆記型電腦的鍵盤及/或觸控板附近的一個容置槽中。在一實施例中,反射面21可與此容置槽的可移動式的上蓋結合。此外,在一實施例中,反射面21可配置於筆記型電腦的顯示器附近。In one embodiment, the color picking device 10 can be implemented in a notebook computer. For example, the light transmitter 11 and the light receiver 12 can be disposed in a receiving slot near the keyboard and/or the touchpad of the notebook computer. In one embodiment, the reflective surface 21 can be combined with the movable upper cover of the accommodating tank. In addition, in an embodiment, the reflective surface 21 can be disposed near the display of the notebook computer.

圖7是根據本發明的一實施例所繪示的取色裝置的外觀示意圖。請參照圖7,在一實施例中,取色裝置10可實施於筆記型電腦70中。筆記型電腦70包含上主體結構71與下主體結構72。上主體結構71配置有顯示器73。下主體結構72配置有鍵盤74。上主體結構71與下主體結構72之間透過實體樞紐連接並可經由此實體樞紐進行相對方向的轉動(例如開闔)。FIG. 7 is a schematic diagram of the appearance of a color picking device according to an embodiment of the present invention. Please refer to FIG. 7 , in one embodiment, the color picking device 10 can be implemented in a notebook computer 70 . The notebook computer 70 includes an upper body structure 71 and a lower body structure 72 . The upper body structure 71 is provided with a display 73 . The lower body structure 72 is provided with a keyboard 74 . The upper main body structure 71 and the lower main body structure 72 are connected through a physical hinge and can be rotated in relative directions (for example, open and close) through the physical hinge.

在一實施例中,上主體結構71配置有反射面21,下主體結構72配置有光發射器11與光接收器12。當上主體結構71與下主體結構72未轉動至筆記型電腦70的閉合位置時,反射面21非位於光發射器11與光接收器12前方的反射位置,而無法反射所述取色光源,如圖7所示。此外,當上主體結構71與下主體結構72轉動至筆記型電腦70的閉合位置時,反射面21可位於光發射器11與光接收器12前方的反射位置(例如反射面21可正對光發射器11與光接收器12)。此時,反射面21可將光發射器11發射的取色光源反射給光接收器12。In one embodiment, the upper body structure 71 is configured with the reflective surface 21 , and the lower body structure 72 is configured with the light emitter 11 and the light receiver 12 . When the upper body structure 71 and the lower body structure 72 are not rotated to the closed position of the notebook computer 70, the reflective surface 21 is not located at the reflection position in front of the light emitter 11 and the light receiver 12, and cannot reflect the color-picking light source. As shown in Figure 7. In addition, when the upper main body structure 71 and the lower main body structure 72 are rotated to the closed position of the notebook computer 70, the reflective surface 21 can be located at the reflective position in front of the light emitter 11 and the light receiver 12 (for example, the reflective surface 21 can face the light transmitter 11 and optical receiver 12). At this time, the reflective surface 21 can reflect the color-picking light source emitted by the light transmitter 11 to the light receiver 12 .

在一實施例中,校正控制器14可藉由偵測上主體結構71與下主體結構72之間的相對位置,來判斷反射面21是否已移動至光發射器11與光接收器12前方的反射位置。例如,校正控制器14可根據分別設置於上主體結構71與下主體結構72的磁感測器來由偵測上主體結構71與下主體結構72之間的相對位置。當上主體結構71與下主體結構72轉動至筆記型電腦70的閉合位置時,所述磁感測器可產生符合預設條件的感測值。校正控制器14可根據此感測值判定反射面21已移動至光發射器11與光接收器12前方的反射位置並允許啟動所述校正模式。反之,當上主體結構71與下主體結構72未轉動至筆記型電腦70的閉合位置時,所述磁感測器將無法產生符合所述預設條件的感測值。此時,校正控制器14可判定反射面21尚未移動至光發射器11與光接收器12前方的反射位置並不允許啟動所述校正模式。In one embodiment, the calibration controller 14 can determine whether the reflective surface 21 has moved to the front of the light emitter 11 and the light receiver 12 by detecting the relative position between the upper body structure 71 and the lower body structure 72. reflective position. For example, the calibration controller 14 can detect the relative position between the upper main structure 71 and the lower main structure 72 according to the magnetic sensors respectively disposed on the upper main structure 71 and the lower main structure 72 . When the upper main structure 71 and the lower main structure 72 are rotated to the closed position of the notebook computer 70 , the magnetic sensor can generate a sensing value meeting a predetermined condition. The calibration controller 14 can determine that the reflective surface 21 has moved to the reflective position in front of the light emitter 11 and the light receiver 12 according to the sensing value and allow to start the calibration mode. On the contrary, when the upper main structure 71 and the lower main structure 72 are not rotated to the closed position of the notebook computer 70, the magnetic sensor will not be able to generate a sensing value that meets the preset condition. At this point, the calibration controller 14 may determine that the reflective surface 21 has not moved to the reflective position in front of the light emitter 11 and the light receiver 12 and the calibration mode is not allowed to be activated.

在一實施例中,取色裝置10還可實施於其他類型的電子裝置中。例如,取色裝置10還可實施於平板電腦、桌上型電腦或專用於執行物件取色的各式電子裝置中,本發明不加以限制。In an embodiment, the color picking device 10 can also be implemented in other types of electronic devices. For example, the color picking device 10 can also be implemented in a tablet computer, a desktop computer, or various electronic devices dedicated to performing object color picking, and the present invention is not limited thereto.

圖8是根據本發明的一實施例所繪示的取色校正方法的流程圖。請參照圖8,在步驟S801中,在校正模式中,由所述取色裝置的光發射器朝反射面發射取色光源。在步驟S802中,由所述取色裝置的光接收器接收經由所述反射面反射的所述取色光源。在步驟S803中,量測經由所述反射面反射的所述取色光源的第一色彩參數。在步驟S804中,根據所述第一色彩參數更新取色參數,以反映所述取色光源的光衰減狀態。FIG. 8 is a flow chart of a color picking and calibrating method according to an embodiment of the present invention. Please refer to FIG. 8 , in step S801 , in the calibration mode, the light emitter of the color-picking device emits a color-picking light source toward the reflective surface. In step S802, the light receiver of the color picking device receives the color picking light source reflected by the reflecting surface. In step S803, measure a first color parameter of the color-picking light source reflected by the reflective surface. In step S804, the color selection parameter is updated according to the first color parameter to reflect the light attenuation state of the color selection light source.

圖9是根據本發明的一實施例所繪示的取色校正方法的流程圖。請參照圖9,在步驟S901中,由光發射器朝待測物發射取色光源。在步驟S902中,由光接收器接收經由所述待測物反射的取色光源。在步驟S903中,量測經由所述待測物反射的取色光源的第二色彩參數。在步驟S904中,根據所述第二色彩參數與經更新的取色參數獲得所述待測物的色彩評估資訊。FIG. 9 is a flow chart of a color picking and calibrating method according to an embodiment of the present invention. Please refer to FIG. 9 , in step S901 , a light emitter emits a color-picking light source toward the object under test. In step S902, a light receiver receives a color-picking light source reflected by the object under test. In step S903, measure a second color parameter of the color-picking light source reflected by the object to be tested. In step S904, the color evaluation information of the object under test is obtained according to the second color parameter and the updated color selection parameter.

圖10是根據本發明的一實施例所繪示的取色校正方法的流程圖。請參照圖10,在步驟S1001中,執行系統初始化。此系統初始化可包括在執行所述取色校正之前的任何初始化操作,本發明不加以限制。在步驟S1002中,判斷反射面是否已移動至光發射器與光接收器前方的反射位置。若反射面已移動至光發射器與光接收器前方的反射位置,在步驟S1003中,進入校正模式並執行取色校正。在步驟S1004中,判斷距離前一次進入校正模式是否已超過一預設時間(例如15天或30天等)。若距離前一次進入校正模式已超過此預設時間,在步驟S1005中,根據取色校正的執行結果更新取色參數。此外,在步驟S1002中若判定為否,則在步驟S1006中,進入取色模式。FIG. 10 is a flow chart of a color picking and calibrating method according to an embodiment of the present invention. Referring to FIG. 10, in step S1001, system initialization is performed. The system initialization may include any initialization operation before performing the color selection calibration, which is not limited by the present invention. In step S1002, it is determined whether the reflective surface has moved to the reflective position in front of the light emitter and the light receiver. If the reflective surface has moved to the reflective position in front of the light emitter and the light receiver, in step S1003, enter the calibration mode and perform color-picking calibration. In step S1004, it is determined whether a preset time (for example, 15 days or 30 days, etc.) has passed since entering the calibration mode last time. If the preset time has passed since entering the calibration mode last time, in step S1005, the color selection parameter is updated according to the execution result of the color selection calibration. In addition, if the determination is negative in step S1002, then in step S1006, enter the color picking mode.

須注意的是,在一實施例中,取色校正之操作亦可以是在步驟S1005中執行。此外,取色校正之操作與取色參數之更新的相關操作細節皆已詳述於上,在此不重複贅述。It should be noted that, in one embodiment, the operation of color selection and calibration can also be performed in step S1005. In addition, the operation details of the color-picking calibration and the updating of the color-picking parameters have been described in detail above, and will not be repeated here.

然而,圖8至圖10中各步驟已詳細說明如上,在此便不再贅述。值得注意的是,圖8至圖10中各步驟可以實作為多個程式碼或是電路,本發明不加以限制。此外,圖8至圖10的方法可以搭配以上範例實施例使用,也可以單獨使用,本發明不加以限制。However, each step in FIG. 8 to FIG. 10 has been described in detail above, and will not be repeated here. It should be noted that each step in FIG. 8 to FIG. 10 can be implemented as a plurality of program codes or circuits, which is not limited by the present invention. In addition, the methods in FIG. 8 to FIG. 10 can be used together with the above exemplary embodiments, or can be used alone, which is not limited by the present invention.

綜上所述,本發明所提出的實施例可對應於取色光源的光衰減狀態動態調整取色參數。藉此,可有效改善在取色光源發生衰退後的物體取色品質。To sum up, the embodiments of the present invention can dynamically adjust the color selection parameters corresponding to the light attenuation state of the color selection light source. Thereby, the color-picking quality of the object after the color-picking light source decays can be effectively improved.

雖然本發明已以實施例揭露如上,然其並非用以限定本發明,任何所屬技術領域中具有通常知識者,在不脫離本發明的精神和範圍內,當可作些許的更動與潤飾,故本發明的保護範圍當視後附的申請專利範圍所界定者為準。Although the present invention has been disclosed above with the embodiments, it is not intended to limit the present invention. Anyone with ordinary knowledge in the technical field may make some changes and modifications without departing from the spirit and scope of the present invention. The scope of protection of the present invention should be defined by the scope of the appended patent application.

10:取色裝置 11:光發射器 12:光接收器 13:儲存電路 14:校正控制器 101:取色參數 21:反射面 201, 301:取色光源 202, 302:經由反射面反射的取色光源 22:基板 31:待測物 401:待命位置 402:反射位置 61:移動控制器 70:筆記型電腦 71:上主體結構 72:下主體結構 73:顯示器 74:鍵盤 S801~S804, S901~S904, S1001~S1006:步驟 10: Color picking device 11: Optical transmitter 12: Optical receiver 13: storage circuit 14: Correction controller 101: Color picking parameters 21: reflective surface 201, 301: Color picking light source 202, 302: Color pick-up light source reflected by reflective surface 22: Substrate 31: The object to be tested 401: standby position 402: reflection position 61:Mobile Controller 70: Notebook computer 71: Upper main body structure 72: Lower main structure 73: display 74: keyboard S801~S804, S901~S904, S1001~S1006: steps

圖1是根據本發明的一實施例所繪示的取色裝置的示意圖。 圖2是根據本發明的一實施例所繪示的校正模式的示意圖。 圖3是根據本發明的一實施例所繪示的取色模式的示意圖。 圖4與圖5是根據本發明的一實施例所繪示的可移動的反射面的示意圖。 圖6是根據本發明的一實施例所繪示的取色裝置的示意圖。 圖7是根據本發明的一實施例所繪示的取色裝置的外觀示意圖。 圖8是根據本發明的一實施例所繪示的取色校正方法的流程圖。 圖9是根據本發明的一實施例所繪示的取色校正方法的流程圖。 圖10是根據本發明的一實施例所繪示的取色校正方法的流程圖。 FIG. 1 is a schematic diagram of a color picking device according to an embodiment of the present invention. FIG. 2 is a schematic diagram of a calibration mode according to an embodiment of the present invention. FIG. 3 is a schematic diagram of a color picking mode according to an embodiment of the present invention. 4 and 5 are schematic diagrams of a movable reflective surface according to an embodiment of the present invention. FIG. 6 is a schematic diagram of a color picking device according to an embodiment of the present invention. FIG. 7 is a schematic diagram of the appearance of a color picking device according to an embodiment of the present invention. FIG. 8 is a flow chart of a color picking and calibrating method according to an embodiment of the present invention. FIG. 9 is a flow chart of a color picking and calibrating method according to an embodiment of the present invention. FIG. 10 is a flow chart of a color picking and calibrating method according to an embodiment of the present invention.

S801~S804:步驟 S801~S804: steps

Claims (10)

一種取色校正方法,用於校正一取色裝置,且該取色校正方法包括: 在一校正模式中,由該取色裝置的一光發射器朝一反射面發射一取色光源; 由該取色裝置的一光接收器接收經由該反射面反射的該取色光源; 量測經由該反射面反射的該取色光源的一第一色彩參數;以及 根據該第一色彩參數更新一取色參數,以反映該取色光源的一光衰減狀態。 A color-picking calibration method for calibrating a color-picking device, and the color-picking calibration method includes: In a calibration mode, a light emitter of the color-picking device emits a color-picking light source toward a reflective surface; The color-picking light source reflected by the reflective surface is received by a light receiver of the color-picking device; measuring a first color parameter of the color light source reflected by the reflective surface; and A color selection parameter is updated according to the first color parameter to reflect a light attenuation state of the color selection light source. 如請求項1所述的取色校正方法,更包括: 在更新該取色參數後,在一取色模式中,由該光發射器朝一待測物發射該取色光源; 由該光接收器接收經由該待測物反射的該取色光源; 量測經由該待測物反射的該取色光源的一第二色彩參數;以及 根據該第二色彩參數與經更新的該取色參數獲得該待測物的一色彩評估資訊。 The color correction method described in claim 1 further includes: After updating the color-picking parameter, in a color-picking mode, emit the color-picking light source toward an object under test from the light emitter; The light receiver receives the color-picking light source reflected by the object; measuring a second color parameter of the color light source reflected by the object; and A color evaluation information of the object under test is obtained according to the second color parameter and the updated color selection parameter. 如請求項2所述的取色校正方法,其中該第一色彩參數與該第二色彩參數是以國際照明委員會(International Commission on Illumination, CIE)所規範的XYZ色彩空間值來表示,且該色彩評估資訊是以該國際照明委員會(CIE)所規範的RGB色彩空間值來表示。The color correction method as described in claim 2, wherein the first color parameter and the second color parameter are represented by XYZ color space values regulated by the International Commission on Illumination (CIE), and the color Evaluation information is expressed in RGB color space values regulated by the International Commission on Illumination (CIE). 如請求項3所述的取色校正方法,其中該取色參數記載於一色彩空間轉換矩陣,且該色彩空間轉換矩陣用以執行該XYZ色彩空間值與該RGB色彩空間值的轉換。The color selection and correction method as described in claim 3, wherein the color selection parameters are recorded in a color space conversion matrix, and the color space conversion matrix is used to convert the XYZ color space value and the RGB color space value. 如請求項4所述的取色校正方法,其中根據該第一色彩參數更新該取色參數的步驟包括: 根據該第一色彩參數更新該色彩空間轉換矩陣,以將該取色光源的該光衰減狀態反映至該色彩空間轉換矩陣中。 The method for color selection and correction as described in Claim 4, wherein the step of updating the color selection parameters according to the first color parameters includes: The color space conversion matrix is updated according to the first color parameter, so as to reflect the light attenuation state of the color-picking light source into the color space conversion matrix. 如請求項1所述的取色校正方法,更包括: 在該校正模式中,控制該反射面移動至該光發射器與該光接收器前方的一反射位置,以反射該取色光源;以及 在一取色模式中,控制該反射面從該反射位置移開。 The color correction method described in claim 1 further includes: In the calibration mode, controlling the reflective surface to move to a reflective position in front of the light emitter and the light receiver to reflect the color-picking light source; and In a color picking mode, the reflective surface is controlled to move away from the reflective position. 如請求項1所述的取色校正方法,更包括: 偵測該反射面是否已移動至該光發射器與該光接收器前方的一反射位置;以及 若該反射面已移動至該反射位置,觸發該取色裝置進入該校正模式。 The color correction method described in claim 1 further includes: detecting whether the reflective surface has moved to a reflective position in front of the light emitter and the light receiver; and If the reflective surface has moved to the reflective position, the color picking device is triggered to enter the calibration mode. 一種取色裝置,包括: 一反射面; 一光發射器; 一光接收器;以及 一校正控制器,耦接至該光發射器與該校正控制器, 其中在一校正模式中,該光發射器朝該反射面發射一取色光源,該光接收器接收經由該反射面反射的該取色光源,該校正控制器量測經由該反射面反射的該取色光源的一第一色彩參數,並且 該校正控制器根據該第一色彩參數更新一取色參數,以反映該取色光源的一光衰減狀態。 A color picking device, comprising: a reflective surface; a light emitter; an optical receiver; and a correction controller, coupled to the light emitter and the correction controller, Wherein in a calibration mode, the light transmitter emits a color-picking light source toward the reflective surface, the light receiver receives the color-picking light source reflected by the reflective surface, and the calibration controller measures the color-picked light source reflected by the reflective surface get a first color parameter of the color light source, and The calibration controller updates a color selection parameter according to the first color parameter to reflect a light attenuation state of the color selection light source. 如請求項8所述的取色裝置,其中在更新該取色參數後,在一取色模式中,該光發射器朝一待測物發射該取色光源,該光接收器接收經由該待測物反射的該取色光源,該校正控制器量測經由該待測物反射的該取色光源的一第二色彩參數,並且 該校正控制器根據該第二色彩參數與經更新的該取色參數獲得該待測物的一色彩評估資訊。 The color picking device according to claim 8, wherein after updating the color picking parameters, in a color picking mode, the light emitter emits the color picking light source toward an object under test, and the light receiver receives The color-picking light source reflected by the object, the calibration controller measures a second color parameter of the color-picking light source reflected by the object under test, and The calibration controller obtains a color evaluation information of the object under test according to the second color parameter and the updated color selection parameter. 如請求項8所述的取色裝置,更包括: 一移動控制器,用以控制該反射面移動, 其中在該校正模式中,該移動控制器控制該反射面移動至該光發射器與該光接收器前方的一反射位置,以反射該取色光源,並且 在一取色模式中,該移動控制器控制該反射面從該反射位置移開。 The color picking device as described in claim item 8, further comprising: a movement controller, used to control the movement of the reflective surface, Wherein in the calibration mode, the movement controller controls the reflective surface to move to a reflective position in front of the light emitter and the light receiver to reflect the color-picking light source, and In a color picking mode, the movement controller controls the reflective surface to move away from the reflective position.
TW110130668A 2021-08-19 2021-08-19 Color detection calibration method and color detection device TW202309734A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW110130668A TW202309734A (en) 2021-08-19 2021-08-19 Color detection calibration method and color detection device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW110130668A TW202309734A (en) 2021-08-19 2021-08-19 Color detection calibration method and color detection device

Publications (1)

Publication Number Publication Date
TW202309734A true TW202309734A (en) 2023-03-01

Family

ID=86690763

Family Applications (1)

Application Number Title Priority Date Filing Date
TW110130668A TW202309734A (en) 2021-08-19 2021-08-19 Color detection calibration method and color detection device

Country Status (1)

Country Link
TW (1) TW202309734A (en)

Similar Documents

Publication Publication Date Title
US10978006B2 (en) User terminal device and method for adjusting luminance thereof
US9449561B1 (en) Light sensor obstruction detection
KR102554675B1 (en) Electronic device and method for sensing ambient light based on display information of the electronic device
US10477115B2 (en) Method for measuring ambient brightness value and photographing device
EP2846135B1 (en) Portable Electronic Device with Environmental Sensor
KR20130130639A (en) Method and apparatus for display calibration
SE538451C2 (en) Improved tracking of an object for controlling a non-touch user interface
US11175137B2 (en) Measuring system for validating a preconfigured target attribute
TW201911024A (en) Electronic device, method and system for detecting fingers and non-transitory computer-readable medium
US20240185594A1 (en) Defect detection and image comparison of components in an assembly
US20220350003A1 (en) Electronic device and background noise calibration method
CN112147625A (en) Calibration method and device, monocular laser measuring equipment and calibration system
WO2021016051A1 (en) Joint environmental reconstruction and camera calibration
TW202309734A (en) Color detection calibration method and color detection device
CN109005254B (en) Information indication method based on sliding mechanism, control assembly and electronic equipment
TWI498789B (en) Proximity sensing method, proximity sensing device, and electronic device
CN109510896B (en) Proximity sensor selection method and device, storage medium and electronic device
TWI635268B (en) Color detection device and method thereof
US9229586B2 (en) Touch system and method for determining the distance between a pointer and a surface
KR20200017890A (en) Electronic device controlling luminance based on luminance data acquired from display module and its luminance control method
TWI602092B (en) Calibration of an input device to a display using the input device
CN112149441B (en) Two-dimensional code positioning control method based on reflecting plate
US20170357373A1 (en) Unintended touch rejection
CN106033263B (en) For detecting the image processing method and its navigation device of noise
CN115097422A (en) Calibration method and calibration system of distance sensor and distance measuring device thereof