Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP4530671B2 - Image reproducing apparatus and image reproducing method - Google Patents
[go: Go Back, main page]

JP4530671B2 - Image reproducing apparatus and image reproducing method - Google Patents

Image reproducing apparatus and image reproducing method Download PDF

Info

Publication number
JP4530671B2
JP4530671B2 JP2004002289A JP2004002289A JP4530671B2 JP 4530671 B2 JP4530671 B2 JP 4530671B2 JP 2004002289 A JP2004002289 A JP 2004002289A JP 2004002289 A JP2004002289 A JP 2004002289A JP 4530671 B2 JP4530671 B2 JP 4530671B2
Authority
JP
Japan
Prior art keywords
image
display
magnification
pixels
unit
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP2004002289A
Other languages
Japanese (ja)
Other versions
JP2005198027A (en
Inventor
元浩 伊藤
修 輿水
和彦 松村
毅 佐々木
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Sharp Corp
Original Assignee
Sharp Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Sharp Corp filed Critical Sharp Corp
Priority to JP2004002289A priority Critical patent/JP4530671B2/en
Publication of JP2005198027A publication Critical patent/JP2005198027A/en
Application granted granted Critical
Publication of JP4530671B2 publication Critical patent/JP4530671B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Television Signal Processing For Recording (AREA)

Description

本発明は、符号化された画像データを再生する画像再生装置、および画像再生方法に関するものである。   The present invention relates to an image reproducing apparatus and an image reproducing method for reproducing encoded image data.

近年、静止画像や、動画像をメモリカード等のリムーバブル・メディアに記録し、該メディアをPDA(Personal Digital Assistants)等の携帯情報機器や、液晶TVなどのFPD(Flat Panel Display)を使用したTVなどに、接続して再生する用途が生じている。これらの機器では、画像を表示するためのディスプレイとして、液晶ディスプレイなどの固定画素型の表示デバイスが使用される。画像データはそのままでは非常にサイズが大きいため、メモリカードなどのリムーバブル・メディアへ画像を記録する場合には、圧縮技術を使用して、データサイズを大幅に減らして保存されることが一般的に行われている。このような画像の圧縮を目的として、さまざまな符号化方式が提案されている。これらの符号化方式として、静止画の圧縮方式としてJPEG方式が、動画の圧縮方式として、MPEG−1,MPEG−2,MPEG−4などの方式が、国際標準として標準化されており、多くの機器で使用されている。   In recent years, still images and moving images are recorded on removable media such as a memory card, and the media is a portable information device such as a PDA (Personal Digital Assistants) or a TV using an FPD (Flat Panel Display) such as a liquid crystal TV. For example, there is a use for connecting and playing. In these devices, a fixed pixel type display device such as a liquid crystal display is used as a display for displaying an image. Since image data is very large as it is, when recording images to removable media such as a memory card, it is generally saved using a compression technique to greatly reduce the data size. Has been done. Various encoding methods have been proposed for the purpose of such image compression. As these encoding systems, the JPEG system is standardized as a still picture compression system, and MPEG-1, MPEG-2, MPEG-4, etc. are standardized as international standards as video compression systems. Used in.

このような圧縮された画像を復号して表示する機器で画像の表示時において表示画面内での復号した画像を表示するサイズが異なる表示の方法が考えられており、例えば図6の(a)に示すように、表示画面内の部分に、拡大も縮小も行わずに復号画像と同じ画素数で表示する等倍表示や、図6の(b)のように、復号画像が表示画面のサイズと等しいサイズで表示されるようにする全画面表示や、図6の(c)に示すような表示画面内の所定のサイズに復号画像が等しくなるように拡大あるいは縮小を行って表示する方法等がある。以下ではこれらを表示方法と呼ぶ。 A display method with different sizes for displaying the decoded image on the display screen when the image is displayed on a device that decodes and displays such a compressed image is considered. For example, FIG. As shown in FIG. 6, the same size display in which the same number of pixels as the decoded image is displayed on the display screen without enlargement or reduction , or the decoded image is the size of the display screen as shown in FIG. A full-screen display so that the decoded image is displayed in the same size as shown in FIG. 6C, or a method of displaying the image by enlarging or reducing it so that the decoded image becomes equal to a predetermined size in the display screen as shown in FIG. There is. Hereinafter, these are called display methods.

これらの複数の表示方法が可能な端末において、表示方法の選択は例えば、特許文献1に示されるように、リモコン等の手段によって、ユーザーの操作によって切り替える方法があった。
特願2002−283311号公報
In a terminal capable of such a plurality of display methods, as shown in Patent Document 1, for example, there is a method of switching by a user's operation by means of a remote controller or the like as disclosed in Patent Document 1.
Japanese Patent Application No. 2002-283311

図7は、このようにメモリカード等の記録手段を備えて、符号化された画像データを、複数の表示方法からひとつの方法を選択して表示する画像再生装置の構成を示すブロック図である。
同図において、101は記録メディアであって、符号化された画像やそれ以外の情報が格納される。102はファイル処理部であって、記録メディア101に格納されているファイルのうち、指定されたファイルの全体または指定された部分を読み出し、読み出した情報を画像復号部103に対し出力する。103は、画像復号部であって、入力された符号化画像を復号し、復号画像を出力する。
FIG. 7 is a block diagram showing a configuration of an image reproducing apparatus that includes recording means such as a memory card and displays one of a plurality of display methods by selecting one of the display methods. .
In the figure, reference numeral 101 denotes a recording medium which stores an encoded image and other information. Reference numeral 102 denotes a file processing unit that reads the entire specified file or a specified portion of the files stored in the recording medium 101 and outputs the read information to the image decoding unit 103. Reference numeral 103 denotes an image decoding unit that decodes an input encoded image and outputs a decoded image.

104は、画像スケーラであって、指定した倍率で復号画像の拡大あるいは縮小を行うスケーリング手段である。画像スケーラ104は、倍率を指定することにより、画像復号部103から復号画像が入力される度に、表示切替部105から指定された倍率で、入力された復号画像を拡大あるいは縮小処理を行い、画像表示部107へ出力する。105は表示切替部であって、復号画像の画素数と表示装置の画素数と指定された表示方法から、拡大あるいは縮小処理を行うための倍率を算出し、画像スケーラ104に対しその倍率を設定する。   An image scaler 104 is a scaling unit that enlarges or reduces the decoded image at a specified magnification. The image scaler 104 specifies the magnification, and performs an enlargement or reduction process on the inputted decoded image at the magnification designated by the display switching unit 105 every time the decoded image is inputted from the image decoding unit 103. Output to the image display unit 107. A display switching unit 105 calculates a magnification for performing enlargement or reduction processing from the number of pixels of the decoded image and the number of pixels of the display device and the designated display method, and sets the magnification to the image scaler 104. To do.

106は、操作部であって、スイッチなどの使用者が操作を行うためのインタフェースに接続され、使用者の操作が行われたかどうかと操作の種類を検出し、その結果によって決まる装置の動作の種別により、装置内のブロックの動作を、各ブロックに対し通知することにより、装置内の動作ブロックの動作を変更する。例えば、操作部106により全画面表示が選択された時には、表示切替部105は、画像復号部103から取得した復号画像の画素数と、表示方法によってきまる表示画像の画素数から、画像スケーラに設定する倍率を算定し、画像スケーラに設定を行う。画像スケーラに設定する倍率は、復号画像の画素数と表示画像の画素数から算出する。以下では、全画面表示の場合を例として、算出の手順を説明する。なお全画面表示とは、復号画像の全画素が表示され且つ最大の表示面積になる倍率を用いて拡大あるいは縮小し表示することを指す。この倍率は例えば以下の方法で算出可能である。全画面表示時の横方向の表示画素数をWd、縦方向の表示画素数をHdとし、符号化画像の横方向の画素数をWp、縦方向の画素数をHpとする(図6参照)。それぞれのアスペクト比である、Wd/HdとWp/Hpを比較し、Wd/Hd>Wp/Hpであれば、全画面表示時の倍率SaはHd/Hpとなる。それ以外の場合は、全画面表示時の倍率SaをWd/Wpとなる。 An operation unit 106 is connected to an interface for a user to perform an operation such as a switch, detects whether the user has performed an operation and the type of operation, and determines the operation of the apparatus determined by the result. The operation of the block in the apparatus is changed by notifying each block of the operation of the block in the apparatus according to the type. For example, when full screen display is selected by the operation unit 106, the display switching unit 105 sets the image scaler from the number of pixels of the decoded image acquired from the image decoding unit 103 and the number of pixels of the display image determined by the display method. Calculate the magnification to be set, and set the image scaler. The magnification set for the image scaler is calculated from the number of pixels of the decoded image and the number of pixels of the display image. In the following, the calculation procedure will be described using the case of full screen display as an example. Note that full-screen display means that all the pixels of the decoded image are displayed and displayed with enlargement or reduction using a magnification that provides the maximum display area. This magnification can be calculated by the following method, for example. In the full screen display, the horizontal display pixel number is Wd, the vertical display pixel number is Hd, the horizontal pixel number of the encoded image is Wp, and the vertical pixel number is Hp (see FIG. 6). . When Wd / Hd and Wp / Hp, which are the respective aspect ratios, are compared, and Wd / Hd> Wp / Hp, the magnification Sa during full screen display is Hd / Hp. In other cases, the magnification Sa during full screen display is Wd / Wp.

上記の手順で算定した倍率を画像スケーラに設定することで、ディスプレイ108では、図6の(b)の表示画像のように全画面に画像が表示される。また操作部106によって、例えば等倍表示が選択された時には、画像スケーラに倍率を1に設定する。この場合は、図6の(a)のような画面の一部に、復号画像と同じ画素数で表示される。また全画面表示や等倍表示以外に、図6(c)のように所定の画面サイズに拡大あるいは縮小して表示する方法も可能である。107は、画像表示部であって、内部にフレームメモリを持ち、一定の周期で、フレームメモリの内容をディスプレイ108のへ出力する。画像スケーラ104によって、復号された画像が拡大あるいは縮小されて、画像表示部107内部のフレームメモリへ書き込まれる。   By setting the magnification calculated in the above procedure in the image scaler, the display 108 displays an image on the entire screen like the display image of FIG. 6B. For example, when the same size display is selected by the operation unit 106, the magnification is set to 1 in the image scaler. In this case, a part of the screen as shown in FIG. 6A is displayed with the same number of pixels as the decoded image. In addition to the full screen display and the same magnification display, a method of displaying the image by enlarging or reducing it to a predetermined screen size as shown in FIG. Reference numeral 107 denotes an image display unit that has a frame memory therein and outputs the contents of the frame memory to the display 108 at a constant cycle. The decoded image is enlarged or reduced by the image scaler 104 and written into the frame memory inside the image display unit 107.

また画像スケーラ104は、スケーリング処理後の画像が表示画面のサイズに満たない場合に、フレームメモリへの書込み時に画像の外側部分への書込みをスキップする。このことにより、スケーリング処理後の画像の外側部分はフレームメモリに元から書き込まれている内容が表示されるため、図6の(a)で示されるような表示となる。なお、図6の(a)では、画面の中央に表示した場合を例示しているが、必ずしも中央である必要はない。108は、ディスプレイであって、入力される時系列信号を元に画像を表示する。一般的にはCRTやLCDなどのデバイスが使用される。   Further, the image scaler 104 skips writing to the outer portion of the image when writing to the frame memory when the image after scaling processing is less than the size of the display screen. As a result, the contents written from the original in the frame memory are displayed in the outer portion of the image after the scaling process, and the display is as shown in FIG. In addition, although (a) of FIG. 6 illustrated the case where it displayed on the center of a screen, it does not necessarily need to be a center. Reference numeral 108 denotes a display that displays an image based on an input time-series signal. Generally, devices such as CRT and LCD are used.

上記のような装置で、低解像度・高圧縮率で圧縮された画像を高解像度の表示全画面表示する場合に、表示部の画素数と同一画素数になるように、復号画像の拡大処理を行うと、圧縮によるノイズも拡大されるため、等倍表示では見えなかった劣化が認識されるという問題が生じる。
また、ユーザーの操作により表示方法を切り替える方法では、全画面表示に十分な画質の画像が、全画面表示以外の表示方法で表示された場合や、あるいは、全画面表示では画質の劣化が目立つ画像が全画面表示された場合に、ユーザーは表示を切り替える操作を行う必要があるため、操作が煩雑になるという問題がある。
When an image compressed at a low resolution and a high compression rate is displayed on a full-resolution display on the above-mentioned apparatus, the decoded image is enlarged so that the number of pixels is the same as the number of pixels of the display unit. If this is done, the noise due to compression is also enlarged, so that there is a problem that deterioration that cannot be seen in the same magnification display is recognized.
In addition, when the display method is switched by the user's operation, an image with sufficient image quality for full-screen display is displayed in a display method other than full-screen display, or an image with noticeable image quality degradation in full-screen display. Is displayed on the full screen, the user needs to perform an operation of switching the display, which causes a problem that the operation becomes complicated.

本発明は上記のような問題を解決し、再生する符号化画像を全画面表示した場合の画質を判定する手段を設け、符号化による画質劣化の目立たない表示方法に自動的に切り替えることが可能な画像再生装置を提供することを目的とする。   The present invention solves the above-described problems, and includes means for determining the image quality when the encoded image to be reproduced is displayed on the full screen, and can automatically switch to a display method in which the image quality deterioration due to encoding is not noticeable. An object of the present invention is to provide an image reproducing apparatus.

本発明は、上記課題を解決するために、符号化された画像を復号画像として復号する画像復号部と、前記復号画像を表示画面に表示画像として表示する画像表示部と、を備えた画像再生装置において、前記符号化された画像の復号画像が前記表示画面に全画面表示されるように、前記符号化された画像の画素数と、前記表示画像の画素数との大小関係に基づいて、復号画像を拡大又は縮小して表示するための倍率を判定する表示倍率判定部と、前記表示倍率判定部により判定された倍率に基づいて復号画像を拡大又は縮小する画像スケーラ部と、を更に備え、前記画像スケーラ部は、前記表示倍率判定部により判定された倍率が閾値の倍率以下で、かつ、復号画像の圧縮率が所定の圧縮率以下の場合には、前記表示倍率判定部により判定された倍率にて拡大又は縮小し、それ以外の場合には、閾値の倍率より小さい所定の倍率にて拡大又は縮小し、前記画像表示部は、前記画像スケーラ部で拡大又は縮小された画像を表示することを特徴とする。 In order to solve the above-described problem, the present invention provides an image reproduction unit that includes an image decoding unit that decodes an encoded image as a decoded image, and an image display unit that displays the decoded image as a display image on a display screen. In the apparatus, based on the magnitude relationship between the number of pixels of the encoded image and the number of pixels of the display image, so that a decoded image of the encoded image is displayed on the display screen in a full screen . A display magnification determining unit that determines a magnification for displaying the enlarged or reduced decoded image; and an image scaler unit that enlarges or reduces the decoded image based on the magnification determined by the display magnification determining unit. The image scaler unit is determined by the display magnification determination unit when the magnification determined by the display magnification determination unit is equal to or less than a threshold magnification and the compression rate of the decoded image is equal to or less than a predetermined compression rate. The image is enlarged or reduced at a magnification, otherwise, enlarged or reduced at a predetermined magnification smaller than a threshold magnification, and the image display unit displays an image enlarged or reduced at the image scaler unit. It is characterized by that.

また、本発明において、前記表示画像の画素数は、前記表示画面の画素数であることを特徴とする。In the present invention, the number of pixels of the display image is the number of pixels of the display screen.

また、本発明は、符号化された画像を復号画像として復号し、拡大又は縮小して表示画面に表示する画像再生方法において、前記符号化された画像の復号画像が前記表示画面に全画面表示されるように、前記符号化された画像の画素数と、前記表示画面の画素数との大小関係に基づいて、復号画像を拡大又は縮小して表示するための倍率を判定するステップと、前記判定された倍率が所定の閾値の倍率以下の場合で、かつ、復号画像の圧縮率が所定の圧縮率以下の場合には、前記判定された倍率にて拡大又は縮小し、それ以外の場合には、閾値の倍率より小さい所定の倍率にて拡大又は縮小するステップと、を有することを特徴とする。
Further, the present invention relates to an image reproduction method for decoding an encoded image as a decoded image and displaying the image on a display screen after being enlarged or reduced, and the decoded image of the encoded image is displayed on the display screen in full screen. Determining the magnification for displaying the decoded image in an enlarged or reduced manner based on the magnitude relationship between the number of pixels of the encoded image and the number of pixels of the display screen; and If the determined magnification is less than or equal to a predetermined threshold and the compression rate of the decoded image is less than or equal to the predetermined compression rate, the image is enlarged or reduced at the determined magnification, and otherwise Has a step of enlarging or reducing at a predetermined magnification smaller than a threshold magnification.

本発明によれば、再生する符号化画像を拡大表示する場合の画質を、再生前に判定し、判定結果により、自動的に劣化の目立たない拡大倍率を選択して再生が可能な画像再生装置を提供することが実現できる。   According to the present invention, an image reproduction apparatus capable of determining an image quality when an encoded image to be reproduced is enlarged and displayed before reproduction, and automatically selecting an enlargement factor that is not conspicuously deteriorated based on the determination result. Can be realized.

以下、本発明の実施の形態について、図面を参照しながら説明する。
〔第1の実施形態〕
図1は、本発明における動画像記録再生装置の実施形態を示すブロック図である。図7と同一の番号を付したブロックは従来例と同一の機能を有する。したがって同一番号を付したブロックの詳細な説明は省略する。
Hereinafter, embodiments of the present invention will be described with reference to the drawings.
[First Embodiment]
FIG. 1 is a block diagram showing an embodiment of a moving image recording / playback apparatus according to the present invention. The blocks given the same numbers as in FIG. 7 have the same functions as in the conventional example. Therefore, detailed description of the blocks with the same numbers is omitted.

同図において、109は表示倍率判定部であって、表示を行いたい符号化データの一部とファイルの情報をファイル処理部102から取得し、画質と相関の高い数値を、取得した情報を元に算出する。画質と相関の高い数値を基づいて、複数の倍率における表示画像の画質を評価して選択し出力をおこなう。   In the figure, reference numeral 109 denotes a display magnification determination unit, which acquires a part of encoded data to be displayed and file information from the file processing unit 102, and obtains a numerical value highly correlated with image quality based on the acquired information. To calculate. Based on a numerical value highly correlated with the image quality, the image quality of the display image at a plurality of magnifications is evaluated and selected for output.

スケーリング後の画質と相関の高い数値は、例えば画像を拡大する場合、復号画像に含まれるノイズや符号化によって生じる符号化ひずみなども拡大されるため、等倍時には、視認が困難であった画質の劣化が視認される。またぼけなどが生じるため、これも劣化として認識される。これらは倍率が大きいほど視認されやすくになるため、拡大の倍率は、スケーリング後の画質と相関をもつ。また符号化において、圧縮画像のデータ量に対する原画像のデータ量の比率である圧縮率が大きいほど、符号によって生じる符号化ひずみが大きくなるため、圧縮率も表示の画質と相関を持つ。このようなスケーリング後の画質と相関の高い数値を使用して表示画像の画質を判定し、倍率を決定する。   Numerical values that have a high correlation with the image quality after scaling, for example, when enlarging the image, noise included in the decoded image and encoding distortion caused by encoding are also enlarged, so that it was difficult to see at the same magnification. Deterioration of is visually recognized. Moreover, since blur etc. arise, this is also recognized as deterioration. Since the larger the magnification is, the easier it is to be visually recognized, the magnification of the enlargement has a correlation with the image quality after scaling. In encoding, the larger the compression rate, which is the ratio of the data amount of the original image to the data amount of the compressed image, the greater the encoding distortion caused by the code. The image quality of the display image is determined using a numerical value highly correlated with the image quality after scaling, and the magnification is determined.

復号画像の画素数と表示部の画素数を元に、全画面表示時に必要な倍率を計算可能である。ここで、全画面表示とは、復号画像の全画素が表示され且つ最大の表示面積になる倍率を用いて拡大あるいは縮小し表示することを指す。この倍率は例えば以下の方法で算出可能である。全画面表示時の横方向の表示画素数をWd、縦方向の表示画素数をHdとし、符号化画像の横方向の画素数をWp、縦方向の画素数をHpとする(図6参照)。それぞれのアスペクト比である、Wd/HdとWp/Hpを比較し、Wd/Hd>Wp/Hpであれば、全画面表示時の倍率Saは、Hd/Hpとする。それ以外の場合は、全画面表示時の倍率Saは、Wd/Wpとする。   Based on the number of pixels of the decoded image and the number of pixels of the display unit, it is possible to calculate the magnification necessary for full screen display. Here, the full screen display means that all the pixels of the decoded image are displayed and enlarged and reduced using a magnification that provides the maximum display area. This magnification can be calculated by the following method, for example. In the full screen display, the horizontal display pixel number is Wd, the vertical display pixel number is Hd, the horizontal pixel number of the encoded image is Wp, and the vertical pixel number is Hp (see FIG. 6). . The aspect ratios Wd / Hd and Wp / Hp are compared. If Wd / Hd> Wp / Hp, the magnification Sa during full screen display is set to Hd / Hp. In other cases, the magnification Sa during full screen display is Wd / Wp.

表示倍率判定部109は、前記で求めた倍率Saと所定の閾値Stと比較をおこなうことで、全画面表示を行った場合の劣化を判定しても良い。以下では、図2に示すフロー図に従って、表示倍率判定部109の動作を説明する。   The display magnification determination unit 109 may determine deterioration when full screen display is performed by comparing the magnification Sa obtained above with a predetermined threshold value St. Hereinafter, the operation of the display magnification determination unit 109 will be described with reference to the flowchart shown in FIG.

表示倍率判定部109は、倍率Saと所定の閾値Stを比較し、Sa≦Stかどうかを判定する(S4)。Sa>Stの場合には、画像スケーラに設定する倍率SをStより小さい所定の値Scとする(S5)。この値は、例えば1すなわち等倍表示を指定してもよい。また予め使用者により選択設定された数値を使用してもよい。Sa≦Stであれば、画像スケーラに設定する倍率SをSaとする(S6)。これはすなわち全画面表示を意味する。   The display magnification determination unit 109 compares the magnification Sa with a predetermined threshold value St, and determines whether Sa ≦ St (S4). If Sa> St, the magnification S set in the image scaler is set to a predetermined value Sc smaller than St (S5). For this value, for example, 1 may be specified. A numerical value selected and set by the user in advance may be used. If Sa ≦ St, the magnification S set for the image scaler is set to Sa (S6). This means full screen display.

上記と同等の判定は、以下のように行ってもよい。
Wt=Wd/St、Ht=Hd/Stとする。Wt,Htは、計算に必要な値である、Wd,St,Hdがわかっているため、事前に計算しておくことが可能である。したがって単純に、画素数Wp,Hpとの比較で判定が可能となる。この時に、Wp≧WtまたはHp≧Htであれば、全画面表示とし、そうでなければ、等倍表示やユーザーの設定した表示方法を選択するようにすることで、上記と同等の動作となる。表示倍率判定部109により決定された倍率Sが、表示切替部105に入力され、表示切替部105によって、画像スケーラ104に設定される。
The determination equivalent to the above may be performed as follows.
It is assumed that Wt = Wd / St and Ht = Hd / St. Since Wt, Ht are values necessary for calculation, Wd, St, and Hd are known, it is possible to calculate in advance. Therefore, the determination can be made simply by comparing with the pixel numbers Wp and Hp. At this time, if Wp ≧ Wt or Hp ≧ Ht, full screen display is performed. Otherwise, the same operation is performed by selecting the same size display or the display method set by the user. . The magnification S determined by the display magnification determination unit 109 is input to the display switching unit 105, and is set in the image scaler 104 by the display switching unit 105.

以上で説明した手順に従って、画像スケーラ104に設定する倍率を決定することにより、装置は、全画面表示に必要な倍率が所定の値以上となる場合に、全画面表示をしないように動作する。これにより全画面表示による画質劣化が目立つ現象を抑えることができる。また全画面表示による画質劣化が目立たないと判断される画像に対しては、自動的に全画面表示に切り替えることが可能となる。これによりユーザーに対し簡便な操作を提供できるようになる。   By determining the magnification to be set for the image scaler 104 according to the procedure described above, the apparatus operates so as not to perform full-screen display when the magnification necessary for full-screen display exceeds a predetermined value. As a result, it is possible to suppress a phenomenon in which image quality deterioration due to full screen display is conspicuous. In addition, it is possible to automatically switch to full screen display for an image that is determined to have no noticeable image quality degradation due to full screen display. Thereby, a simple operation can be provided to the user.

前記の図2で示された判定方法では、全画面表示に必要な倍率のみで判定を行っているが、画像の劣化は、圧縮率とも相関があり、倍率だけで判定するのは不十分な場合がある。したがって以下に述べるような判定手順を用いても良い。圧縮後の符号化画像のデータ量で、圧縮前の画像のデータ量を除することで、圧縮率Rが求められる。なお動画などにおいては時間当たりの情報量であるビットレートを用いて判定しても良い。ただしビットレートを用いる場合には、ビットレートと圧縮率Rとは反比例の関係にあるため、以下で説明する閾値との大小の判定はすべて逆にする必要がある。   In the determination method shown in FIG. 2 described above, determination is performed only with a magnification necessary for full-screen display. However, image degradation is correlated with the compression rate, and it is insufficient to determine with only the magnification. There is a case. Therefore, a determination procedure as described below may be used. The compression rate R is obtained by dividing the data amount of the image before compression by the data amount of the encoded image after compression. In addition, in a moving image etc., you may determine using the bit rate which is the information amount per time. However, when the bit rate is used, since the bit rate and the compression rate R are in an inversely proportional relationship, all determinations with respect to the threshold value described below must be reversed.

以下、図に示すフロー図にしたがって説明する。
Rと所定の閾値Rtと比較を行い(S5)、Sa≦StかつR≦Rtである場合に、S=Saとし(S7)、そうでない場合には、上記の判定方法でSa>Stであると同様に、Sを所定の定数Scとする(S6)。このことにより、画像のサイズが同じ場合でも、圧縮による劣化を考慮した判定が行われるため、より劣化が視認されにくくなる。また、上記では説明を簡略にするために閾値がひとつの場合で説明しているが、圧縮率Rを複数の閾値で判定して、領域を決定しそれぞれの領域毎に、異なった閾値で倍率を決定しても良い。
Hereinafter, it will be explained according to a flowchart shown in FIG.
R is compared with a predetermined threshold value Rt (S5). If Sa ≦ St and R ≦ Rt, S = Sa is set (S7). Otherwise, Sa> St in the above determination method. Similarly to S, S is set to a predetermined constant Sc (S6). As a result, even when the image sizes are the same, the determination is made in consideration of the deterioration due to the compression, and therefore the deterioration is less likely to be visually recognized. Further, in the above description, the case where there is one threshold value is described for the sake of simplification. However, the compression rate R is determined by a plurality of threshold values, a region is determined, and a magnification is set with a different threshold value for each region. May be determined.

その場合の決定の手順を、図のフロー図にしたがって説明する。
圧縮率Rを判定するためのN−1個の閾値Rtn(nは、1からN−1の整数)を設ける。この例では、Rtnは昇順であらかじめソートされているものとする。n=1からN−1まで、順に閾値Rtnと比較し、R≦Rtnとなる最大のnを求める(S2〜S4)。nをもとめたら、閾値StnとSaを比較し、Sa<Stnである場合に倍率をSaとし(S7)、Sa>Stnである場合に、倍率SをScnとする(S6)。このようにすることで倍率Sが決定される。
The procedure of the case determination is described according to the flow diagram of FIG.
N−1 threshold values Rtn (n is an integer from 1 to N−1) for determining the compression rate R are provided. In this example, Rtn is pre-sorted in ascending order. From n = 1 to N−1, the threshold value Rtn is sequentially compared, and the maximum n that satisfies R ≦ Rtn is obtained (S2 to S4). When n is obtained, the threshold values Stn and Sa are compared, and if Sa <Stn, the magnification is set to Sa (S7), and if Sa> Stn, the magnification S is set to Scn (S6). In this way, the magnification S is determined.

また、装置によっては、記録する画像のサイズや圧縮率の組み合わせを、モードとして定義し、そのモードを符号化データと関連付けた形態で、ファイルへ記録しているものがある。そのような装置において、表示倍率判定部109は、ファイル処理部102に対し、記録メディア101にファイルとして記録されているモード情報の読み取りを要求して、ファイルの記録されたモードを取得する。モードが分かれば、対応する画像サイズおよび圧縮率が決まるため、あらかじめモードに対する倍率を決定しておくことが可能である。   In some apparatuses, a combination of the size and compression rate of an image to be recorded is defined as a mode, and the mode is associated with encoded data and recorded in a file. In such an apparatus, the display magnification determination unit 109 requests the file processing unit 102 to read the mode information recorded as a file on the recording medium 101, and acquires the recorded mode of the file. If the mode is known, the corresponding image size and compression rate are determined, so the magnification for the mode can be determined in advance.

したがって、表示倍率判定部109は、モード情報に対し一対一で倍率Sが対応させることができる。モード情報から、倍率Sを求めるには、例えば、図に示すようなテーブルを用意し、テーブル参照を行うことで、モードから直接倍率Sが得られる。ユーザの選択にしたがって、テーブル内の倍率の書き換えを行えば、ユーザーの選択を反映させることも可能である。 Therefore, the display magnification determination unit 109 can make the magnification S correspond to the mode information on a one-to-one basis. In order to obtain the magnification S from the mode information, for example, a table as shown in FIG. 5 is prepared, and the magnification S is directly obtained from the mode by referring to the table. According to the selection of the user, by performing the rewriting of magnification in the table, it is possible to reflect the user's selection.

以上で説明した実施形態では、表示方法が2つの場合で説明を行っているが、表示方法が3つ以上あっても良い。この場合は、表示方法ごとに所定の優先順位を設けておき、優先順位の高いほうから順番に上記と同等の判定を行う。すなわち、まず第1優先度の表示方法1と第2番目の優先度である表示方法2との間で、上記の実施形態と同等の判定を行う。優先度の高い表示方法が選択された場合には、その表示方法を使用する。優先度の低い表示方法が選択された場合には、選択された表示方法と、次に優先度の高い表示方法と同じ判定を行う。使用する表示方法が決定されるか、最低の優先度に達するまで同等の判定を繰り返すことにより、表示方法を決定する。   In the embodiment described above, the case where there are two display methods has been described, but there may be three or more display methods. In this case, a predetermined priority order is provided for each display method, and a determination equivalent to the above is performed in order from the higher priority order. That is, first, a determination equivalent to that in the above embodiment is performed between the display method 1 having the first priority and the display method 2 having the second priority. When a display method with a high priority is selected, the display method is used. When a display method with a low priority is selected, the same determination is performed as the selected display method and the display method with the next highest priority. The display method is determined by repeating the same determination until the display method to be used is determined or the lowest priority is reached.

本発明の実施形態の画像再生装置を示すブロック図である。It is a block diagram which shows the image reproduction apparatus of embodiment of this invention. 本発明における第一の表示倍率判定手段の動作を示すフロー図である。It is a flowchart which shows operation | movement of the 1st display magnification determination means in this invention. 本発明における第二の表示倍率判定手段の動作を示すフロー図である。It is a flowchart which shows operation | movement of the 2nd display magnification determination means in this invention. 本発明における第三の表示倍率判定手段の動作を示すフロー図である。It is a flowchart which shows operation | movement of the 3rd display magnification determination means in this invention. 本発明における第四の表示倍率判定手段で使用するテーブルを示す図であるIt is a figure which shows the table used with the 4th display magnification determination means in this invention. 従来および本発明の実施形態における復号画像と、画像の表示方法の関係の例を示す図である。It is a figure which shows the example of the relationship between the decoding image in the prior art and embodiment of this invention, and the display method of an image. 従来の画像再生装置の形態を示すブロック図である。It is a block diagram which shows the form of the conventional image reproduction apparatus.

符号の説明Explanation of symbols

101 記録メディア
102 ファイル処理部
103 画像復号部
104 画像スケーラ
105 表示切替部
106 操作部
107 表示コントローラ
108 ディスプレイ
109 表示倍率判定部
DESCRIPTION OF SYMBOLS 101 Recording medium 102 File processing part 103 Image decoding part 104 Image scaler 105 Display switching part 106 Operation part 107 Display controller 108 Display 109 Display magnification determination part

Claims (3)

符号化された画像を復号画像として復号する画像復号部と、前記復号画像を表示画面に表示画像として表示する画像表示部と、を備えた画像再生装置において、
前記符号化された画像の復号画像が前記表示画面に全画面表示されるように、前記符号化された画像の画素数と、前記表示画像の画素数との大小関係に基づいて、復号画像を拡大又は縮小して表示するための倍率を判定する表示倍率判定部と、
前記表示倍率判定部により判定された倍率に基づいて復号画像を拡大又は縮小する画像スケーラ部と、
を更に備え、
前記画像スケーラ部は、前記表示倍率判定部により判定された倍率が閾値の倍率以下で、かつ、復号画像の圧縮率が所定の圧縮率以下の場合には、前記表示倍率判定部により判定された倍率にて拡大又は縮小し、それ以外の場合には、閾値の倍率より小さい所定の倍率にて拡大又は縮小し、
前記画像表示部は、前記画像スケーラ部で拡大又は縮小された画像を表示することを特徴とする画像再生装置。
In an image reproduction device comprising: an image decoding unit that decodes an encoded image as a decoded image; and an image display unit that displays the decoded image as a display image on a display screen;
Based on the magnitude relationship between the number of pixels of the encoded image and the number of pixels of the display image, the decoded image is converted so that the decoded image of the encoded image is displayed on the display screen in full screen. A display magnification determination unit for determining a magnification for displaying in an enlarged or reduced manner,
An image scaler unit that enlarges or reduces the decoded image based on the magnification determined by the display magnification determination unit;
Further comprising
The image scaler unit is determined by the display magnification determination unit when the magnification determined by the display magnification determination unit is equal to or less than a threshold magnification and the compression rate of the decoded image is equal to or less than a predetermined compression rate. Enlarge or reduce at a magnification, otherwise, enlarge or reduce at a predetermined magnification smaller than the threshold magnification,
The image display device, wherein the image display unit displays an image enlarged or reduced by the image scaler unit.
前記表示画像の画素数は、前記表示画面の画素数であることを特徴とする請求項1に記載の画像再生装置。   The image reproduction device according to claim 1, wherein the number of pixels of the display image is the number of pixels of the display screen. 符号化された画像を復号画像として復号し、拡大又は縮小して表示画面に表示する画像再生方法において、
前記符号化された画像の復号画像が前記表示画面に全画面表示されるように、前記符号化された画像の画素数と、前記表示画面の画素数との大小関係に基づいて、復号画像を拡大又は縮小して表示するための倍率を判定するステップと、
前記判定された倍率が所定の閾値の倍率以下の場合で、かつ、復号画像の圧縮率が所定の圧縮率以下の場合には、前記判定された倍率にて拡大又は縮小し、それ以外の場合には、閾値の倍率より小さい所定の倍率にて拡大又は縮小するステップと、
を有することを特徴とする画像再生方法。
In an image reproduction method for decoding an encoded image as a decoded image and displaying the image on a display screen after being enlarged or reduced,
Based on the magnitude relationship between the number of pixels of the encoded image and the number of pixels of the display screen, the decoded image is displayed so that the decoded image of the encoded image is displayed on the display screen in full screen. Determining a magnification for displaying in an enlarged or reduced manner;
When the determined magnification is equal to or smaller than a predetermined threshold and when the decoded image compression rate is equal to or lower than the predetermined compression rate, the image is enlarged or reduced at the determined magnification, and otherwise Includes enlarging or reducing at a predetermined magnification smaller than a threshold magnification, and
An image reproduction method comprising:
JP2004002289A 2004-01-07 2004-01-07 Image reproducing apparatus and image reproducing method Expired - Fee Related JP4530671B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2004002289A JP4530671B2 (en) 2004-01-07 2004-01-07 Image reproducing apparatus and image reproducing method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2004002289A JP4530671B2 (en) 2004-01-07 2004-01-07 Image reproducing apparatus and image reproducing method

Publications (2)

Publication Number Publication Date
JP2005198027A JP2005198027A (en) 2005-07-21
JP4530671B2 true JP4530671B2 (en) 2010-08-25

Family

ID=34817557

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2004002289A Expired - Fee Related JP4530671B2 (en) 2004-01-07 2004-01-07 Image reproducing apparatus and image reproducing method

Country Status (1)

Country Link
JP (1) JP4530671B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2012120614A1 (en) * 2011-03-07 2012-09-13 Necディスプレイソリューションズ株式会社 Image display device and video signal processing method

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH09284699A (en) * 1996-04-12 1997-10-31 Nec Corp Automatic magnification reduction circuit
JPH10304187A (en) * 1997-04-28 1998-11-13 Canon Inc Print control apparatus and method, and storage medium

Also Published As

Publication number Publication date
JP2005198027A (en) 2005-07-21

Similar Documents

Publication Publication Date Title
US8503827B2 (en) Apparatus and method for decoding image data
US6400852B1 (en) Arbitrary zoom “on -the -fly”
US7433544B2 (en) Apparatus and method for producing thumbnail images and for improving image quality of re-sized images
JP2007206644A (en) Image display system, image display method, image display program, recording medium, data processing device, image display device
JP4455364B2 (en) Resolution conversion method and apparatus
KR100912560B1 (en) TV water device
WO2011070793A1 (en) Image display device and image display method
US20060227104A1 (en) Rotation display apparatus using two display buffers in mobile phone and method thereof
JP4530671B2 (en) Image reproducing apparatus and image reproducing method
EP2239941A1 (en) Multi-screen display
JP2005045787A (en) Video signal processing apparatus to generate both progressive and interlace video signals
CN100442834C (en) Moving image recording method and device, moving image reproducing method and device
US8159607B2 (en) Video signal display system, video signal reproducing apparatus, and video signal display method
JP2003069832A (en) Image processing apparatus and method, program, and computer-readable recording medium
US20040213467A1 (en) Image processing apparatus
US7389004B2 (en) Image processing apparatus
JP4239811B2 (en) Imaging device
JP7020782B2 (en) Reproduction device and its control method
CN1327711C (en) Method and apparatus for video decoding and de-interlacing
JP2012074851A (en) Electronic apparatus, control program, and recording medium
JP4270071B2 (en) Video signal setting device
JP2009124547A (en) Image processing apparatus and image recording / reproducing apparatus
JP2003250160A (en) Video frame number reduction device and video frame number reduction method
KR20060040921A (en) AlgiBee Image Compression Method and AlgiBee Video Compression Restoration Device and Moving Image Removal Device and Method
US20080187232A1 (en) Picture reproducing and displaying apparatus and method

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20060125

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20080116

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20080325

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20080516

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20081118

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20090116

RD02 Notification of acceptance of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7422

Effective date: 20090817

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20090901

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20091029

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20100608

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20100608

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20130618

Year of fee payment: 3

LAPS Cancellation because of no payment of annual fees