TWI413900B - Method and device for vertically scaling pixel data - Google Patents
Method and device for vertically scaling pixel data Download PDFInfo
- Publication number
- TWI413900B TWI413900B TW94113514A TW94113514A TWI413900B TW I413900 B TWI413900 B TW I413900B TW 94113514 A TW94113514 A TW 94113514A TW 94113514 A TW94113514 A TW 94113514A TW I413900 B TWI413900 B TW I413900B
- Authority
- TW
- Taiwan
- Prior art keywords
- pixel group
- line
- color space
- ycbcr
- rgb
- Prior art date
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N1/00—Scanning, transmission or reproduction of documents or the like, e.g. facsimile transmission; Details thereof
- H04N1/40—Picture signal circuits
- H04N1/40068—Modification of image resolution, i.e. determining the values of picture elements at new relative positions
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T3/00—Geometric image transformations in the plane of the image
- G06T3/40—Scaling of whole images or parts thereof, e.g. expanding or contracting
- G06T3/4007—Scaling of whole images or parts thereof, e.g. expanding or contracting based on interpolation, e.g. bilinear interpolation
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T3/00—Geometric image transformations in the plane of the image
- G06T3/40—Scaling of whole images or parts thereof, e.g. expanding or contracting
- G06T3/4015—Image demosaicing, e.g. colour filter arrays [CFA] or Bayer patterns
Landscapes
- Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Image Processing (AREA)
- Signal Processing (AREA)
- Multimedia (AREA)
- Color Image Communication Systems (AREA)
- Facsimile Image Signal Circuits (AREA)
- Liquid Crystal Display Device Control (AREA)
- Transforming Electric Information Into Light Information (AREA)
- Control Of Indicators Other Than Cathode Ray Tubes (AREA)
- Controls And Circuits For Display Device (AREA)
Abstract
Description
本發明之實施例係概括關於一種針對像素資料進行垂直縮放的方法與設備。Embodiments of the present invention generally relate to a method and apparatus for vertical scaling of pixel data.
關於像素資料垂直縮放器(vertical scaler)之設計,一般是將視頻輸出訊號中的輸入線條數改變成不同的輸出線條數。垂直縮放器可以縮小或者放大此縮放運算。一般而言,一線條係指視頻訊號之水平掃瞄線。由於內送的像素資料係為線條的格式,因此影像垂直比率之處理程序可能會很複雜。影像垂直縮放通常需要像素資料之許多相鄰線條之間的比較與計算。另由於內送的像素資料在光柵化格式(rasterized format)中的特性,使得前一條線與現有的線訊號資料都必須保存至下一條線的訊號資料進來為止。此等線條資料通常是存放在由一或多個隨機存取記憶體(RAM)所構成的儲存記憶體內。每一個RAM的大小係由被儲存之線條數與線條長度來決定。由於每一線條均對應至全像寬(full width)的影像,其所需預備提供給垂直縮放運算所用的儲存空間就會變得很大,使得垂直縮放運算的操作成為一種昂貴的處理程序。Regarding the design of the pixel data vertical scaler, the number of input lines in the video output signal is generally changed to a different number of output lines. The vertical scaler can reduce or enlarge this scaling operation. In general, a line refers to the horizontal scan line of the video signal. Since the in-line pixel data is in the form of lines, the processing of the image vertical ratio can be complicated. Image vertical scaling typically requires comparison and calculation between many adjacent lines of pixel data. In addition, due to the characteristics of the intra-sampled pixel data in the rasterized format, the previous line and the existing line signal data must be saved until the next line of signal data comes in. Such line data is typically stored in a storage memory comprised of one or more random access memories (RAMs). The size of each RAM is determined by the number of lines stored and the length of the line. Since each line corresponds to a full width image, the storage space required for the vertical scaling operation becomes large, making the operation of the vertical scaling operation an expensive processing.
因此,吾人需要一種更符合經濟效益的方法及設備,以提供像素資料的垂直縮放運算處理。Therefore, we need a more economical method and equipment to provide vertical scaling of pixel data.
本發明之各式實施例之目地係為減低需要儲存在線儲存記憶體當中與垂直式縮放運算像素資料有關的像素資料量。The purpose of various embodiments of the present invention is to reduce the amount of pixel data associated with vertical scaling of pixel data that needs to be stored in the online storage memory.
本發明之各式實施例係概括針對一種影像處理設備,其包含一組紅、綠、藍(RGB)色彩空間至明度色(luminance)色彩、藍色差與紅色差(YCbCr)色彩空間轉換模組,用以將像素群線條資料由RGB的色彩空間轉換至YCbCr色彩空間。像素群線條有其第一取樣率。此種影像處理設備另包含一個與RGB至YCbCr色彩空間轉換模組耦合的色度比率模組(chrominance decimator module)。此色度比率模組之配置係用以產生一個由許多像素所組成之線條的中繼表現資料(intermediate representation),且此表現資料有一個較第一取樣率低的第二取樣率。代表中繼表現資料的資料量少於代表像素群線條的資料量。上述影像處理設備另包含一線儲存記憶體,並與色度比率模組耦接。此線儲存記憶體之配置係用於儲存線條中繼表現資料。上述影像處理設備另包含一垂直縮放器模組,並與該線儲存記憶體耦接。此垂直縮放器模組之配置係用以產生一個經過垂直縮放處理過的中繼表現資料版本。Various embodiments of the present invention are generally directed to an image processing apparatus including a set of red, green, and blue (RGB) color space to luminance color, blue color difference and red color difference (YCbCr) color space conversion module. For converting pixel group line data from RGB color space to YCbCr color space. The pixel group line has its first sampling rate. The image processing device further includes a chrominance decimator module coupled to the RGB to YCbCr color space conversion module. The color ratio module is configured to generate an intermediate representation of a line of a plurality of pixels, and the performance data has a second sampling rate that is lower than the first sampling rate. The amount of data representing the relay performance data is less than the amount of data representing the lines of the pixel group. The image processing device further includes a line storage memory coupled to the chromaticity ratio module. The configuration of the line storage memory is used to store line relay performance data. The image processing device further includes a vertical scaler module coupled to the line storage memory. The configuration of the vertical scaler module is used to generate a version of the relay performance data that has been vertically scaled.
在一實施例中,此影像處理設備另包含一色度內插處理模組,並與垂直縮放處理模組耦接。此色度內插處理模組之配置係用以將具有第二取樣率的中繼表現資料之縮放版本轉換成具有第一取樣率的像素群線條之縮放版本。In an embodiment, the image processing device further includes a chroma interpolation processing module coupled to the vertical scaling processing module. The configuration of the chroma interpolation processing module is to convert a scaled version of the relay performance data having the second sampling rate into a scaled version of the pixel group line having the first sampling rate.
在另一實施例中,上述影像處理設備另包含一YcbCr至RGB色彩空間轉換處理模組,並與色度內插處理模組耦接。此YcbCr至RGB色彩空間轉換處理模組之配置係將來自於YCbCr色彩空間的像素群線條之縮放版本轉換至RGB色彩空間。In another embodiment, the image processing device further includes a YcbCr to RGB color space conversion processing module coupled to the chroma interpolation processing module. The configuration of the YcbCr to RGB color space conversion processing module converts the scaled version of the pixel group line from the YCbCr color space to the RGB color space.
在另一實施例中,該RGB至YCbCr色彩空間轉換處理模組藉由加上像素資料紅色(R)元素之1/4至像素資料綠色(G)元素之1/2與像素資料藍色(B)元素之1/4的方式決定一個像素資料之明度色彩元素(Y)。該RGB至YCbCr色彩空間轉換處理模組另藉由減去藍色(B)元素中的像素資料明度色彩元素(Y),並使用將其結果除以2的方式來決定像素資料之藍色差元素(Cb)。該RGB至YCbCr色彩空間轉換處理模組另藉由減去紅色(R)元素中的像素資料明度色彩元素(Y),並將其結果除以2的方式來決定像素資料之紅色差元素(Cr)。In another embodiment, the RGB to YCbCr color space conversion processing module is configured by adding 1/4 of the pixel data red (R) element to 1/2 of the pixel data green (G) element and the pixel data blue ( B) The 1/4 of the element determines the brightness color element (Y) of a pixel data. The RGB to YCbCr color space conversion processing module further determines the blue difference element of the pixel data by subtracting the pixel material brightness color element (Y) in the blue (B) element and dividing the result by 2 (Cb). The RGB to YCbCr color space conversion processing module further determines the red difference element of the pixel data by subtracting the pixel material brightness color element (Y) in the red (R) element and dividing the result by 2. ).
在另一實施例當中,此YCbCr至RGB色彩空間轉換處理模組藉由加上像素資料之明度色彩元素(Y)而使像素資料紅色差元素(Cr)被加成為2倍的方式決定一個像素資料之紅色(R)元素。此RGB至YCbCr色彩空間轉換處理模組另藉由減去像素資料明度色彩元素(Y)中的紅色差元素(Cr)與藍色差元素(Cb)的方式來決定像素資料之綠色(G)元素。此RGB至YCbCr色彩空間轉換處理模組另藉由加上像素資料之明度色彩元素(Y)而使像素資料藍色差元素(Cb)被加成為2倍的方式決定一個像素資料之藍色(B)元素。In another embodiment, the YCbCr to RGB color space conversion processing module determines a pixel by adding a luminance color element (Y) of the pixel data to increase the pixel data red difference element (Cr) by a factor of two. The red (R) element of the data. The RGB to YCbCr color space conversion processing module further determines the green (G) element of the pixel data by subtracting the red difference element (Cr) and the blue difference element (Cb) in the pixel material brightness color element (Y). . The RGB to YCbCr color space conversion processing module further determines the blue color of a pixel data by adding a luminance color element (Y) of the pixel data to increase the pixel data blue difference element (Cb) by a factor of two. )element.
第1圖係根據本發明之實施例所繪示的電腦系統100之簡化方塊圖。電腦系統100包含一個中央處理單元(CPU)102與一個藉由系統匯流排106聯繫的系統(主)記憶體104。使用者所作之輸入係由一或多個使用者輸入裝置108接收(例如鍵盤、滑鼠),而且此輸入裝置與系統匯流排106連結。視頻輸出係由一個以像素為基礎的顯示裝置110提供(例如傳統真空映像管顯示器、電視或LCD液晶顯示器、液晶投影機等),且此顯示裝置在一個與匯流排106相連結之圖形處理單元(GPU)112的控制下運作。其它如一或數個儲存裝置128(例如一個固定安裝或可移除之磁碟機、CD光碟機及/或DVD光碟機)等元件,亦可連接到系統匯流排106。在一實施例中,電腦系統100係於紅、綠、藍(RGB)之色彩空間中運作。雖然在此描述之本發明的各種實施例均以在RGB色彩空間中操作的電腦系統100為例,但本發明亦涵蓋電腦系統100在其它色彩空間(例如YCbCr)中操作的實施例。1 is a simplified block diagram of a computer system 100 in accordance with an embodiment of the present invention. Computer system 100 includes a central processing unit (CPU) 102 and a system (primary) memory 104 that is coupled by system bus 106. Inputs made by the user are received by one or more user input devices 108 (e.g., a keyboard, mouse) and the input device is coupled to system bus 86. The video output is provided by a pixel-based display device 110 (eg, a conventional vacuum image tube display, a television or LCD liquid crystal display, a liquid crystal projector, etc.), and the display device is coupled to a graphics processing unit coupled to the bus bar 106. Under the control of (GPU) 112. Other components such as one or more storage devices 128 (e.g., a fixed-mount or removable disk drive, CD player, and/or DVD player) may also be coupled to system bus 86. In one embodiment, computer system 100 operates in a red, green, and blue (RGB) color space. Although various embodiments of the invention described herein are exemplified by computer system 100 operating in an RGB color space, the present invention also contemplates embodiments in which computer system 100 operates in other color spaces, such as YCbCr.
系統記憶體104可儲存各種程式與應用程式,例如產生像素資料供GPU 112處理的作業系統程式。微軟視窗作業系統(Microsoft Windows)之繪圖裝置介面(GDI)元件即為作業系統程式130之一例。系統記憶體104另可儲存一個能與GPU 112聯繫的圖形驅動程式。諸如Open GL與Microsoft DirectX等圖形驅動程式可實作一或數個能夠提供GPU 112聯繫使用的標準應用程式界面(API)。藉著支援適當的API功能呼叫,作業系統程式能夠命令圖形驅動程式透過系統匯流排106將像素資料傳送給GPU 112,並支援GPU 112的各種圖形運算功能。此種像素資料通常係以二元格式儲存與表現。資料之傳輸操作可以使用傳統的直接記憶體存取(direct memory access, DMA)或其它操作方式。在一實施例中,系統記憶體104可儲存RGB色彩空間之像素資料。The system memory 104 can store various programs and applications, such as operating system programs that generate pixel data for processing by the GPU 112. The drawing device interface (GDI) component of the Microsoft Windows operating system (Microsoft Windows) is an example of the operating system program 130. System memory 104 can also store a graphics driver that can be associated with GPU 112. Graphics drivers such as Open GL and Microsoft DirectX can implement one or more standard application programming interfaces (APIs) that provide GPU 112 contact. By supporting appropriate API function calls, the operating system program can instruct the graphics driver to transfer pixel data to the GPU 112 via the system bus 106 and support various graphics operations of the GPU 112. Such pixel data is typically stored and represented in a binary format. The data transfer operation can use conventional direct memory access (DMA) or other modes of operation. In one embodiment, system memory 104 can store pixel data in an RGB color space.
電腦系統100另包含一個與GPU 112聯繫之本機記憶體或本機畫面緩充區(local frame buffer)114。畫面緩充區114所儲存之像素資料係提供掃描程式控制邏輯(scanout control logic)之讀取與傳送資料至顯示設備110以供顯示影像之用。在一實施例中,畫面緩充區114可將像素資料儲存於RGB色彩空間。雖然圖示之畫面緩充區114有別於且分開於系統記憶體104,但在某些實施例中(例如共用記憶體架構(Unified Memory Architecture, UMA)),畫面緩充區114與系統記憶體可共用相同的實體記憶體裝置。The computer system 100 further includes a local memory or local frame buffer 114 associated with the GPU 112. The pixel data stored in the picture buffering area 114 provides scanning and control data for reading and transmitting data to the display device 110 for displaying images. In an embodiment, the picture buffering area 114 can store pixel data in the RGB color space. Although the illustrated picture buffering area 114 is distinct from and separate from the system memory 104, in some embodiments (eg, a unified memory architecture (UMA)), the picture buffering area 114 and system memory The bodies can share the same physical memory device.
GPU 112包含各種單元,用於接受與處理經由匯流排106接收的圖形系統命令。GPU 112包含一個記憶體管理單元120及顯示管道(display pipeline)130。記憶體管理單元120可讀取來自於畫面緩充區114或記憶體104的像素資料,並依序置入該像素資料及傳送該像素資料至顯示管道130進行處理。GPU 112 includes various units for accepting and processing graphics system commands received via bus 106. The GPU 112 includes a memory management unit 120 and a display pipeline 130. The memory management unit 120 can read the pixel data from the image buffer area 114 or the memory 104, and sequentially insert the pixel data and transmit the pixel data to the display pipeline 130 for processing.
顯示管道130通常係用於影像處理。顯示管道130可包含多種處理模組,而此等模組之配置係用以轉換像素資料成為適合顯示設備顯示像素資料為影像之用。在電腦系統100於RGB色彩空間內操作的實施例當中,顯示管道130可包含一個在RGB色彩空間內做運算處理的模組142。舉例而言,在RGB色彩空間內操作的處理模組包含亮度控制、對比控制以及珈瑪校正(gamma correction)等。Display pipe 130 is typically used for image processing. The display pipeline 130 can include a plurality of processing modules, and the configuration of the modules is used to convert the pixel data into a display device for displaying pixel data as an image. In an embodiment in which computer system 100 operates in an RGB color space, display pipeline 130 can include a module 142 that performs arithmetic processing in the RGB color space. For example, processing modules operating in the RGB color space include brightness control, contrast control, and gamma correction.
在一實施例中,顯示管道130另包含一組RGB至YCbCr色彩空間轉換模組144,此模組之配置係用於將像素從RGB色彩空間轉換至YCbCr色彩空間。關於此RGB至YCbCr色彩空間轉換處理模組144的操作說明,將於下文參照第2圖及第3圖詳加解說。In one embodiment, display pipeline 130 further includes a set of RGB to YCbCr color space conversion modules 144 that are configured to convert pixels from the RGB color space to the YCbCr color space. The operation of the RGB to YCbCr color space conversion processing module 144 will be explained in detail below with reference to FIGS. 2 and 3.
一旦像素資料被轉換成YCbCr色彩空間之後,該像素資料即可於YCbCr色彩空間中做運算處理。因此,顯示管道130可另包含一彩度取樣器(chrominance decimator)145、一垂直縮放器146,以及一彩度內插器(chrominance interpolator)147。彩度取樣器145之配置係用以減低藍色差元素(Cb)之取樣率與像素資料之紅色差元素(Cr)。彩度取樣器145亦稱作彩度減數取樣器(chrominance down sampler)。此外,彩度取樣器145亦可包含熟習一般技藝者所熟知的元件。舉例而言,彩度取樣器145可包含一個配置用以降低像素資料之藍色差元素(Cb)頻寬與紅色差元素(Cr)頻寬之低通濾波器(low pass filter)。垂直縮放器146之配置係用以將儲存於線記憶體170內之像素資料做垂直縮放運算。垂直縮放器146可為熟習一般技藝者所熟知的任何一種垂直縮放器。彩度內插器147之配置係用以增加像素資料藍色差元素(Cb)與紅色差差元素之(Cr)取樣率。彩度內插器147亦可稱為彩度增數取樣器(chrominance up sampler)。彩度內插器147亦可包含熟習一般技藝者所熟知的元件。舉例而言,彩度內插器147可包含一有限脈衝響應濾波器(FIR filter)。關於彩度取樣器145、垂直縮放運算處理器146以及彩度內插器147,將於下文參照第4圖詳加解說。Once the pixel data is converted into the YCbCr color space, the pixel data can be processed in the YCbCr color space. Therefore, the display pipeline 130 may further include a chrominance decimator 145, a vertical scaler 146, and a chrominance interpolator 147. The chroma sampler 145 is configured to reduce the sampling rate of the blue difference element (Cb) and the red difference element (Cr) of the pixel data. The chroma sampler 145 is also referred to as a chrominance down sampler. In addition, chroma sampler 145 can also include components that are well known to those of ordinary skill in the art. For example, chroma sampler 145 can include a low pass filter configured to reduce the blue difference element (Cb) bandwidth of the pixel data and the red difference element (Cr) bandwidth. The vertical scaler 146 is configured to perform vertical scaling operations on pixel data stored in the line memory 170. Vertical scaler 146 can be any type of vertical scaler that is well known to those of ordinary skill in the art. The chroma interpolator 147 is configured to increase the (Cr) sampling rate of the pixel data blue difference element (Cb) and the red difference element. The chroma interpolator 147 may also be referred to as a chrominance up sampler. The chroma interpolator 147 may also include components that are well known to those of ordinary skill in the art. For example, chroma interpolator 147 can include a finite impulse response filter (FIR filter). The chroma sampler 145, the vertical scaling operation processor 146, and the chroma interpolator 147 will be explained in detail below with reference to FIG.
顯示管道130可另包含一線儲存記憶體170,該記憶體係用於聯繫垂直縮放運算處理器146。線儲存記憶體170可儲存由垂直縮放運算處理器146進行垂直縮放運算處理的像素資料。線儲存記憶體170可包含一或數個隨機存取記憶體(RAM)。雖然所示之線儲存記憶體170有別於且分開於系統記憶體104及畫面緩充區114,但在某些實施例中,線儲存記憶體170、系統記憶體104及畫面緩充區114等均共用相同的實體記憶體裝置。The display pipeline 130 can further include a line storage memory 170 for contacting the vertical scaling operation processor 146. The line storage memory 170 can store pixel data processed by the vertical scaling operation processor 146 for vertical scaling operation. Line storage memory 170 can include one or more random access memories (RAMs). Although the illustrated line storage memory 170 is distinct from and separate from the system memory 104 and the picture buffering area 114, in some embodiments, the line storage memory 170, the system memory 104, and the picture buffering area 114 are All share the same physical memory device.
根據本發明之一實施例,顯示管道130另包含一YCbCr至RGB色彩空間轉換模組148,該轉換模組係配置用以轉換YCbCr色彩空間至RGB空間。在此方法中,一旦YCbCr空間中之像素資料完成運算處理,該像素資料會被轉換回RGB空間。在一實施例中,一旦像素資料被垂直縮放運算處理完成,YCbCr至RGB色彩空間轉換模組148即會將像素資料轉換至RGB空間。關於YCbCr至RGB色彩空間轉換模組148之運算操作的詳細說明,將於下文中參照第5圖和第6圖詳加解說。According to an embodiment of the invention, the display pipeline 130 further includes a YCbCr to RGB color space conversion module 148 configured to convert the YCbCr color space to the RGB space. In this method, once the pixel data in the YCbCr space is processed, the pixel data is converted back to the RGB space. In one embodiment, once the pixel data is processed by the vertical scaling operation, the YCbCr to RGB color space conversion module 148 converts the pixel data to the RGB space. A detailed description of the arithmetic operation of the YCbCr to RGB color space conversion module 148 will be explained in detail below with reference to FIGS. 5 and 6.
雖然對顯示管道130之描述已提及包含RGB至YCbCr色彩空間轉換模組144與接在其後之YCbCr至RGB色彩空間轉換模組148,但本發明之各種實施例亦涵蓋如下實施方式,即顯示管道130在一於YCbCr色彩空間當中做運算操作之電腦系統中,具備一組YCbCr至RGB色彩空間轉換模組148與接在其後之一組RGB至YCbCr色彩空間轉換模組144。本發明之其它多種實施例亦涵蓋如下實施方式,即顯示管道130具備任意數量的RGB至YCbCr色彩空間轉換模組144以及任意數量的YCbCr至RGB色彩空間轉換模組148。Although the description of display pipeline 130 has been made to include RGB to YCbCr color space conversion module 144 followed by YCbCr to RGB color space conversion module 148, various embodiments of the present invention also encompass embodiments that The display pipeline 130 has a set of YCbCr to RGB color space conversion modules 148 and a set of RGB to YCbCr color space conversion modules 144 connected thereto in a computer system for performing arithmetic operations in the YCbCr color space. Other various embodiments of the present invention also encompass embodiments in which the display pipeline 130 is provided with any number of RGB to YCbCr color space conversion modules 144 and any number of YCbCr to RGB color space conversion modules 148.
在像素資料顯示於電視螢幕上的實施例中,顯示管道130另包含一組工業標準之RGB至YCbCr色彩空間轉換模組150,用以將像素資料轉換至YCbCr色彩空間。該工業標準之RGB至YCbCr色彩空間轉換模組150可與數位至類比轉換器(DAC)162協同運作,而使像素資料顯示於電視螢幕上。In the embodiment in which the pixel data is displayed on the television screen, the display pipeline 130 further includes a set of industry standard RGB to YCbCr color space conversion modules 150 for converting the pixel data into the YCbCr color space. The industry standard RGB to YCbCr color space conversion module 150 can operate in conjunction with a digital to analog converter (DAC) 162 to display pixel data on a television screen.
在像素資料顯示於真空映像管(CRT)顯示器的實施例中,顯示管道130另包含一組數位至類比轉換器(DAC)161轉換模組,用以在像素資料顯示於CRT顯示器之前,先將像素資料從數位格式轉換至類比格式。In an embodiment in which the pixel data is displayed on a vacuum image tube (CRT) display, the display pipeline 130 further includes a set of digital to analog converter (DAC) 161 conversion modules for displaying the pixel data before displaying the CRT display. Pixel data is converted from a digital format to an analog format.
熟習相關技藝者當能瞭解,電腦系統100僅為舉例說明,本發明實則包含各式不同的變更及修飾。舉例而言,電腦系統100可為桌上型電腦、伺服機、筆記型電腦、掌上型可攜式電腦、平板電腦、電視遊樂器主機、機上盒、個人數位手持設備(PDA)、聯繫網路設備(tethered Internet appliance)、掌上型可攜式遊戲機系統、行動電話、電腦架構下之模擬器,或其它與上述各項相似之裝置。顯示設備110可為任何以像素為基礎之顯示器,例如CRT或LCD顯示器、投影機及印表機等。在某些實施例當中,多重顯示設備(例如投影機陣列或CRT陣列等)亦可支援本發明之應用,用以分別顯示影像圖形之部份區域圖像資料。顯示管道130與中央處理單元CPU 112可分開在不同的晶片上。CPU 112或其任何一個元件均可使用一或多種可程式化處理器搭配適當的軟體、特殊應用積體電路(ASIC)、其它積體電路或任何前述搭配項目之組合來實作。參照本發明所揭露之技術內容,熟習一般技藝之人士當能瞭解,本發明可於範圍廣泛的各式系統配置下實施。It will be apparent to those skilled in the art that computer system 100 is merely illustrative, and that the present invention encompasses various modifications and variations. For example, the computer system 100 can be a desktop computer, a server, a notebook computer, a palm-sized portable computer, a tablet computer, a video game console, a set-top box, a personal digital handheld device (PDA), and a contact network. Tethered Internet appliance, handheld portable game console system, mobile phone, simulator under computer architecture, or other devices similar to the above. Display device 110 can be any pixel-based display such as a CRT or LCD display, a projector, and a printer. In some embodiments, multiple display devices (eg, projector arrays or CRT arrays, etc.) may also support the application of the present invention to separately display image data for portions of the image. Display pipe 130 and central processing unit CPU 112 can be separated on different wafers. The CPU 112, or any of its components, can be implemented using one or more programmable processors in conjunction with appropriate software, special application integrated circuits (ASICs), other integrated circuits, or any combination of the foregoing. With reference to the technical scope of the present invention, those skilled in the art will appreciate that the present invention can be implemented in a wide variety of system configurations.
第2圖係根據本發明之一實施例繪示將像素資料從RGB空間轉換至YCbCr空間的方法200之流程圖。在步驟210中,像素資料之明度色元素(Y)係由下列方程式決定:Y=R/4+G/2+B/4 (1)其中R為像素資料之紅色元素,G為像素資料之綠色元素,B為像素資料之藍色元素。像素資料之紅色元素色彩空間係數為1/4,即0.25,此係數為工業標準之色彩空間轉換處理中紅色元素色彩空間係數0.299之近似值。像素資料之綠色元素色彩空間係數為1/2,即0.5,此係數同樣為工業標準之色彩空間轉換處理中綠色元素色彩空間係數0.587之近似值。像素資料之藍色元素色彩空間係數為1/4,即0.25,此係數同樣為工業標準之色彩空間轉換處理中藍色元素色彩空間係數0.114之近似值。因此,在方程式(1)中選取用來計算明度色元素(Y)的色彩空間係數為二元格式。由於色彩空間係數是二元格式,因此明度色元素(Y)之計算可使用二進位算術運算而省去乘法運算。在此方法中,可以一種相對較為經濟的方式來決定像素資料之明度色元素(Y)。2 is a flow chart of a method 200 of converting pixel data from RGB space to YCbCr space, in accordance with an embodiment of the present invention. In step 210, the luma color element (Y) of the pixel data is determined by the following equation: Y=R/4+G/2+B/4 (1) where R is the red element of the pixel data, G is the green element of the pixel data, B The blue element for the pixel data. The red element color space coefficient of the pixel data is 1/4, which is 0.25, which is an approximation of the red element color space coefficient of 0.299 in the industry standard color space conversion process. The green element color space coefficient of the pixel data is 1/2, which is 0.5, which is also an approximation of the green element color space coefficient of 0.587 in the industry standard color space conversion process. The blue element color space coefficient of the pixel data is 1/4, which is 0.25. This coefficient is also an approximation of the blue element color space coefficient 0.114 in the industry standard color space conversion process. Therefore, the color space coefficient used to calculate the luma color element (Y) is selected in equation (1) as a binary format. Since the color space coefficient is a binary format, the calculation of the luma element (Y) can use binary arithmetic operations without the need for multiplication. In this method, the luma color element (Y) of the pixel data can be determined in a relatively economical manner.
根據本發明之一實施例,可使用第3A圖所示之邏輯圖310來決定像素資料之明度色元素(Y)。就此而言,可用下列方式來決定像素資料之明度色元素(Y):將綠色元素向左移動一位元(bit)(即等同於乘以2)、將運算結果加入紅色元素與藍色元素,然後將整個總合向右移動2個位元(即等同於將其除以4)。在一實施例中,在整個總合向右移動2個位元之前,可先執行一個數值捨入運算操作(numerical rounding operation),如此便可進一步改良邏輯圖310。該項數值捨入運算操作可利用習知技術來執行;例如,在向右移動總合之前,先在總合上加上2的移動位元數減1之乘冪(亦即2(s-1),其中s為移動位元數)。向左移動與向右移動之運算操作可依照成本與運算資源方面的考量來自由選擇實施方式。因此,利用如邏輯圖310所繪示之左、右移動運算操作方法,即可以相對較為經濟的運算處理方式來決定像素資料之明度色元素(Y)。According to an embodiment of the present invention, the logic map 310 shown in FIG. 3A can be used to determine the luma color element (Y) of the pixel data. In this regard, the luma color element (Y) of the pixel data can be determined in the following manner: the green element is shifted to the left by one bit (ie, equivalent to multiplied by 2), and the operation result is added to the red element and the blue element. And then move the entire total to the right by 2 bits (i.e. equivalent to dividing it by 4). In one embodiment, a numerical rounding operation may be performed prior to moving the entire sum to the right by 2 bits, thus further improving the logic diagram 310. The value rounding operation can be performed using conventional techniques; for example, before moving the sum to the right, the number of moving bits added by 2 is reduced by 1 (i.e., 2 (s- 1), where s is the number of moving bits). The operations of moving to the left and moving to the right can be chosen in accordance with cost and computing resources. Therefore, by using the left and right movement operation methods as illustrated by the logic diagram 310, the luma color element (Y) of the pixel data can be determined by a relatively economical operation processing method.
在步驟220中,像素資料之藍色差元素(Cb)係由下式決定:Cb=(B-Y)/2 (2)其中B為像素資料之藍色差元素,Y為步驟210所決定的像素資料之明度色彩元素。正如同在方程式(1)中所用之色彩係數,此處用來決定方程式(2)當中藍色差(Cb)之色彩係數者,係以工業標準色彩空間轉換處理的藍色差元素(Cb)色彩空間係數之近似值。在此方法中,用以決定方程式(2)之藍色差(Cb)色彩係數可以使用二元資料格式。由於色彩空間係數是二元格式,因此可以使用二進位算術運算來計算藍色差元素(Cb)而免去乘法運算。在此方法中,可以一種相對較為經濟的運算處理方式來決定像素資料之藍色差元素(Cb)。In step 220, the blue difference element (Cb) of the pixel data is determined by: Cb=(B-Y)/2 (2) where B is the blue difference element of the pixel data, and Y is the pixel determined in step 210. The lightness color element of the data. As with the color coefficient used in equation (1), the color coefficient used to determine the blue difference (Cb) in equation (2) is the blue difference element (Cb) color space processed by the industry standard color space conversion. The approximate value of the coefficient. In this method, the binary data format can be used to determine the blue difference (Cb) color coefficient of equation (2). Since the color space coefficient is a binary format, a binary arithmetic operation can be used to calculate the blue difference element (Cb) without the multiplication operation. In this method, the blue difference element (Cb) of the pixel data can be determined by a relatively economical processing method.
根據本發明之一實施例,依照如第3B圖所示之邏輯圖320,可決定像素資料之藍色差元素(Cb)。就此而言,可利用下列方式來決定像素資料之藍色差元素(Cb):從藍色差元素(Cb)中減去步驟210所決定的像素資料之明度色元素(Y),然後將總合向右移動一位元(即等同於除以2)。在一實施例中,在將整個總合向右移動1個位元之前,可先執行一個數值捨入運算操作。如上所述,由於可自由選擇向右移動的實施方式,因此利用如邏輯圖320所示之向右移動運算操作時,即可以較為經濟的運算處理方式來決定像素資料之藍色差元素(Cb)。According to an embodiment of the present invention, the blue difference element (Cb) of the pixel data can be determined in accordance with the logic diagram 320 as shown in FIG. 3B. In this regard, the blue difference element (Cb) of the pixel data can be determined by subtracting the light color element (Y) of the pixel data determined in step 210 from the blue difference element (Cb), and then summing the total Move one bit to the right (ie equal to divide by 2). In an embodiment, a value rounding operation may be performed before moving the entire sum to the right by one bit. As described above, since the embodiment of moving to the right can be freely selected, when the operation operation is moved to the right as shown in the logic diagram 320, the blue difference element (Cb) of the pixel data can be determined by a relatively economical operation processing method. .
在步驟230中,像素資料之紅色差元素(Cr)係由下式決定:Cr=(R-Y)/2 (3)其中R為像素資料之紅色差元素,Y為步驟210所決定的像素資料之明度色彩元素。在步驟210與220中,方程式(3)據以決定紅色差元素(Cr)所使用之色彩係數,亦以工業標準色彩空間轉換處理中,紅色差元素(Cr)色彩空間係數之近似值。因此所用之色彩係數同樣可以使用二元資料格式。由於色彩空間係數是二元格式,因此紅色差元素(Cr)之計算可以使用二進位算術運算,並免去乘法運算之使用。利用此方法即可以一種相對較為經濟的運算處理方式來決定像素資料之紅色差元素(Cb)。In step 230, the red difference element (Cr) of the pixel data is determined by: Cr = (R - Y) / 2 (3) where R is the red difference element of the pixel data, and Y is the pixel determined in step 210. The lightness color element of the data. In steps 210 and 220, equation (3) determines the color coefficient used by the red difference element (Cr), and also the approximate value of the red difference element (Cr) color space coefficient in the industry standard color space conversion process. Therefore, the color coefficient used can also use the binary data format. Since the color space coefficient is a binary format, the calculation of the red difference element (Cr) can use binary arithmetic operations and eliminates the use of multiplication operations. Using this method, a relatively economical processing method can be used to determine the red difference element (Cb) of the pixel data.
根據本發明之一實施例,依照第3C圖所示之邏輯圖330即可決定像素資料之紅色差元素(Cr)。如第3C圖所示,用下列方式決定像素資料之紅色差元素(Cr):從紅色差元素(Cr)中減去像素資料之明度色元素(Y),並將總合向右移動一位元(即等同於將其除以2)。在一實施例中,在整個總合向右移動2個位元之前,可先執行一個數值捨入運算操作。如上所述,由於可自由選擇向右移動的實施方式,因此利用如邏輯圖330所示之向右移動運算操作時,即可以較為經濟的運算處理方式來決定像素資料之紅色差元素(Cr)。According to an embodiment of the present invention, the red difference element (Cr) of the pixel data can be determined according to the logic diagram 330 shown in FIG. 3C. As shown in Fig. 3C, the red difference element (Cr) of the pixel data is determined in the following manner: the bright color element (Y) of the pixel data is subtracted from the red difference element (Cr), and the sum is shifted to the right by one bit. Yuan (that is equivalent to dividing it by 2). In an embodiment, a numerical rounding operation may be performed before the entire sum is shifted to the right by 2 bits. As described above, since the embodiment of moving to the right can be freely selected, when the operation operation is moved to the right as shown by the logic diagram 330, the red difference element (Cr) of the pixel data can be determined by a more economical operation processing method. .
第4圖係根據本發明之一實施例繪示垂直縮放運算處理方法400之流程圖。在步驟410中,彩度取樣器145可以將藍色差元素(Cb)與紅色差元素(Cr)之取樣率減半。在一實施例中,彩度取樣器145可將取樣率由4:4:4之取樣率降低至4:2:2之取樣率。在使用此方法時,可減低三分之一的記憶體儲存像素資料之需求,從而降低線記憶體170之大小需求。雖然以上係以取樣率已減半為例,但本發明之其它各式實施例亦涵蓋任何取樣率的降低倍數。FIG. 4 is a flow chart showing a vertical scaling operation processing method 400 according to an embodiment of the present invention. In step 410, the chroma sampler 145 may halve the sampling rate of the blue difference element (Cb) and the red difference element (Cr). In one embodiment, the chroma sampler 145 can reduce the sampling rate from a sampling rate of 4:4:4 to a sampling rate of 4:2:2. When using this method, one third of the memory can be reduced in the need to store pixel data, thereby reducing the size requirement of the line memory 170. Although the above is exemplified by a halving of the sampling rate, other various embodiments of the present invention also cover any reduction in sampling rate.
一旦像素資料之藍色差元素(Cb)與紅色差元素(Cr)之取樣率已減半,像素資料即會儲存於線記憶體170之中(步驟420)。在步驟430中,垂直縮放運算處理器146會針對儲存於線記憶體170中的像素資料進行垂直縮放處理。在此可利用熟習一般技藝之人士所知的任何一種垂直縮放運送技術來處理像素資料。舉例而言,利用有限脈衝響應內插器(Finite Impulse Response, FIR)即可藉著內插於先前儲存的視訊線條之間而產生新的輸出視訊線條。此外,藉著改變相對於輸入線條的內插位置,即可以組成一個新的視訊影像,而相較於原輸入影像,此視訊影像具有不同的線條數目。Once the sampling rate of the blue difference element (Cb) and the red difference element (Cr) of the pixel data has been halved, the pixel data is stored in the line memory 170 (step 420). In step 430, the vertical scaling operation processor 146 performs vertical scaling processing on the pixel data stored in the line memory 170. Pixel data can be processed herein using any of the vertical zoom transport techniques known to those skilled in the art. For example, a finite impulse response interpolator (Finite Impulse Response, FIR) can be used to generate a new output video line by interpolating between previously stored video lines. In addition, by changing the interpolation position relative to the input line, a new video image can be formed, which has a different number of lines than the original input image.
當像素資料經垂直縮放運算處理過後,彩度內插器147會使藍色差元素(Cb)像素資料與紅色差元素(Cr)像素資料之取樣率倍增。在一實施例中,彩度內插器147將取樣率由4:2:2之取樣率增加至4:4:4之取樣率。在此方法中,彩度內插器147可儲存藍色差元素(Cb)像素資料與紅色差元素(Cr)像素資料之原始取樣率。在一實施例中,方法400可以使用程式加以控制,即當被垂直縮放運算處理器146中的線條數目所分割的線記憶體170容量小於線條長度時,方法400才接受呼叫以提供協助。After the pixel data is processed by the vertical scaling operation, the chroma interpolator 147 multiplies the sampling rate of the blue difference element (Cb) pixel data and the red difference element (Cr) pixel data. In one embodiment, the chroma interpolator 147 increases the sampling rate from a sampling rate of 4:2:2 to a sampling rate of 4:4:4. In this method, the chroma interpolator 147 can store the raw sampling rate of the blue difference element (Cb) pixel data and the red difference element (Cr) pixel data. In one embodiment, method 400 can be controlled using a program that accepts a call to provide assistance when the amount of line memory 170 divided by the number of lines in vertical scaling operation processor 146 is less than the line length.
當像素資料根據方法400經過垂直縮放處理後,該像素資料即由YCbCr空間轉換至RGB空間。為達此目的,第5圖根據本發明之實施例繪示中將像素資料由YCbCr空間轉換至RGB空間之方法500的流程圖。在步驟510中,像素資料紅色元素(R)係由下式決定:R=Y+2Cr (4)其中Y為像素資料之明度色元素,Cr為像素資料之紅色差元素(Cr)。如第2圖所描述之步驟,方程式(4)中據以決定紅色元素(R)所使用之色彩空間係數亦為一工業標準之色彩係數,故此等色彩係數亦可使用二元格式。由於色彩空間係數係二元格式,因此紅色元素(R)之計算可使用二進位算術運算而免去乘法運算。使用此方法即可以較為經濟的方式決定像素資料之紅色元素(R)。When the pixel data is vertically scaled according to the method 400, the pixel data is converted from the YCbCr space to the RGB space. To this end, FIG. 5 is a flow chart showing a method 500 of converting pixel data from YCbCr space to RGB space in accordance with an embodiment of the present invention. In step 510, the pixel material red element (R) is determined by the following equation: R = Y + 2Cr (4) where Y is the lunar color element of the pixel data and Cr is the red difference element (Cr) of the pixel data. As shown in Fig. 2, the color space coefficient used in equation (4) to determine the red element (R) is also an industry standard color coefficient, so these color coefficients can also use the binary format. Since the color space coefficient is a binary format, the calculation of the red element (R) can use binary arithmetic operations without the multiplication operation. Using this method, the red element (R) of the pixel data can be determined in a more economical manner.
根據本發明之一實施例,像素資料之紅色元素(R)可根據第6A圖之邏輯圖610所描繪的方式來決定。現請參照第6A圖,像素資料之紅色元素(R)可用下列方式決定:將像素資料之紅色差元素(Cr)向左移動一位元(即等同於將其乘以2),然後將結果加入像素資料之明度色元素(Y)。如上所述,由於可自由選擇向左移動的實施方式,因此利用如邏輯圖610所示之向左移動運算操作時,即可以較為經濟的運算處理方式來決定像素資料之紅色元素(R)。In accordance with an embodiment of the present invention, the red element (R) of the pixel data can be determined in accordance with the manner depicted by logic diagram 610 of FIG. 6A. Referring now to Figure 6A, the red element (R) of the pixel data can be determined by moving the red difference element (Cr) of the pixel data to the left by one bit (i.e. equivalent to multiplying it by 2), and then the result Add the luma element (Y) of the pixel data. As described above, since the embodiment of moving to the left can be freely selected, when the operation operation is shifted to the left as shown by the logic diagram 610, the red element (R) of the pixel data can be determined by a more economical arithmetic processing method.
在步驟520中,像素資料之綠色元素(G)係由下式決定:G=Y-Cb-Cr (5)其中Y為像素資料之明度色彩元素,Cb為像素資料之藍色差元素,Cr為像素資料之紅色差元素。在步驟510中,方程式(5)據以決定綠色元素(G)所使用之色彩空間係數,亦為工業標準色彩係數之近似值,因此所用之色彩係數同樣可以使用二元資料格式。由於色彩空間係數是二元格式,因此綠色元素(G)之計算可以使用二進位算術運算而免去乘法運算。利用此方法即可以一種較為經濟的方式來決定像素資料之綠色元素(G)。In step 520, the green element (G) of the pixel data is determined by: G=Y-Cb-Cr (5) where Y is the luma color element of the pixel data, Cb is the blue difference element of the pixel data, and Cr is The red difference element of the pixel data. In step 510, equation (5) determines the color space coefficient used by the green element (G), which is also an approximation of the industry standard color coefficient, so the color coefficient used can also use the binary data format. Since the color space coefficient is a binary format, the calculation of the green element (G) can use binary arithmetic operations without the multiplication operation. Using this method, the green element (G) of the pixel data can be determined in a more economical way.
根據本發明之一實施例,依照第6B圖之邏輯圖620所描繪的方式,可決定像素資料之綠色元素(G)。現請參照第6B圖,像素資料之綠色元素(G)可用下列方式決定:從像素資料之明度色元素(Y)減去像素資料之藍色差元素(Cb),然後再由結果中減去像素資料之紅色差元素(Cr)。In accordance with an embodiment of the present invention, the green element (G) of the pixel data can be determined in the manner depicted by logic diagram 620 of FIG. 6B. Referring now to Figure 6B, the green element (G) of the pixel data can be determined by subtracting the blue difference element (Cb) of the pixel data from the luma element (Y) of the pixel data, and then subtracting the pixel from the result. The red difference element (Cr) of the data.
在步驟530中,像素資料之藍色元素(B)係由下式決定:B=Y+2Cb (6)其中Y為像素資料之明度色彩元素,Cb為像素資料之藍色差元素。在步驟510與520中,方程式(6)據以決定藍色元素(B)所使用之色彩空間係數亦使用二元資料格式。因此,藍色元素(B)之計算可以使用二進位算術運算而免去乘法運算。如此即可使用一種較為經濟的方式來決定像素資料之藍色元素(B)。In step 530, the blue element (B) of the pixel data is determined by: B = Y + 2Cb (6) where Y is the luma color element of the pixel data, and Cb is the blue difference element of the pixel data. In steps 510 and 520, the color space coefficient used by equation (6) to determine the blue element (B) also uses a binary data format. Therefore, the calculation of the blue element (B) can use binary arithmetic operations to eliminate the multiplication operation. This allows a more economical way to determine the blue element (B) of the pixel data.
根據本發明之一實施例,像素資料藍色元素(B)可根據第6C圖之邏輯圖630所描繪的方式來決定。現請參照第6C圖,像素資料之藍色元素(B)可用下列方式決定:將像素資料藍色差元素(Cb)向左移動一位元(即等同於將其乘以2),然後將其結果加入像素資料之明度色元素(Y)。如上所述,由於可自由選擇向左移動的實施方式,因此利用如邏輯圖630所示之向左移動運算操作時,即可以較為經濟的運算處理方式來決定像素資料之藍色元素(B)。In accordance with an embodiment of the present invention, the pixel material blue element (B) may be determined in accordance with the manner depicted in logic diagram 630 of Figure 6C. Referring now to Figure 6C, the blue element (B) of the pixel data can be determined in the following manner: the pixel data blue difference element (Cb) is shifted to the left by one bit (i.e. equivalent to multiplying it by 2), and then The result is the addition of the luma element (Y) of the pixel data. As described above, since the embodiment of moving to the left can be freely selected, when the operation operation is moved to the left as shown in the logic diagram 630, the blue element of the pixel data can be determined by the more economical processing method (B). .
雖然以上的說明均係針對本發明之各種實施例,但在本發明之基本範圍內可設計其它實施例,而本發明之範圍應由以下的申請專利範圍界定。While the above description is directed to the various embodiments of the present invention, other embodiments may be devised within the scope of the invention, and the scope of the invention should be defined by the following claims.
100...電腦系統100. . . computer system
102...中央處理單元102. . . Central processing unit
104...系統(主)記憶體104. . . System (main) memory
106...匯流排106. . . Busbar
108...使用者輸入裝置108. . . User input device
110...顯示裝置110. . . Display device
112...圖形處理單元112. . . Graphics processing unit
114...畫面緩充區114. . . Picture buffer area
120...記憶體管理單元120. . . Memory management unit
128...儲存裝置128. . . Storage device
130...作業系統程式/顯示管道130. . . Operating system program / display pipeline
142...模組142. . . Module
144...色彩空間轉換模組144. . . Color space conversion module
145...彩度取樣器145. . . Chroma sampler
146...垂直縮放器146. . . Vertical scaler
147...彩度內插器147. . . Chroma interpolator
148...色彩空間轉換模組148. . . Color space conversion module
150...色彩空間轉換模組150. . . Color space conversion module
161...數位至類比轉換器161. . . Digital to analog converter
162...數位至類比轉換器162. . . Digital to analog converter
170...線記憶體170. . . Line memory
以上已簡要說明本發明之技術特點。關於本發明之更具體的說明可參照實施例,其中某些實施例亦繪示於所附圖式,俾能充分瞭解上述本發明之技術特點。然而,需注意的是,由於本發明存有其它等效實施例,所附圖式僅為本發明之典型實施例,因而不應用於限定本發明之範圍。The technical features of the present invention have been briefly described above. For a more specific description of the present invention, reference may be made to the embodiments, and some of the embodiments are illustrated in the drawings, and the technical features of the invention described above are fully understood. However, it is to be understood that the invention is not limited to the scope of the invention.
第1圖係根據本發明之一實施例繪示電腦系統的簡化方塊圖。1 is a simplified block diagram of a computer system in accordance with an embodiment of the present invention.
第2圖係根據本發明之實施例繪示將像素資料從RGB空間轉換至YCbCr空間的方法流程圖。2 is a flow chart showing a method of converting pixel data from RGB space to YCbCr space according to an embodiment of the invention.
第3A圖係根據本發明之實施例繪示決定像素資料之明度色彩元素(Y)的邏輯圖。3A is a logic diagram showing a brightness color element (Y) that determines pixel data in accordance with an embodiment of the present invention.
第3B圖係根據本發明之實施例繪示決定像素資料之藍色差元素(Cb)的邏輯圖。FIG. 3B illustrates a logic diagram of a blue difference element (Cb) that determines pixel data in accordance with an embodiment of the present invention.
第3C圖係根據本發明之實施例繪示決定像素資料之紅色差元素(Cr)的邏輯圖。FIG. 3C is a logic diagram illustrating a red difference element (Cr) that determines pixel data in accordance with an embodiment of the present invention.
第4圖係根據本發明之實施例繪示像素資料垂直縮放處理方法的流程圖。FIG. 4 is a flow chart showing a method for processing vertical scaling of pixel data according to an embodiment of the invention.
第5圖係根據本發明之實施例繪示將像素資料從YCbCr空間轉換至RGB空間的方法流程圖。FIG. 5 is a flow chart showing a method of converting pixel data from a YCbCr space to an RGB space according to an embodiment of the present invention.
第6A圖係根據本發明之實施例繪示決定像素資料之紅色元素(R)的邏輯圖。Figure 6A is a logic diagram depicting a red element (R) that determines pixel data in accordance with an embodiment of the present invention.
第6B圖係根據本發明之實施例繪示決定像素資料之綠色元素(G)的邏輯圖。FIG. 6B illustrates a logic diagram of a green element (G) that determines pixel data in accordance with an embodiment of the present invention.
第6C圖係根據本發明之實施例繪示決定像素資料之藍色元素(B)的邏輯圖。FIG. 6C is a logic diagram illustrating a blue element (B) that determines pixel data in accordance with an embodiment of the present invention.
200...方法200. . . method
210...步驟210. . . step
220...步驟220. . . step
230...步驟230. . . step
Claims (21)
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| US83747404A | 2004-04-30 | 2004-04-30 |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| TW200538933A TW200538933A (en) | 2005-12-01 |
| TWI413900B true TWI413900B (en) | 2013-11-01 |
Family
ID=34967112
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| TW94113514A TWI413900B (en) | 2004-04-30 | 2005-04-27 | Method and device for vertically scaling pixel data |
Country Status (5)
| Country | Link |
|---|---|
| EP (1) | EP1741282A1 (en) |
| JP (2) | JP2007535869A (en) |
| CN (1) | CN100521728C (en) |
| TW (1) | TWI413900B (en) |
| WO (1) | WO2005112425A1 (en) |
Families Citing this family (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2007251723A (en) * | 2006-03-17 | 2007-09-27 | Sanyo Electric Co Ltd | Projection type video display apparatus |
| US8107724B2 (en) | 2008-08-02 | 2012-01-31 | Vantrix Corporation | Method and system for predictive scaling of colour mapped images |
| US9350899B2 (en) * | 2012-09-14 | 2016-05-24 | Qualcomm Incorporated | Methods and device for efficient resampling and resizing of digital images |
Citations (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US5914753A (en) * | 1996-11-08 | 1999-06-22 | Chrontel, Inc. | Apparatus and method to convert computer graphics signals to television video signals with vertical and horizontal scaling requiring no frame buffers |
| EP0969674A2 (en) * | 1998-07-03 | 2000-01-05 | Canon Kabushiki Kaisha | Image sensing device processing image signals in blocks |
| US6348950B1 (en) * | 1998-08-24 | 2002-02-19 | Sony Corporation | Video signal processing circuit and image pickup apparatus using the circuit |
Family Cites Families (18)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US5613084A (en) * | 1994-10-04 | 1997-03-18 | Panasonic Technologies, Inc. | Interpolation filter selection circuit for sample rate conversion using phase quantization |
| JP3188135B2 (en) * | 1995-05-19 | 2001-07-16 | 三洋電機株式会社 | Video signal processing circuit |
| JPH10136316A (en) * | 1996-10-25 | 1998-05-22 | Fuji Film Micro Device Kk | Image data processing unit and image data processing method |
| JPH10191392A (en) * | 1996-10-29 | 1998-07-21 | Sony Corp | Image signal processing device |
| CN1066898C (en) * | 1997-03-04 | 2001-06-06 | 华邦电子股份有限公司 | Method and device for realizing color space conversion by matrix operation |
| JPH10285611A (en) * | 1997-03-31 | 1998-10-23 | Sony Corp | Image data processor and method therefor |
| US6556311B1 (en) * | 1997-05-28 | 2003-04-29 | Hewlett-Packard Development Co., L.P. | Luminance-based color resolution enhancement |
| JP4006908B2 (en) * | 1999-11-26 | 2007-11-14 | セイコーエプソン株式会社 | Single plate solid-state image sensor color interpolation method and recording medium recording single-chip solid-state image sensor color interpolation processing program |
| JP2002141805A (en) * | 2000-03-30 | 2002-05-17 | Matsushita Electric Ind Co Ltd | Encoder and communication device |
| GB2369924A (en) * | 2000-12-07 | 2002-06-12 | Sony Uk Ltd | Selecting representative video images using image properties |
| WO2002049345A1 (en) * | 2000-12-11 | 2002-06-20 | Koninklijke Philips Electronics N.V. | Motion compensated de-interlacing in video signal processing |
| JP2003005723A (en) * | 2001-06-22 | 2003-01-08 | Hitachi Ltd | Liquid crystal display and electronic equipment |
| JP4267848B2 (en) * | 2001-09-25 | 2009-05-27 | 株式会社リコー | Image encoding device, image decoding device, image encoding method, and image decoding method |
| JP2003244714A (en) * | 2002-02-19 | 2003-08-29 | Mega Chips Corp | Image processing apparatus and digital still camera |
| JP2003304505A (en) * | 2002-04-11 | 2003-10-24 | Matsushita Electric Ind Co Ltd | Video signal output device and video signal output method |
| JP2003348446A (en) * | 2002-05-27 | 2003-12-05 | Matsushita Electric Ind Co Ltd | Video signal processing apparatus |
| JP4798747B2 (en) * | 2004-01-26 | 2011-10-19 | シャープ株式会社 | Character display device, character display method, and recording medium |
| US7050065B1 (en) * | 2004-04-15 | 2006-05-23 | Nvidia Corporation | Minimalist color space converters for optimizing image processing operations |
-
2005
- 2005-04-25 WO PCT/US2005/014175 patent/WO2005112425A1/en not_active Ceased
- 2005-04-25 CN CNB2005800187271A patent/CN100521728C/en not_active Expired - Fee Related
- 2005-04-25 JP JP2007510867A patent/JP2007535869A/en active Pending
- 2005-04-25 EP EP05740206A patent/EP1741282A1/en not_active Ceased
- 2005-04-27 TW TW94113514A patent/TWI413900B/en not_active IP Right Cessation
-
2009
- 2009-06-08 JP JP2009137589A patent/JP5106483B2/en not_active Expired - Lifetime
Patent Citations (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US5914753A (en) * | 1996-11-08 | 1999-06-22 | Chrontel, Inc. | Apparatus and method to convert computer graphics signals to television video signals with vertical and horizontal scaling requiring no frame buffers |
| EP0969674A2 (en) * | 1998-07-03 | 2000-01-05 | Canon Kabushiki Kaisha | Image sensing device processing image signals in blocks |
| US6348950B1 (en) * | 1998-08-24 | 2002-02-19 | Sony Corporation | Video signal processing circuit and image pickup apparatus using the circuit |
Also Published As
| Publication number | Publication date |
|---|---|
| JP5106483B2 (en) | 2012-12-26 |
| JP2007535869A (en) | 2007-12-06 |
| JP2009282527A (en) | 2009-12-03 |
| EP1741282A1 (en) | 2007-01-10 |
| CN1965568A (en) | 2007-05-16 |
| CN100521728C (en) | 2009-07-29 |
| TW200538933A (en) | 2005-12-01 |
| WO2005112425A1 (en) | 2005-11-24 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US6339434B1 (en) | Image scaling circuit for fixed pixed resolution display | |
| US7199837B2 (en) | System for improved ratiometric expansion and method thereof | |
| KR100547812B1 (en) | Apparatus and method for converting color model of pixel data using color reference table | |
| US8723891B2 (en) | System and method for efficiently processing digital video | |
| US6903733B1 (en) | Ultra-high bandwidth multi-port memory system for image scaling applications | |
| US7116841B2 (en) | Apparatus, method, and product for downscaling an image | |
| US20080284793A1 (en) | Hue and saturation control module | |
| TWI550557B (en) | Video data compression format | |
| US7050065B1 (en) | Minimalist color space converters for optimizing image processing operations | |
| US6317159B1 (en) | Image processor for conversion of scanning lines and conversion method of the same | |
| US20160307540A1 (en) | Linear scaling in a display pipeline | |
| JP4989470B2 (en) | Image processing using linear light intensity values and other image processing improvements | |
| CN101977329B (en) | Image processing using linear light values and other image processing improvements | |
| US6587117B1 (en) | Apparatus and method for adaptive transformation of fractional pixel coordinates for calculating color values | |
| US6989837B2 (en) | System and method for processing memory with YCbCr 4:2:0 planar video data format | |
| JP5106483B2 (en) | Method and apparatus for vertically scaling pixel data | |
| JP2010134962A (en) | Facilitating interaction between video renderers and graphics device drivers | |
| JPH09101771A (en) | Image processing device | |
| US9412147B2 (en) | Display pipe line buffer sharing | |
| JP2006013701A (en) | Display controller, electronic device, and image data supply method | |
| JP2004361497A (en) | Image display device, image display method, and image display program | |
| CN112887686A (en) | Image acquisition device and method | |
| JP2008116812A (en) | Display device, projector and display method | |
| US9747658B2 (en) | Arbitration method for multi-request display pipeline | |
| CN116228525A (en) | Image processing method, device, electronic device and readable storage medium |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| MK4A | Expiration of patent term of an invention patent |