TWI386037B - Image processing apparatus and method - Google Patents
Image processing apparatus and method Download PDFInfo
- Publication number
- TWI386037B TWI386037B TW98122096A TW98122096A TWI386037B TW I386037 B TWI386037 B TW I386037B TW 98122096 A TW98122096 A TW 98122096A TW 98122096 A TW98122096 A TW 98122096A TW I386037 B TWI386037 B TW I386037B
- Authority
- TW
- Taiwan
- Prior art keywords
- sub
- pixels
- image processing
- pixel
- graphic
- Prior art date
Links
Landscapes
- Control Of Indicators Other Than Cathode Ray Tubes (AREA)
- Controls And Circuits For Display Device (AREA)
Description
本發明是有關於一種影像處理裝置及方法,且特別是有關於一種適用於顯示器之影像處理裝置與方法。The present invention relates to an image processing apparatus and method, and more particularly to an image processing apparatus and method suitable for use in a display.
近年來由於工商發達、社會進步,相對提供之產品亦主要針對便利、確實、經濟實惠為主旨,因此,當前開發之產品亦比以往更加進步,而得以貢獻社會;在關於電子產品方面,近年來業者不斷地開發出更經濟便利之液晶顯示器供電子產品使用,使其作業與功效可達到事半功倍之運作。In recent years, due to the development of industry and commerce and social progress, the products provided are mainly aimed at convenience, reliability, and economic benefits. Therefore, the products currently being developed are more advanced than before and can contribute to society; in terms of electronic products, in recent years The industry has continuously developed a more economical and convenient liquid crystal display for use in electronic products, so that its operation and efficacy can be achieved with half the effort.
由於液晶顯示器的構造特點,使得液晶顯示器對於文字特別是方塊文字的顯示存在著一定的缺陷。舉例來說,對於筆畫簡單以橫豎筆畫爲主的文字可以不錯的顯示,但是對於筆畫複雜,有撇、捺等筆畫的文字往往會讓使用者於視覺上產生明顯地鋸齒現象(Jaggies),無法做到像手寫般那樣圓潤。Due to the structural characteristics of the liquid crystal display, the liquid crystal display has certain defects in the display of characters, especially block characters. For example, texts with simple strokes and vertical strokes can be displayed well, but for strokes, texts with strokes, strokes, and the like tend to cause visual jaggedness (Jaggies). Be as round as handwriting.
由此可見,上述現有的液晶顯示器,顯然仍存在有不便與缺陷,而亟待加以進一步改進。爲了解決鋸齒現象的問題,相關領域莫不費盡心思來謀求解決之道,但長久以來一直未見適用的方式被發展完成。因此,如何能在顯示器上呈現如手寫般圓潤的效果,實屬當前重要研發課題之一,亦成爲當前相關領域極需改進的目標。It can be seen that the above-mentioned existing liquid crystal display obviously has inconveniences and defects, and needs to be further improved. In order to solve the problem of aliasing, the relevant fields have not exhausted their efforts to find a solution, but the method that has not been applied for a long time has been developed. Therefore, how to present a hand-like effect on the display is one of the current important research and development topics, and it has become an urgent need for improvement in related fields.
因此,本發明之一態樣是在提供一種影像處理裝置,用於減少鋸齒現象的問題,以提供使用者較佳的視覺感受。Accordingly, an aspect of the present invention is to provide an image processing apparatus for reducing the problem of aliasing to provide a user with a better visual experience.
依據本發明一實施例,一種影像處理裝置適用於含有數個像素之顯示器,這些像素依橫向及縱向排成像素陣列,其中每一個像素包含至少三個子像素依橫向排列。影像處理裝置包含取樣模組以及調校模組。於使用時,取樣模組可取得圖形;調校模組可自像素陣列中選擇與圖形匹配之子像素,進而驅動這些被選擇之子像素以顯示圖形。According to an embodiment of the invention, an image processing apparatus is applicable to a display having a plurality of pixels arranged in a horizontal and vertical array of pixels, wherein each pixel includes at least three sub-pixels arranged in a lateral direction. The image processing device includes a sampling module and a calibration module. In use, the sampling module can acquire graphics; the calibration module can select sub-pixels matching the graphics from the pixel array, and then drive the selected sub-pixels to display graphics.
如此,於使用本實施例之影像處理裝置時,其可依照圖形之形態來重新運算以選定與圖形匹配之子像素,使得顯示器顯示出大幅降低鋸齒現象之圖形,進而呈現如手寫般圓潤的效果。Thus, when the image processing apparatus of the embodiment is used, it can be recalculated according to the shape of the graphic to select the sub-pixels that match the pattern, so that the display shows a pattern that greatly reduces the sawtooth phenomenon, thereby exhibiting a rounded effect as a handwriting.
本發明之另一態樣是在提供一種影像處理方法,用於減少鋸齒現象的問題。Another aspect of the present invention is to provide an image processing method for reducing the problem of aliasing.
依據本發明另一實施例,一種影像處理方法適用於含有數個像素之顯示器,這些像素依橫向及縱向排成像素陣列,其中每一個像素包含至少三個子像素依橫向排列。影像處理方法包含下列步驟:首先,可取得圖形;接著,可自上述像素陣列中選擇與圖形匹配之子像素,進而驅動這些被選擇之子像素以顯示圖形。According to another embodiment of the present invention, an image processing method is applicable to a display having a plurality of pixels arranged in a horizontal and vertical array of pixels, wherein each pixel includes at least three sub-pixels arranged in a lateral direction. The image processing method comprises the following steps: First, a graphic can be obtained; then, sub-pixels matching the pattern can be selected from the pixel array, and the selected sub-pixels are driven to display the graphic.
如此,於執行本實施例之影像處理方法時,可依照圖形之形態來重新運算以選定與圖形匹配之子像素,使得顯示器顯示出大幅降低鋸齒現象之圖形,進而呈現如手寫般圓潤的效果。In this way, when the image processing method of the embodiment is executed, the sub-pixels matching the pattern can be re-calculated according to the shape of the graphic, so that the display shows a pattern that greatly reduces the sawtooth phenomenon, thereby exhibiting a rounded effect.
為了使本發明之敘述更加詳盡與完備,可參照所附之圖式及以下所述各種實施例,圖式中相同之號碼代表相同或相似之元件。另一方面,眾所週知的元件與步驟並未描述於實施例中,以避免對本發明造成不必要的限制。In order to make the description of the present invention more complete and complete, reference is made to the accompanying drawings and the accompanying drawings. On the other hand, well-known elements and steps are not described in the embodiments to avoid unnecessarily limiting the invention.
請參照第1圖,第1圖是一種像素陣列配置的示意圖。如圖所示,顯示器100具有像素陣列130,像素陣列130以數個像素110依橫向120及縱向122排列而成,其中每一個像素110包含至少三個子像素依橫向120排列。Please refer to FIG. 1. FIG. 1 is a schematic diagram of a pixel array configuration. As shown, the display 100 has a pixel array 130. The pixel array 130 is arranged in a plurality of pixels 110 in a lateral direction 120 and a vertical direction 122. Each of the pixels 110 includes at least three sub-pixels arranged in a lateral direction 120.
在像素陣列130中,一像素110含有依橫向120並排之子像素112a、114a、116a,另一像素110含有依橫向120並排之子像素112b、114b、116b,另一像素110含有依橫向120並排之子像素112c、114c、116c,另一像素110含有依橫向120並排之子像素112d、114d、116d,另一像素110含有依橫向120並排之子像素112e、114e、116e,另一像素110含有依橫向120並排之子像素112f、114f、116f,另一像素110含有依橫向120並排之子像素112g、114g、116g,又一像素110含有依橫向120並排之子像素112h、114h、116h,再一像素110含有依橫向120並排之子像素112i、114i、116i。In the pixel array 130, one pixel 110 includes sub-pixels 112a, 114a, 116a arranged side by side in the lateral direction 120, the other pixel 110 includes sub-pixels 112b, 114b, 116b arranged side by side in the lateral direction 120, and the other pixel 110 contains sub-pixels side by side in the horizontal direction 120. 112c, 114c, 116c, the other pixel 110 includes sub-pixels 112d, 114d, 116d arranged side by side in the lateral direction 120, the other pixel 110 includes sub-pixels 112e, 114e, 116e arranged side by side in the lateral direction 120, and the other pixel 110 contains the side by side in the horizontal direction 120 The pixels 112f, 114f, 116f, the other pixels 110 include sub-pixels 112g, 114g, 116g arranged side by side in the lateral direction 120, and the further pixels 110 include sub-pixels 112h, 114h, 116h arranged side by side in the lateral direction 120, and the further pixels 110 are arranged side by side in the lateral direction 120. Sub-pixels 112i, 114i, 116i.
應瞭解到,在第1圖中,於像素陣列130之多個像素110的數目僅為例示,並非用以限制本發明,熟習此項技藝者應視實際需要,彈性地選擇像素的多寡。實務上,單位面積內的像素越多代表解析度越高,所顯示的圖像就會越清晰。It should be understood that, in FIG. 1 , the number of pixels 110 in the pixel array 130 is merely an example, and is not intended to limit the present invention. Those skilled in the art should flexibly select the number of pixels according to actual needs. In practice, the more pixels in a unit area represent the higher the resolution, the clearer the displayed image will be.
在本實施例中,每一個像素110中的子像素分別為紅色子像素、綠色子像素與藍色子像素。在其他實施例中,單一像素中可包含各類子像素,像是靛、紫、黃、黑四色子像素等,熟習此項技藝者應視當時需要彈性選擇之。In this embodiment, the sub-pixels in each of the pixels 110 are respectively a red sub-pixel, a green sub-pixel, and a blue sub-pixel. In other embodiments, a single pixel may include various types of sub-pixels, such as four-color sub-pixels such as enamel, purple, yellow, and black. Those skilled in the art should select elastic selection at that time.
在本實施例中,顯示器100為液晶顯示器。在其他實施例中,顯示器100可為依照上述像素配置之各類顯示器,像是陰極射線管顯示器、電漿顯示器或類似裝置。In the present embodiment, the display 100 is a liquid crystal display. In other embodiments, display 100 can be a variety of displays in accordance with the pixel configuration described above, such as a cathode ray tube display, a plasma display, or the like.
於應用上,顯示器100可安裝於各類電子產品,像是電腦、手機、個人數位助理等;或者,顯示器100可作為一獨立顯示裝置,熟習此項技藝者應視當時需要彈性選擇之。In application, the display 100 can be installed in various electronic products, such as a computer, a mobile phone, a personal digital assistant, etc. Alternatively, the display 100 can be used as an independent display device, and those skilled in the art should flexibly select it at that time.
請參照第2A圖與第2B圖,第2A圖與第2B圖分別為第1圖之顯示器100於顯示圖形時的模擬示意圖。第2A圖是顯示了一條橫線210和一條豎線220;第2B圖是顯示了一條斜線230。顯示器100各個像素可分成紅色子像素、綠色子像素與藍色子像素。舉例來說,如果某一像素顯示的是白色,那該像素之紅色子像素、綠色子像素與藍色子像素同時亮起。Please refer to FIG. 2A and FIG. 2B . FIG. 2A and FIG. 2B are respectively schematic diagrams of the display 100 of FIG. 1 when displaying graphics. Fig. 2A shows a horizontal line 210 and a vertical line 220; Fig. 2B shows a diagonal line 230. Each pixel of the display 100 can be divided into a red sub-pixel, a green sub-pixel, and a blue sub-pixel. For example, if a pixel displays white, the red, green, and blue sub-pixels of the pixel illuminate simultaneously.
於第2A圖中,由於顯示的橫線210和豎線220正好和像素陣列中像素排列的規律相吻合,所以得到了不錯的顯示效果。In Fig. 2A, since the horizontal line 210 and the vertical line 220 of the display coincide with the regularity of the arrangement of the pixels in the pixel array, a good display effect is obtained.
於第2B圖中,由於像素成像素陣列排列方式的限制,顯示一條斜線230的時候就出現了問題,呈現如第2B圖中的鋸齒現象(Jaggies),所謂鋸齒是指圖形中從斜線或物體邊緣可以看到有如階梯狀一階一階的不平滑線條,這也就是使用者平時透過一般液晶顯示器看某些文字,視覺上出現的不舒服的原因。一般來說,液晶顯示器在顯示斜線時,往往會有鋸齒現象。In Fig. 2B, due to the limitation of the arrangement of pixels into a pixel array, a problem arises when a diagonal line 230 is displayed, which presents a sawtooth phenomenon (Jaggies) as shown in Fig. 2B. The so-called sawtooth refers to a diagonal line or object in the figure. The edge can be seen as a stepped first-order first-order non-smooth line, which is why the user usually sees some text through the general LCD display, which is visually uncomfortable. In general, liquid crystal displays tend to have aliasing when displaying diagonal lines.
有鑑於此,本發明之一態樣是在提供一種影像處理裝置,用以降低線條所呈現的鋸齒現象,以提供使用者較佳之視覺感受。以下將搭配第3圖來具體說明此影像處理裝置之實施方式。In view of the above, an aspect of the present invention provides an image processing apparatus for reducing the sawtooth phenomenon exhibited by a line to provide a user with a better visual experience. The embodiment of the image processing apparatus will be specifically described below with reference to FIG.
請參照第3圖,第3圖是依照本發明一實施方式的一種影像處理裝置300的方塊圖。影像處理裝置300可適用於上述顯示器100,或是廣泛地運用在相關之技術環節。如圖所示,影像處理裝置300包含取樣模組310與調校模組320。取樣模組310可取得至少一圖形。調校模組320可自像素陣列130中選擇與圖形匹配之子像素,進而驅動這些被選擇之子像素以顯示圖形。Please refer to FIG. 3. FIG. 3 is a block diagram of an image processing apparatus 300 according to an embodiment of the present invention. The image processing device 300 can be applied to the above display 100 or widely used in related technical aspects. As shown, the image processing device 300 includes a sampling module 310 and a calibration module 320. The sampling module 310 can obtain at least one graphic. The calibration module 320 can select sub-pixels that match the pattern from the pixel array 130, thereby driving the selected sub-pixels to display graphics.
如此,於使用影像處理裝置300時,其可依照圖形之形態來重新運算以選定與圖形匹配之子像素,使得顯示器100顯示出大幅降低鋸齒現象之圖形,進而呈現如手寫般圓潤的效果。Thus, when the image processing apparatus 300 is used, it can be recalculated in accordance with the form of the pattern to select the sub-pixels that match the pattern, so that the display 100 displays a pattern that greatly reduces the sawtooth phenomenon, thereby exhibiting a rounded effect as a handwriting.
於第1圖中已經說明了一個像素是由至少三個子像素組成的,像是紅色子像素、綠色子像素與藍色子像素。舉例來說,影像處理裝置300可按照一個子像素對應一個24位元的16進制數位編碼來映射,如果顯示白色那對應的數位編碼可為0xffffff,對應於黑色的數位編碼可為0x000000,對應於紅色的數位編碼可為0xff0000,對應於綠色的數位編碼可為0x00ff00,對應於藍色的數位編碼可為0x0000ff。實務上,圖形在電腦中存儲的形式就是一個一個像素所對應數位編碼的組合,而影像處理裝置300可將各個像素中之三個子像素分別獨立出來,並選擇與圖形匹配之子像素,使得任3個連續的子像素都可以視作為一個像元素(picture element),藉以代替原本在幾何結構上依矩陣排列之像素,如此,所組成的文字的清晰度理論上就可以提高300%。It has been explained in Fig. 1 that a pixel is composed of at least three sub-pixels, such as a red sub-pixel, a green sub-pixel and a blue sub-pixel. For example, the image processing apparatus 300 can map according to a 24-bit hexadecimal number encoding of one sub-pixel. If the white color corresponding to the white color code is 0xffffff, the digital code corresponding to black can be 0x000000, corresponding to The digit encoding in red may be 0xff0000, the digit encoding corresponding to green may be 0x00ff00, and the digit encoding corresponding to blue may be 0x0000ff. In practice, the form of the graphic stored in the computer is a combination of digital code corresponding to one pixel, and the image processing device 300 can separate the three sub-pixels of each pixel separately, and select the sub-pixel matching the graphic, so that 3 Each successive sub-pixel can be regarded as a picture element, instead of the pixels arranged in the matrix according to the geometric structure, so that the definition of the composed text can be improved by 300%.
在本實施例中,取樣模組310可自顯示器100內部或外部之電腦可讀取紀錄媒體(未繪示)或是透過其他媒介來取得圖形,像是字元圖形等。舉例來說,若圖形為字元圖形時,一般儲存裝置中的文字存儲方式依然是一個像素對應一個16進制數位編碼,並不會把每個像素的儲存資料依據其多個子像素拆成多筆儲存資料,取樣模組310可以取得按照原先的存儲模式下的文字,再交給調校模組220作處理。In this embodiment, the sampling module 310 can read a recording medium (not shown) from a computer inside or outside the display 100 or obtain a graphic, such as a character graphic, through other media. For example, if the graphic is a character graphic, the text storage mode in the general storage device is still a pixel corresponding to a hexadecimal digit encoding, and does not split the stored data of each pixel according to multiple sub-pixels thereof. The pen storage data, the sampling module 310 can obtain the text according to the original storage mode, and then hand it to the calibration module 220 for processing.
在其他實施例中,取樣模組310可取得工程圖、物體的輪廓圖或類似圖樣,熟習此項技藝者應視當時需要彈性選擇之。In other embodiments, the sampling module 310 can obtain a drawing, an outline of an object, or the like, and those skilled in the art should flexibly select it at that time.
上述取樣模組310與調校模組320可為軟體程式或硬體電路。熟習此項技藝者應當視當時需要彈性選擇其實施方式,而不需全為軟體程式或全為硬體電路,得部分為軟體程式或部分為硬體電路。在本實施例中,取樣模組310與調校模組320可為軟體程式。The sampling module 310 and the calibration module 320 can be a software program or a hardware circuit. Those skilled in the art should be able to flexibly choose their implementation at that time, without having to use all software programs or all hardware circuits, some of which are software programs or partially hardware circuits. In this embodiment, the sampling module 310 and the calibration module 320 can be software programs.
為了對影像處理裝置300處理圖形的功效作更詳細的闡述,請參照第4A圖與第4B圖。第4A圖是未經影像處理裝置300處理過的圖形410;第4B圖是經過影像處理裝置300處理過的圖形410。在本實施例中,於第3A圖及第3B圖中皆以像素陣列430來呈現圖形410,其中像素陣列430可作為上述像素陣列130;雖然第4A圖與第4B圖中像素的數目多於第1圖之像素陣列130中像素的數目,然像素陣列430中像素及其子像素的配置方式實質上與第1圖之像素陣列130中像素及其子像素的配置方式完全相同。第4B圖與第4A圖在相同解析度的模式下,透過影像處理裝置優化使得第3B圖之斜線410比第3A圖之斜線410更加圓潤光滑;在清晰度比對方面,第3B圖之斜線410的清晰度比第3A圖之斜線410的清晰度提高了2倍。For a more detailed explanation of the effect of the image processing apparatus 300 in processing graphics, please refer to FIGS. 4A and 4B. 4A is a graphic 410 that has not been processed by the image processing device 300; FIG. 4B is a graphic 410 processed by the image processing device 300. In this embodiment, the graphics 410 are presented in the pixel array 430 in FIGS. 3A and 3B, wherein the pixel array 430 can serve as the pixel array 130; although the number of pixels in the 4A and 4B is more than The number of pixels in the pixel array 130 in FIG. 1 is substantially the same as the arrangement of the pixels and their sub-pixels in the pixel array 130 of FIG. 1 . 4B and 4A are optimized in the same resolution mode, so that the oblique line 410 of FIG. 3B is more rounded and smoother than the oblique line 410 of FIG. 3A; in terms of sharpness comparison, the oblique line of FIG. 3B The sharpness of 410 is two times greater than the sharpness of diagonal line 410 of Figure 3A.
實務上,普通的中文文字基本上是由橫線、豎線、斜線以及曲線組成的。橫線與豎線基本上不存在上述之顯示缺陷,有缺陷的是斜線與曲線,於使用上述影像處理裝置時可使得斜線與曲線的解析度在原有基礎上提高了200%,由此可見,影像處理裝置300對於文字顯示清晰度的提高有著非常顯著的效果。In practice, ordinary Chinese characters are basically composed of horizontal lines, vertical lines, diagonal lines, and curves. The horizontal line and the vertical line basically have no display defects as described above, and the defects are oblique lines and curves. When the image processing apparatus is used, the resolution of the oblique line and the curve can be increased by 200% on the original basis, thereby being seen. The image processing device 300 has a very significant effect on the improvement of the sharpness of the character display.
於第3圖中,調校模組320可包含斜線處理單元322。於使用上,當上述圖形具有傾斜於橫向或縱向之斜線時,斜線處理單元322可分析斜線的座標值,據以自像素陣列130中選擇與斜線的座標值相應之子像素以作為第一組子像素,並於橫向選擇鄰接於第一組子像素兩側之子像素。In FIG. 3, the calibration module 320 can include a diagonal processing unit 322. In use, when the graphic has a diagonal line oblique to the horizontal or vertical direction, the oblique line processing unit 322 can analyze the coordinate value of the oblique line, and select the sub-pixel corresponding to the coordinate value of the oblique line from the pixel array 130 as the first group. Pixels, and sub-pixels adjacent to both sides of the first group of sub-pixels are selected in the horizontal direction.
舉例來說,斜線處理單元322可先分析斜線之起點和終點的座標值,再算出斜線上於起點和終點之間各點的座標值,據以選擇與斜線的座標值相應之子像素並於橫向選擇位於這些子像素兩側之子像素。For example, the oblique line processing unit 322 may first analyze the coordinate values of the start and end points of the oblique line, and then calculate the coordinate values of the points between the start point and the end point on the oblique line, thereby selecting the sub-pixel corresponding to the coordinate value of the oblique line and in the horizontal direction. Select subpixels located on either side of these subpixels.
為了對斜線處理單元322處理斜線的方式作更詳細的闡述,請參照第5圖。第5圖是依照本發明一實施例中以斜線處理單元322選擇第1圖之顯示器100之子像素的示意圖。如圖所示,斜線處理單元322可分析斜線的座標值,據以自像素陣列130中選擇與斜線的座標值相應之子像素116a、112e,並於橫向選擇子像素116a兩側之子像素114a、112d以及子像素112e兩側之子像素116b、114e。如此,兩相鄰之像素中的子像素114a、116a、112d可當作像元素;相似地,兩相鄰之像素中的子像素116b、112e、114e可當作像元素。In order to explain in more detail the manner in which the oblique line processing unit 322 processes the oblique lines, please refer to FIG. FIG. 5 is a schematic diagram of selecting sub-pixels of the display 100 of FIG. 1 by the oblique line processing unit 322 in accordance with an embodiment of the present invention. As shown, the oblique line processing unit 322 can analyze the coordinate values of the oblique lines, and select the sub-pixels 116a, 112e corresponding to the coordinate values of the oblique lines from the pixel array 130, and select the sub-pixels 114a, 112d on both sides of the horizontal sub-pixel 116a. And sub-pixels 116b, 114e on both sides of the sub-pixel 112e. As such, the sub-pixels 114a, 116a, 112d of the two adjacent pixels can be regarded as image elements; similarly, the sub-pixels 116b, 112e, 114e of the two adjacent pixels can be regarded as image elements.
於第3圖中,調校模組320可包含曲線處理單元324。於使用上,當圖形具有曲線時,曲線處理單元324可分析曲線的座標值,據以自像素陣列130中選擇與曲線的座標值相應之子像素以作為一第二組子像素,並將第二組子像素中每三個相毗連之子像素當作一像元素。In FIG. 3, the calibration module 320 can include a curve processing unit 324. In use, when the graphic has a curve, the curve processing unit 324 can analyze the coordinate value of the curve, according to which the sub-pixel corresponding to the coordinate value of the curve is selected from the pixel array 130 as a second group of sub-pixels, and the second Each of the three adjacent sub-pixels of the group of sub-pixels is treated as an image element.
為了對曲線處理單元324處理曲線的方式作更詳細的闡述,請參照第6A圖、第6B圖、第6C圖、第6D圖、第6E圖、第6F圖以及第6G圖。第6A圖、第6B圖、第6C圖、第6D圖、第6E圖、第6F圖以及第6G圖是分別依照本發明各個實施例中以第3圖之曲線處理單元324選擇第1圖之顯示器100之子像素的示意圖。於第6A圖中,曲線處理單元324選擇三個沿著橫向相毗連之子像素116b、112e、114e當作像元素。於第6B圖中,曲線處理單元324選擇三個沿著橫向相毗連之子像素112e、114e、116d當作像元素。於第6C圖中,曲線處理單元選擇三個沿著橫向相毗連之子像素112h、114g、116g當作像元素。於第6D圖中,曲線處理單元選擇三個沿著橫向相毗連之子像素112i、114h、116g當作像元素。於第6E圖中,曲線處理單元選擇三個沿著橫向相毗連之子像素114e、116f、112i當作像元素。於第6F圖中,曲線處理單元選擇三個沿著橫向相毗連之子像素112b、114b、116c當作像元素。於第6G圖中,曲線處理單元選擇三個沿著橫向相毗連之子像素116a、112e、114f當作像元素。In order to explain in more detail the manner in which the curve processing unit 324 processes the curve, please refer to FIGS. 6A, 6B, 6C, 6D, 6E, 6F, and 6G. 6A, 6B, 6C, 6D, 6E, 6F, and 6G are diagrams selected by the curve processing unit 324 of FIG. 3 in accordance with various embodiments of the present invention, respectively. A schematic representation of sub-pixels of display 100. In Fig. 6A, the curve processing unit 324 selects three sub-pixels 116b, 112e, 114e adjacent in the lateral direction as image elements. In Fig. 6B, the curve processing unit 324 selects three sub-pixels 112e, 114e, 116d adjacent in the lateral direction as image elements. In Fig. 6C, the curve processing unit selects three sub-pixels 112h, 114g, and 116g adjacent in the lateral direction as image elements. In Fig. 6D, the curve processing unit selects three sub-pixels 112i, 114h, 116g adjacent in the lateral direction as image elements. In Fig. 6E, the curve processing unit selects three sub-pixels 114e, 116f, 112i adjacent in the lateral direction as image elements. In Fig. 6F, the curve processing unit selects three sub-pixels 112b, 114b, 116c adjacent in the lateral direction as image elements. In Fig. 6G, the curve processing unit selects three sub-pixels 116a, 112e, 114f adjacent in the lateral direction as image elements.
實務上,若曲線的曲率過大時,由於顯示器100物理構造的緣故,於縱向解析度無法像橫向那樣進行進一步細化,故曲線中曲率過大的地方所對應的子像素可能會出現不相毗連的狀況。因此,於第3圖中,調校模組320可包含曲線補償單元325。於使用上,當曲線處理單元324所選定之第二組子像素中具有兩相間隔之子像素時,曲線補償單元325可選擇與兩相間隔之子像素相毗連的子像素以作為一補償子像素,並於橫向選擇鄰接於兩相間隔之子像素兩側的子像素以及鄰接於補償子像素兩側的子像素。In practice, if the curvature of the curve is too large, the vertical resolution cannot be further refined in the horizontal direction due to the physical structure of the display 100. Therefore, the sub-pixels corresponding to the excessive curvature in the curve may appear to be non-contiguous. situation. Therefore, in FIG. 3, the calibration module 320 can include a curve compensation unit 325. In use, when the second group of sub-pixels selected by the curve processing unit 324 has two spaced apart sub-pixels, the curve compensation unit 325 may select a sub-pixel adjacent to the two-phase spaced sub-pixels as a compensation sub-pixel. Subpixels adjacent to both sides of the two-phase spaced sub-pixels and sub-pixels adjacent to both sides of the compensation sub-pixel are laterally selected.
為了對曲線補償單元325補償曲線的方式作更詳細的闡述,請參照第7圖。第7圖是依照本發明一實施例中以第3圖之曲線補償單元325選擇第1圖之顯示器100之子像素的示意圖。在第7圖中係將處理暨補償曲線的方式分成三個階段710、720、730來闡述。於第一階段710中,曲線處理單元選擇之子像素中含有兩相間隔之子像素112f、114d;接著,於第二階段720中,曲線補償單元可選擇與兩相間隔之子像素112f、114d相毗連的子像素114e以作為一補償子像素,並於第三階段730中,曲線補償單元可進而選擇子像素112f兩側的子像素116c、114f,子像素114d兩側的子像素112d、116d以及子像素114e兩側的子像素112e、116e。如此,顯示器100不僅可清楚地顯示曲線,並於曲線中曲率過大的地方修飾得更為圓潤。In order to explain in more detail the manner in which the curve compensation unit 325 compensates for the curve, please refer to FIG. Figure 7 is a schematic diagram showing the selection of the sub-pixels of the display 100 of Figure 1 by the curve compensation unit 325 of Figure 3, in accordance with an embodiment of the present invention. In Fig. 7, the manner of processing and compensating the curve is divided into three stages 710, 720, and 730. In the first stage 710, the sub-pixel selected by the curve processing unit includes two-phase spaced sub-pixels 112f, 114d; then, in the second stage 720, the curve compensating unit can select adjacent to the two-phase spaced sub-pixels 112f, 114d. The sub-pixel 114e serves as a compensation sub-pixel, and in the third stage 730, the curve compensation unit can further select the sub-pixels 116c, 114f on both sides of the sub-pixel 112f, the sub-pixels 112d, 116d and the sub-pixels on both sides of the sub-pixel 114d. Sub-pixels 112e, 116e on both sides of 114e. As such, the display 100 not only clearly displays the curve, but also is more rounded in places where the curvature is too large in the curve.
於第3圖中,調校模組320可包含豎線處理單元326。於使用上,當圖形具有垂直於橫向之豎線時,豎線處理單元326可分析豎線的座標值,據以自像素陣列130中選擇與豎線的座標值相應之子像素以作為一第三組子像素,並依橫向選擇鄰接於第三組子像素兩側之子像素。In FIG. 3, the calibration module 320 can include a vertical line processing unit 326. In use, when the graphic has a vertical line perpendicular to the horizontal direction, the vertical line processing unit 326 can analyze the coordinate value of the vertical line, and select a sub-pixel corresponding to the coordinate value of the vertical line from the pixel array 130 as a third. Sub-pixels are grouped, and sub-pixels adjacent to both sides of the third group of sub-pixels are selected laterally.
實作上,雖然顯示器100以原有的像素110為單位即可顯示無鋸齒現象的豎線,然,經過豎線處理單元326重新選定的子像素得以使顯示器100顯示之圖形中豎線的方位更佳的精確,無須遷就既有的像素配置而將豎線稍微偏左或偏右。In practice, although the display 100 can display the vertical line without sawtooth in units of the original pixels 110, the sub-pixels reselected by the vertical line processing unit 326 enable the display 100 to display the vertical line orientation in the graphic. Better accuracy, without having to reconcile the existing pixel configuration with the vertical line slightly to the left or to the right.
於第3圖中,調校模組320可包含橫線處理單元328。於使用上,當圖形具有垂直於縱向之橫線時,橫線處理單元328可自像素陣列130中選擇與橫線匹配之像素以作為一組像素,藉以選擇組像素所包含之子像素。In FIG. 3, the calibration module 320 can include a horizontal line processing unit 328. In use, when the graphic has a horizontal line perpendicular to the vertical direction, the horizontal line processing unit 328 can select a pixel matching the horizontal line from the pixel array 130 as a group of pixels, thereby selecting the sub-pixels included in the group pixel.
實作上,由於顯示器100物理構造的緣故,於顯示橫線時無法像豎向那樣進行進一步微調,因此橫線處理單元328可直接於橫向選擇與橫線匹配之多個像素,藉以選擇這些像素所包含之子像素。In practice, due to the physical structure of the display 100, further fine adjustment cannot be performed in the vertical direction when the horizontal line is displayed. Therefore, the horizontal line processing unit 328 can select a plurality of pixels matching the horizontal line directly in the horizontal direction, thereby selecting the pixels. The included sub-pixels.
於第3圖中,調校模組320可包含驅動單元329。於使用時,驅動單元329可驅動上述被選擇之子像素。實作上,驅動單元329可同步地或分別地驅動被斜線處理單元322、曲線處理單元324、曲線補償單元325、豎線處理單元326及橫線處理單元328所選擇之子像素,藉此顯示器100可透過這些被驅動的子像素以顯示圖形。In FIG. 3, the calibration module 320 can include a drive unit 329. In use, the drive unit 329 can drive the selected sub-pixels described above. In practice, the driving unit 329 can drive the sub-pixels selected by the oblique line processing unit 322, the curve processing unit 324, the curve compensation unit 325, the vertical line processing unit 326, and the horizontal line processing unit 328 synchronously or separately, whereby the display 100 These driven sub-pixels can be used to display graphics.
本發明之另一態樣是在提供一種影像處理方法,用於解決鋸齒現象的問題。以下將搭配第8圖來具體說明此影像處理方法之實施方式。Another aspect of the present invention is to provide an image processing method for solving the problem of aliasing. The implementation of this image processing method will be specifically described below with reference to FIG.
請參照第8圖,第8圖是依照本發明另一實施方式的一種影像處理方法800的流程圖。如圖所示,一種影像處理方法800包含步驟810與步驟820。應瞭解到,在本實施方式中所提及的步驟,除特別敘明其順序者外,均可依實際需要調整其前後順序,甚至可同時或部分同時執行。至於實施該些步驟的硬體裝置,由於上一實施方式已具體揭露,因此不再重複贅述之。Please refer to FIG. 8. FIG. 8 is a flowchart of an image processing method 800 according to another embodiment of the present invention. As shown, an image processing method 800 includes steps 810 and 820. It should be understood that the steps mentioned in the present embodiment can be adjusted according to actual needs, and can be performed simultaneously or partially simultaneously, unless the order is specifically stated. As for the hardware device for carrying out these steps, since the previous embodiment has been specifically disclosed, the description thereof will not be repeated.
影像處理方法800可適用於顯示器(例如上述之顯示器100),或是廣泛地運用在相關之技術環節。此顯示器可包含數個像素依橫向及縱向排成像素陣列,其中每一個像素包含至少三子像素依橫向排列。於步驟810可取得至少一圖形,於步驟820可自像素陣列中選擇與圖形匹配之子像素,進而驅動這些被選擇之子像素以顯示圖形。The image processing method 800 can be applied to a display (such as the display 100 described above) or can be widely used in related technical aspects. The display may include a plurality of pixels arranged in a horizontal and vertical array of pixels, wherein each pixel includes at least three sub-pixels arranged in a lateral direction. At least one graphic may be obtained in step 810. In step 820, sub-pixels matching the pattern may be selected from the pixel array to drive the selected sub-pixels to display the graphic.
如此,於使用影像處理方法800時,其可依照圖形之形態來重新運算以選定與圖形匹配之子像素,使得顯示器顯示出大幅降低鋸齒現象之圖形,進而呈現如手寫般圓潤的效果。Thus, when the image processing method 800 is used, it can be recalculated according to the shape of the graphic to select the sub-pixels that match the pattern, so that the display shows a pattern that greatly reduces the sawtooth phenomenon, thereby exhibiting a rounded effect like a handwriting.
在本實施例中,於步驟810可自顯示器內部或外部之儲存裝置或是透過其他媒介來取得圖形,像是字元圖形等。在其他實施例中,於步驟810可取得工程圖、物體的輪廓圖或類似圖樣,熟習此項技藝者應視當時需要彈性選擇之。In this embodiment, in step 810, graphics, such as character graphics, etc., may be obtained from a storage device inside or outside the display or through other media. In other embodiments, a drawing, an outline of the object, or the like may be obtained at step 810, and the skilled artisan should select the elastic selection at that time.
於步驟820中,當圖形具有傾斜於橫向或縱向之斜線時,分析斜線的座標值,據以自像素陣列中選擇與斜線的座標值相應之子像素以作為第一組子像素,並於橫向選擇鄰接於第一組子像素兩側之子像素。In step 820, when the graphic has a diagonal line oblique to the horizontal or vertical direction, the coordinate value of the oblique line is analyzed, and the sub-pixel corresponding to the coordinate value of the oblique line is selected from the pixel array as the first group of sub-pixels, and is selected in the horizontal direction. Subpixels adjacent to both sides of the first set of sub-pixels.
於步驟820中,當圖形具有曲線時,分析曲線的座標值,據以自像素陣列中選擇與曲線的座標值相應之子像素以作為第二組子像素,並將第二組子像素中每三個相毗連之子像素當作一像元素。另外,當第二組子像素中具有兩相間隔之子像素時,選擇與兩相間隔之子像素相毗連的子像素以作為一補償子像素,並於橫向選擇鄰接於兩相間隔之子像素兩側的子像素以及鄰接於補償子像素兩側的子像素。In step 820, when the graph has a curve, the coordinate value of the curve is analyzed, and the sub-pixel corresponding to the coordinate value of the curve is selected from the pixel array as the second group of sub-pixels, and each of the second group of sub-pixels The adjacent sub-pixels are treated as one image element. In addition, when there are two spaced apart sub-pixels in the second group of sub-pixels, the sub-pixels adjacent to the two-phase spaced sub-pixels are selected as a compensating sub-pixel, and are laterally selected adjacent to the two-phase spaced sub-pixels. Subpixels and subpixels adjacent to both sides of the compensation subpixel.
於步驟820中,當圖形具有垂直於橫向之豎線時,分析豎線的座標值,據以自像素陣列中選擇與豎線的座標值相應之子像素以作為第三組子像素,並依橫向選擇鄰接於第三組子像素兩側之子像素。In step 820, when the graphic has a vertical line perpendicular to the horizontal direction, the coordinate value of the vertical line is analyzed, and the sub-pixel corresponding to the coordinate value of the vertical line is selected from the pixel array as the third group of sub-pixels, and is horizontally Subpixels adjacent to both sides of the third set of subpixels are selected.
於步驟820中,當圖形具有垂直於縱向之橫線時,自像素陣列中選擇與橫線匹配之像素以作為一組像素,藉以選擇該組像素所包含之子像素。In step 820, when the graphic has a horizontal line perpendicular to the vertical direction, the pixel matching the horizontal line is selected from the pixel array as a group of pixels, thereby selecting the sub-pixels included in the group of pixels.
於步驟820中,可驅動上述被選擇之子像素。更具體而言,於步驟820可同步地或分別地驅動對應於斜線、曲線、曲線補償、豎線及橫線而被選擇之子像素,藉此顯示器可透過這些被驅動的子像素以顯示圖形。In step 820, the selected sub-pixels can be driven. More specifically, in step 820, sub-pixels selected corresponding to oblique lines, curves, curve compensation, vertical lines, and horizontal lines may be driven synchronously or separately, whereby the display may transmit graphics through the driven sub-pixels.
雖然本發明已以實施方式揭露如上,然其並非用以限定本發明,任何熟習此技藝者,在不脫離本發明之精神和範圍內,當可作各種之更動與潤飾,因此本發明之保護範圍當視後附之申請專利範圍所界定者為準。Although the present invention has been disclosed in the above embodiments, it is not intended to limit the present invention, and the present invention can be modified and modified without departing from the spirit and scope of the present invention. The scope is subject to the definition of the scope of the patent application attached.
100...顯示器100. . . monitor
110...像素110. . . Pixel
112a、114a、116a...子像素112a, 114a, 116a. . . Subpixel
112b、114b、116b...子像素112b, 114b, 116b. . . Subpixel
112c、114c、116c...子像素112c, 114c, 116c. . . Subpixel
112d、114d、116d...子像素112d, 114d, 116d. . . Subpixel
112e、114e、116e...子像素112e, 114e, 116e. . . Subpixel
112f、114f、116f...子像素112f, 114f, 116f. . . Subpixel
112g、114g、116g...子像素112g, 114g, 116g. . . Subpixel
112h、114h、116h...子像素112h, 114h, 116h. . . Subpixel
112i、114i、116i...子像素112i, 114i, 116i. . . Subpixel
120...橫向120. . . Landscape
122...縱向122. . . Portrait
130...像素陣列130. . . Pixel array
210...橫線210. . . Horizontal line
220...豎線220. . . Vertical line
230...斜線230. . . Slash
300...影像處理裝置300. . . Image processing device
310...取樣模組310. . . Sampling module
320...調校模組320. . . Tuning module
322...斜線處理單元322. . . Slash processing unit
324...曲線處理單元324. . . Curve processing unit
325...曲線補償單元325. . . Curve compensation unit
326...豎線處理單元326. . . Vertical line processing unit
328...橫線處理單元328. . . Horizontal line processing unit
329...驅動單元329. . . Drive unit
410...圖形410. . . Graphics
430...像素陣列430. . . Pixel array
710...第一階段710. . . The first stage
720...第二階段720. . . second stage
730...第三階段730. . . The third stage
800...影像處理方法800. . . Image processing method
810...步驟810. . . step
820...步驟820. . . step
為讓本發明之上述和其他目的、特徵、優點與實施例能更明顯易懂,所附圖式之說明如下:The above and other objects, features, advantages and embodiments of the present invention will become more apparent and understood.
第1圖是一種像素陣列配置的示意圖。Figure 1 is a schematic diagram of a pixel array configuration.
第2A圖與第2B圖分別為第1圖之顯示器於顯示圖形時的模擬示意圖。Fig. 2A and Fig. 2B are schematic diagrams showing the simulation of the display of Fig. 1 when the graphic is displayed.
第3圖是依照本發明一實施方式的一種影像處理裝置的方塊圖。Figure 3 is a block diagram of an image processing apparatus in accordance with an embodiment of the present invention.
第4A圖是未經第3圖之影像處理裝置處理過的圖形。Fig. 4A is a diagram processed without the image processing apparatus of Fig. 3.
第4B圖是經過第3圖之影像處理裝置處理過的圖形。Fig. 4B is a diagram processed by the image processing apparatus of Fig. 3.
第5圖是依照本發明一實施例中以第3圖之斜線處理單元選擇第1圖之顯示器之子像素的示意圖。Figure 5 is a schematic diagram showing the selection of sub-pixels of the display of Figure 1 in a diagonal line processing unit of Figure 3, in accordance with an embodiment of the present invention.
第6A圖、第6B圖、第6C圖、第6D圖、第6E圖、第6F圖以及第6G圖是分別依照本發明各個實施例中以第3圖之曲線處理單元選擇第1圖之顯示器之子像素的示意圖。6A, 6B, 6C, 6D, 6E, 6F, and 6G are the displays of FIG. 1 selected by the curve processing unit of FIG. 3 in accordance with various embodiments of the present invention, respectively. Schematic diagram of the sub-pixels.
第7圖是依照本發明一實施例中以第3圖之曲線補償單元選擇第1圖之顯示器之子像素的示意圖。Figure 7 is a schematic diagram showing the selection of sub-pixels of the display of Figure 1 by the curve compensation unit of Figure 3, in accordance with an embodiment of the present invention.
第8圖是依照本發明另一實施方式的一種影像處理方法的流程圖。Figure 8 is a flow chart of an image processing method in accordance with another embodiment of the present invention.
130...像素陣列130. . . Pixel array
300...影像處理裝置300. . . Image processing device
310...取樣模組310. . . Sampling module
320...調校模組320. . . Tuning module
322...斜線處理單元322. . . Slash processing unit
324...曲線處理單元324. . . Curve processing unit
325...曲線補償單元325. . . Curve compensation unit
326...豎線處理單元326. . . Vertical line processing unit
328...橫線處理單元328. . . Horizontal line processing unit
329...驅動單元329. . . Drive unit
Claims (18)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
TW98122096A TWI386037B (en) | 2009-06-30 | 2009-06-30 | Image processing apparatus and method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
TW98122096A TWI386037B (en) | 2009-06-30 | 2009-06-30 | Image processing apparatus and method |
Publications (2)
Publication Number | Publication Date |
---|---|
TW201101808A TW201101808A (en) | 2011-01-01 |
TWI386037B true TWI386037B (en) | 2013-02-11 |
Family
ID=44837133
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
TW98122096A TWI386037B (en) | 2009-06-30 | 2009-06-30 | Image processing apparatus and method |
Country Status (1)
Country | Link |
---|---|
TW (1) | TWI386037B (en) |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6295073B1 (en) * | 1998-06-08 | 2001-09-25 | Matsushita Electric Industrial Co., Ltd. | Figure filling apparatus |
US6958862B1 (en) * | 2003-04-21 | 2005-10-25 | Foveon, Inc. | Use of a lenslet array with a vertically stacked pixel array |
US20050243107A1 (en) * | 2004-04-30 | 2005-11-03 | Haim Victoria P | Liquid crystal color display system and method |
US20060221029A1 (en) * | 2005-03-29 | 2006-10-05 | Ying-Hao Hsu | Drive system and method for a color display |
TW200919367A (en) * | 2007-10-16 | 2009-05-01 | Mediatek Inc | Thick line drawing method and apparatus thereof |
-
2009
- 2009-06-30 TW TW98122096A patent/TWI386037B/en active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6295073B1 (en) * | 1998-06-08 | 2001-09-25 | Matsushita Electric Industrial Co., Ltd. | Figure filling apparatus |
US6958862B1 (en) * | 2003-04-21 | 2005-10-25 | Foveon, Inc. | Use of a lenslet array with a vertically stacked pixel array |
US20050243107A1 (en) * | 2004-04-30 | 2005-11-03 | Haim Victoria P | Liquid crystal color display system and method |
US20060221029A1 (en) * | 2005-03-29 | 2006-10-05 | Ying-Hao Hsu | Drive system and method for a color display |
TW200919367A (en) * | 2007-10-16 | 2009-05-01 | Mediatek Inc | Thick line drawing method and apparatus thereof |
Also Published As
Publication number | Publication date |
---|---|
TW201101808A (en) | 2011-01-01 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US9542875B2 (en) | Signal processing method, signal processor, and display device including signal processor | |
JP5430068B2 (en) | Display device | |
US10504483B2 (en) | Display method and display device | |
US20170103690A1 (en) | Display driving method and device and display device | |
US20150093039A1 (en) | Image super-resolution reconstruction system and method | |
US20160300519A1 (en) | Display Method, Display Panel and Display Device | |
US10504419B2 (en) | Data converting method and apparatus, and computer-readable storage medium | |
US9728160B2 (en) | Image processing method of a display for reducing color shift | |
WO2016197450A1 (en) | Liquid crystal panel and driving method therefor | |
CN106298851A (en) | A kind of dot structure, display floater and driving method thereof | |
JP2004094247A (en) | Expression method of color video image in delta structure display and its device | |
KR20130052659A (en) | Pre-subpixel rendered image processing in display systems | |
TW201013632A (en) | Display apparatus, method of driving display apparatus, drive-use integrated circuit, driving method employed by drive-use integrated circuit, and signal processing method | |
WO2017092218A1 (en) | Sub-pixel rendering method and rendering apparatus | |
CN104517559B (en) | display sub-pixel driving system and driving method thereof | |
US10650491B2 (en) | Image up-scale device and method | |
TWI559275B (en) | Pixel driving method and associated display device | |
US8515197B2 (en) | Image resolution enhancing device and method for display panel | |
TWI530937B (en) | Image device and data processing system | |
TWI657425B (en) | Sub-pixel rendering method for delta rgbw panel and delta rgbw panel with sub-pixel rendering function | |
TWI386037B (en) | Image processing apparatus and method | |
KR20070099847A (en) | Apparatus and method for sub-pixel rendering of image display device | |
US7532216B2 (en) | Method of scaling a graphic character | |
TWI573110B (en) | Display system and driving method | |
WO2017084038A1 (en) | Image display method and apparatus, electronic device and storage medium |