TWI513328B - Method for real-time adjusting of pixel color - Google Patents

Method for real-time adjusting of pixel color Download PDF

Info

Publication number
TWI513328B
TWI513328B TW101131701A TW101131701A TWI513328B TW I513328 B TWI513328 B TW I513328B TW 101131701 A TW101131701 A TW 101131701A TW 101131701 A TW101131701 A TW 101131701A TW I513328 B TWI513328 B TW I513328B
Authority
TW
Taiwan
Prior art keywords
pixel
color
image
adjusting
pixel color
Prior art date
Application number
TW101131701A
Other languages
Chinese (zh)
Other versions
TW201410034A (en
Inventor
Shao Yang Wang
Original Assignee
Shao Yang Wang
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 Shao Yang Wang filed Critical Shao Yang Wang
Priority to TW101131701A priority Critical patent/TWI513328B/en
Publication of TW201410034A publication Critical patent/TW201410034A/en
Application granted granted Critical
Publication of TWI513328B publication Critical patent/TWI513328B/en

Links

Landscapes

  • Control Of Indicators Other Than Cathode Ray Tubes (AREA)
  • Image Processing (AREA)

Description

即時調整像素顏色之方法Method for instantly adjusting pixel color

  本發明係有關於一種即時調整像素顏色之方法,尤其是指一種適用於顯示單元之即時調整像素顏色的方法,藉由將影像畫面中有興趣之像素點顏色置換之技術,使得影像畫面中有興趣像素點的分佈能夠清楚表現,令觀視者瞭解其顏色分佈、形狀等資訊,解決因環境因素或顯示單元的品質而導致影像畫面呈現色彩偏差所衍生之問題者。The invention relates to a method for instantly adjusting the color of a pixel, in particular to a method for adjusting the color of a pixel in an immediate manner of a display unit, which has a technique of replacing the color of a pixel of interest in an image image, so that the image is displayed in the image. The distribution of the pixel of interest can be clearly expressed, so that the viewer can understand the information such as the color distribution and shape, and solve the problem caused by the color deviation of the image due to environmental factors or the quality of the display unit.

  眾所周知的,同一張圖像(圖片或影像)由不同的顯示設備所呈現出的色彩會有不一致的問題,其一主要原因除了為各家顯示器或顯示卡廠商在製作設備時所用的設備、技術以及加工過程有所差異,而導致顯示器在顯示同一張圖片時會有一定程度的差異性外,色彩偏差的其二原因即是和顯示器亮度和亮度對比有關,Zhu和Wu二人(期刊出處:“On the standardization of VDT’s proper and optimal contrast range,”Ergonomics,33(7),925-932,1990)指出螢幕亮度(screen luminance)與亮度對比(contrast ratio)對於觀視者的視覺績效(visual performance)有顯著的交互作用;再者,不同的環境照明亦會造成色彩表現不一致,舉例而言,環境中的白色燈光與黃色燈光會使得觀視者對於螢幕上所呈現的色彩產生不同視覺績效。As is well known, the same image (picture or image) has different inconsistencies in the colors presented by different display devices, one of the main reasons being the devices and technologies used by various display or display card manufacturers in the production of devices. And the processing process is different, and the display will have a certain degree of difference when displaying the same picture. The second reason for the color deviation is related to the brightness and brightness of the display. Zhu and Wu are two people (Journal: "On the standardization of VDT's proper and optimal contrast range," Ergonomics, 33(7), 925-932, 1990) indicates the screen luminance and contrast ratio for the visual performance of the viewer ( Visual performance) has significant communication Effect; Furthermore, different ambient lighting color may also cause inconsistent performance, for example, the environment light and yellow light will be white such that on the screen for viewing by the presented colors produce different visual performance.

  因上述缺失,導致在需要有精準圖像色彩資訊的某些情況時,目前的顯示設備卻無法以人眼觀看得知;舉例而言,以醫學影像資訊診斷病人的症狀時,若其色彩稍有偏差,將會嚴重地影響到醫師診斷的結果;再者,攝影師欲對其拍攝的影像瞭解某一顏色的分佈情形或漸層之效果,亦因上述缺失而難以判斷;有鑑於此,必須找出一個有效的即時調整像素顏色之方法,使得圖像的色彩分佈資訊能夠清楚呈現予觀視者,而不受環境因素或顯示器品質的影響。Due to the above-mentioned shortcomings, current display devices cannot be viewed by the human eye when certain situations requiring accurate image color information are needed; for example, if medical images are used to diagnose a patient's symptoms, if the color is slightly Deviation will seriously affect the results of the doctor's diagnosis; in addition, the photographer wants to know the distribution of the color or the effect of the gradient on the image he is shooting, and it is difficult to judge because of the above-mentioned lack; in view of this, A valid method of adjusting the pixel color in real time must be found so that the color distribution information of the image can be clearly presented to the viewer without being affected by environmental factors or display quality.

  今,發明人即是鑑於現有顯示器在實施顯示同一張圖片時會有一定程度的色彩偏差問題等缺失,於是乃一本孜孜不倦之精神,並藉由其豐富之專業知識及多年之實務經驗所輔佐,而加以改善,並據此研創出本發明。Nowadays, the inventor is in view of the fact that the existing display has a certain degree of color deviation problem when displaying the same picture, so it is a tireless spirit, and is supported by its rich professional knowledge and years of practical experience. And improved, and based on this, the present invention was developed.

  本發明主要目的為提供一種適用於顯示單元之即時調整像素顏色的方法,藉由將影像畫面中有興趣之像素點顏色置換之技術,使得影像畫面中有興趣像素點的分佈能夠清楚表現,令觀視者瞭解其顏色分佈、形狀等資訊,避免因環境因素或顯示單元的品質而導致影像畫面所呈現的色彩偏差者。The main purpose of the present invention is to provide a method for adjusting the pixel color of a display unit in real time. The technique of replacing the pixel color of interest in the image image enables the distribution of the pixel of interest in the image image to be clearly expressed. Viewers understand the color distribution, shape and other information to avoid the color deviation caused by the environmental factors or the quality of the display unit.

  為了達到上述實施目的,本發明人提出一種即時調整像素顏色之方法,其中顯示單元可為顯示卡或內建於顯示器系統晶片之顯示電路其中之一,顯示單元用以接收一影像序列,上述的影像序列包括複數個影像畫面,每一影像畫面具有複數個像素點,且每一像素點具有以數值表示之多原色元素,其中多原色元素可選自RGB、CMYK、YUV、HSV、LAB、XYZ、HSI以及YIQ等色彩空間所構成之群組,而本發明之即時調整像素顏色之方法包括有:首先,自用戶端接收多原色元素其數值之置換事件,其中置換事件包括有像素點之擷取條件以及多原色元素其數值之取代條件;接著,掃瞄影像畫面,取得每一像素點其多原色元素之數值;之後,判斷像素點其多原色元素之數值是否符合擷取條件;若符合,則將像素點其多原色元素之數值以取代條件置換,並持續進行掃瞄,直到整個影像畫面掃瞄終止後結束,使得影像畫面的每一像素點其多原色元素之數值皆完成取代條件的調整;若不符合,則持續掃瞄影像,取得每一像素點其多原色元素之數值,直到整個影像畫面掃瞄終止後結束。In order to achieve the above-mentioned implementation, the inventors have proposed a method for instantly adjusting the color of a pixel, wherein the display unit can be one of a display card or a display circuit built in the display system chip, and the display unit is configured to receive an image sequence, the above The image sequence includes a plurality of image frames, each image frame having a plurality of pixels, and each pixel has a plurality of primary color elements represented by numerical values, wherein the multiple primary color elements are selected from the group consisting of RGB, CMYK, YUV, HSV, LAB, XYZ a group of color spaces such as HSI and YIQ, and the method for adjusting pixel color in real time according to the present invention includes: first, a replacement event of receiving a plurality of primary color elements from a user end, wherein the replacement event includes a pixel point Taking the condition and the substitution condition of the value of the multi-primary color element; then, scanning the image frame to obtain the value of the multi-primary element of each pixel; and then determining whether the value of the multi-primary element of the pixel meets the capture condition; , the pixel will be multi-primary element value Replace the conditional replacement and continue scanning until the end of the entire image frame scan ends, so that the value of the multiple primary color elements of each pixel of the image frame is adjusted to replace the condition; if not, the image is continuously scanned. Get the value of its multiple primary color elements for each pixel until the end of the entire image frame scan.

  藉此,將構成影像序列的影像畫面藉由即時調整像素顏色的方法將有興趣的像素點顏色置換為對比顏色差距較大之顏色,以使有興趣像素點的分佈能夠清楚表現,令觀視者瞭解其顏色分佈、形狀等資訊,避免環境因素或顯示單元的品質而導致影像畫面所呈現的色彩偏差;於其實際應用上不僅可使得醫師藉由醫學影像資訊診斷病人的症狀時,能將有興趣的像素點顏色置換為對比顏色差距較大之顏色,以清楚瞭解其顏色分佈、形狀的情形,避免因顯示單元色彩的偏差影響診斷的結果外;亦可使攝影師透過本發明之方法亦能瞭解某一顏色的分佈情形或漸層之效果,使得圖像的色彩分佈能夠清楚表現,而不受環境因素或顯示單元品質的影響。In this way, the image frame constituting the image sequence is replaced with the color of the contrast color by the method of adjusting the pixel color in real time, so that the distribution of the pixel of interest can be clearly expressed, so that the viewing is made. Knowing the color distribution, shape and other information, avoiding the environmental factors or the quality of the display unit, causing the color deviation of the image image; in its practical application, it can not only enable the physician to diagnose the patient's symptoms through medical imaging information, but also The pixel color of interest is replaced by a color with a large difference in color contrast to clearly understand the color distribution and shape, avoiding the influence of the color of the display unit on the diagnosis result; and the photographer can also use the method of the present invention. It is also possible to understand the distribution of a certain color or the effect of the gradation, so that the color distribution of the image can be clearly expressed without being affected by environmental factors or the quality of the display unit.

  在本發明的一實施例中,其中置換事件可儲存於顯示單元之記憶模組中,供系統利用置換事件中的內容對影像畫面進行處理;其中,記憶模組可選自暫存器、唯讀記憶體(ROM)、隨機存取記憶體(RAM)或快閃記憶體(FLASH)等。In an embodiment of the present invention, the replacement event may be stored in a memory module of the display unit, and the system may process the image frame by using the content in the replacement event; wherein the memory module may be selected from a temporary register, Read memory (ROM), random access memory (RAM) or flash memory (FLASH).

  在本發明的一實施例中,其中擷取條件可設定為至少一多原色元素之單一數值或其集合,例如為(R,G,B)=(100,50,20),或(R)=(100),或(R,G,B)=(100,50,20)及(R,G,B)=(50,30,10)及(B)=(25)等等;而取代條件可設定為多原色元素之單一數值,例如為(R,G,B)=(10,20,30)。In an embodiment of the invention, the capturing condition may be set to a single value of at least one multi-primary color element or a set thereof, for example, (R, G, B) = (100, 50, 20), or (R) = (100), or (R, G, B) = (100, 50, 20) and (R, G, B) = (50, 30, 10) and (B) = (25), etc.; The condition can be set to a single value of a multi-primary element, such as (R, G, B) = (10, 20, 30).

   在本發明的一實施例中,其中影像序列對應於影像畫面具有一固定幀率,其中固定幀率可介於1~480Hz之間,而於目前一般電腦顯示器其固定幀率通常為60Hz。    In an embodiment of the invention, the image sequence has a fixed frame rate corresponding to the image frame, wherein the fixed frame rate can be between 1 and 480 Hz, and the fixed frame rate of the current general computer display is usually 60 Hz.

  此外,如前所述,本發明之即時調整像素顏色的方法可結合應用於硬體或軟體、適當處或其組合,因此本發明之方法,某些觀點或是其部分可能為嵌入實際媒體中之程式碼(亦即指令),例如軟式磁碟、光碟機、硬碟機或是任何其他機器可讀儲存媒體,其中當程式碼被機器(例如一電腦)載入並執行時,此機器會變成一用以執行本發明之裝置,而在程式碼執行於可程式化電腦之情況中,此電腦裝置通常包含一處理器、一處理器可讀之儲存媒體(包含揮發性或非揮發性記憶體及/或儲存元件)、至少一輸入裝置以及至少一輸出裝置。In addition, as described above, the method for adjusting the pixel color in the present invention can be applied to a hardware or a soft body, a suitable place or a combination thereof, and thus some aspects or portions thereof may be embedded in actual media. A code (ie, a command), such as a floppy disk, a CD player, a hard disk drive, or any other machine readable storage medium, wherein when the code is loaded and executed by a machine (eg, a computer), the machine Turning into a device for performing the present invention, and in the case where the code is executed in a programmable computer, the computer device usually includes a processor and a processor-readable storage medium (including volatile or non-volatile memory) And/or storage element), at least one input device, and at least one output device.

  本發明之目的及其結構功能上的優點,將依據以下圖面所示之結構,配合具體實施例予以說明,俾使審查委員能對本發明有更深入且具體之瞭解。The object of the present invention and its structural and functional advantages will be explained in conjunction with the specific embodiments according to the structure shown in the following drawings, so that the reviewing committee can have a more in-depth and specific understanding of the present invention.

  首先,請參閱第一圖所示,為本發明較佳實施例即時調整影像畫面之像素顏色的架構方塊示意圖,值得注意的,即時調整像素顏色之方法係適用於一顯示單元(1),顯示單元(1)可為顯示卡(video card)或內建於顯示器系統晶片之顯示電路其中之一,顯示單元(1)用以接收一影像序列(2),上述的影像序列(2)包括複數個影像畫面(21)(frame),每一影像畫面(21)具有複數個像素點(pixel),且每一像素點具有以數值表示之多原色元素,其中多原色元素可選自RGB、CMYK、YUV、HSV、LAB、XYZ、HSI以及YIQ色彩空間所構成之群組;為了說明方便起見,於本實施例中,多原色元素係以紅色(Red,R)、綠色(Green,G)以及藍色(Blue,B)色彩元素為例,而在閱讀及了解本發明的敎導後,熟此技藝者當知道本發明之多原色元素亦可為CMYK、YUV、HSV、LAB、XYZ、HSI以及YIQ等色彩空間其中之一,而並不會影響本發明的實施;接續,一般顯示器整個螢幕畫面係由每個不同顏色與亮度的像素所組成,藉由輸入顯示器之像素點資料中對應該像素的紅、綠、藍三原色元素的比例,來決定該像素顯示的顏色與亮度;請再一併參閱第二圖所示,為本發明較佳實施例之即時調整像素顏色之方法步驟流程圖,其方法包含下列步驟:First, please refer to the first figure, which is a schematic diagram of an architectural block diagram for instantly adjusting the pixel color of an image frame according to a preferred embodiment of the present invention. It is noted that the method for instantly adjusting the pixel color is applicable to a display unit (1). The unit (1) may be one of a video card or a display circuit built in the display system chip. The display unit (1) is configured to receive a sequence of images (2), and the image sequence (2) includes plural numbers. An image frame (21), each image frame (21) has a plurality of pixels, and each pixel has a plurality of primary color elements represented by numerical values, wherein the multiple primary color elements may be selected from RGB, CMYK , YUV, HSV, LAB, XYZ, HSI, and YIQ color space group; for convenience of description, in this embodiment, the multi-primary elements are red (Red, R), green (Green, G) And blue (B, B) color elements as an example After reading and understanding the teachings of the present invention, those skilled in the art will know that the multi-primary elements of the present invention may also be one of CMYK, YUV, HSV, LAB, XYZ, HSI, and YIQ, and not It will affect the implementation of the present invention; in succession, the entire screen of the display is composed of pixels of different colors and brightness, and the ratio of the primary color elements of the red, green and blue corresponding to the pixels in the pixel data of the input display is To determine the color and brightness of the pixel display; please refer to the second figure again, which is a flow chart of the method for adjusting the pixel color in real time according to the preferred embodiment of the present invention, the method comprising the following steps:

  步驟一(S1):自用戶端(3)接收多原色元素其數值之置換事件(4),其中置換事件(4)包括有像素點之擷取條件(41)以及多原色元素其數值之取代條件(42),且置換事件(4)可儲存於顯示單元(1)之記憶模組(11)中,供系統利用置換事件(4)中的內容對影像畫面(21)進行處理;其中,記憶模組(11)可選自暫存器、唯讀記憶體(ROM)、隨機存取記憶體(RAM)或快閃記憶體(FLASH)等;Step 1 (S1): receiving a replacement event (4) of the value of the multi-primary element from the user end (3), wherein the replacement event (4) includes the extraction condition (41) of the pixel and the replacement of the value of the multi-primary element Condition (42), and the replacement event (4) can be stored in the memory module (11) of the display unit (1), for the system to process the image frame (21) by using the content in the replacement event (4); The memory module (11) may be selected from a temporary memory, a read only memory (ROM), a random access memory (RAM) or a flash memory (FLASH);

  步驟二(S2):掃瞄影像畫面(21),取得每一像素點其多原色元素之數值;一般而言,數值可允許的範圍為0~1023,而該數值範圍與其對應之技術已為習知技藝中眾所皆知之知識,且並非本發明之重點,因此不加以限定,其他各種常見或創新的數值範圍皆可以用於實作本發明之即時調整像素顏色的方法;Step 2 (S2): scan the image screen (21) to obtain the value of the multi-primary element of each pixel; in general, the allowable range of the value is 0 to 1023, and the corresponding range of the technology has been The knowledge of the prior art is not the focus of the present invention, and thus is not limited thereto, and various other common or innovative numerical ranges can be used to implement the method of adjusting the pixel color in the present invention;

  步驟三(S3):判斷像素點其多原色元素之數值是否符合擷取條件(41);以及Step 3 (S3): determining whether the value of the multi-primary element of the pixel meets the retrieval condition (41);

  步驟四(S4):若符合,則將像素點其多原色元素之數值以取代條件(42)置換,並持續進行掃瞄,直到整個影像畫面(21)掃瞄終止後結束,使得影像畫面(21)的每一像素點其多原色元素之數值皆完成取代條件(42)的置換;若不符合,則再回到步驟二(S2)。Step 4 (S4): If yes, replace the value of the multi-primary element of the pixel with the replacement condition (42), and continue scanning until the entire image frame (21) ends after the scanning is terminated, so that the image frame ( 21) The value of the multi-primary element of each pixel is replaced by the substitution condition (42); if not, the process returns to step 2 (S2).

  綜上所述,本發明於實施使用時,可於一個人電腦上執行,其中,目前之個人電腦其顯示器以及顯示卡可支援1~480Hz間之幀率(frame rate),其中幀率為每秒顯示幀數之測量單位,意即為影像畫面(21)的更新率;舉例而言,目前一般電腦顯示器的畫面更新頻率常設定為60Hz,即顯示器螢幕一秒可顯示60個影像畫面(21)資料,當顯示單元(1)接收一影像序列(2),影像序列(2)係必須對應包括有60個影像畫面(21)(frame),然而顯示器螢幕所顯示之影像畫面(21)其幀率為60Hz係為了說明方便起見,而非以本例所舉為限,也可以高於或低於60Hz,在此並不限定;本發明之即時調整像素顏色使用於顯示單元(1)時,首先,使用者可於輸入界面(例如:鍵盤或觸控螢幕)輸入像素點之擷取條件(41),在此擷取條件(41)可設定為至少一多原色元素之單一數值或其集合;例如可為(R,G,B)=(100,50,20)即表示於影像畫面(21)中其(R,G,B)為(100,50,20)的像素點即是擷取目標,或(R)=(100)表示於影像畫面(21)中只要紅原色元素(R)之數值為100的像素點即是擷取目標,不論(G)或(B)的數值是多少,此外,亦可為兩者以上之集合,例如(R,G,B)=(100,50,20)及(R,G,B)=(50,30,10)及(B)=(25),在此係以像素點(R,G,B)=(100,50,20)的擷取目標為例;接著,使用者必須再輸入像素點之取代條件(42),取代條件(42)係設定為多原色元素之單一數值,例如可為(R,G,B)=(10,20,30),使得當系統掃瞄影像畫面(21)時,每一(R,G,B)=(100,50,20)的像素點皆可被置換為(R,G,B)=(10,20,30);藉此,使用者可將有興趣的像素點顏色全部置換為對比顏色差距較大之顏色,舉例而言,在一張天空的影像畫面(21)中,可將有興趣的像素點顏色全部置換成對比顏色差距較大之黑色(意即(R,G,B)=(0,0,0)),以使有興趣像素點的分佈能夠更加清楚表現,以瞭解其顏色分佈情形,避免環境因素或顯示單元的品質而導致影像畫面(21)所呈現的色彩偏差;此外,在一些影像畫面(21)中的漸層是人眼無法分辨出來的,亦可藉由本發明即時調整像素顏色之方法瞭解漸層的顏色分佈、形狀等資訊。In summary, the present invention can be implemented on a personal computer when implemented, wherein the display and display card of the current personal computer can support a frame rate between 1 and 480 Hz, wherein the frame rate is per second. The unit of measurement of the number of frames is displayed, which means the update rate of the image frame (21); for example, the screen update frequency of a typical computer monitor is usually set to 60 Hz, that is, the display screen can display 60 image frames per second (21) Data, when the display unit (1) receives an image sequence (2), the image sequence (2) must correspond to 60 image frames (21), but the image screen (21) displayed on the display screen is framed. The rate of 60 Hz is for convenience of description, and is not limited to the example, and may be higher or lower than 60 Hz, which is not limited herein; the instant adjustment pixel color of the present invention is used when the display unit (1) is used. First, the user can input an image on the input interface (for example, keyboard or touch screen). The point selection condition (41), wherein the extraction condition (41) can be set to a single value of at least one multi-primary color element or a set thereof; for example, (R, G, B) = (100, 50, 20) That is, in the video screen (21), the pixel point whose (R, G, B) is (100, 50, 20) is the capture target, or (R) = (100) is shown in the video screen (21). As long as the pixel whose value of the red primary color element (R) is 100 is the target, regardless of the value of (G) or (B), or a combination of two or more, for example, (R, G, B) = (100, 50, 20) and (R, G, B) = (50, 30, 10) and (B) = (25), here the pixel points (R, G, B) = ( The target of 100, 50, 20) is taken as an example; then, the user must input the substitution condition (42) of the pixel, instead of the condition (42) being set to a single value of the multi-primary element, for example, (R, G, B)= (10, 20, 30), so that when the system scans the image (21), each pixel of (R, G, B) = (100, 50, 20) can be replaced with (R, G, B) = (10, 20, 30); thereby, the user can replace all the pixel colors of interest with the color with a larger color difference, for example, in a sky image (21) The color of the pixel of interest can be replaced by black with a large difference in color (meaning (R, G, B) = (0, 0, 0)), so that the distribution of pixels of interest can be more clearly defined. Performance, to understand the color distribution, avoid the environmental factors or the quality of the display unit, resulting in the color deviation of the image (21); in addition, the gradient in some image frames (21) is not distinguishable by the human eye. The method of adjusting the pixel color in time by the present invention can also be used to understand the color distribution and shape of the gradient layer.

  值得注意的是,在上述實施例中,並不限制需對每張影像畫面(21)進行即時調整像素顏色之動作,也可以每隔一固定張數,才擷取螢幕畫面欲顯示之影像畫面(21),並重複上述步驟二(S2)~步驟四(S4);再者,在此固定張數內之各影像畫面(21)之像素點顏色均套用上述像素點顏色調整後之像素結果來進行轉換;意即當獲得調整像素顏色後之第一張影像畫面(21),後面的固定張數皆可套用第一張影像畫面(21);因此,後面的固定張數皆可省略即時調整像素顏色之步驟,進而節省運算時間;舉例而言,假設每隔10張張數,僅需擷取第一張影像畫面(21)並進行上述即時調整像素顏色之步驟,而後面的9張影像畫面(21)即利用第一張影像畫面(21)的置換結果,意即後面9張影像畫面(21)之像素點顏色皆與第一張影像畫面(21)相同。It should be noted that, in the foregoing embodiment, the action of adjusting the pixel color on each image frame (21) is not limited, and the image frame to be displayed on the screen screen can be captured every fixed number of sheets. (21), and repeating the above steps 2 (S2) to 4 (S4); further, the pixel color of each image frame (21) in the fixed number of pixels is applied to the pixel result of the pixel color adjustment. To convert; that is, when the first image frame (21) after adjusting the pixel color is obtained, the first fixed image number can be applied to the first image frame (21); therefore, the number of fixed sheets at the back can be omitted. The step of adjusting the pixel color, thereby saving computation time; for example, suppose every 10 sheets, only need to capture the first image frame (21) and perform the above steps of adjusting the pixel color, and the next 9 sheets The image screen (21) is the result of the replacement of the first image frame (21), that is, the pixel color of the next nine image frames (21). The same as the first video frame (21).

  此外,如前所述,本發明之即時調整像素顏色的方法可結合應用於硬體或軟體、適當處或其組合,因此本發明之方法,某些觀點或是其部分可能為嵌入實際媒體中之程式碼(亦即指令),例如軟式磁碟、光碟機、硬碟機或是任何其他機器可讀儲存媒體,其中當程式碼被機器(例如一電腦)載入並執行時,此機器會變成一用以執行本發明之裝置,而在程式碼執行於可程式化電腦之情況中,此電腦裝置通常包含一處理器、一處理器可讀之儲存媒體(包含揮發性或非揮發性記憶體及/或儲存元件)、至少一輸入裝置以及至少一輸出裝置。In addition, as described above, the method for adjusting the pixel color in the present invention can be applied to a hardware or a soft body, a suitable place or a combination thereof, and thus some aspects or portions thereof may be embedded in actual media. A code (ie, a command), such as a floppy disk, a CD player, a hard disk drive, or any other machine readable storage medium, wherein when the code is loaded and executed by a machine (eg, a computer), the machine Turning into a device for performing the present invention, and in the case where the code is executed in a programmable computer, the computer device usually includes a processor and a processor-readable storage medium (including volatile or non-volatile memory) And/or storage element), at least one input device, and at least one output device.

  由上述之即時調整像素顏色之方法其實施說明可知,本發明具有以下優點:According to the implementation description of the method for adjusting the pixel color in time, the present invention has the following advantages:

  1. 本發明將構成影像序列的影像畫面藉由即時調整像素顏色的方法將有興趣的像素點顏色置換為對比顏色差距較大之顏色,以使有興趣像素點的分佈能夠清楚呈現,令觀視者瞭解其顏色分佈、形狀等資訊,避免環境因素或顯示單元(包括顯示卡或顯示器)的品質而導致影像畫面所呈現的色彩偏差。The image of the image sequence constituting the image sequence replaces the color of the pixel of interest with the color of the contrast color by the method of adjusting the color of the pixel in time, so that the distribution of the pixel of interest can be clearly presented, so that the viewer can clearly display Understand the color distribution, shape and other information to avoid the environmental factors or the quality of the display unit (including the display card or display), resulting in the color deviation of the image.
  2. 本發明之即時調整像素顏色的方法解決不同的顯示設備所呈現出的色彩會有不一致的問題,使得當醫師藉由醫學影像資訊診斷病人的症狀時,可將有興趣的像素點顏色置換為對比顏色差距較大之顏色,以清楚瞭解其顏色分佈、形狀的情形,避免因顯示單元色彩的偏差影響診斷的結果,達到遠端看診的目的;同樣地,攝影師透過本發明之方法亦能瞭解某一顏色的分佈情形或漸層之效果,使得圖像的色彩分佈能夠清楚表現,而不受環境因素或顯示單元品質的影響。The method for instantly adjusting the pixel color of the present invention solves the problem that the colors presented by different display devices are inconsistent, so that when the physician diagnoses the symptoms of the patient by medical image information, the color of the pixel of interest can be replaced with the contrast. Colors with large color differences, in order to clearly understand the color distribution and shape, avoid the result of diagnosis due to the deviation of the color of the display unit, and achieve the purpose of remote consultation; similarly, the photographer can also use the method of the present invention. Understand the distribution of a certain color or the effect of the gradient, so that the color distribution of the image can be clearly expressed without being affected by environmental factors or the quality of the display unit.

  綜上所述,本發明之即時調整像素顏色之方法,的確能藉由上述所揭露之實施例,達到所預期之使用功效,且本發明亦未曾公開於申請前,誠已完全符合專利法之規定與要求。爰依法提出發明專利之申請,懇請惠予審查,並賜准專利,則實感德便。In summary, the method for adjusting the pixel color in the instant of the present invention can achieve the intended use efficiency by the above disclosed embodiments, and the present invention has not been disclosed before the application, and has completely complied with the patent law. Regulations and requirements.爰Issuing an application for a patent for invention in accordance with the law, and asking for a review, and granting a patent, is truly sensible.

  惟,上述所揭之圖示及說明,僅為本發明之較佳實施例,非為限定本發明之保護範圍;大凡熟悉該項技藝之人士,其所依本發明之特徵範疇,所作之其它等效變化或修飾,皆應視為不脫離本發明之設計範疇。The illustrations and descriptions of the present invention are merely preferred embodiments of the present invention, and are not intended to limit the scope of the present invention; those skilled in the art, which are characterized by the scope of the present invention, Equivalent variations or modifications are considered to be within the scope of the design of the invention.

(1)...顯示單元(1). . . Display unit

(11)...記憶模組(11). . . Memory module

(2)...影像序列(2). . . Image sequence

(21)...影像畫面(twenty one). . . Image screen

(3)...用戶端(3). . . user terminal

(4)...置換事件(4). . . Replacement event

(41)...擷取條件(41). . . Capture condition

(42)...取代條件(42). . . Replacement condition

(S1)...步驟一(S1). . . step one

(S2)...步驟二(S2). . . Step two

(S3)...步驟三(S3). . . Step three

(S4)...步驟四(S4). . . Step four

第一圖:本發明較佳實施例調整影像畫面之像素顏色的架構方塊示意圖The first figure: an architectural block diagram for adjusting the pixel color of an image frame according to a preferred embodiment of the present invention

第二圖:本發明較佳實施例之即時調整像素顏色之方法步驟流程圖Second Figure: Flowchart of the method for adjusting the pixel color in real time according to the preferred embodiment of the present invention

(1)...顯示單元(1). . . Display unit

(11)...記憶模組(11). . . Memory module

(2)...影像序列(2). . . Image sequence

(21)...影像畫面(twenty one). . . Image screen

(3)...用戶端(3). . . user terminal

(4)...置換事件(4). . . Replacement event

(41)...擷取條件(41). . . Capture condition

(42)...取代條件(42). . . Replacement condition

Claims (10)

一種即時調整像素顏色之方法,適用於一顯示單元,該顯示單元接收一影像序列,該影像序列包括複數個影像畫面(frame),該等影像畫面具有複數個像素點(pixel),該等像素點具有以數值表示之多原色元素,其即時調整像素顏色之方法包含下列步驟:
  步驟一:自用戶端接收該多原色元素其數值之置換事件,其中該置換事件包括有該像素點之擷取條件以及該多原色元素其數值之取代條件;
  步驟二:掃瞄該影像畫面,取得每一該像素點其多原色元素之數值;
  步驟三:判斷該像素點其多原色元素之數值是否符合該擷取條件;以及
  步驟四:若符合則將該像素點其多原色元素之數值以該取代條件置換,並持續進行掃瞄,直到該影像畫面掃瞄終止後結束,該影像畫面的每一該像素點其多原色元素之數值皆完成取代條件的調整,若不符合,回到該步驟二。
A method for instantly adjusting pixel color is applicable to a display unit, and the display unit receives a sequence of images, the image sequence includes a plurality of image frames having a plurality of pixels (pixels), the pixels A point has a multi-primary element represented by a numerical value, and the method of instantly adjusting the pixel color includes the following steps:
Step 1: receiving, from the user end, a replacement event of the multi-primary color element, wherein the replacement event includes a capture condition of the pixel and a replacement condition of the multi-primary element;
Step 2: Scan the image frame to obtain the value of multiple primary color elements of each pixel;
Step 3: determining whether the value of the multi-primary element of the pixel meets the capture condition; and step 4: if the pixel is matched, the value of the multi-primary element of the pixel is replaced by the replacement condition, and the scanning is continued until The image image ends after the scanning is terminated. The value of the multiple primary color elements of each pixel of the image frame is adjusted to replace the condition. If not, return to the second step.
依據申請專利範圍第1項所述之即時調整像素顏色之方法,其中該顯示單元係為顯示卡或內建於顯示器系統晶片之顯示電路其中之一。The method for instantly adjusting a pixel color according to the first aspect of the patent application, wherein the display unit is one of a display card or a display circuit built in the display system chip. 依據申請專利範圍第1項所述之即時調整像素顏色之方法,其中該置換事件係儲存於該顯示單元之記憶模組中。The method for adjusting the pixel color in real time according to the first aspect of the patent application, wherein the replacement event is stored in a memory module of the display unit. 依據申請專利範圍第3項所述之即時調整像素顏色之方法,其中該記憶模組係為暫存器、唯讀記憶體(ROM)、隨機存取記憶體(RAM)或快閃記憶體(FLASH)其中之一。The method for instantly adjusting a pixel color according to the third aspect of the patent application, wherein the memory module is a temporary memory, a read only memory (ROM), a random access memory (RAM) or a flash memory ( FLASH) One of them. 依據申請專利範圍第1項所述之即時調整像素顏色之方法,其中該多原色元素係選自RGB、CMYK、YUV、HSV、LAB、XYZ、HSI以及YIQ色彩空間所構成之群組。The method for instantly adjusting a pixel color according to claim 1, wherein the multi-primary element is selected from the group consisting of RGB, CMYK, YUV, HSV, LAB, XYZ, HSI, and YIQ color spaces. 依據申請專利範圍第1項所述之即時調整像素顏色之方法,其中該擷取條件係設定為至少一多原色元素之單一數值或其集合。The method for instantly adjusting a pixel color according to the first aspect of the patent application, wherein the capturing condition is set to a single value of at least one multi-primary color element or a set thereof. 依據申請專利範圍第1項所述之即時調整像素顏色之方法,其中該取代條件係設定為多原色元素之單一數值。A method for instantly adjusting a pixel color as described in claim 1 of the patent application, wherein the substitution condition is set to a single value of a plurality of primary color elements. 依據申請專利範圍第1項所述之即時調整像素顏色之方法,其中該影像序列對應於該影像畫面具有一固定幀率(fixed frame rate)。The method for instantly adjusting a pixel color according to the first aspect of the patent application, wherein the image sequence has a fixed frame rate corresponding to the image frame. 依據申請專利範圍第8項所述之即時調整像素顏色之方法,其中該固定幀率介於1~480Hz之間。The method for instantly adjusting pixel color according to item 8 of the patent application scope, wherein the fixed frame rate is between 1 and 480 Hz. 一種至少包含電腦可執行模組之電腦可讀媒體,該等電腦可執行模組具有電腦可執行指令,當一電腦執行該等電腦可執行指令時,可執行如申請專利範圍第1~9項中任意一項所述之方法。A computer readable medium comprising at least a computer executable module, the computer executable module having computer executable instructions, when a computer executes the computer executable instructions, executable as claimed in items 1-9 The method of any of the preceding claims.
TW101131701A 2012-08-31 2012-08-31 Method for real-time adjusting of pixel color TWI513328B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW101131701A TWI513328B (en) 2012-08-31 2012-08-31 Method for real-time adjusting of pixel color

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW101131701A TWI513328B (en) 2012-08-31 2012-08-31 Method for real-time adjusting of pixel color

Publications (2)

Publication Number Publication Date
TW201410034A TW201410034A (en) 2014-03-01
TWI513328B true TWI513328B (en) 2015-12-11

Family

ID=50820556

Family Applications (1)

Application Number Title Priority Date Filing Date
TW101131701A TWI513328B (en) 2012-08-31 2012-08-31 Method for real-time adjusting of pixel color

Country Status (1)

Country Link
TW (1) TWI513328B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWM314979U (en) * 2006-11-22 2007-07-01 Da Li Design Co Ltd Image processing apparatus
US20090147098A1 (en) * 2007-12-10 2009-06-11 Omnivision Technologies, Inc. Image sensor apparatus and method for color correction with an illuminant-dependent color correction matrix
US20110157212A1 (en) * 2009-12-29 2011-06-30 Yanli Zhang Techniques for adapting a color gamut
US20120075331A1 (en) * 2010-09-24 2012-03-29 Mallick Satya P System and method for changing hair color in digital images
TW201215169A (en) * 2010-09-20 2012-04-01 Himax Imagimg Inc Method for processing color component values of pixel

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWM314979U (en) * 2006-11-22 2007-07-01 Da Li Design Co Ltd Image processing apparatus
US20090147098A1 (en) * 2007-12-10 2009-06-11 Omnivision Technologies, Inc. Image sensor apparatus and method for color correction with an illuminant-dependent color correction matrix
US20110157212A1 (en) * 2009-12-29 2011-06-30 Yanli Zhang Techniques for adapting a color gamut
TW201215169A (en) * 2010-09-20 2012-04-01 Himax Imagimg Inc Method for processing color component values of pixel
US20120075331A1 (en) * 2010-09-24 2012-03-29 Mallick Satya P System and method for changing hair color in digital images

Also Published As

Publication number Publication date
TW201410034A (en) 2014-03-01

Similar Documents

Publication Publication Date Title
Phillips et al. Camera image quality benchmarking
US9153027B2 (en) System, method, and computer program product for performing fast, non-rigid registration for high dynamic range image stacks
US20060263758A1 (en) System and method of image display simulation
US8917949B2 (en) Image processing apparatus, image processing method, and recording medium
TWI532023B (en) Color homogenization method for display
CN109448644A (en) Method for correcting gray scale display curve of display device, electronic device and computer readable storage medium
TWI399092B (en) Comparison of the table
WO2019080447A1 (en) Display apparatus driving method, and display apparatus
US20230069744A1 (en) Method of operating assessment device assessing color distortion of image sensor
Choudhury et al. Combining quality metrics for improved hdr image quality assessment
TWI513328B (en) Method for real-time adjusting of pixel color
WO2023151210A1 (en) Image processing method, electronic device and computer-readable storage medium
JP2016046701A (en) Image processing apparatus, image processing method and program
JP6209950B2 (en) Color reproduction characteristic creation device, color reproduction characteristic creation system, program, and color reproduction characteristic creation method
JP5858735B2 (en) Color correction apparatus and color correction method
TWI633537B (en) Image optimization method
TWI603316B (en) Method and display device for simulating display characteristics of display
CN111242087A (en) Object recognition method and device
US10909895B2 (en) Correction system, display panel, display device, correction method, and storage medium
JP2008271096A (en) Method and device for correcting gray balance of image data, and storage medium
JP6237141B2 (en) Gradation correction apparatus and program
JP2019220752A (en) Information processing device
US20240071275A1 (en) Calibration system for display apparatus and operating method thereof
US8396317B1 (en) Algorithm modification method and system
JP7159024B2 (en) IMAGING DEVICE, IMAGING DEVICE CONTROL METHOD, AND PROGRAM

Legal Events

Date Code Title Description
MM4A Annulment or lapse of patent due to non-payment of fees