JP3795960B2 - Image display device - Google Patents

Image display device Download PDF

Info

Publication number
JP3795960B2
JP3795960B2 JP18920096A JP18920096A JP3795960B2 JP 3795960 B2 JP3795960 B2 JP 3795960B2 JP 18920096 A JP18920096 A JP 18920096A JP 18920096 A JP18920096 A JP 18920096A JP 3795960 B2 JP3795960 B2 JP 3795960B2
Authority
JP
Japan
Prior art keywords
dct
conversion
idct
data
expression
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
JP18920096A
Other languages
Japanese (ja)
Other versions
JPH1032818A (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.)
Sanyo Electric Co Ltd
Original Assignee
Sanyo Electric Co Ltd
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 Sanyo Electric Co Ltd filed Critical Sanyo Electric Co Ltd
Priority to JP18920096A priority Critical patent/JP3795960B2/en
Publication of JPH1032818A publication Critical patent/JPH1032818A/en
Application granted granted Critical
Publication of JP3795960B2 publication Critical patent/JP3795960B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Compression Or Coding Systems Of Tv Signals (AREA)
  • Compression Of Band Width Or Redundancy In Fax (AREA)
  • Exposure Control For Cameras (AREA)
  • Editing Of Facsimile Originals (AREA)

Description

【0001】
【産業上の利用分野】
この発明は画像表示装置に関し、特にたとえば電子スチルカメラに適用され、縦方向および横方向の各々に複数のDCT係数を有するDCTブロックによって形成される画像データにIDCT変換を施す、画像表示装置に関する。
【0002】
【従来の技術】
従来のこの種の画像表示装置では、原画像の符号化データを伸長して原画像よりも少ない画素数をもつ小型LCD表示装置に表示するとき、符号データをハフマン復号化および逆量子化し、全ての逆量子化データをIDCT変換し、そしてこれによって生成された伸長画像データのうち小型LCD表示装置に表示しない画素データを間引いていた。
【0003】
【発明が解決しようとする課題】
しかし、これでは表示しない画素データまでも生成するため、処理に時間がかかるという問題があった。
それゆえに、この発明の主たる目的は、画像を表示する処理に要する時間を短縮することができる、画像表示装置を提供することである。
【0004】
【課題を解決するための手段】
この発明に従う画像表示装置は、互いに直交する第1方向および第2方向の各々に複数のDCT係数を有するDCTブロックによって形成される画像データにIDCT変換を施す画像表示装置において、DCTブロックを形成する複数のDCT係数の全てに第2方向の1次元IDCT変換を施して、DCTブロックを形成しかつ第1方向に延びる特定DCT係数列に属する複数のDCT係数にそれぞれ対応する複数の第1IDCT変換結果のみを生成する第1変換手段、および第1変換手段によって生成された複数の第1IDCT変換結果の全てに第1方向の1次元IDCT変換を施して、特定DCT係数列に属する特定DCT係数に対応する第2IDCT変換結果のみを生成する第2変換手段を備え、第1方向は縦方向および横方向の一方であり、第2方向は縦方向および横方向の他方であり、特定DCT係数列は第2方向において偶数番目および奇数番目の一方に存在し、特定DCT係数は第1方向において偶数番目および奇数番目の一方に存在することを特徴とする。
【0005】
【作用】
画像データは、互いに直交する第1方向および第2方向の各々に複数のDCT係数を有するDCTブロックによって形成される。このような画像データに基づく画像を表示するとき、第1変換手段は、DCTブロックを形成する複数のDCT係数の全てに第2方向の1次元IDCT変換を施して、DCTブロックを形成しかつ第1方向に延びる特定DCT係数列に属する複数のDCT係数にそれぞれ対応する複数の第1IDCT変換結果のみを生成する。また、第2変換手段は、第1変換手段によって生成された複数の第1IDCT変換結果の全てに第1方向の1次元IDCT変換を施して、特定DCT係数列に属する特定DCT係数に対応する第2IDCT変換結果のみを生成する。ここで、第1方向は縦方向および横方向の一方であり、第2方向は縦方向および横方向の他方である。また、特定DCT係数列は第2方向において偶数番目および奇数番目の一方に存在し、特定DCT係数は第1方向において偶数番目および奇数番目の一方に存在する。
【0006】
【発明の効果】
この発明によれば、画像を表示するのに要する時間を短縮することができる。
【0007】
【実施例】
図1を参照して、この実施例のディジタルスチルカメラ10は映像信号処理回路12を含み、画素数が縦×横=480×640画素のCCD(Charge Coupled Device) 11から出力されたRGBデータが、これによってYUVデータに変換される。原理的にはRGBデータのままでも画像圧縮は可能であるが、YUVデータに変換しUVデータを大きく圧縮することで、大きな圧縮率と高い画質で再生することができるため、まず始めに数1に従ってYUVデータに変換される。映像信号処理回路12ではさらに、UVデータが水平方向および垂直方向に1/2に間引かれる。これは、人間の目が輝度の変化には敏感であるが色の変化には比較的鈍感であるという特性を利用したものである。
【0008】
【数1】
Y=0.2990・R+0.5870・G+0.1140・B
U=−0.1684・R−0.3316・G+0.5000・B
V=0.5000・R−0.4187・G−0.0813・B
間引き処理がなされたYUVデータは、DRAM14に一旦格納された後、CPU22で縦方向×横方向=8×8画素の画素ブロック単位でDCT変換され、DCT変換係数が量子化され、そして量子化データがハフマン符号化される。このようなDCT変換からハフマン符号化までのプロセス(ベースラインプロセス)によって得られた圧縮画像データがフラッシュメモリ24に格納される。
【0009】
伸長時は、フラッシュメモリ24からその圧縮画像データが読み出され、CPU22によって圧縮時と逆の処理がかけられる。すなわち、圧縮画像データがハフマン復号化され、復号データが逆量子化され、そして逆量子化データが8×8画素のブロック単位でIDCT変換される。このようにして、圧縮される前のYUVデータとほぼ同じデータが生成される。このYUVデータは1フィールドずつ生成され、VRAM16を介して、映像信号処理回路18で数2に従ってRGBデータに戻される。
【0010】
【数2】
R=Y +1.4020・V
G=Y−0.3441・U−0.7139・V
B=Y+1.7718・U−0.0012・V
RGBデータはその後、CCDの画素数よりも少ない縦×横=220×279画素のLCD表示装置20から出力される。
【0011】
CPU22は、1フィールド分の圧縮画像データが与えられる毎に図2に示すフローを開始し、その圧縮画像データに含まれる8×8画素の画素ブロック単位で伸長処理を行う。すなわち、1フィールド分の圧縮画像データが入力されると、ステップS1でそのデータをハフマン復号化し、次にステップS3で復号データを逆量子化する。この逆量子化データには複数DCT係数ブロックが含まれ、それぞれのDCT係数ブロックには図3に示すようなDCT係数y00〜y77が含まれる。なお、それぞれのDCT係数に付された2桁の係数のうち左側は横方向の位置を示し、右側は縦方向の位置を示す。
【0012】
ステップS5以降ではこのDCTブロック毎にIDCT変換を行い、画素データすなわち伸長画像データを生成する。すなわち、ステップS5でまずy00〜y07に対して1次元IDCT変換を行い、ステップS7でIDCT変換を8回行ったかどうか判断する。このときはまだ8回もIDCT変換を行っていないので、再びステップS5に戻る。そして今度はDCT係数y10〜y17についてIDCT変換を行い、ステップS7に移行する。このようにしてステップS5およびS7のループを8回繰り返してDCT係数y00〜y07からy70〜y77のそれぞれについて1次元IDCT変換を行う。これによって、図4に示すようなIDCT変換結果が得られる。
【0013】
この処理を以下で詳しく説明する。DCT係数をyn0,yn1,yn2,yn3,yn4,yn5,yn6およびyn7(n=0〜7)とし、変数t10,t11,t12およびt13は、右側の係数が0および偶数のDCT係数yn0,yn2,yn4およびyn6に基づいて、数3〜数5に従って求められる。
【0014】
【数3】
1 =(z2 +z3 )・√2・c6
2 =yn2
3 =yn6
【0015】
【数4】
0 =yn0+yn4
1 =yn0−yn4
2 =z1 +z3 ・√2・(c2 +c6
3 =z1 +z2 ・√2・(c2 −c6
【0016】
【数5】
10=t0 +t3
11=t1 +t2
12=t1 −t2
13=t0 −t3
すなわち、まずDCT係数yn2およびyn6と基底ベクトルc6 とに基づいて変数z1 〜z3 が求められ、次にDCT係数yn0およびyn4と変数z1 〜z3 と基底ベクトルc2 およびc6 とを用いて変数t0 〜t3 が求められ、そして、この変数t0 〜t3 を用いて変数t10〜t13が求められる。
【0017】
また、右側の係数が奇数のDCT係数yn1,yn3,yn5およびyn7に基づいて、数6〜数11に従ってt0 ″〜t3 ″が求められる。
【0018】
【数6】
0 =yn7
1 =yn5
2 =yn3
3 =yn1
【0019】
【数7】
1 =t0 +t3
2 =t1 +t2
3 =t0 +t2
4 =t1 +t3
5 =(z3 +z4 )・√2・c3
【0020】
【数8】
0 ′=t0 ・√2・(−c1 +c3 +c5 −c7
1 ′=t1 ・√2・(c1 +c3 −c5 +c7
2 ′=t2 ・√2・(c1 +c3 +c5 −c7
3 ′=t3 ・√2・(c1 +c3 −c5 −c7
【0021】
【数9】
1 ′=z1 ・√2・(c7 −c3
2 ′=z2 ・√2・(−c1 −c3
3 ′=z3 ・√2・(−c3 −c5
4 ′=z4 ・√2・(c5 −c3
【0022】
【数10】
3 ″=z3 ′+z5
4 ″=z4 ′+z5
【0023】
【数11】
0 ″=t0 ′+z1 ′+z3
1 ″=t1 ′+z2 ′+z4
2 ″=t2 ′+z2 ′+z3
3 ″=t3 ′+z1 ′+z4
すなわち、まず変数t0 〜t3 が定義され、これに基づいて変数z1 〜z5 が求められる。続いて、変数t0 〜t3 と基底ベクトルc1 ,c3 ,c5 およびc7 を用いて変数t0 ′〜t3 ′が求められる。その後、変数z1 〜z4 と基底ベクトルc1 ,c3 ,c5 およびc7 とを用いて変数z1 ′〜z4 ′が求められ、変数z3 ′およびz4 ′と変数z5 ′とに基づいて変数z3 ″およびz4 ″が求められる。そして、変数t0 ′〜t3 ′とz1 ′およびz2 ′とz3 ″およびz4 ″とに基づいて変数t0 ″〜t3 ″が求められる。
【0024】
ただし、数3〜数5において用いられる変数z1 〜z3 およびt0 〜t3 と数6〜数11で用いられる変数z1 〜z5 およびt0 〜t3 とは互いに無関係である。また、基底ベクトルc1 ,c3 ,c5 およびc7 はDCT変換に用いられる基底ベクトルであり、数12で表される。なお、DCT変換のアルゴリズムについては、1993年12月21日付で公表された“MPEG Video技術”(片山泰男 (株)グラフィックス・コミュニケーション・ラボラトリーズ)を参照されたい。
【0025】
【数12】
m =√2 cos(mπ/16)
このようにして求められた変数t10〜t13とt0 ″〜t3 ″とに基づいて数13に示す1次元IDCT変換結果xn0′,xn2′,xn4′およびxn6′が求められる。
【0026】
【数13】
n0′=t10+t3
n2′=t12+t1
n4′=t13−t0
n6′=t11−t2
なお、1次元IDCT変換結果xn1′,xn3′,xn5′およびxn7′は数14に従って求められるが、この実施例ではその計算が省かれる。
【0027】
【数14】
n1′=t11+t2
n3′=t13+t0
n5′=t12−t1
n7′=t10−t3
この計算を図2のステップS5およびS7で8回すなわちn=0からn=7まで繰り返すことによって、図4に示すIDCT変換結果が求められる。
【0028】
ステップS9およびS11では、図4に示すIDCT変換結果をさらに水平方向に対して4回IDCT変換し、図5に示す変換結果x00〜x60からx06〜x66のそれぞれを求める。このときの計算方法は数3〜数13とほぼ同様である。
すなわち、ステップS5およびS7におけるIDCT変換の結果をx0n′,x1n′,x2n′,x3n′,x4n′,x5n′,x6n′およびx7n′(n=0,2,4,6)とすると、変数t10〜t13が数15〜数17に従って求められる。数15はz2 がx2n′と定義され、z3 がz6n′と定義される点を除き、数3と同じである。また、数16はt0 がx0n′+x4n′と定義され、t1 がx0n′−x4n′と定義される点を除き、数4と同じである。
【0029】
【数15】
1 =(z2 +z3 )・√2・c6
2 =x2n
3 =x6n
【0030】
【数16】
0 =x0n′+x4n
1 =x0n′−x4n
2 =z1 +z3 ・√2・(c2 +c6
3 =z1 +z2 ・√2・(c2 −c6
【0031】
【数17】
10=t0 +t3
11=t1 +t2
12=t1 −t2
13=t0 −t3
また、変数t0 ″〜t3 ″が数18〜数23に従って求められる。
【0032】
【数18】
0 =x7n
1 =x5n
2 =x3n
3 =x1n
【0033】
【数19】
1 =t0 +t3
2 =t1 +t2
3 =t0 +t2
4 =t1 +t3
5 =(z3 +z4 )・√2・c3
【0034】
【数20】
0 ′=t0 ・√2・(−c1 +c3 +c5 −c7
1 ′=t1 ・√2・(c1 +c3 −c5 +c7
2 ′=t2 ・√2・(c1 +c3 +c5 −c7
3 ′=t3 ・√2・(c1 +c3 −c5 −c7
【0035】
【数21】
1 ′=z1 ・√2・(c7 −c3
2 ′=z2 ・√2・(−c1 −c3
3 ′=z3 ・√2・(−c3 −c5
4 ′=z4 ・√2・(c5 −c3
【0036】
【数22】
3 ″=z3 ′+z5
4 ″=z4 ′+z5
【0037】
【数23】
0 ″=t0 ′+z1 ′+z3
1 ″=t1 ′+z2 ′+z4
2 ″=t2 ′+z2 ′+z3
3 ″=t3 ′+z1 ′+z4
ただし、このとき変数t0 〜t3 のそれぞれは、数18からわかるように、x7n′,x5n′,x3n′およびx1n′と定義される。また、数19〜数23は数7〜数11と同じである。
【0038】
このようにして求められた変数t10〜t13とt0 ″〜t3 ″に基づいて数24に従ってIDCT変換結果x0n,x2n,x4nおよびx6nが求められる。なお、IDCT変換結果x1n,x3n,x5nおよびx7nは数25に従って求めることができるが、この実施例ではこの計算が省かれる。
【0039】
【数24】
0n=t10+t3
2n=t12+t1
4n=t13−t0
6n=t11−t2
【0040】
【数25】
1n=t11+t2
3n=t13+t0
5n=t12−t1
7n=t10−t3
以上の計算をn=0,2,4および6のそれぞれについて、すなわち4回行うことによって、図5に示すIDCT変換結果が求められる。そして、このIDCT変換結果が画素データとして映像信号処理回路18を介してLCD20から出力される。
【0041】
ステップS11で“YES”と判断されると、つまり1つのDCTブロックに対応する画素ブロックが求められると、ステップS13で1フィールド分の逆量子化データに含まれる全てのDCTブロックを処理したかどうか判断し、“NO”であればステップS5に戻るが、“YES”であれば処理を終了する。そして、次回の処理は次のフィールドの圧縮画像データが読み出されたときに開始される。
【0042】
なお、伸長処理によって得られる画素数は原画像の1/2の240×320画素であるため、LCD表示装置20は、伸長画像データの一部を切り落として出力する。
この実施例によれば、図3に示す逆量子化データのDCTブロックを縦方向および横方向にIDCT変換することによって、図5に示すかつLCD20と同じ数の画素データを得るようにしたため、伸長処理に要する時間を短縮することができる。
【0043】
なお、この実施例では係数が0および偶数の画素データのみを求めることによって伸長画像データの画素数を原画像の1/2としたが、伸長画像データの画素数を1/2とするには係数が奇数の画素データのみを求めるようにしてもよいことはもちろんである。また、LCD20の画素数に従って求める画素データを変えることは上述の数13,数14,数24および数25から容易である。
【0044】
さらに、この実施例ではまず縦方向にIDCT変換し次に横方向にIDCT変換するようにしたが、この順序を逆にしてもよいことはもちろんである。
【図面の簡単な説明】
【図1】この発明の一実施例を示すブロック図である。
【図2】図1実施例の動作の一部を示すフロー図である。
【図3】図1実施例の動作の一部を示す図解図である。
【図4】図1実施例の動作の一部を示す図解図である。
【図5】図1実施例の動作の一部を示す図解図である。
【符号の説明】
10 …ディジタルスチルカメラ
20 …LCD
22 …CPU
[0001]
[Industrial application fields]
The present invention relates to an image display device , and more particularly to an image display device that is applied to, for example, an electronic still camera and performs IDCT conversion on image data formed by DCT blocks each having a plurality of DCT coefficients in the vertical direction and the horizontal direction .
[0002]
[Prior art]
In this type of conventional image display device , when the encoded data of the original image is expanded and displayed on a small LCD display device having a smaller number of pixels than the original image, the encoded data is Huffman decoded and inverse quantized, The inversely quantized data is subjected to IDCT conversion, and pixel data not displayed on the small LCD display device is thinned out of the decompressed image data generated thereby.
[0003]
[Problems to be solved by the invention]
However, since pixel data that is not displayed is generated, there is a problem that processing takes time.
Therefore, a main object of the present invention is to provide an image display device capable of reducing the time required for the process of displaying an image.
[0004]
[Means for Solving the Problems]
The image display device according to the invention is an image display apparatus for performing IDCT conversion on the image data formed by the DCT block having a plurality of DCT coefficients in each of the first and second directions orthogonal to each other, forming a DCT block A plurality of first IDCT conversion results corresponding to a plurality of DCT coefficients that form a DCT block and belong to a specific DCT coefficient sequence that are subjected to one-dimensional IDCT conversion in the second direction on all of the plurality of DCT coefficients The first conversion means for generating only the first DCT coefficients , and applying the one-dimensional IDCT conversion in the first direction to all of the plurality of first IDCT conversion results generated by the first conversion means to correspond to the specific DCT coefficients belonging to the specific DCT coefficient sequence a second conversion means for generating only first 2IDCT conversion results, in the first direction is the longitudinal direction and the transverse direction one- The second direction is the other of the vertical direction and the horizontal direction, the specific DCT coefficient sequence exists in one of the even and odd numbers in the second direction, and the specific DCT coefficient is the even and odd numbers in the first direction. It exists in one of these.
[0005]
[Action]
The image data is formed by DCT blocks having a plurality of DCT coefficients in each of a first direction and a second direction orthogonal to each other. When displaying an image based on such image data, the first conversion unit performs a one-dimensional IDCT conversion in the second direction on all of the plurality of DCT coefficients forming the DCT block to form the DCT block and Only a plurality of first IDCT conversion results respectively corresponding to a plurality of DCT coefficients belonging to a specific DCT coefficient sequence extending in one direction are generated . Further, the second conversion unit performs one-dimensional IDCT conversion in the first direction on all of the plurality of first IDCT conversion results generated by the first conversion unit, and corresponds to the specific DCT coefficient belonging to the specific DCT coefficient sequence. Only the 2IDCT conversion result is generated . Here, the first direction is one of the vertical direction and the horizontal direction, and the second direction is the other of the vertical direction and the horizontal direction. Further, the specific DCT coefficient sequence exists in one of the even and odd numbers in the second direction, and the specific DCT coefficient exists in one of the even and odd numbers in the first direction.
[0006]
【The invention's effect】
According to the present invention, it is possible to shorten the time required to display the images.
[0007]
【Example】
Referring to FIG. 1, a digital still camera 10 of this embodiment includes a video signal processing circuit 12, and RGB data output from a CCD (Charge Coupled Device) 11 having a number of pixels of vertical × horizontal = 480 × 640 pixels is obtained. Thereby, it is converted into YUV data. In principle, image compression is possible even with RGB data as it is, but by converting to YUV data and greatly compressing the UV data, it can be reproduced with a large compression ratio and high image quality. To be converted into YUV data. In the video signal processing circuit 12, the UV data is further thinned by half in the horizontal direction and the vertical direction. This utilizes the characteristic that the human eye is sensitive to changes in luminance but relatively insensitive to changes in color.
[0008]
[Expression 1]
Y = 0.2990 · R + 0.5870 · G + 0.1140 · B
U = -0.1684 ・ R-0.3316 ・ G + 0.5000 ・ B
V = 0.5000 ・ R-0.4187 ・ G-0.0813 ・ B
The YUV data subjected to the thinning process is temporarily stored in the DRAM 14, and then subjected to DCT conversion in units of pixel blocks of vertical direction × horizontal direction = 8 × 8 pixels by the CPU 22, the DCT conversion coefficient is quantized, and the quantized data Are Huffman coded. The compressed image data obtained by such a process from DCT conversion to Huffman coding (baseline process) is stored in the flash memory 24.
[0009]
At the time of decompression, the compressed image data is read from the flash memory 24, and the CPU 22 performs processing reverse to that at the time of compression. That is, the compressed image data is subjected to Huffman decoding, the decoded data is inversely quantized, and the inversely quantized data is subjected to IDCT conversion in units of 8 × 8 pixel blocks. In this way, almost the same data as the YUV data before being compressed is generated. This YUV data is generated for each field, and is converted back to RGB data according to Equation 2 by the video signal processing circuit 18 via the VRAM 16.
[0010]
[Expression 2]
R = Y + 1.42020V
G = Y-0.3441 ・ U-0.7139 ・ V
B = Y + 1.71818 ・ U−0.0012 ・ V
Thereafter, the RGB data is output from the LCD display device 20 having vertical × horizontal = 220 × 279 pixels smaller than the number of pixels of the CCD.
[0011]
The CPU 22 starts the flow shown in FIG. 2 every time compressed image data for one field is given, and performs decompression processing in units of 8 × 8 pixel blocks included in the compressed image data. That is, when compressed image data for one field is input, the data is Huffman decoded in step S1, and then the decoded data is inversely quantized in step S3. The inverse quantized data includes a plurality of DCT coefficient blocks, and each DCT coefficient block includes DCT coefficients y 00 to y 77 as shown in FIG. Of the two-digit coefficients attached to each DCT coefficient, the left side indicates the horizontal position, and the right side indicates the vertical position.
[0012]
After step S5, IDCT conversion is performed for each DCT block to generate pixel data, that is, expanded image data. That performs a 1-D IDCT transform is first with respect to y 00 ~y 07 in step S5, it is determined whether performed 8 times an IDCT transformation in Step S7. At this time, since IDCT conversion has not been performed eight times, the process returns to step S5 again. Next, IDCT conversion is performed on the DCT coefficients y 10 to y 17 , and the process proceeds to step S7. Thus it is performing a one-dimensional IDCT transform for each y 70 ~y 77 from the DCT coefficients y 00 ~y 07 by repeating 8 times the loop of steps S5 and S7 are. As a result, an IDCT conversion result as shown in FIG. 4 is obtained.
[0013]
This process will be described in detail below. The DCT coefficients are y n0 , y n1 , y n2 , y n3 , y n4 , y n5 , y n6 and y n7 (n = 0 to 7), and the variables t 10 , t 11 , t 12 and t 13 are on the right side. Are obtained according to Equations (3) to (5) based on 0 and even DCT coefficients yn0 , yn2 , yn4, and yn6 .
[0014]
[Equation 3]
z 1 = (z 2 + z 3 ) · √2 · c 6
z 2 = y n2
z 3 = y n6
[0015]
[Expression 4]
t 0 = y n0 + y n4
t 1 = y n0 −y n4
t 2 = z 1 + z 3 · √2 · (c 2 + c 6 )
t 3 = z 1 + z 2 · √2 · (c 2 −c 6 )
[0016]
[Equation 5]
t 10 = t 0 + t 3
t 11 = t 1 + t 2
t 12 = t 1 −t 2
t 13 = t 0 -t 3
That is, first, variables z 1 to z 3 are obtained based on DCT coefficients y n2 and y n6 and basis vector c 6, and then DCT coefficients y n0 and y n4 , variables z 1 to z 3 and basis vector c 2 are obtained. and c 6 and the variable t 0 ~t 3 with is determined, then the variable t 10 ~t 13 by using the variable t 0 ~t 3 is obtained.
[0017]
Further, t 0 ″ to t 3 ″ are obtained according to the equations 6 to 11, based on the DCT coefficients y n1 , y n3 , y n5, and y n7 whose odd coefficients are on the right side.
[0018]
[Formula 6]
t 0 = y n7
t 1 = y n5
t 2 = y n3
t 3 = y n1
[0019]
[Expression 7]
z 1 = t 0 + t 3
z 2 = t 1 + t 2
z 3 = t 0 + t 2
z 4 = t 1 + t 3
z 5 = (z 3 + z 4 ) · √2 · c 3
[0020]
[Equation 8]
t 0 ′ = t 0 · √2 · (−c 1 + c 3 + c 5 −c 7 )
t 1 ′ = t 1 · √2 · (c 1 + c 3 −c 5 + c 7 )
t 2 ′ = t 2 · √2 · (c 1 + c 3 + c 5 −c 7 )
t 3 ′ = t 3 · √2 · (c 1 + c 3 −c 5 −c 7 )
[0021]
[Equation 9]
z 1 ′ = z 1 √2 · (c 7 −c 3 )
z 2 ′ = z 2 · √2 · (−c 1 −c 3 )
z 3 ′ = z 3 · √2 · (−c 3 −c 5 )
z 4 ′ = z 4 · √2 (c 5 −c 3 )
[0022]
[Expression 10]
z 3 ″ = z 3 ′ + z 5
z 4 ″ = z 4 ′ + z 5
[0023]
[Expression 11]
t 0 ″ = t 0 ′ + z 1 ′ + z 3
t 1 ″ = t 1 ′ + z 2 ′ + z 4
t 2 ″ = t 2 ′ + z 2 ′ + z 3
t 3 ″ = t 3 ′ + z 1 ′ + z 4
That is, first, variables t 0 to t 3 are defined, and variables z 1 to z 5 are obtained based on these variables. Subsequently, the variable t 0 ~t 3 and basis vectors c 1, c 3, variable with c 5 and c 7 t 0 '~t 3' is obtained. Thereafter, the variable z 1 to z 4 and basis vectors c 1, c 3, c 5 and c 7 and the variable z 1 '~z 4' with is required, the variable z 3 ', and z 4' and variable z 5 Based on ′, variables z 3 ″ and z 4 ″ are determined. Then, it is required the variable t 0 "~t 3" on the basis of a variable t 0 '~t 3' and z 1 'and z 2' z 3 and "and z 4 '.
[0024]
However, the variable z 1 to z 5 and t 0 ~t 3 used in the variable z 1 to z 3 and t 0 ~t 3 the number 6 number 11 is used in several 3 Number 5 are independent of each other. In addition, basis vectors c 1 , c 3 , c 5 and c 7 are basis vectors used for DCT transformation, and are expressed by Equation 12. For the DCT conversion algorithm, refer to “MPEG Video Technology” (Yasuo Katayama, Graphics Communication Laboratories, Inc.) published on December 21, 1993.
[0025]
[Expression 12]
c m = √2 cos (mπ / 16)
Based on the variables t 10 to t 13 and t 0 ″ to t 3 ″ obtained in this way, the one-dimensional IDCT conversion results x n0 ′, x n2 ′, x n4 ′ and x n6 ′ shown in Equation 13 are obtained. Desired.
[0026]
[Formula 13]
x n0 ′ = t 10 + t 3
x n2 ′ = t 12 + t 1
x n4 ′ = t 13 −t 0
x n6 ′ = t 11 −t 2
The one-dimensional IDCT conversion results x n1 ′, x n3 ′, x n5 ′ and x n7 ′ are obtained according to Equation 14, but in this embodiment, the calculation is omitted.
[0027]
[Expression 14]
x n1 ′ = t 11 + t 2
x n3 ′ = t 13 + t 0
x n5 ′ = t 12 −t 1
x n7 ′ = t 10 −t 3
By repeating this calculation eight times in steps S5 and S7 in FIG. 2, that is, from n = 0 to n = 7, the IDCT conversion result shown in FIG. 4 is obtained.
[0028]
In steps S9 and S11, the IDCT conversion result shown in FIG. 4 is further subjected to IDCT conversion four times in the horizontal direction to obtain each of conversion results x 00 to x 60 to x 06 to x 66 shown in FIG. The calculation method at this time is almost the same as in equations 3 to 13.
That is, the results of the IDCT conversion in steps S5 and S7 are expressed as x 0n ', x 1n ', x 2n ', x 3n ', x 4n ', x 5n ', x 6n 'and x 7n ' (n = 0, 2, 4 and 6), the variables t 10 to t 13 are obtained according to the equations 15 to 17. Equation 15 is the same as Equation 3 , except that z 2 is defined as x 2n ′ and z 3 is defined as z 6n ′. Further, Expression 16 is the same as Expression 4 except that t 0 is defined as x 0n ′ + x 4n ′ and t 1 is defined as x 0n ′ −x 4n ′.
[0029]
[Expression 15]
z 1 = (z 2 + z 3 ) · √2 · c 6
z 2 = x 2n
z 3 = x 6n
[0030]
[Expression 16]
t 0 = x 0n '+ x 4n '
t 1 = x 0n '-x 4n '
t 2 = z 1 + z 3 · √2 · (c 2 + c 6 )
t 3 = z 1 + z 2 · √2 · (c 2 −c 6 )
[0031]
[Expression 17]
t 10 = t 0 + t 3
t 11 = t 1 + t 2
t 12 = t 1 −t 2
t 13 = t 0 -t 3
Also, variables t 0 ″ to t 3 ″ are obtained according to Equations 18 to 23.
[0032]
[Formula 18]
t 0 = x 7n
t 1 = x 5n
t 2 = x 3n
t 3 = x 1n
[0033]
[Equation 19]
z 1 = t 0 + t 3
z 2 = t 1 + t 2
z 3 = t 0 + t 2
z 4 = t 1 + t 3
z 5 = (z 3 + z 4 ) · √2 · c 3
[0034]
[Expression 20]
t 0 ′ = t 0 · √2 · (−c 1 + c 3 + c 5 −c 7 )
t 1 ′ = t 1 · √2 · (c 1 + c 3 −c 5 + c 7 )
t 2 ′ = t 2 · √2 · (c 1 + c 3 + c 5 −c 7 )
t 3 ′ = t 3 · √2 · (c 1 + c 3 −c 5 −c 7 )
[0035]
[Expression 21]
z 1 ′ = z 1 √2 · (c 7 −c 3 )
z 2 ′ = z 2 · √2 · (−c 1 −c 3 )
z 3 ′ = z 3 · √2 · (−c 3 −c 5 )
z 4 ′ = z 4 · √2 (c 5 −c 3 )
[0036]
[Expression 22]
z 3 ″ = z 3 ′ + z 5
z 4 ″ = z 4 ′ + z 5
[0037]
[Expression 23]
t 0 ″ = t 0 ′ + z 1 ′ + z 3
t 1 ″ = t 1 ′ + z 2 ′ + z 4
t 2 ″ = t 2 ′ + z 2 ′ + z 3
t 3 ″ = t 3 ′ + z 1 ′ + z 4
At this time, however, the variables t 0 to t 3 are defined as x 7n ′, x 5n ′, x 3n ′ and x 1n ′, as can be seen from Equation 18. Further, Equations 19 to 23 are the same as Equations 7 to 11.
[0038]
Based on the variables t 10 to t 13 and t 0 ″ to t 3 ″ thus obtained, IDCT conversion results x 0n , x 2n , x 4n and x 6n are obtained according to the equation (24). Although the IDCT conversion results x 1n , x 3n , x 5n and x 7n can be obtained according to Equation 25, this calculation is omitted in this embodiment.
[0039]
[Expression 24]
x 0n = t 10 + t 3
x 2n = t 12 + t 1
x 4n = t 13 −t 0
x 6n = t 11 −t 2
[0040]
[Expression 25]
x 1n = t 11 + t 2
x 3n = t 13 + t 0
x 5n = t 12 −t 1
x 7n = t 10 −t 3
By performing the above calculation for each of n = 0, 2, 4, and 6, that is, four times, the IDCT conversion result shown in FIG. 5 is obtained. The IDCT conversion result is output from the LCD 20 via the video signal processing circuit 18 as pixel data.
[0041]
If “YES” is determined in step S11, that is, if a pixel block corresponding to one DCT block is obtained, whether or not all DCT blocks included in the dequantized data for one field have been processed in step S13. If “NO”, the process returns to the step S5. If “YES”, the process is terminated. The next processing is started when the compressed image data of the next field is read out.
[0042]
Since the number of pixels obtained by the decompression process is 240 × 320 pixels, which is 1/2 of the original image, the LCD display device 20 cuts off a part of the decompressed image data and outputs it.
According to this embodiment, since the DCT block of the inversely quantized data shown in FIG. 3 is subjected to IDCT conversion in the vertical direction and the horizontal direction, the same number of pixel data as shown in FIG. The time required for processing can be shortened.
[0043]
In this embodiment, the number of pixels of the expanded image data is reduced to 1/2 of the original image by obtaining only pixel data having coefficients of 0 and even. However, in order to reduce the number of pixels of the expanded image data to 1/2. Of course, only pixel data having an odd coefficient may be obtained. Further, it is easy to change the pixel data to be obtained in accordance with the number of pixels of the LCD 20 from the above-mentioned Expression 13, Expression 14, Expression 24, and Expression 25.
[0044]
Further, in this embodiment, the IDCT conversion is first performed in the vertical direction, and then the IDCT conversion is performed in the horizontal direction. However, the order may be reversed.
[Brief description of the drawings]
FIG. 1 is a block diagram showing an embodiment of the present invention.
FIG. 2 is a flowchart showing a part of the operation of FIG. 1 embodiment;
3 is an illustrative view showing one portion of operation of the embodiment in FIG. 1; FIG.
4 is an illustrative view showing one portion of operation of FIG. 1 embodiment; FIG.
FIG. 5 is an illustrative view showing one portion of operation of FIG. 1 embodiment;
[Explanation of symbols]
10 ... Digital still camera 20 ... LCD
22 ... CPU

Claims (2)

互いに直交する第1方向および第2方向の各々に複数のDCT係数を有するDCTブロックによって形成される画像データにIDCT変換を施す画像表示装置において、
前記DCTブロックを形成する複数のDCT係数の全てに前記第2方向の1次元IDCT変換を施して、前記DCTブロックを形成しかつ前記第1方向に延びる特定DCT係数列に属する複数のDCT係数にそれぞれ対応する複数の第1IDCT変換結果のみを生成する第1変換手段、および
前記第1変換手段によって生成された複数の第1IDCT変換結果の全てに前記第1方向の1次元IDCT変換を施して、前記特定DCT係数列に属する特定DCT係数に対応する第2IDCT変換結果のみを生成する第2変換手段を備え、
前記第1方向は縦方向および横方向の一方であり、前記第2方向は前記縦方向および前記横方向の他方であり、前記特定DCT係数列は前記第2方向において偶数番目および奇数番目の一方に存在し、前記特定DCT係数は前記第1方向において前記偶数番目および前記奇数番目の一方に存在することを特徴とする、画像表示装置。
In an image display device that performs IDCT conversion on image data formed by DCT blocks having a plurality of DCT coefficients in each of a first direction and a second direction orthogonal to each other,
All of the plurality of DCT coefficients forming the DCT block are subjected to the one-dimensional IDCT transformation in the second direction to form the DCT block and to form a plurality of DCT coefficients belonging to a specific DCT coefficient sequence extending in the first direction. First conversion means for generating only a plurality of first IDCT conversion results corresponding respectively , and
All the plurality of first IDCT conversion results generated by the first conversion means are subjected to one-dimensional IDCT conversion in the first direction, and only the second IDCT conversion result corresponding to the specific DCT coefficient belonging to the specific DCT coefficient sequence is obtained. A second converting means for generating ,
The first direction is one of a vertical direction and a horizontal direction, the second direction is the other of the vertical direction and the horizontal direction, and the specific DCT coefficient sequence is one of an even number and an odd number in the second direction. And the specific DCT coefficient exists in one of the even-numbered and odd-numbered ones in the first direction.
前記第1方向は前記横方向であり、前記第2方向は前記縦方向である、請求項1記載の画像表示装置。  The image display device according to claim 1, wherein the first direction is the horizontal direction and the second direction is the vertical direction.
JP18920096A 1996-07-18 1996-07-18 Image display device Expired - Fee Related JP3795960B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP18920096A JP3795960B2 (en) 1996-07-18 1996-07-18 Image display device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP18920096A JP3795960B2 (en) 1996-07-18 1996-07-18 Image display device

Publications (2)

Publication Number Publication Date
JPH1032818A JPH1032818A (en) 1998-02-03
JP3795960B2 true JP3795960B2 (en) 2006-07-12

Family

ID=16237203

Family Applications (1)

Application Number Title Priority Date Filing Date
JP18920096A Expired - Fee Related JP3795960B2 (en) 1996-07-18 1996-07-18 Image display device

Country Status (1)

Country Link
JP (1) JP3795960B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9055298B2 (en) 2005-07-15 2015-06-09 Qualcomm Incorporated Video encoding method enabling highly efficient partial decoding of H.264 and other transform coded information
KR100984650B1 (en) * 2005-09-27 2010-10-01 퀄컴 인코포레이티드 Video encoding method enabling highly efficient partial decoding of h.264 and other transform coded information

Also Published As

Publication number Publication date
JPH1032818A (en) 1998-02-03

Similar Documents

Publication Publication Date Title
JP4831547B2 (en) Method for image compression and decompression acceleration
KR20120126135A (en) Rotational transcoding for jpeg or other coding standards
JPH0787482A (en) Method and device for coding and decoding picture data
EP3837635A1 (en) Image compression
US20010012397A1 (en) Image processing apparatus and method
US20050196056A1 (en) Image coding and decoding method
US6160920A (en) Cosine transforming and quantizing device, method of reducing multiplication operations in a video compressing apparatus
US6445829B1 (en) Joint cosine transforming and quantizing device and joint inverse quantizing and inverse cosine transforming device
JP4305904B2 (en) Partial image encoding device
JP3795960B2 (en) Image display device
JPH1075448A (en) Image compressor and image expander
JP3469438B2 (en) Image signal processing method and apparatus, recording medium
JP2004354593A (en) Method and system for changing image size
JPH08204957A (en) Image processing method
JP2006340300A (en) Signal processing method, signal processing apparatus, signal processing program and information recording medium
JP3709106B2 (en) Image compression and decompression device
JP2006115536A (en) Decoding method and decoding apparatus
JP2005005925A (en) Image compressing device and image processing system
JP3979020B2 (en) Image processing apparatus for sampling compressed image
US6104838A (en) 1/16 size real time decoding of digital video
JPH08180194A (en) Method and device for coding
JPH1075464A (en) Image compressor and image extender
KR100530745B1 (en) Method of displaying a high-resolution digital image on a low-resolution display
JP2002247376A (en) Image processor
JPH1075463A (en) Image compressor and image expander

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20050202

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20050215

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20050413

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20050809

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20051004

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: 20060404

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20060414

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

Free format text: PAYMENT UNTIL: 20090421

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20100421

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20110421

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20120421

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20130421

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20140421

Year of fee payment: 8

S111 Request for change of ownership or part of ownership

Free format text: JAPANESE INTERMEDIATE CODE: R313113

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

Free format text: PAYMENT UNTIL: 20140421

Year of fee payment: 8

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

LAPS Cancellation because of no payment of annual fees