TWI693817B - Biomedical detection system and method thereof - Google Patents
Biomedical detection system and method thereof Download PDFInfo
- Publication number
- TWI693817B TWI693817B TW108111401A TW108111401A TWI693817B TW I693817 B TWI693817 B TW I693817B TW 108111401 A TW108111401 A TW 108111401A TW 108111401 A TW108111401 A TW 108111401A TW I693817 B TWI693817 B TW I693817B
- Authority
- TW
- Taiwan
- Prior art keywords
- color
- value
- values
- contrast
- green
- Prior art date
Links
Images
Landscapes
- Image Processing (AREA)
- Image Analysis (AREA)
Abstract
Description
本發明係有關於一種生醫檢測裝置和方法,尤其係有關於一種具有顏色校正功能的生醫檢測裝置和方法,以供做為疾病之早期診斷。 The invention relates to a biomedical detection device and method, in particular to a biomedical detection device and method with a color correction function for early diagnosis of diseases.
一般在進行健康檢測時,常會利用取自人體的血液、尿液或其他體液配合對應的檢測試紙進行體外檢測,以提供顏色顯示數據供醫護人員判斷受測者的健康狀況。 In general, when performing health tests, blood, urine or other body fluids taken from the human body are often used in conjunction with corresponding test papers for in vitro testing to provide color display data for medical personnel to judge the health status of the testee.
當受測者以上述檢測試紙進行檢測後,醫護人員可直接以肉眼觀察檢測區之顏色來判斷受測者的健康狀況。但因為不同的醫護人員對相同的顏色可能有不同的判讀結果,致使受測者的檢測結果常因判讀人員不同而有不同結論。因此,為了避免人為判斷標準不一所產生的差異,常改以自動化儀器來進行判讀。然而,當受測者是於家中自行以檢測試紙進行檢測時,由於沒有自動化檢測儀器協助,並且受測者對於顏色的判讀不一且又不具檢測專業,因此,將呈色結果以拍照上傳的方式由雲端人工智慧協助判讀,將是一個可行的方案。然而,在將最終顯示顏色以拍照上傳的方式由雲端檢測儀器進行判 讀時,由於受測者所處環境差異,會因拍攝環境光線對顏色影響致使上傳雲端的顏色失真,導致檢測儀器的顏色判斷結果失準。 After the test subject performs the test with the above test paper, the medical staff can directly observe the color of the test area with the naked eye to determine the health status of the test subject. However, because different medical personnel may have different interpretation results for the same color, the test results of the subjects often have different conclusions due to different interpretation personnel. Therefore, in order to avoid the differences caused by different human judgment standards, automatic instruments are often used for interpretation. However, when the test subject uses their test strips for testing at home, because there is no automatic testing instrument to assist, and the test subject's interpretation of color is different and does not have the test professional, therefore, the color rendering results are uploaded by taking pictures The method will be interpreted with the help of artificial intelligence in the cloud, which will be a feasible solution. However, the final display color is judged by the cloud detection instrument by uploading the photo When reading, due to the difference in the environment of the subject, the color of the upload cloud will be distorted due to the impact of the shooting ambient light on the color, resulting in inaccurate color judgment results of the testing instrument.
因此,如何獲得正確的顏色判准結果進而提高檢測準確性即成為追求的目標。 Therefore, how to obtain the correct color judgment result and then improve the detection accuracy has become the goal of pursuit.
本案的一實施態樣係提供一種生醫檢測系統,至少包括:一檢測試紙盤,具有一樣本區和一顏色比對區塊,其中該樣本區用以置放一受測者的檢測試紙並對應顯示其顏色;一影像擷取裝置,用以擷取該檢測試紙盤一影像資料;一資料庫,儲存有一對應該顏色比對區色塊的一標準顏色值,以及複數個對比色塊,其中該些對比色塊具有不同顏色值;一處理器耦接該資料庫,用以接收該影像資料,並根據該資料庫中的該預設標準顏色值以及該影像資料中該顏色比對區的顏色值決定一差異值,其中該處理器根據該差異值對該資料庫中該些對比色塊的顏色值進行補償,以及根據該些對比色塊補償後的顏色值決定該影像資料中該樣本區所顯示顏色的顏色值。 An embodiment of the present case provides a biomedical testing system, which at least includes: a test paper tray with a local area and a color comparison block, wherein the sample area is used for placing a test paper of a subject and Corresponding to display its color; an image capturing device to capture an image data of the test paper tray; a database storing a standard color value of a pair of color blocks corresponding to the color comparison area, and a plurality of contrast color blocks, in which The contrast color blocks have different color values; a processor is coupled to the database for receiving the image data, and according to the preset standard color value in the database and the color of the color comparison area in the image data The value determines a difference value, wherein the processor compensates the color values of the contrast color blocks in the database according to the difference value, and determines the display of the sample area in the image data according to the compensated color values of the contrast color blocks The color value of the color.
根據本發明一實施例,此檢測試紙為尿液檢測試紙。 According to an embodiment of the invention, the test strip is a urine test strip.
根據本發明一實施例,此影像擷取裝置為照相機。 According to an embodiment of the invention, the image capturing device is a camera.
根據本發明一實施例,此處理器設置於一遠端伺服器中,該影像擷取裝置經由一通訊裝置和該遠端伺服器透過一無線網路連接來上傳該影像資料。 According to an embodiment of the present invention, the processor is disposed in a remote server, and the image capturing device uploads the image data through a wireless network connection via a communication device and the remote server.
本案的另一實施態樣係提供一種生醫檢測方法,該方法至少包括:於一檢測試紙盤上配置一樣本區和一顏色比對區,其中該樣本區用以置放一受測者的檢測試紙並對應顯示其顏色;儲存一個顏色比對區的預測標準顏色,以及複數個對比色塊於一資料庫中,其中該些對比色塊具有不同顏色值;使用一影像擷取裝置擷取該檢測試紙盤的一影像資料;傳送該影像資料至一處理器,其中該處理器根據該資料庫中的該標準顏色值以及該影像資料中該顏色比對區的顏色值決定一差異值;根據該差異值,該處理器對該資料庫中該些對比色塊的顏色值進行補償;以及根據該些對比色塊補償後的顏色值,該處理器決定該影像資料中該樣本區所顯示顏色的顏色值。 Another embodiment of the present case provides a biomedical testing method. The method at least includes: arranging a sample area and a color comparison area on a test paper tray, wherein the sample area is used to place a subject’s Detect the test strip and display its color accordingly; store the predicted standard color of a color comparison area and a plurality of contrast color blocks in a database, where the contrast color blocks have different color values; use an image capture device to capture the test An image data of the test paper tray; sending the image data to a processor, wherein the processor determines a difference value according to the standard color value in the database and the color value of the color comparison area in the image data; according to the Difference value, the processor compensates the color values of the contrast color blocks in the database; and based on the compensated color values of the contrast color blocks, the processor determines the color value of the color displayed in the sample area in the image data .
根據本發明一實施例,此標準顏色值包括紅、綠、藍三原色的標準亮度值(Cr0,Cg0,Cb0),其中Cr0為紅顏色的標準亮度值,Cg0為綠顏色的標準亮度值,Cb0為藍顏色的標準亮度值。 According to an embodiment of the present invention, the standard color value includes standard brightness values of three primary colors of red, green, and blue (Cr0, Cg0, Cb0), where Cr0 is a standard brightness value of a red color, Cg0 is a standard brightness value of a green color, Cb0 The standard brightness value of the blue color.
根據本發明一實施例,其中該處理器根據該資料庫中的該標準顏色值以及該影像資料中該顏色比對區的顏色值決定一差異值,更包括:對該影像資料中的該顏色比對區顏色進行影像處理,以獲取該顏色比對區的紅、綠、藍三原色亮度值(Crn,Cgn,Cbn),其中Crn為紅顏色的亮度值,Cgn為綠顏色的亮度值,Cbn為藍顏色的亮度值;以及分別計算資料庫中紅、綠、藍三原色的標準亮度值和擷取影像中顏色比對區的紅、綠、藍三原色亮度值間之差值作為該差異值(△Cr,△Cg,△Cb),其中,△Cr=Cr0-Crn,△Cg=Cg0-Cgn,△Cb= Cb0-Cbn。 According to an embodiment of the present invention, wherein the processor determines a difference value according to the standard color value in the database and the color value of the color comparison area in the image data, further including: the color in the image data Perform image processing on the color of the comparison area to obtain the brightness values of the three primary colors of red, green, and blue in the color comparison area (Crn, Cgn, Cbn), where Crn is the brightness value of the red color, and Cgn is the brightness value of the green color, Cbn Is the brightness value of the blue color; and the difference between the standard brightness values of the red, green and blue primary colors in the database and the red, green and blue primary color brightness values of the color comparison area in the captured image is calculated as the difference value ( △Cr,△Cg,△Cb), where △Cr=Cr0-Crn,△Cg=Cg0-Cgn,△Cb= Cb0-Cbn.
根據本發明一實施例,其中根據該差異值,該處理器對該資料庫中該些對比色塊的顏色值進行補償,更包括:對該些對比色塊進行影像處理,以獲取每一該些對比色塊的紅、綠、藍三原色亮度值(Cri,Cgi,Cbi),其中i=1~N,N為該些對比色塊數目;以及將每一該些對比色塊的紅、綠、藍三原色亮度值加上該差異值,作為該些對比色塊補償後的顏色值(Cri+△Cr,Cgi+△Cg,Cbi+△Cb)。 According to an embodiment of the present invention, according to the difference value, the processor compensates the color values of the contrast color blocks in the database, and further includes: performing image processing on the contrast color blocks to obtain each of the contrast colors Luminance values of the three primary colors of red, green, and blue (Cri, Cgi, Cbi), where i=1~N, N is the number of the contrasting color blocks; and the luminance values of the three primary colors of each of the contrasting color blocks Add the difference value as the compensated color value of the contrast color blocks (Cri+△Cr, Cgi+△Cg, Cbi+△Cb).
根據本發明一實施例,其中根據該些對比色塊補償後的顏色值,該處理器決定該影像資料中該樣本區的顏色值,更包括:對該影像資料中的該樣本區進行影像處理,以獲取該樣本區的紅、綠、藍三原色亮度值(Crs,Cgs,Cbs),其中Crs為紅顏色的亮度值,Cgs為綠顏色的亮度值,Cbs為藍顏色的亮度值;分別計算該些對比色塊補償後的顏色值(Cri+△Cr,Cgi+△Cg,Cbi+△Cb)和該樣本區的紅、綠、藍三種顏色的亮度值(Crs,Cgs,Cbs)的顏色差異值(Cdi);以及選擇該些差異值(Cdi)中最小者所對應的該對比色塊,作為該樣本區所顯示顏色的對應顏色值,其中 According to an embodiment of the present invention, wherein the processor determines the color value of the sample area in the image data according to the compensated color values of the contrast color blocks, and further includes: performing image processing on the sample area in the image data, To obtain the brightness values of the three primary colors of red, green and blue in the sample area (Crs, Cgs, Cbs), where Crs is the brightness value of the red color, Cgs is the brightness value of the green color, and Cbs is the brightness value of the blue color; The color values (Cri+△Cr, Cgi+△Cg, Cbi+△Cb) of some contrast color blocks after compensation and the color difference values (Cdi) of the brightness values (Crs, Cgs, Cbs) of the red, green, and blue colors in the sample area ; And select the contrast color block corresponding to the smallest of the difference values (Cdi) as the corresponding color value of the color displayed in the sample area, where
i=1~N,i指第幾個對比色塊,N為對比色塊數目。 i=1~N, i refers to the number of contrast color blocks, N is the number of contrast color blocks.
根據本發明一實施例,其中選擇該些差異值(Cdi)中最小者所對應的該對比色塊,作為該樣本區所顯示顏色的對應顏色值,更包括:對該些顏色差異值進行轉換成0-1的數值,以進行選擇,其中Target=min{Cdi/max(Cdi)},Target為該選 擇出的對比色塊。 According to an embodiment of the present invention, wherein the contrast color block corresponding to the smallest of the difference values (Cdi) is selected as the corresponding color value of the color displayed in the sample area, further comprising: converting the color difference values into 0-1 value for selection, where Target=min{Cdi/max(Cdi)}, Target is the selection The selected contrast color block.
因此,依據本案之技術內容,本案實施例藉由在檢測試紙上額外形成一顏色比對區,並在上傳檢測試紙的影像資料後,藉由比對影像中顏色比對區和資料庫儲存的預設標準顏色值間之差異值,對資料庫中的對比色塊進行顏色補償,並依對比色塊補償後的顏色值來決定樣本區所顯示顏色屬哪資料庫中一對比色塊,並據此決定檢測指數。因此可解決因上傳顏色失真造成判斷結果失準的問題。 Therefore, according to the technical content of this case, the embodiment of this case is to form an additional color comparison area on the test strip, and after uploading the image data of the test strip, by comparing the color comparison area in the image and the pre-stored database Set the difference value between the standard color values, perform color compensation on the contrast color blocks in the database, and determine which contrast color block in the database the color displayed in the sample area belongs to according to the color value after the contrast color block compensation, and determine detection accordingly index. Therefore, the problem of inaccurate judgment results due to distortion of the uploaded color can be solved.
100‧‧‧生醫檢測系統 100‧‧‧ Biomedical Testing System
102‧‧‧影像擷取裝置 102‧‧‧Image capture device
104‧‧‧處理器 104‧‧‧ processor
106‧‧‧資料庫 106‧‧‧ Database
108‧‧‧檢測試紙盤 108‧‧‧Test paper tray
110‧‧‧標準亮度值資料 110‧‧‧ Standard brightness value data
112‧‧‧伺服器 112‧‧‧Server
1081‧‧‧顏色比對區 1081‧‧‧Color comparison area
1082‧‧‧樣本區 1082‧‧‧Sample area
1084-1086‧‧‧對比色塊 1084-1086‧‧‧Contrast color block
201-207‧‧‧步驟 201-207‧‧‧Step
第1圖係根據本發明一實施例具有顏色校正功能的生醫檢測系統;第2圖係根據本發明一實施例檢測試紙的概略圖;以及第3圖為根據本發明一實施例檢測試紙之顏色校準方法。 Figure 1 is a biomedical testing system with a color correction function according to an embodiment of the present invention; Figure 2 is a schematic diagram of a test strip according to an embodiment of the present invention; and Figure 3 is a test strip according to an embodiment of the present invention Color calibration method.
以下將以圖式及詳細敘述清楚說明本案之精神,任何所屬技術領域中具有通常知識者在瞭解本案之實施例後,當可由本案所教示之技術,加以改變及修飾,其並不脫離本案之精神與範圍。 The following will clearly illustrate the spirit of the case with diagrams and detailed descriptions. Anyone with ordinary knowledge in the technical field who understands the embodiments of the case will be able to change and modify the techniques taught in the case without departing from the case. Spirit and scope.
本文之用語只為描述特定實施例,而無意為本案之限制。單數形式如“一”、“這”、“此”、“本”以及“該”,如本文所用,同樣也包含複數形式。 The terminology in this article is only for describing specific embodiments, and is not intended to be a limitation of this case. Singular forms such as "a", "this", "this", "this" and "the", as used herein, also include plural forms.
關於本文中所使用之『耦接』或『連接』,均可指二或多個元件或裝置相互直接作實體接觸,或是相互間接作實體接觸,亦可指二或多個元件或裝置相互操作或動作。 As used herein, "coupled" or "connected" can refer to two or more elements or devices making direct physical contact with each other, or indirectly making physical contact with each other, or can refer to two or more elements or devices making mutual contact Operation or action.
關於本文中所使用之『包含』、『包括』、『具有』、『含有』等等,均為開放性的用語,即意指包含但不限於。 The terms "contains", "includes", "has", "contains", etc. used in this article are all open terms, which means including but not limited to.
關於本文中所使用之『及/或』,係包括所述事物的任一或全部組合。 As used herein, "and/or" includes any or all combinations of the things described.
關於本文中所使用之用詞(terms),除有特別註明外,通常具有每個用詞使用在此領域中、在本案之內容中與特殊內容中的平常意義。某些用以描述本案之用詞將於下或在此說明書的別處討論,以提供本領域技術人員在有關本案之描述上額外的引導。 Regarding the terms used in this article, unless otherwise noted, they usually have the ordinary meaning that each term is used in this field, in the content of this case, and in special content. Certain terms used to describe this case will be discussed below or elsewhere in this specification to provide additional guidance to those skilled in the art in the description of this case.
參照第1圖所示,其係根據本發明一實施例具有顏色校正功能的生醫檢測系統。此生醫檢測系統100包括一影像擷取裝置102、一處理器104、一資料庫106和一檢測試紙盤108。
Referring to FIG. 1, it is a biomedical detection system with a color correction function according to an embodiment of the present invention. The
影像擷取裝置102配置有電荷耦合元件(Charge Coupled Device,CCD)、互補性氧化金屬半導體(Complementary Metal-Oxide Semiconductor,CMOS)元件或其他種類的感光元件所形成的鏡頭,可感測進入鏡頭的光線強度以產生影像。在本實施例聰,影像擷取裝置102例如是數位相機、數位攝影機(Digital Video Camcorder,DVC),或是配置在手機、平板電腦、筆記型電腦、導航裝置、行車紀
錄器等電子裝置上的相機。檢測試紙盤具有一樣本區1082和一顏色比對區1081,樣本區置放一受測者的檢測試紙並對應顯示其顏色,影像擷取裝置102用以拍攝檢測試紙盤108,並產生一影像資料。其中檢測試紙,例如為一驗尿卡。
The
處理器104可為一電腦或任何運算處理器,用以接收數位資料,如影像擷取裝置102的影像資料作為輸入,並根據從一記憶體(在晶片上(on-die)或不在晶片上(off-die))擷取之指令來處理資料,以及將藉由指令指示之操作產生之結果作為輸出。並可執行一軟體或程式,以進行運算統計等操作。在本實施例中,處理器104用來對影像擷取裝置102上傳的影像資料進行相關的影像處理。其中,處理器104可為一本地端電腦的處理器,依此,影像擷取裝置102直接電性連接該本地端電腦,由本地端電腦的處理器104對該影像資料進行相關的影像處理。在另一實施中,處理器104可為一遠端電腦,如遠端伺服器,的處理器,依此,影像擷取裝置102可透過一通訊裝置和遠端伺服器透過無線網路連接來上傳該影像資料,由遠端伺服器的處理器104對該影像資料進行相關的影像處理。其中在本實施例中,處理器104為遠端伺服器112的處理器,影像擷取裝置102透過Wi-Fi®與遠端伺服器建立資料網路。資料庫106儲存顏色比對區之紅、綠、藍三原色的標準亮度值資料110以及一比對資料,比對資料可為多個對比色塊1084-1086。其中,對比色塊1084-1086,用以和檢測試紙盤108的樣本區1082的顏色比對來判斷受測者檢測項目的指數範圍,值得注意的是,圖示中僅以三個對比色塊1084-1086為
一組合為說明例,但是在其他實施例中,可有多種組合的對比色塊,用以和不同檢測項目進行比對。資料庫106電性連接處理器104,處理器104可讀取資料庫106中紅、綠、藍三原色標準亮度值資料110,以和影像擷取裝置102上傳的顏色比對區1081的紅、綠、藍三原色亮度值進行比對,來決定一差異值,其中此差異值即為因環境亮度造成的顏色差異。
The
參照第2圖所示,其係根據本發明一實施例檢測試紙盤108的概略圖。在本實施例中,檢測試紙盤108包括一顏色比對區1081和一樣本區1082。樣本區1082用以置放已反應成色之受測者的一檢測試紙以進行檢測。值得注意的是,在第2圖中僅繪示單一樣本區1082進行單一檢測,但是在其他實施例中,可有多個樣本同時進行檢測。依此,當影像擷取裝置102上傳檢測試紙盤108的影像資料後,處理器104藉由比對樣本區1082和資料庫106中的對比色塊1084-1086的顏色來判斷各個檢測項目的指數範圍,用以事先發現是否有相關的疾病,藉此及時發現受測者的健康狀況。然而,因為影像擷取裝置102在擷取檢測試紙盤108的影像資料時,會因環境光影響而造成所擷取樣本區1082的顏色失真,因此本案更藉顏色比對區1081的顏色的檢測值和資料庫106中的標準亮度值資料110比較,來對資料庫中對比色塊1084-1086的顏色進行補償,避免因所藉取樣本區1082的顏色失真造成比對錯誤。
Referring to FIG. 2, it is a schematic diagram of a
請參照第3圖所示,為根據本發明一實施例檢測試紙之顏色校準方法。顏色校準方法200,首先於步驟201,擷取檢測試紙盤108的一影像資料。在一實施例中,係由影像
擷取裝置102拍攝檢測試紙盤108以產生一影像資料,並將影像資料傳送至遠端伺服器112,由處理器104進行校正處理。
Please refer to FIG. 3, which is a color calibration method for detecting test paper according to an embodiment of the present invention. In the color calibration method 200, first in
於步驟202,對影像資料進行一影像處理。在一實施例中,由處理器104對影像資料之顏色比對區1081的色塊和樣本區1082的色塊進行一影像處理,以獲取顏色比對區1081色塊和樣本區1082色塊的紅、綠、藍三原色亮度值。其中,顏色比對區1081色塊的紅、綠、藍三種顏色的亮度值為(Crn,Cgn,Cbn),其中Crn為紅顏色的亮度值,Cgn為綠顏色的亮度值,Cbn為藍顏色的亮度值。樣本區1082色塊的紅、綠、藍三種顏色的亮度值為(Crs,Cgs,Cbs),其中Crs為紅顏色的亮度值,Cgs為綠顏色的亮度值,Cbs為藍顏色的亮度值。其中紅、綠、藍三原色亮度值可用數字表示為從0、1、2...直到255共256級。
In
於步驟203,計算顏色比對區1081的顏色值和資料庫106儲存之標準亮度值資料110間之差異值。在一實施例中,由處理器104計算顏色比對區1081色塊的紅、綠、藍三種顏色的亮度值(Crn,Cgn,Cbn)和資料庫106儲存之標準亮度值資料110的紅、綠、藍三原色的標準亮度值(Cr0,Cg0,Cb0)間之差異值(△Cr,△Cg,△Cb),其中Cr0為紅顏色的標準亮度值,Cg0為綠顏色的標準亮度值,Cb0為藍顏色的標準亮度值,△Cr=Cr0-Crn,△Cg=Cg0-Cgn,△Cb=Cb0-Cbn。
In
於步驟204,根據此差異值對資料庫中儲存的對比色塊顏色值進行補償。在一實施例中,由處理器104根據差異值(△Cr,△Cg,△Cb)對資料庫106儲存之對比色塊
1084-1086的紅、綠、藍三種顏色的亮度值(Cri,Cgi,Cbi)進行補償,i-1~N,N為對比色塊數目。在本實施例中,有三個對比色塊1084-1086,因此N=3,而(Cr1,Cg1,Cb1)為對比色塊1084的紅、綠、藍三種顏色的亮度值。(Cr2,Cg2,Cb2)為對比色塊1085的紅、綠、藍三種顏色的亮度值。(Cr3,Cg3,Cb3)為對比色塊1086的紅、綠、藍三種顏色的亮度值。依此,對比色塊1084的紅、綠、藍三種顏色的補償後亮度值為(Cr1+△Cr,Cg1+△Cg,Cb1+△Cb);對比色塊1085的紅、綠、藍三種顏色的補償後亮度值為(Cr2+△Cr,Cg2+△Cg,Cb2+△Cb);對比色塊1086的紅、綠、藍三種顏色的補償後亮度值為(Cr3+△Cr,Cg3+△Cg,Cb3+△Cb)。
In
於步驟205,比對對比色塊和樣本區的顏色差異(Cdi)值。在一實施例中,由處理器104分別計算三個對比色塊1084-1086紅、綠、藍三種顏色的補償後亮度值(Cri+△Cr,Cgi+△Cg,Cbi+△Cb),和樣本區1082的紅、綠、藍三種顏色亮度值(Crs,Cgs,Cbs)間的顏色差異(Cdi)值。其中,顏色比對公式為:
其中,i-1~N,N為對比色塊數目。在本實施例中,有三個對比色塊1084-1086,因此N=3。(Cr1+△Cr,Cg1+△Cg,Cb1+△Cb)為對比色塊1084的紅、綠、藍三種顏色的補償後亮度值;(Cr2+△Cr,Cg2+△Cg,Cb2+△Cb)為對比色塊1085的紅、綠、藍三種顏色的補償後亮度值;(Cr3+△Cr,Cg3+△Cg,Cb3+△Cb)為對比色塊1086的紅、綠、藍三種顏色的補償
後亮度值。(Crs,Cgs,Cbs)為樣本區1082的紅、綠、藍三種顏色的亮度值。Cd1為對比色塊1084和樣本區1082的顏色差異值。Cd2為對比色塊1085和樣本區1082的顏色差異值。Cd3為對比色塊1086和樣本區1082的顏色差異值。
Among them, i-1~N, N is the number of contrast color blocks. In this embodiment, there are three contrast color blocks 1084-1086, so N=3. (Cr1+△Cr, Cg1+△Cg, Cb1+△Cb) are the compensated brightness values of the red, green and blue colors of the
接著,於步驟206,進行顏色差異值轉換,將顏色差異值轉換成0-1的數值,進行比較。在一實施例中,顏色差異值轉換公式為:Cdi=Cdi/max(Cdi),i=1~3
Next, in
最後,於步驟207,進行樣本區顏色判定,亦即判斷樣本區的顏色和哪一對比色塊的顏色差異值最小,即Cdi值最小者,系統即藉此決定樣本區顏色最接近的對比色塊。依此,本系統即可根據決定的對比色塊判斷疾病指數值。在一實施例中,其決定公式如下:Target=min{Cdi/max(Cdi)},i=1~3。其中Target為決定出的對比色塊。
Finally, in
綜合上述所言,本案藉由在檢測試紙盤上額外形成一顏色比對區色,並在上傳檢測試紙盤的影像資料後,藉由比對顏色比對區的顏色和資料庫儲存的標準顏色值間之差異值,對資料庫中的對比色塊進行顏色補償,依對比色塊補償後的顏色值來修正樣本區的顏色,並可藉此判斷最接近哪一對比色塊,並據此決定檢測指數。依此,由於本案對比色塊會根據拍攝環境造成影像資料的色差進行對應顏色補償,再據此補償後的顏色值來和影像資料中的樣本區顏色進行比對,因此可解決因上傳顏色失真造成判斷結果失準的問題。 Based on the above, in this case, by forming an additional color comparison area color on the test paper tray, and after uploading the image data of the test paper tray, the color of the comparison area and the standard color value stored in the database The difference value is used to compensate the contrast color blocks in the database. The color of the sample area is corrected according to the compensated color values of the contrast color blocks, which can be used to determine which contrast color block is closest to and determine the detection index accordingly. According to this, since the contrast color block in this case will perform corresponding color compensation according to the color difference of the image data caused by the shooting environment, and then compare the compensated color value with the color of the sample area in the image data, it can solve the problem caused by the distortion of the uploaded color The problem of inaccurate judgment results.
雖然本案以實施例揭露如上,然其並非用以限定本案,任何熟習此技藝者,在不脫離本案之精神和範圍內,當可作各種之更動與潤飾,因此本案之保護範圍當視後附之申請專利範圍所界定者為準。 Although the case is disclosed as above with examples, it is not used to limit the case. Anyone who is familiar with this skill can make various changes and retouching without departing from the spirit and scope of the case, so the scope of protection of the case should be attached The scope defined in the scope of patent application shall prevail.
100‧‧‧生醫檢測系統 100‧‧‧ Biomedical Testing System
102‧‧‧影像擷取裝置 102‧‧‧Image capture device
104‧‧‧處理器 104‧‧‧ processor
106‧‧‧資料庫 106‧‧‧ Database
108‧‧‧檢測試紙盤 108‧‧‧Test paper tray
110‧‧‧標準亮度值資料 110‧‧‧ Standard brightness value data
112‧‧‧伺服器 112‧‧‧Server
1081‧‧‧顏色比對區 1081‧‧‧Color comparison area
1082‧‧‧樣本區 1082‧‧‧Sample area
1084-1086‧‧‧對比色塊 1084-1086‧‧‧Contrast color block
Claims (8)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
TW108111401A TWI693817B (en) | 2019-03-29 | 2019-03-29 | Biomedical detection system and method thereof |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
TW108111401A TWI693817B (en) | 2019-03-29 | 2019-03-29 | Biomedical detection system and method thereof |
Publications (2)
Publication Number | Publication Date |
---|---|
TWI693817B true TWI693817B (en) | 2020-05-11 |
TW202037144A TW202037144A (en) | 2020-10-01 |
Family
ID=71896121
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
TW108111401A TWI693817B (en) | 2019-03-29 | 2019-03-29 | Biomedical detection system and method thereof |
Country Status (1)
Country | Link |
---|---|
TW (1) | TWI693817B (en) |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
TW201028689A (en) * | 2009-01-23 | 2010-08-01 | wen-long Zhou | Urine inspection apparatus and method of the same |
TW201812284A (en) * | 2016-09-05 | 2018-04-01 | 柯正浩 | Screening test paper and its inspection system and method |
-
2019
- 2019-03-29 TW TW108111401A patent/TWI693817B/en active
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
TW201028689A (en) * | 2009-01-23 | 2010-08-01 | wen-long Zhou | Urine inspection apparatus and method of the same |
TW201812284A (en) * | 2016-09-05 | 2018-04-01 | 柯正浩 | Screening test paper and its inspection system and method |
Also Published As
Publication number | Publication date |
---|---|
TW202037144A (en) | 2020-10-01 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US7830419B2 (en) | Digital camera, gain-computing device and method | |
Nixon et al. | Accurate device-independent colorimetric measurements using smartphones | |
KR200470398Y1 (en) | A strip for urine test | |
KR19980019200A (en) | Color correction apparatus for use in an imaging apparatus | |
WO2018219293A1 (en) | Information terminal | |
JP2015127680A (en) | Measuring device, system and program | |
KR20140130879A (en) | Urine Examination Method and Related Devices | |
CN109887044B (en) | Reproductive data evaluation method and system | |
CN109459136B (en) | Method and device for measuring chromaticity | |
US9905018B2 (en) | Imaging apparatus, image processing method, and medium | |
US9628727B2 (en) | Information processing apparatus and method, and image capturing system determining or acquiring target noise amount | |
CN105611184A (en) | White balance debugging method and debugging system of digital video device | |
TWI576093B (en) | Hemoglobin and hematocrit analyzer and analyzing method thereof | |
TWI693817B (en) | Biomedical detection system and method thereof | |
US10269113B2 (en) | Method of analyzing facial images for detecting a flush effect | |
JP6266948B2 (en) | Jaundice measurement system | |
JP2003102022A (en) | Image device and imaging method | |
JP2004363814A (en) | References unit, and device and method for information processing | |
JP6863154B2 (en) | Dry weight estimation program, dry weight estimation method and dry weight estimation device | |
US20230258501A1 (en) | Color chart | |
CN111551265B (en) | Color temperature measuring method and color temperature measuring device | |
Outlaw et al. | Smartphone colorimetry using ambient subtraction: application to neonatal jaundice screening in Ghana | |
CN106127675B (en) | Colour consistency method and apparatus | |
CN105744267B (en) | Acquisition tristimulus values method based on quantic digital camera changeable parameters | |
WO2013153281A1 (en) | Method and system for testing digital imaging devices |