TWI539438B - Image generator and display system and related image generation method - Google Patents
Image generator and display system and related image generation method Download PDFInfo
- Publication number
- TWI539438B TWI539438B TW103102021A TW103102021A TWI539438B TW I539438 B TWI539438 B TW I539438B TW 103102021 A TW103102021 A TW 103102021A TW 103102021 A TW103102021 A TW 103102021A TW I539438 B TWI539438 B TW I539438B
- Authority
- TW
- Taiwan
- Prior art keywords
- image
- picture
- controller
- compressed
- generate
- Prior art date
Links
Landscapes
- Compression Or Coding Systems Of Tv Signals (AREA)
- Control Of Indicators Other Than Cathode Ray Tubes (AREA)
Description
本發明係關於顯示技術,尤指一種具備自我更新功能,並可評估輸出圖像之品質的時序控制器、顯示系統以及相關圖像產生方法。 The present invention relates to display technology, and more particularly to a timing controller, a display system, and a related image generating method that have a self-updating function and can evaluate the quality of an output image.
電腦系統透過與其相連的顯示系統,呈現使用者操作介面,供使用者對電腦系統進行控制與運用,並且,顯示系統可即時地將電腦系統目前操作的結果,呈現給使用者。一般來說,電腦系統與顯示系統的關係可如第1圖所示的架構圖。其中,主機10係為一電腦系統,並且包含有中央處理器11、記憶體12,以及其他可能的子系統(如音訊、輸出輸入、網路等)。中央處理器11執行由硬碟或快閃記憶體載入至記憶體12的作業系統或程式,並將所輸出的畫面交由畫面處理器13進行運算。最後,畫面處理器13將生成的圖像,傳送給顯示系統20進行顯示。 The computer system presents a user operation interface through the display system connected thereto for the user to control and use the computer system, and the display system can immediately present the result of the current operation of the computer system to the user. In general, the relationship between the computer system and the display system can be as shown in the diagram of Figure 1. The host 10 is a computer system and includes a central processing unit 11, a memory 12, and other possible subsystems (such as audio, output, network, etc.). The central processing unit 11 executes a work system or program loaded from the hard disk or the flash memory to the memory 12, and subjects the outputted picture to the picture processor 13 for calculation. Finally, the picture processor 13 transmits the generated image to the display system 20 for display.
顯示系統20包含有時序控制器21,時序控制器21在接收到畫面處理器13產生的圖像後,在適當的時序將圖像的畫素資料傳送給顯示面板23。顯示面板23內部的驅動電路會基於畫素資料,進行畫面的更新。在某些設計之中,為了降低主機10的功耗,畫面處理器13會偵測其所產生的圖像是否有所變化。一旦畫面處理器13發現後續所產生的圖像並無變化時,畫面處理器13可以關閉與顯示系統20之間的部分傳輸電路,並下達指令給顯示系統20,要求顯示系統20進行自我更新。當顯示系統20收到自我更新的指令時,時序控制器21便將當前接收到的圖像儲存至畫面緩衝器22。並且在 下一個畫面更新時序時,從畫面緩衝器22讀取所儲存的圖像,之後再將畫素資料傳送給顯示面板23,顯示面板23的驅動電路再進行對應的驅動來更新顯示面板23的畫面。然而,這種自我更新的技術需要透過時序控制器21頻繁地存取畫面緩衝器22,從而造成顯示系統20的額外功耗。此外,畫面緩衝器22也必須具備足夠的容量才能對圖像進行暫存。因此,這樣的技術顯然有許多需要改善的地方。 The display system 20 includes a timing controller 21 that transmits the image data of the image to the display panel 23 at an appropriate timing after receiving the image generated by the screen processor 13. The drive circuit inside the display panel 23 updates the screen based on the pixel data. In some designs, in order to reduce the power consumption of the host 10, the picture processor 13 detects whether the image produced by it changes. Once the picture processor 13 finds that there is no change in the subsequent generated image, the picture processor 13 can close the partial transmission circuit with the display system 20 and issue an instruction to the display system 20 requesting the display system 20 to self-update. When the display system 20 receives an instruction to self-update, the timing controller 21 stores the currently received image to the picture buffer 22. And at At the next screen update timing, the stored image is read from the screen buffer 22, and then the pixel data is transferred to the display panel 23, and the drive circuit of the display panel 23 is further driven to update the screen of the display panel 23. . However, this self-renewing technique requires frequent access to the picture buffer 22 through the timing controller 21, resulting in additional power consumption of the display system 20. In addition, the picture buffer 22 must also have sufficient capacity to temporarily store the image. Therefore, there is clearly a lot of room for improvement in such a technology.
有鑑於此,本發明提供一種可實現自我更新技術的時序控制器、顯示系統以及相關的圖像產生方法。其中,本發明透過圖像編碼技術,在圖像儲存於畫面緩衝器之前,先進行壓縮,後續再由畫面緩衝器讀取出來,進行解壓縮,並輸出給顯示面板,完成自我更新。如此一來,本發明可採用小容量的畫面緩衝器來進行圖像的暫存。而且,由於存取畫面緩衝器所需的功耗與畫面緩衝器的容量大小有關,因此本發明採用小容量的畫面緩衝器的架構亦可進一步的降低顯示系統自我更新時的功耗。另外,由於圖像壓縮會造成原始圖像的部分資訊流失,因此,本發明在壓縮圖像的同時,一併評估壓縮後之圖像的圖像品質,並且在壓縮圖像的圖像品質明顯低於原始圖像時,告知使用者,讓使用者決定是否停止顯示系統對輸入圖像的進行壓縮處理,進而維持顯示系統的顯示品質。 In view of this, the present invention provides a timing controller, a display system, and a related image generating method that can implement self-renewal techniques. The image encoding technology of the present invention compresses the image before it is stored in the picture buffer, and then reads it out by the picture buffer, decompresses it, and outputs it to the display panel to complete self-updating. In this way, the present invention can employ a small-capacity picture buffer for temporary storage of images. Moreover, since the power consumption required to access the picture buffer is related to the size of the picture buffer, the architecture of the present invention using a small-capacity picture buffer can further reduce the power consumption of the display system when updating itself. In addition, since image compression causes partial loss of information of the original image, the present invention simultaneously evaluates the image quality of the compressed image while compressing the image, and the image quality of the compressed image is conspicuous. When the image is lower than the original image, the user is informed to let the user decide whether to stop the display system from compressing the input image, thereby maintaining the display quality of the display system.
本發明之一實施例提供一種時序控制器,包含有一畫面控制器以及一狀態控制器。畫面控制器用以產生一輸出圖像。狀態控制器用以控制該畫面控制器之運作。該畫面控制器包含:一編碼器、一解碼器、一畫面混合器以及一評估模組。該編碼器用以接收一第一輸入圖像,並將該第一輸入圖像壓縮後產生一第一壓縮圖像。該解碼器耦接於該編碼器,並用以對該第一壓縮圖像進行解壓縮,以產生一第一解壓縮圖像。該畫面混合器耦接於該解 碼器,並用以根據該第一解壓縮圖像以及對應於該第一壓縮圖像之一圖像品質資訊來產生該輸出圖像。該評估模組用以產生該圖像品質資訊。 An embodiment of the present invention provides a timing controller including a picture controller and a state controller. The picture controller is used to generate an output image. The state controller is used to control the operation of the picture controller. The picture controller comprises: an encoder, a decoder, a picture mixer and an evaluation module. The encoder is configured to receive a first input image and compress the first input image to generate a first compressed image. The decoder is coupled to the encoder and configured to decompress the first compressed image to generate a first decompressed image. The picture mixer is coupled to the solution And a coder for generating the output image according to the first decompressed image and image quality information corresponding to the first compressed image. The evaluation module is configured to generate the image quality information.
本發明之一實施例提供一種顯示系統。該顯示系統包含一時序控制器、一顯示面板以及一儲存元件。該時序控制器包含有一畫面控制器以及一狀態控制器。畫面控制器用以產生一輸出圖像。狀態控制器用以控制該畫面控制器之運作。該畫面控制器包含:一編碼器、一解碼器、一畫面混合器以及一評估模組。該編碼器用以接收一第一輸入圖像,並將該第一輸入圖像壓縮後產生一第一壓縮圖像。該解碼器耦接於該編碼器,並用以對該第一壓縮圖像進行解壓縮,以產生一第一解壓縮圖像。該畫面混合器耦接於該解碼器,並用以根據該第一解壓縮圖像以及對應於該第一壓縮圖像之一圖像品質資訊來產生該輸出圖像。該評估模組用以產生該圖像品質資訊。該顯示面板耦接於該時序控制器,並用以顯示該畫面控制器所產生之該輸出圖像。該儲存元件耦接於該時序控制器,用以儲存該編碼器所產生之該第一壓縮圖像。 An embodiment of the invention provides a display system. The display system includes a timing controller, a display panel, and a storage component. The timing controller includes a picture controller and a state controller. The picture controller is used to generate an output image. The state controller is used to control the operation of the picture controller. The picture controller comprises: an encoder, a decoder, a picture mixer and an evaluation module. The encoder is configured to receive a first input image and compress the first input image to generate a first compressed image. The decoder is coupled to the encoder and configured to decompress the first compressed image to generate a first decompressed image. The picture mixer is coupled to the decoder and configured to generate the output image according to the first decompressed image and image quality information corresponding to the first compressed image. The evaluation module is configured to generate the image quality information. The display panel is coupled to the timing controller and configured to display the output image generated by the picture controller. The storage component is coupled to the timing controller for storing the first compressed image generated by the encoder.
本發明之一實施例提供一種圖像產生方法,該圖像產生方法用以產生一輸出圖像,並且包含:對一第一輸入圖像壓縮後產生一第一壓縮圖像;對該第一壓縮圖像進行解壓縮後產生一第一解壓縮圖像;以及根據該第一解壓縮圖像以及對應於該第一壓縮圖像之一圖像品質資訊來產生該輸出圖像。 An embodiment of the present invention provides an image generating method for generating an output image, and comprising: compressing a first input image to generate a first compressed image; Decompressing the compressed image to generate a first decompressed image; and generating the output image according to the first decompressed image and image quality information corresponding to the first compressed image.
10、40‧‧‧主機 10, 40‧‧‧ host
11、410‧‧‧中央處理器 11, 410‧‧‧ central processor
12、420‧‧‧記憶體 12, 420‧‧‧ memory
13、430‧‧‧畫面處理器 13, 430‧‧‧ picture processor
20、30‧‧‧顯示系統 20, 30‧‧‧ display system
21、200‧‧‧時序控制器 21, 200‧‧‧ timing controller
22、250‧‧‧畫面緩衝器 22, 250‧‧‧ Picture buffer
280‧‧‧儲存元件 280‧‧‧Storage components
23、260‧‧‧顯示面板 23, 260‧‧‧ display panel
205‧‧‧畫面控制器 205‧‧‧ Picture Controller
210‧‧‧編碼器 210‧‧‧Encoder
215、255‧‧‧多工器 215, 255‧‧‧ multiplexers
220‧‧‧解碼器 220‧‧‧Decoder
230‧‧‧評估模組 230‧‧‧Evaluation module
240‧‧‧畫面混合器 240‧‧‧ Picture Mixer
270‧‧‧接收電路 270‧‧‧ receiving circuit
290‧‧‧狀態控制器 290‧‧‧State Controller
432‧‧‧傳送電路 432‧‧‧Transmission circuit
440‧‧‧介面 440‧‧" interface
第1圖係繪示習知電腦系統與顯示系統之間的關係。 Figure 1 is a diagram showing the relationship between a conventional computer system and a display system.
第2圖係本發明之顯示系統與時序控制器之實施例的架構圖。 2 is an architectural diagram of an embodiment of a display system and a timing controller of the present invention.
第3圖與第4圖分別繪示本發明時序控制器所產生之提示訊息的範例。 3 and 4 respectively show examples of prompt messages generated by the timing controller of the present invention.
第5圖係本發明用以控制顯示系統進行自我更新的詳細流程圖。 Figure 5 is a detailed flow chart of the present invention for controlling the display system to self-update.
第6圖係本發明圖像產生方法之一實施例的廣義流程圖。 Figure 6 is a generalized flow chart of one embodiment of the image generating method of the present invention.
在說明書及後續的申請專利範圍當中使用了某些詞彙來指稱特定的元件。所屬領域中具有通常知識者應可理解,硬體製造商可能會用不同的名詞來稱呼同一個元件。本說明書及後續的申請專利範圍並不以名稱的差異來作為區分元件的方式,而是以元件在功能上的差異來作為區分的準則。在通篇說明書及後續的請求項當中所提及的「包含」係為一開放式的用語,故應解釋成「包含但不限定於」。此外,「耦接」一詞在此係包含任何直接及間接的電氣連接手段。因此,若文中描述一第一裝置耦接於一第二裝置,則代表該第一裝置可直接電氣連接於該第二裝置,或透過其他裝置或連接手段間接地電氣連接至該第二裝置。 Certain terms are used throughout the description and following claims to refer to particular elements. Those of ordinary skill in the art should understand that a hardware manufacturer may refer to the same component by a different noun. The scope of this specification and the subsequent patent application do not use the difference of the names as the means for distinguishing the elements, but the difference in function of the elements as the criterion for distinguishing. The term "including" as used throughout the specification and subsequent claims is an open term and should be interpreted as "including but not limited to". In addition, the term "coupled" is used herein to include any direct and indirect electrical connection. Therefore, if a first device is coupled to a second device, it means that the first device can be directly electrically connected to the second device or indirectly electrically connected to the second device through other devices or connection means.
請參考第2圖,其係為本發明時序控制器與顯示系統之一實施例的架構圖。如圖所示,顯示系統30包含有時序控制器200、顯示面板260以及接收電路270。時序控制器200又包含有畫面控制器205以及狀態控制器290。畫面控制器205從主機40中之畫面處理器430接收由畫面處理器430所產生的圖像,其中,中央處理器410執行儲存於記憶體420的程式,並將畫面的部分交由畫面處理器430進行運算與處理。最後,畫面處理器430將產生的圖像,交由傳送電路432,並透過介面440傳輸給顯示系統30。 Please refer to FIG. 2, which is an architectural diagram of an embodiment of a timing controller and display system of the present invention. As shown, display system 30 includes timing controller 200, display panel 260, and receiving circuitry 270. The timing controller 200 in turn includes a picture controller 205 and a state controller 290. The picture controller 205 receives an image generated by the picture processor 430 from the picture processor 430 in the host 40, wherein the central processor 410 executes the program stored in the memory 420 and passes the portion of the picture to the picture processor. 430 performs operations and processing. Finally, the picture processor 430 passes the generated image to the transmission circuit 432 and transmits it to the display system 30 through the interface 440.
時序控制器200中的畫面控制器205透過接收電路270接收由介面440傳輸而來的圖像,接收電路270的目的在於將介面440上所傳送的封包,根據特定的規範進行解調變或解碼,取出其中的圖像資料,並且產生輸入圖像Frame_i給畫面控制器205。畫面控制器205會根據輸入圖像Frame_i,產生輸出圖像Frame_o給顯示面板260。顯示面板260中的驅動電路基於輸出圖像Frame_o,根據一定時序,逐行驅動顯示面板260上的每個畫素,以 在顯示面板260上呈現輸出圖像Frame_o。 The picture controller 205 in the timing controller 200 receives the image transmitted by the interface 440 through the receiving circuit 270. The purpose of the receiving circuit 270 is to demodulate or decode the packet transmitted on the interface 440 according to a specific specification. The image data therein is taken out, and the input image Frame_i is generated to the picture controller 205. The picture controller 205 generates an output image Frame_o to the display panel 260 based on the input image Frame_i. The driving circuit in the display panel 260 drives each pixel on the display panel 260 row by row based on the output image Frame_o according to a certain timing. An output image Frame_o is presented on the display panel 260.
畫面控制器205包含有編碼器210、解碼器220、評估模組230以及畫面畫面混合器240。畫面控制器205的運作模式可分成幾種,包含:正常模式、壓縮模式、快取模式,以及自我更新模式。在正常模式中,畫面控制器205直接將輸入圖像Frame_i作為輸出圖像Frame_o,輸出給顯示面板260。在這之中,輸入圖像Frame_i不會經過編碼器210或者解碼器220的壓縮以及解壓縮處理。在壓縮模式下,所有的輸入圖像Frame_i經過編碼器210根據特定的圖像壓縮演算法,進行壓縮處理,產生壓縮圖像Frame_c,之後,再由解碼器220基於編碼器210採用的圖像壓縮演算法,進行解壓縮處理,產生解壓縮圖像Frame_u,並且交由畫面混合器240,作為輸出圖像Frame_o輸出給顯示面板260。 The picture controller 205 includes an encoder 210, a decoder 220, an evaluation module 230, and a picture picture mixer 240. The operation modes of the picture controller 205 can be divided into several types, including: a normal mode, a compressed mode, a cache mode, and a self-updating mode. In the normal mode, the picture controller 205 directly outputs the input image Frame_i as the output image Frame_o to the display panel 260. Among them, the input image Frame_i is not subjected to compression and decompression processing by the encoder 210 or the decoder 220. In the compressed mode, all the input images Frame_i are subjected to compression processing by the encoder 210 according to a specific image compression algorithm to generate a compressed image Frame_c, which is then compressed by the decoder 220 based on the image adopted by the encoder 210. The algorithm performs decompression processing to generate a decompressed image Frame_u, and passes it to the screen mixer 240 to output it to the display panel 260 as an output image Frame_o.
當畫面處理器430發現後續所輸出的圖像並無變化時,便透過介面440傳送指令給狀態控制器290,狀態控制器290根據這個指令,要求畫面控制器205進入快取模式。在快取模式下,輸入圖像Frame_i會經由編碼器210進行壓縮處理,產生壓縮圖像Frame_c外,壓縮圖像Frame_c將進一步被儲存至畫面緩衝器250(可設置於畫面控制器205的外部或內部)。當壓縮圖像Frame_c被儲存於畫面緩衝器250後,畫面處理器430便不再提供新的圖像給畫面控制器205,而是透過指令,要求畫面控制器205直接從畫面緩衝器250中讀取壓縮圖像Frame_c,進行自我更新。在自我更新模式下,從畫面緩衝器250讀取出的壓縮圖像Frame_c將被傳送至解碼器220進行解壓縮,產生解壓縮圖像Frame_u,最後再傳送至畫面混合器240,作為輸出圖像Frame_o。 When the picture processor 430 finds that there is no change in the subsequently outputted image, the command is sent to the state controller 290 via the interface 440, and the state controller 290 requests the picture controller 205 to enter the cache mode according to the instruction. In the cache mode, the input image Frame_i is subjected to compression processing via the encoder 210 to generate a compressed image Frame_c, and the compressed image Frame_c is further stored to the picture buffer 250 (which may be disposed outside the picture controller 205 or internal). When the compressed image Frame_c is stored in the picture buffer 250, the picture processor 430 no longer provides a new image to the picture controller 205, but requests the picture controller 205 to read directly from the picture buffer 250 through an instruction. Take the compressed image Frame_c and update itself. In the self-updating mode, the compressed image Frame_c read from the picture buffer 250 is transmitted to the decoder 220 for decompression, generates a decompressed image Frame_u, and finally transmitted to the picture mixer 240 as an output image. Frame_o.
在上述模式中,當畫面處理器430進行運算後,發現後續產生的 圖像為連續的變動圖像時,畫面處理器430會傳送命令給狀態控制器290,並由狀態控制器290要求畫面控制器205保持正常模式或者是壓縮模式,即時地將內容變動的輸入圖像Frame_i或者是解壓縮圖像Frame_u提供給顯示面板260(由多工器255來選擇輸出)。然而,當畫面處理器430發現後續產生的圖像為連續的靜止圖像時,畫面處理器430則會傳送命令給狀態控制器290,命令畫面控制器205先將輸入圖像Frame_i進行快取,之後再要求畫面控制器205直接從畫面緩衝器250讀取已經儲存的壓縮圖像Frame_c,並交由解碼器220進行解碼後輸出,也就是自我更新模式(多工器215選擇將畫面緩衝器250儲存的壓縮圖像Frame_c給解碼器220)。此時,畫面處理器430可停止傳送圖像資料至畫面控制器205,直到後續產生的圖像有所改變。如此一來,可有效節省主機40傳輸圖像資料時的功耗。 In the above mode, after the picture processor 430 performs an operation, it is found that the subsequent generation When the image is a continuous changed image, the screen processor 430 transmits a command to the state controller 290, and the state controller 290 requests the screen controller 205 to maintain the normal mode or the compressed mode, and instantly inputs the input image of the content change. A frame like image_i or a decompressed image Frame_u is supplied to the display panel 260 (the output is selected by the multiplexer 255). However, when the picture processor 430 finds that the subsequently generated image is a continuous still image, the picture processor 430 transmits a command to the state controller 290, and the command picture controller 205 first caches the input image Frame_i. The picture controller 205 is then required to directly read the already stored compressed image Frame_c from the picture buffer 250, and output it to the decoder 220 for decoding, that is, the self-updating mode (the multiplexer 215 selects the picture buffer 250). The stored compressed image Frame_c is sent to the decoder 220). At this time, the picture processor 430 may stop transmitting the image data to the picture controller 205 until the subsequently generated image is changed. In this way, the power consumption of the host 40 when transmitting image data can be effectively saved.
隨著輸入圖像Frame_i內容的不同,圖像壓縮處理可能會在特定情形下,造成壓縮圖像Frame_c的不良圖像品質。原因在於,編碼器210所採用的圖像壓縮演算法無法適合所有的輸入圖像Frame_i,對於具有特定的內容輸入圖像Frame_i,編碼器210的壓縮處理可能會造成較多的訊息流失。在這種情形下,使用者可能會感受到顯示系統30之顯示品質的下降,為了避免讓使用者產生這種感覺,畫面控制器205中又設置有評估模組230,用來偵測壓縮圖像Frame_c與輸入圖像Frame_i之間的落差。其中,評估模組230可能設置於編碼器230的內部或者是外部,並且比較壓縮圖像Frame_c與輸入圖像Frame_i來計算出一誤差Err_c(可能是一組參數或單一數值)。當誤差Err_c未滿足預先設定的臨界條件(一組參數指標或者是單一數值指標)時,則代表圖像壓縮後的品質過度流失,可能會令使用者感到顯示品質不佳。此時,評估模組230產生圖像品質資訊Qual_info給畫面混合器240。畫面混合器240會在解壓縮圖像Frame_u之中加入壓縮後圖像品質不佳的提示訊息(如第3圖所示的提示訊息),使用者在看到這個提示訊息後,可選擇是否停止使用顯示 系統30的自我更新功能。一旦使用者選擇停止使用這個功能,處理器410將會通知畫面處理器430,接著,畫面處理器430會發出命令給狀態控制器290,要求畫面控制器205回到正常模式。當畫面控制器205回到正常模式時,便不會對輸入圖像Frame_i進行壓縮處理,而是直接將其作為輸出圖像Frame_o。 Depending on the content of the input image Frame_i, the image compression processing may cause poor image quality of the compressed image Frame_c under certain circumstances. The reason is that the image compression algorithm adopted by the encoder 210 cannot fit all the input images Frame_i, and the compression processing of the encoder 210 may cause more message loss for the specific content input image Frame_i. In this case, the user may feel the degradation of the display quality of the display system 30. In order to avoid the user's feeling, the image controller 205 is further provided with an evaluation module 230 for detecting the compression map. Like the difference between Frame_c and the input image Frame_i. The evaluation module 230 may be disposed inside or outside the encoder 230, and compare the compressed image Frame_c with the input image Frame_i to calculate an error Err_c (which may be a set of parameters or a single value). When the error Err_c does not satisfy the preset critical condition (a set of parameter indicators or a single numerical index), it means that the quality after image compression is excessively lost, which may cause the user to feel poor display quality. At this time, the evaluation module 230 generates image quality information Qual_info to the screen mixer 240. The picture mixer 240 adds a message indicating that the image quality is poor after being compressed (such as the message shown in FIG. 3) in the decompressed image Frame_u, and the user can select whether to stop after seeing the message. Use display The self-updating function of system 30. Once the user chooses to stop using this function, the processor 410 will notify the picture processor 430, and then the picture processor 430 will issue a command to the status controller 290 requesting the picture controller 205 to return to the normal mode. When the picture controller 205 returns to the normal mode, the input image Frame_i is not subjected to compression processing, but is directly used as the output image Frame_o.
當進入正常模式後,畫面控制器205停止透過畫面混合器240將解壓縮圖像Frame_u作為輸出圖像Frame_o,並直接將輸入圖像Frame_i作為輸出圖像Frame_o。此時,編碼器210可能繼續將輸入圖像Frame_i進行壓縮,而評估模組230則繼續評估是否後續的壓縮圖像Frame_c的圖像品質恢復到可令使用者接受的水準。這是因為輸入圖像Frame_i的內容可能隨時有所變動,先前造成壓縮後品質不佳的原因可能已經隨著輸入圖像Frame_i的內容變動而排除。因此,一旦評估模組230後續發現誤差Err_c小於預先設定的臨界條件時,代表此時的輸入圖像Frame_i適合進行壓縮處理。由評估模組230產生的圖像品質資訊Qual_info將反映出這個結果,畫面混合器240在收到指出圖像品質改善的圖像品質資訊Qual_info後,會在當前的輸出圖像Frame_o之中加入對應的提示訊息(如第4圖所示),詢問使用者是否恢復顯示系統30的自我更新功能。使用者在看到這個指示後,同樣可以選擇是否再次啟用自我更新功能。當使用者選擇自我更新功能重新啟動後,畫面處理器430會再次開始監控是否產生的圖像有所變動,以及是否有需要啟動顯示系統30的自我更新功能。 When entering the normal mode, the picture controller 205 stops the decompressed image Frame_u as the output image Frame_o through the picture mixer 240, and directly uses the input image Frame_i as the output image Frame_o. At this time, the encoder 210 may continue to compress the input image Frame_i, and the evaluation module 230 continues to evaluate whether the image quality of the subsequent compressed image Frame_c is restored to a level acceptable to the user. This is because the content of the input image Frame_i may change at any time, and the reason for the poor quality of the previous compression may have been excluded as the content of the input image Frame_i changes. Therefore, once the evaluation module 230 subsequently finds that the error Err_c is less than a preset critical condition, the input image Frame_i representing the current time is suitable for the compression process. The image quality information Qual_info generated by the evaluation module 230 will reflect this result. After receiving the image quality information Qual_info indicating that the image quality is improved, the screen mixer 240 will add a corresponding image to the current output image Frame_o. The prompt message (as shown in FIG. 4) asks the user whether to resume the self-updating function of the display system 30. After seeing this indication, the user can also choose whether to enable the self-updating function again. When the user selects the self-updating function to restart, the screen processor 430 will again start monitoring whether the generated image has changed, and whether there is a need to activate the self-updating function of the display system 30.
其中,上述的提示訊息可儲存於儲存元件280之中,當畫面混合器240在收到圖像品質不佳或者是圖像品質良好的圖像品質資訊Qual_info後,會從儲存元件280讀取提示訊息的內容,並且於解壓縮圖像Frame_u或者是輸入圖像Frame_i之中讀取提示訊息來產生輸出圖像Frame_o。 The prompt message may be stored in the storage component 280. When the image mixer 240 receives the image quality information Qual_info with poor image quality or good image quality, the prompt message is read from the storage component 280. The content of the message, and reading the prompt message in the decompressed image Frame_u or the input image Frame_i to generate the output image Frame_o.
本發明之時序控制器與顯示系統中的元件可使用硬體、軟體、韌體以及其相關結合來完成。以硬體方式,本發明可應用下列任一技術或其相關結合來完成:具有可依據訊號執行邏輯功能之邏輯閘、具有合適的組合邏輯閘之一特定應用積體電路(application specific integrated circuit,ASIC)、可程式閘陣列(programmable gate array,PGA)或一現場可程式閘陣列(field programmable gate array,FPGA)等。另外,就軟體方式而言,本發明之時序控制器與顯示系統中的元件,可由電腦可讀取記錄媒體儲存包含可執行指令之程式,並且透過可執行上述執行指令之電腦系統來執行,進而實現本發明之時序控制器與顯示系統中的元件的特定功效。 The timing controller of the present invention and the components in the display system can be implemented using hardware, software, firmware, and related combinations thereof. In a hardware manner, the present invention can be implemented by any of the following techniques or a combination thereof: a logic gate having a logic function capable of performing a logic function, and an application specific integrated circuit having an appropriate combination logic gate. ASIC), programmable gate array (PGA) or a field programmable gate array (FPGA). In addition, in terms of software, the timing controller of the present invention and the components in the display system can be stored in a computer-readable recording medium containing executable programs, and executed by a computer system that executes the above-described execution instructions. The particular effects of the components of the timing controller and display system of the present invention are implemented.
基於上述的發明內容,本發明之另一實施例提供一種控制本發明顯示系統執行自我更新功能的流程,如第5圖所示。首先,在步驟501之中,顯示系統30等待自我更新功能被啟動。自我更新功能可透過使用者於主機40的輸入系統下達相關指令,或者是作業系統的預設狀態而被啟用。並且,當畫面處理器430認為其後續產生的圖像並無變化時,便傳送命令要求顯示系統30進入自我更新模式。 Based on the above summary, another embodiment of the present invention provides a flow for controlling the display system of the present invention to perform a self-updating function, as shown in FIG. First, in step 501, display system 30 waits for the self-renewal function to be initiated. The self-updating function can be enabled by the user in issuing an instruction to the input system of the host 40 or a preset state of the operating system. Also, when the picture processor 430 considers that the image it subsequently produces does not change, the transfer command requests the display system 30 to enter the self-updating mode.
當畫面處理器430透過狀態控制器290,啟動顯示系統30的自我更新時,畫面控制器205先後進入快取模式以及自我更新模式,由編碼器210將當前輸入圖像Frame_i壓縮產生壓縮圖像Frame_c,並且儲存入畫面緩衝器250。接著,解碼器230將儲存於畫面緩衝器250的壓縮圖像Frame_c讀取出來,並進行解壓縮,產生解壓縮圖像Frame_u,再由畫面混合器240將解壓縮圖像Frame_u輸出為輸出圖像Frame_o。接著,在步驟502之中,評估模組230評估壓縮圖像Frame_c的圖像品質。在步驟503之中,評估模組230根據壓縮圖像Frame_c與輸入圖像Frame_i來產生誤差Err_c,並且與臨界條 件比較。若是誤差Err_c滿足臨界條件時,代表壓縮圖像Frame_c的圖像品質良好,返回步驟502,評估模組230繼續評估後續的壓縮圖像Frame_c的圖像品質。然而,當評估模組230發現誤差Err_c不滿足臨界條件時,代表壓縮圖像Frame_c的圖像品質不佳,流程進入步驟504。在步驟504中,評估模組230產生指出壓縮圖像Frame_c之圖像品質不佳的圖像品質資訊Qual_info給畫面混合器240。畫面混合器240會將如第3圖所示的第一提示訊息加入於解壓縮圖像Frame_u之中,並產生輸出圖像Frame_o。當使用者透過顯示面板260產生的畫面,看到這個提示訊息時,可選擇是否關閉顯示系統的自我更新功能。若使用者不關閉顯示系統30的自我更新功能,則流程返回步驟502,評估模組230繼續評估後續的壓縮圖像Frame_c;若使用者選擇關閉自我更新功能時,作業系統在收到這個指令後,就會產生命令要求畫面處理器430開始輸出圖像資料至顯示系統30,並且由畫面處理器430下達指令給狀態控制器290,要求畫面控制器205回到正常模式(步驟505與506),直接將輸入圖像Frame_i作為輸出圖像Frame_o。當畫面控制器205回到正常模式後,編碼器210仍對後續的輸出圖像Frame_i進行壓縮,但不會將此解壓縮來輸出。此時,評估模組230繼續評估壓縮圖像Frame_c的圖像品質(步驟507)。接著,在步驟508之中,評估模組230根據壓縮圖像Frame_c與輸入圖像Frame_i來產生誤差Err_c,並且與臨界條件比較。當評估模組230評估後認為誤差Err_c滿足臨界條件時,代表此時的輸入圖像Frame_i適合編碼器210所採用的壓縮演算法,壓縮將不會造成的原始圖像的訊息內容過度流失,亦即,壓縮圖像Frame_c的圖像品質良好,故流程進入步驟509;然而,若評估模組230發現誤差Err_c仍未滿足於臨界條件時,則代表壓縮圖像Frame_c的圖像品質未理想,則返回步驟508,繼續偵測後續輸入圖像Frame_i在壓縮後的圖像品質是否有所改善。當流程進入步驟509後,評估模組230產生指出壓縮品質良好的圖像品質資訊Qual_info,給畫面混合器240。畫面混合器240在接收到圖像品質資訊Qual_info後,於輸入圖像Frame_i中加入 如第4圖所示的第二提示訊息,產生輸出圖像Frame_o,詢問使用者是否重新啟用顯示系統30的自我更新功能。此時,若使用者選擇啟動自我更新功能,流程將回到501,畫面控制器205會再次根據畫面處理器430的指令,等待進入自我更新模式(必須等到畫面處理器430發現其所產生的圖像並無變化)。 When the picture processor 430 transmits the self-updating of the display system 30 through the state controller 290, the picture controller 205 enters the cache mode and the self-updating mode successively, and the current input image Frame_i is compressed by the encoder 210 to generate a compressed image Frame_c. And stored in the picture buffer 250. Next, the decoder 230 reads out the compressed image Frame_c stored in the picture buffer 250, decompresses it, generates a decompressed image Frame_u, and then outputs the decompressed image Frame_u as an output image by the picture mixer 240. Frame_o. Next, in step 502, the evaluation module 230 evaluates the image quality of the compressed image Frame_c. In step 503, the evaluation module 230 generates an error Err_c according to the compressed image Frame_c and the input image Frame_i, and the threshold bar Pieces comparison. If the error Err_c satisfies the critical condition, the image quality representing the compressed image Frame_c is good, and returning to step 502, the evaluation module 230 continues to evaluate the image quality of the subsequent compressed image Frame_c. However, when the evaluation module 230 finds that the error Err_c does not satisfy the critical condition, the image quality representing the compressed image Frame_c is not good, and the flow proceeds to step 504. In step 504, the evaluation module 230 generates image quality information Qual_info indicating that the image quality of the compressed image Frame_c is not good to the screen mixer 240. The picture mixer 240 adds the first hint message as shown in FIG. 3 to the decompressed image Frame_u and produces an output image Frame_o. When the user sees the prompt message through the screen generated by the display panel 260, whether to turn off the self-updating function of the display system can be selected. If the user does not turn off the self-updating function of the display system 30, the flow returns to step 502, and the evaluation module 230 continues to evaluate the subsequent compressed image Frame_c; if the user chooses to turn off the self-updating function, the operating system receives the instruction. The command is generated to request the picture processor 430 to start outputting the image data to the display system 30, and the screen processor 430 issues an instruction to the status controller 290, requesting the picture controller 205 to return to the normal mode (steps 505 and 506). The input image Frame_i is directly used as the output image Frame_o. When the picture controller 205 returns to the normal mode, the encoder 210 still compresses the subsequent output image Frame_i, but does not decompress this output. At this time, the evaluation module 230 continues to evaluate the image quality of the compressed image Frame_c (step 507). Next, in step 508, the evaluation module 230 generates an error Err_c based on the compressed image Frame_c and the input image Frame_i, and is compared with a critical condition. When the evaluation module 230 evaluates that the error Err_c satisfies the critical condition, the input image Frame_i representing the current time is suitable for the compression algorithm used by the encoder 210, and the compression will not cause excessive loss of the message content of the original image. That is, the image quality of the compressed image Frame_c is good, so the flow proceeds to step 509; however, if the evaluation module 230 finds that the error Err_c is still not satisfied by the critical condition, the image quality representing the compressed image Frame_c is not ideal. Returning to step 508, it continues to detect whether the image quality of the compressed input image Frame_i is improved. When the flow proceeds to step 509, the evaluation module 230 generates image quality information Qual_info indicating that the compression quality is good, and gives it to the screen mixer 240. The picture mixer 240 adds the image quality information Qual_info to the input image Frame_i. The second prompt message as shown in FIG. 4 generates an output image Frame_o asking the user whether to re-enable the self-updating function of the display system 30. At this time, if the user chooses to start the self-updating function, the flow will return to 501, and the picture controller 205 will again wait for the self-updating mode according to the instruction of the picture processor 430 (must wait until the picture processor 430 finds the picture generated by it). Like no change).
本發明之另一實施例提供一種圖像產生方法,其係如第6圖所示,包含:步驟601:對一第一輸入圖像壓縮後產生一第一壓縮圖像;步驟602:對該第一壓縮圖像進行解壓縮後產生一第一解壓縮圖像;步驟603:根據該第一解壓縮圖像以及對應於該第一壓縮圖像之一圖像品質資訊來產生一輸出圖像。 Another embodiment of the present invention provides an image generating method, as shown in FIG. 6, comprising: step 601: compressing a first input image to generate a first compressed image; and step 602: Decompressing the first compressed image to generate a first decompressed image; Step 603: generating an output image according to the first decompressed image and image quality information corresponding to the first compressed image .
由於以上的流程為先前實施例的簡化流程,詳細操作原理與流程並無區別,因此,為求說明書之簡要,在此不對細節多做贅述。 Since the above process is a simplified process of the previous embodiment, the detailed operation principle and the process are not different. Therefore, in order to simplify the description, details are not described herein.
綜合以上說明可知,本案透過圖像壓縮的原理,降低儲存元件的必須容量,並且也減少在自我更新模式下存取儲存元件產生的功耗。並且,透過評估壓縮圖像的圖像品質,可確保顯示系統呈現良好的顯示品質給使用者。如此一來,本發明的時序控制器以及顯示系統,可以在降低主機功耗的同時(自我更新模式下主機不需進行圖像資料的輸出),也能維持本身的功耗不至於過高,並且維持一定的顯示品質。 Based on the above description, the present invention reduces the necessary capacity of the storage element through the principle of image compression, and also reduces the power consumption generated by accessing the storage element in the self-updating mode. Moreover, by evaluating the image quality of the compressed image, it is ensured that the display system presents a good display quality to the user. In this way, the timing controller and the display system of the present invention can reduce the power consumption of the host (the host does not need to output image data in the self-updating mode), and can maintain its own power consumption is not too high. And maintain a certain display quality.
30‧‧‧顯示系統 30‧‧‧Display system
200‧‧‧時序控制器 200‧‧‧ timing controller
205‧‧‧畫面控制器 205‧‧‧ Picture Controller
210‧‧‧編碼器 210‧‧‧Encoder
215、255‧‧‧多工器 215, 255‧‧‧ multiplexers
220‧‧‧解碼器 220‧‧‧Decoder
230‧‧‧評估模組 230‧‧‧Evaluation module
240‧‧‧畫面混合器 240‧‧‧ Picture Mixer
250‧‧‧畫面緩衝器 250‧‧‧ Picture buffer
260‧‧‧顯示面板 260‧‧‧ display panel
270‧‧‧接收電路 270‧‧‧ receiving circuit
280‧‧‧儲存元件 280‧‧‧Storage components
290‧‧‧狀態控制器 290‧‧‧State Controller
40‧‧‧主機 40‧‧‧Host
410‧‧‧中央處理器 410‧‧‧Central Processing Unit
420‧‧‧記憶體 420‧‧‧ memory
430‧‧‧畫面處理器 430‧‧‧ Picture Processor
440‧‧‧介面 440‧‧" interface
Claims (12)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
TW103102021A TWI539438B (en) | 2014-01-20 | 2014-01-20 | Image generator and display system and related image generation method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
TW103102021A TWI539438B (en) | 2014-01-20 | 2014-01-20 | Image generator and display system and related image generation method |
Publications (2)
Publication Number | Publication Date |
---|---|
TW201530533A TW201530533A (en) | 2015-08-01 |
TWI539438B true TWI539438B (en) | 2016-06-21 |
Family
ID=54342809
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
TW103102021A TWI539438B (en) | 2014-01-20 | 2014-01-20 | Image generator and display system and related image generation method |
Country Status (1)
Country | Link |
---|---|
TW (1) | TWI539438B (en) |
-
2014
- 2014-01-20 TW TW103102021A patent/TWI539438B/en active
Also Published As
Publication number | Publication date |
---|---|
TW201530533A (en) | 2015-08-01 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN112087633B (en) | Video decoding method, device and storage medium | |
EP3692444B1 (en) | System and method for foveated compression of image frames in a system on a chip | |
US10250853B2 (en) | Wireless endoscope system, endoscope, display device, image transmission method, image display method, and program | |
US8893158B2 (en) | Information processing apparatus that switches between processing units running operating systems to be associated with a user interface and method for controlling information processing apparatus | |
TWI702837B (en) | System and method for intelligent data/frame compression in a system on a chip | |
US9055272B2 (en) | Moving image reproduction apparatus, information processing apparatus, and moving image reproduction method | |
JP6137980B2 (en) | Recording apparatus and control method thereof | |
US20120233451A1 (en) | Method for fast resuming computer system and computer system | |
KR20110017722A (en) | Apparatus for image reproduction and method for controlling image reproduction apparatus | |
US12033234B2 (en) | Graphics processing system | |
TWI539438B (en) | Image generator and display system and related image generation method | |
US20220092722A1 (en) | Glitchless gpu switching at a multiplexer | |
US10937385B1 (en) | Frame replay with bit depth considerations | |
US9307189B2 (en) | Relay apparatus controlling signal channel selection | |
US20160104263A1 (en) | Method And Apparatus Of Latency Profiling Mechanism | |
WO2017020512A1 (en) | Data transmission method, data transmission system, and portable display device | |
US20100115258A1 (en) | Image processing apparatus and control method thereof | |
KR20120026052A (en) | System and method for sharing memory | |
JP2011013915A (en) | Control method for measurement device | |
JP4383488B2 (en) | Image compression system and image compression method | |
JP7372082B2 (en) | Projection device and its customized image setting method | |
CN109274902B (en) | Video file processing method and device | |
WO2016154816A1 (en) | Data processing method and device | |
US9972064B1 (en) | Non-intrusive and low-power recording | |
WO2012133085A1 (en) | Image reading device |