JPH06225213A - Method and device or processing picture - Google Patents

Method and device or processing picture

Info

Publication number
JPH06225213A
JPH06225213A JP1100293A JP1100293A JPH06225213A JP H06225213 A JPH06225213 A JP H06225213A JP 1100293 A JP1100293 A JP 1100293A JP 1100293 A JP1100293 A JP 1100293A JP H06225213 A JPH06225213 A JP H06225213A
Authority
JP
Japan
Prior art keywords
dct
image
matrix
dct coefficient
coefficient
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.)
Pending
Application number
JP1100293A
Other languages
Japanese (ja)
Inventor
Masanari Asano
眞成 浅野
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.)
Fujifilm Holdings Corp
Fujifilm Microdevices Co Ltd
Original Assignee
Fujifilm Microdevices Co Ltd
Fuji Photo Film 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 Fujifilm Microdevices Co Ltd, Fuji Photo Film Co Ltd filed Critical Fujifilm Microdevices Co Ltd
Priority to JP1100293A priority Critical patent/JPH06225213A/en
Publication of JPH06225213A publication Critical patent/JPH06225213A/en
Pending legal-status Critical Current

Links

Landscapes

  • Editing Of Facsimile Originals (AREA)
  • Compression Or Coding Systems Of Tv Signals (AREA)
  • Compression Of Band Width Or Redundancy In Fax (AREA)
  • Controls And Circuits For Display Device (AREA)
  • Studio Circuits (AREA)

Abstract

PURPOSE:To provide a picture processing method by which picture can easily be enlarged/ reduced at the time of reproducing the picture from picture information compressed by a DCT processing with respect to the enlargement/reduction of the picture. CONSTITUTION:The picture processing method is to obtain the reduced picture from compressed picture data by using discrete cosine transformation(DCT). A process for cutting down the high frequency component of a DCT coefficient displayed by a matrix system and obtaining a corrected DCT coefficient which is frequency analyzed by the DCT processing and which can be displayed by the matrix system of a desired dimension, and the process of executing an inverse DCT calculation for the corrected DCT coefficient and for obtaining picture data of the desired dimension are provided. The picture processing method for obtaining the enlarged picture from compressed picture data by using discrete cosine transformation(DCT) has a process for adding zero as the high frequency component to the DCT coefficient which is frequency-analyzed by the ECT processing and which can be displayed is frequency-analyzed by the ECT processing and which can be displayed by the matrix system and for obtaining the corrected DCT coefficient displayed by the matrix system of the desired dimension and a process for executing inverse DCT calculation for the corrected DCT coefficient and for obtaining picture data of the desired dimension.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は、画像情報の処理に関
し、特に画像の拡大、縮小に関する。近年、画像情報の
圧縮技術として、離散コサイン変換(DCT)がよく用
いられている。DCTによって圧縮された画像データ
は、原画像を周波数分解した情報である。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to image information processing, and more particularly to image enlargement and reduction. In recent years, the discrete cosine transform (DCT) is often used as a compression technique of image information. The image data compressed by DCT is information obtained by frequency decomposition of the original image.

【0002】[0002]

【従来の技術】パソコン等のコンピュータシステムを用
いてディスプレイ上の画像を処理する場合、画像を拡
大、縮小したい場合がある。たとえば、全画面に表示さ
れた画像をウィンド内に縮小したり、ウィンド内の画像
を全画面に拡大するような場合がある。
2. Description of the Related Art When processing an image on a display by using a computer system such as a personal computer, it is sometimes desired to enlarge or reduce the image. For example, an image displayed on the full screen may be reduced in the window, or an image in the window may be enlarged in the full screen.

【0003】画像を縮小する場合、最も簡単な方法は一
定の割合で画像データを削除することであろう。たとえ
ば、画面を2×2画素の集合に分解し、左上の画素のみ
を採用すれば、1/2(面積にして1/4)の画像縮小
ができる。ただし、この場合に結果として得られる画像
は元の画像に忠実であるとは限らない。灰色の画像を白
や黒にしてしまうようなことも起こり得る。
When reducing an image, the simplest method would be to delete image data at a constant rate. For example, if the screen is decomposed into a set of 2 × 2 pixels and only the upper left pixel is adopted, the image can be reduced by 1/2 (1/4 in area). However, the resulting image in this case is not always true to the original image. It is possible for a gray image to turn white or black.

【0004】より原画像に忠実な画像を得ようとする時
は、ある微小領域で平均値を求め、その微小領域を平均
値で表現するようなことが行なわれる。この場合、原画
像の情報を処理する画像情報処理が必要となる。
In order to obtain an image more faithful to the original image, an average value is calculated in a certain minute area and the minute area is expressed by the average value. In this case, image information processing for processing the information of the original image is required.

【0005】画像を拡大する場合、最も簡単な方法は原
画像を単純に拡大し、1画素の情報を複数個の画素に共
通の情報とすることであろう。ただし、この場合に結果
として得られる画像はきめの荒いものとなってしまう。
When enlarging an image, the simplest method would be to simply enlarge the original image and make one pixel of information common to a plurality of pixels. However, in this case, the resulting image has a rough texture.

【0006】よりきめの細かい拡大画像を得ようとする
と、原画像の情報を所望の次元の画面内に分布させ、デ
ータとデータの間を補間することが行なわれる。この場
合、補間データを作成する画像処理が必要となる。
In order to obtain a finer enlarged image, the information of the original image is distributed in the screen of a desired dimension, and data is interpolated. In this case, image processing for creating interpolation data is required.

【0007】近年、高解像度の画像を取り扱う要求が増
大しており、高解像度画像の画像情報のデータ圧縮技術
が開発されている。図6に、DCTを用いた画像データ
圧縮技術を示す。
In recent years, the demand for handling high-resolution images has increased, and data compression techniques for image information of high-resolution images have been developed. FIG. 6 shows an image data compression technique using DCT.

【0008】図6(A)に示すように、対象とする画面
50を小さな小区画51に分割する。小区画51は、た
とえば8画素×8画素の大きさを有する。すなわち、小
区画51は64個の元を含む8行8列の正方行列を構成
する。画面50の画像情報は、小区画51毎に処理され
る。
As shown in FIG. 6A, the target screen 50 is divided into small subsections 51. The small section 51 has a size of 8 pixels × 8 pixels, for example. That is, the subdivision 51 constitutes a square matrix of 8 rows and 8 columns including 64 elements. The image information of the screen 50 is processed for each small section 51.

【0009】図6(B)に示すように、小区画51の画
像データ52を1行ずつ順方向DCT処理装置53によ
って処理し、DCT係数(F)54を得る。このDCT
係数54は、画像情報を周波数解析したものとなってい
る。DCT係数54をスレッショルド処理装置55によ
って処理し、一定値以下のデータを切り捨てる。次に、
ノンゼロのデータ長を短縮するために、ノーマライズ処
理装置56によってデータを一定値で除算し、短縮した
データ57を得る。
As shown in FIG. 6B, the image data 52 of the small section 51 is processed row by row by the forward DCT processor 53 to obtain a DCT coefficient (F) 54. This DCT
The coefficient 54 is a frequency analysis of image information. The DCT coefficient 54 is processed by the threshold processing device 55, and data below a certain value is truncated. next,
In order to reduce the non-zero data length, the normalization processing device 56 divides the data by a constant value to obtain shortened data 57.

【0010】このようにして得られた画像データ57
は、ノンゼロのものとゼロのものが混在するが、周波数
の高い成分はほとんどゼロとなる。ノンゼロデータにつ
いては、ハフマン符号化を行ない、さらにデータを圧縮
する。また、ゼロのデータについては、ランレングス符
号化を行ない、ゼロの塊を1つのデータとして扱い、さ
らにハフマン符号化を行なう。
The image data 57 thus obtained
, Both non-zero and zero are mixed, but the high frequency components are almost zero. For non-zero data, Huffman coding is performed and the data is further compressed. In addition, zero-length data is subjected to run-length coding, a block of zeros is treated as one piece of data, and Huffman coding is further performed.

【0011】このようにして得られた圧縮データから元
の画像を再生するときは、画像データ57を再現した
後、ノーマライズ処理の逆処理を行ない、順方向DCT
処理の逆処理である逆方向DCT処理を行なう。
When the original image is reproduced from the compressed data obtained in this way, the image data 57 is reproduced, and then the reverse process of the normalizing process is performed to obtain the forward DCT.
Reverse DCT processing, which is the reverse processing of the processing, is performed.

【0012】図6(C)は、図6(B)に示す順方向D
CT処理の内容を示す。画像データfを、転置コサイン
係数行列とコサイン係数行列とで挟み、行列演算を行な
うことによってDCT係数Fを得る。
FIG. 6C is a forward direction D shown in FIG. 6B.
The content of CT processing is shown. The image data f is sandwiched between a transposed cosine coefficient matrix and a cosine coefficient matrix, and a DCT coefficient F is obtained by performing a matrix operation.

【0013】なお、この順方向DCT処理をさらに展開
すると、F=Dt fD={(fD) t D}t と表せる。
すなわち、画像データfにコサイン係数行列Dを右側か
ら乗算し、得られた行列を転置した後、再びコサイン係
数行列Dを乗算し、転置することによってDCT係数F
を得ることができる。
The forward DCT processing is further developed.
Then F = DtfD = {(fD) tD}tCan be expressed as
That is, whether the cosine coefficient matrix D is on the right side of the image data f
, Transpose the obtained matrix, and then again cosine
By multiplying and transposing the number matrix D, the DCT coefficient F
Can be obtained.

【0014】[0014]

【発明が解決しようとする課題】以上説明したように、
従来の技術によって画像を拡大、縮小しようとすると、
そのための情報処理が必要であった。高品質の画像を得
ようとすると、情報処理も複雑なものとなっていた。
As described above,
When trying to enlarge or reduce the image using conventional technology,
Information processing for that was necessary. When trying to obtain a high quality image, information processing was complicated.

【0015】本発明の目的は、DCT処理によって圧縮
した画像情報から画像を再現する際、簡単に画像の拡
大、縮小を行なうことのできる画像処理方法を提供する
ことである。
An object of the present invention is to provide an image processing method capable of easily enlarging or reducing an image when reproducing the image from the image information compressed by the DCT process.

【0016】[0016]

【課題を解決するための手段】本発明の画像処理方法
は、離散コサイン変換(DCT)を用いて圧縮した画像
データから縮小した画像を得るための画像処理方法であ
って、DCT処理によって周波数分解され、行列形式で
表示できるDCT係数の高周波成分を切り捨て、所望の
次元の行列形式で表示できる修正DCT係数を得る工程
と、前記修正DCT係数に逆DCT演算を行ない、前記
所望の次元の画像データを得る工程とを有する。
An image processing method of the present invention is an image processing method for obtaining a reduced image from image data compressed by using discrete cosine transform (DCT), and frequency decomposition is performed by the DCT process. A step of truncating the high frequency components of the DCT coefficient that can be displayed in a matrix form to obtain a modified DCT coefficient that can be displayed in a matrix form of a desired dimension; and performing an inverse DCT operation on the modified DCT coefficient to obtain image data of the desired dimension. And a step of obtaining

【0017】また、本発明の画像処理方法は、離散コサ
イン変換(DCT)を用いて圧縮した画像データから拡
大した画像を得るための画像処理方法であって、DCT
処理により周波数分解され、行列形式で表示できるDC
T係数に高周波成分として0を追加して所望の次元の行
列形式で表示できる修正DCT係数を得る工程と、前記
修正DCT係数に逆DCT演算を行ない、前記所望の次
元の画像データを得る工程とを有する。
The image processing method of the present invention is an image processing method for obtaining an enlarged image from image data compressed using discrete cosine transform (DCT).
DC that is frequency decomposed by processing and can be displayed in matrix format
A step of adding 0 as a high frequency component to the T coefficient to obtain a modified DCT coefficient that can be displayed in a matrix format of a desired dimension; and a step of performing an inverse DCT operation on the modified DCT coefficient to obtain image data of the desired dimension. Have.

【0018】[0018]

【作用】画像情報をDCT処理して得られるDCT係数
は、画像情報を周波数分解したものである。画像を縮小
する際には、DCT係数の高周波成分を切り捨て、逆D
CT演算によって画像データを得れば、画像にとって重
要である低周波成分をそのまま維持した縮小画像が得ら
れる。
The DCT coefficient obtained by subjecting the image information to the DCT processing is a frequency decomposition of the image information. When reducing the image, the high frequency component of the DCT coefficient is cut off and the inverse D
If the image data is obtained by CT calculation, a reduced image in which the low-frequency component important for the image is maintained as it is can be obtained.

【0019】画像を拡大する場合には、DCT係数に高
周波成分として0を追加し、逆DCT演算によって画像
データを得れば、原画像の特徴を保持した拡大画像が得
られる。この場合、適性な補間が自動的に行なわれるこ
とになる。
When the image is enlarged, 0 is added as a high frequency component to the DCT coefficient and the image data is obtained by the inverse DCT operation, whereby an enlarged image retaining the characteristics of the original image can be obtained. In this case, appropriate interpolation is automatically performed.

【0020】[0020]

【実施例】図1は、本発明の実施例による画像縮小、拡
大装置を示すブロック図である。原画像をDCT処理す
ることによって圧縮した原画像圧縮データ1を、復号器
7によってハフマン符号化やランレングス符号化の復号
化を行ない、DCT係数54を得る。DCT係数54
は、原画像を周波数解析した情報である。
1 is a block diagram showing an image reducing / enlarging device according to an embodiment of the present invention. The original image compressed data 1 obtained by performing the DCT process on the original image is decoded by Huffman coding or run length coding by the decoder 7 to obtain the DCT coefficient 54. DCT coefficient 54
Is information obtained by frequency analysis of the original image.

【0021】画像を縮小、拡大する場合、DCT係数5
4は行列変換回路8に供給される。行列変換回路8は、
原画像のサイズ値5と共に出力画像のサイズ値3を入力
する。原画像のサイズ値5が出力画像のサイズ値3より
も大きな場合は、入力した行列形式のDCT係数の高周
波成分を切り捨て、次元の小さな行列に変換し、逆DC
T回路10に供給する。
When the image is reduced or enlarged, the DCT coefficient is 5
4 is supplied to the matrix conversion circuit 8. The matrix conversion circuit 8 is
The size value 5 of the original image and the size value 3 of the output image are input. When the size value 5 of the original image is larger than the size value 3 of the output image, the high frequency component of the input DCT coefficient in the matrix format is cut off and converted into a matrix of small dimensions, and the inverse DC
It is supplied to the T circuit 10.

【0022】出力画像のサイズ値3は、変換行列供給回
路9に入力され、変換行列供給回路9から出力画像のサ
イズ値3に合わせた変換行列が逆DCT回路10に供給
される。逆DCT回路10は、供給された変換行列を用
い、行列変換回路8から供給されたDCT係数を逆DC
T演算し、画像情報を再現する。
The size value 3 of the output image is input to the transformation matrix supply circuit 9, and the transformation matrix matching the size value 3 of the output image is supplied from the transformation matrix supply circuit 9 to the inverse DCT circuit 10. The inverse DCT circuit 10 uses the supplied transform matrix to inverse DCT the DCT coefficient supplied from the matrix transform circuit 8.
T calculation is performed to reproduce the image information.

【0023】原画像のサイズ値5が出力画像のサイズ値
3よりも小さな場合は、行列変換回路8は行列形式のD
CT係数に高周波成分として0を追加し、出力画像のサ
イズ値3に合わせた行列形式のDCT係数を逆DCT回
路10に供給する。変換行列供給回路9は、出力画像の
サイズ値3に合わせた変換行列を供給する。逆DCT回
路10は出力画像のサイズ値3に合わせた逆DCT演算
を行なう。
When the size value 5 of the original image is smaller than the size value 3 of the output image, the matrix conversion circuit 8 outputs D in matrix form.
0 is added to the CT coefficient as a high-frequency component, and a DCT coefficient in a matrix format that matches the size value 3 of the output image is supplied to the inverse DCT circuit 10. The conversion matrix supply circuit 9 supplies a conversion matrix adapted to the size value 3 of the output image. The inverse DCT circuit 10 performs an inverse DCT operation according to the size value 3 of the output image.

【0024】以下、行列変換回路8および逆DCT回路
10で行なう演算についてより詳しく説明する。図2
は、画像の縮小を行なう場合のDCT係数の変換を示
す。図2(A)は、DCT処理が標準的な8×8ユニッ
トで行なわれた場合のDCT係数の構成を示す。原画像
が8×8ユニットの場合、DCT係数も8×8の行列で
表示することができる。DCT係数Fは、原画像の情報
を周波数解析したものであり、左上のF00が横方向にも
縦方向にも直流の成分を示し、横方向に向かうFi0は、
横方向に関して、次第に高周波成分を示す情報となる。
The operations performed by the matrix conversion circuit 8 and the inverse DCT circuit 10 will be described in more detail below. Figure 2
Indicates conversion of DCT coefficients when reducing an image. FIG. 2A shows the structure of DCT coefficients when the DCT processing is performed by a standard 8 × 8 unit. When the original image has 8 × 8 units, the DCT coefficient can also be displayed in an 8 × 8 matrix. The DCT coefficient F is obtained by frequency-analyzing the information of the original image. F 00 in the upper left indicates a DC component in the horizontal and vertical directions, and F i0 directed in the horizontal direction is
In the horizontal direction, the information gradually becomes high-frequency components.

【0025】また、縦方向に向かうF0jは、縦方向に関
して、次第に高周波成分を示す情報となる。画像情報に
とって低周波成分ほど重要な情報であり、高周波成分は
よりノイズ的な情報となる。
Further, the vertical direction F 0j becomes information indicating a high frequency component gradually in the vertical direction. The lower frequency component is more important for the image information, and the higher frequency component is more noise-like information.

【0026】今、画像を1/2(面積にして1/4)に
縮小する場合を考える。この場合、8×8のDCT係数
から低周波成分の4×4ユニットを取り出す。図2
(B)は、図2(A)の原画像のDCT係数からその低
周波成分を取り出した4×4の縮小画像のDCT係数で
ある。図2(A)のDCT係数と図2(B)のDCT係
数の差は、高周波成分の有無である。
Now, consider the case where an image is reduced to 1/2 (1/4 in area). In this case, the low frequency component 4 × 4 unit is extracted from the 8 × 8 DCT coefficient. Figure 2
2B is a DCT coefficient of a 4 × 4 reduced image obtained by extracting the low-frequency component from the DCT coefficient of the original image of FIG. 2A. The difference between the DCT coefficient in FIG. 2A and the DCT coefficient in FIG. 2B is the presence or absence of a high frequency component.

【0027】図2(A)に示すDCT係数から、図2
(B)に示すDCT係数を得ると、原画像の情報として
重要な低周波成分はそのまま保持し、高周波成分のみを
切り捨てた画像情報が得られる。
From the DCT coefficient shown in FIG.
When the DCT coefficient shown in (B) is obtained, the low frequency component important as the information of the original image is retained as it is, and the image information in which only the high frequency component is cut off is obtained.

【0028】図3は、DCT係数から原画像の情報を再
現するために用いられるコサイン係数行列を示す。図3
(A)は8×8ユニットのコサイン係数行列を示し、図
3(B)は4×4ユニットのコサイン係数行列を示す。
図2(A)の8×8ユニットのDCT係数をそのままの
大きさで再現する時には、図3(A)に示す8×8ユニ
ットのコサイン係数行列が用いられる。
FIG. 3 shows a cosine coefficient matrix used for reproducing the information of the original image from the DCT coefficient. Figure 3
FIG. 3A shows a 8 × 8 unit cosine coefficient matrix, and FIG. 3B shows a 4 × 4 unit cosine coefficient matrix.
When the 8 × 8 unit DCT coefficient of FIG. 2A is reproduced with the same size, the 8 × 8 unit cosine coefficient matrix shown in FIG. 3A is used.

【0029】縮小した画像を得るために、行列変換回路
8で図2(B)の4×4ユニットのDCT係数を求めた
時には、図3(B)に示す4×4ユニットのコサイン係
数行列が用いられる。
In order to obtain a reduced image, when the matrix conversion circuit 8 obtains the DCT coefficient of 4 × 4 units of FIG. 2B, the 4 × 4 unit cosine coefficient matrix shown in FIG. 3B is obtained. Used.

【0030】図2(B)に示す縮小画像のDCT係数
に、図3(B)に示す4×4ユニットのコサイン係数行
列を用いて逆DCT回路10で逆DCT演算を行なえ
ば、4×4の画像情報が得られる。この画像情報は、原
画像の低周波成分をそのまま保存しているため、原画像
に忠実な縮小画像となる。
If the inverse DCT operation is performed by the inverse DCT circuit 10 by using the cosine coefficient matrix of 4 × 4 units shown in FIG. 3B for the DCT coefficient of the reduced image shown in FIG. 2B, 4 × 4 is obtained. Image information is obtained. Since this image information stores the low-frequency component of the original image as it is, it becomes a reduced image that is faithful to the original image.

【0031】図4は、画像を拡大する場合のDCT処理
を説明するための図である。図4(A)は原画像が4×
4ユニットの画像である場合のDCT係数を示す。この
4×4ユニットのDCT係数から8×8ユニットの画像
を再現する場合を考える。
FIG. 4 is a diagram for explaining the DCT process when enlarging an image. The original image is 4 × in FIG.
The DCT coefficient in the case of an image of 4 units is shown. Consider a case where an image of 8 × 8 units is reproduced from the DCT coefficient of 4 × 4 units.

【0032】図4(A)に示す4×4ユニットのDCT
係数から8×8ユニットの画像を再現する場合には、図
4(B)に示すように、行列変換回路8で高周波成分と
して0を追加し、8×8ユニットのDCT係数を作成す
る。この処理は、出力画像のサイズに合わせ、0を追加
するだけであるので、極めて簡単に行なうことができ
る。
4 × 4 unit DCT shown in FIG.
When an image of 8 × 8 units is reproduced from the coefficients, as shown in FIG. 4B, 0 is added as a high frequency component in the matrix conversion circuit 8 to create a DCT coefficient of 8 × 8 units. This process can be performed extremely easily because only 0 is added according to the size of the output image.

【0033】図4(B)に示す拡大したDCT係数に対
し、図3(A)に示す8×8ユニットのコサイン係数行
列を用いて逆DCT回路10で逆DCT演算を行なえ
ば、8×8ユニットの画像情報が得られる。
If the inverse DCT operation is performed by the inverse DCT circuit 10 using the cosine coefficient matrix of the 8 × 8 unit shown in FIG. 3A, the expanded DCT coefficient shown in FIG. 4B is 8 × 8. Image information of the unit is obtained.

【0034】図5は、所定次元のDCT係数に対する0
の追加が、得られる画像情報に及ぼす影響を説明するた
めの図である。図5(A)は逆DCT演算において行な
われる行列演算を簡略化して示す。
FIG. 5 shows 0 for a DCT coefficient of a predetermined dimension.
FIG. 6 is a diagram for explaining the effect of addition of the above on the obtained image information. FIG. 5A shows a simplified matrix operation performed in the inverse DCT operation.

【0035】図5(A)の左辺中央の行列がDCT係数
の行列である。このDCT係数の行列は、拡大した出力
画像のサイズに合わせ、高周波成分として0を追加して
いる。DCT係数の行列の両側の行列は、コサイン係数
行列及びその転置行列であるが、ここでは説明の都合
上、簡単化して全ての元が1であるとする。
The matrix at the center of the left side of FIG. 5A is the matrix of DCT coefficients. In this matrix of DCT coefficients, 0 is added as a high frequency component according to the size of the enlarged output image. The matrices on both sides of the matrix of DCT coefficients are the cosine coefficient matrix and its transposed matrix, but here, for convenience of explanation, it is assumed that all elements are 1 for simplicity.

【0036】この行列演算を行なうと、図に示すよう
に、DCT係数として0を追加した部分にも適性な画像
情報が表れる。これは、DCT係数に対する0の追加
は、高周波成分として0を追加したものであり、画像情
報として得られる信号は、元のDCT係数の低周波成分
を保ち、かつ拡大されたものとなるためである。
When this matrix calculation is performed, as shown in the figure, appropriate image information also appears in the portion where 0 is added as a DCT coefficient. This is because the addition of 0 to the DCT coefficient is the addition of 0 as a high frequency component, and the signal obtained as image information is the expanded low frequency component of the original DCT coefficient. is there.

【0037】図5(B)は、逆DCT演算をより正確に
表す式である。DCT係数54の行列に、左からコサイ
ン係数行列、右から転置コサイン係数行列を乗算する
と、画像データ52が得られる。
FIG. 5B is an equation more accurately representing the inverse DCT operation. Image data 52 is obtained by multiplying the matrix of DCT coefficients 54 by the cosine coefficient matrix from the left and the transposed cosine coefficient matrix from the right.

【0038】DCT係数54に0を追加し、拡大した次
元を有する転置コサイン係数行列および転置コサイン行
列を用いれば、拡大した画像データ52が得られ、その
時、DCT係数54が有していた低周波成分はそのまま
保存される。
If 0 is added to the DCT coefficient 54 and the transposed cosine coefficient matrix and transposed cosine matrix having the expanded dimension are used, the expanded image data 52 is obtained, and the low frequency which the DCT coefficient 54 has at that time is obtained. The ingredients are stored as is.

【0039】このようにして、画像情報がDCT処理に
よって圧縮された画像情報である場合、DCT係数の行
列のサイズを変更することにより、画像情報を再現する
ための逆DCT演算を行なうだけで、縮小、拡大した画
像情報が得られる。
In this way, when the image information is the image information compressed by the DCT processing, the size of the matrix of DCT coefficients is changed so that only the inverse DCT operation for reproducing the image information is performed. Reduced and enlarged image information can be obtained.

【0040】なお、図1の構成において、出力画像のサ
イズ値3を受けて所定サイズのコサイン係数行列および
転置コサイン係数行列を作成するために変換行列供給回
路9が用いられている。この変換行列供給回路9は、可
能なサイズのコサイン係数行列を記憶した回路であって
も、演算によってコサイン係数行列を算出するものであ
ってもよい。なお、原画像のサイズ値5と出力画像のサ
イズ値3が同一である場合は、行列変換回路8は入力し
たDCT係数をそのまま逆DCT回路10に供給する。
In the configuration of FIG. 1, the transformation matrix supply circuit 9 is used to receive the size value 3 of the output image and create a cosine coefficient matrix and a transposed cosine coefficient matrix of a predetermined size. The transform matrix supply circuit 9 may be a circuit that stores a cosine coefficient matrix of a possible size or one that calculates a cosine coefficient matrix by calculation. When the size value 5 of the original image and the size value 3 of the output image are the same, the matrix conversion circuit 8 supplies the input DCT coefficient to the inverse DCT circuit 10 as it is.

【0041】なお、正方行列から正方行列に変換する場
合を説明したが、画像の拡大、縮小は等方的なものに限
らない。横倍率と縦倍率を自由に設定し、出力画像の形
に合わせたDCT係数およびコサイン変換行列を作成す
れば、任意の縦横比を有する画像を再現することができ
る。一方向を拡大、他方向を縮小することも可能であ
る。
Although the case of converting a square matrix into a square matrix has been described, the enlargement and reduction of an image are not limited to isotropic ones. An image having an arbitrary aspect ratio can be reproduced by freely setting the horizontal magnification and the vertical magnification and creating the DCT coefficient and the cosine transform matrix according to the shape of the output image. It is also possible to enlarge one direction and reduce the other direction.

【0042】以上実施例に沿って本発明を説明したが、
本発明はこれらに制限されるものではない。たとえば、
種々の変更、改良、組み合わせ等が可能なことは当業者
に自明であろう。
The present invention has been described above with reference to the embodiments.
The present invention is not limited to these. For example,
It will be apparent to those skilled in the art that various changes, improvements, combinations and the like can be made.

【0043】[0043]

【発明の効果】以上説明したように、本発明によれば、
DCT処理によって得られた画像圧縮データから画像を
再現する時には、極めて簡単な処理により画像の拡大、
縮小を行なうことができる。このようにして得られる再
現画像は、原画像の特徴を効率的に保存したものとな
る。
As described above, according to the present invention,
When an image is reproduced from the compressed image data obtained by the DCT process, the image is enlarged by an extremely simple process,
Reduction can be performed. The reproduced image thus obtained is one in which the features of the original image are efficiently saved.

【図面の簡単な説明】[Brief description of drawings]

【図1】本発明の実施例による画像処理装置の構成を示
すブロック図である。
FIG. 1 is a block diagram showing a configuration of an image processing apparatus according to an embodiment of the present invention.

【図2】画像の縮小を行なう場合のDCT係数の処理を
説明するための概念図である。
FIG. 2 is a conceptual diagram for explaining processing of DCT coefficients when reducing an image.

【図3】DCT演算に用いるコサイン係数行列の例を示
す概念図である。
FIG. 3 is a conceptual diagram showing an example of a cosine coefficient matrix used for DCT calculation.

【図4】画像の拡大を行なう場合のDCT係数の処理を
説明するための概念図である。
FIG. 4 is a conceptual diagram for explaining processing of DCT coefficients when enlarging an image.

【図5】画像の拡大を行なう場合のDCT係数への0の
追加の意議を説明するための概念図である。
FIG. 5 is a conceptual diagram for explaining the intention of adding 0 to the DCT coefficient when enlarging an image.

【図6】DCT処理を説明するための概念図である。FIG. 6 is a conceptual diagram for explaining DCT processing.

【符号の説明】[Explanation of symbols]

1 原画像圧縮データ 3 出力画像のサイズ値 5 原画像のサイズ値 7 復号器 8 行列変換回路 9 変換行列供給回路 10 逆DCT回路 11 出力画像データ 50 画面 51 8×8ユニット(小区画) 52 画像データ 53 順DCT回路 54 DCT係数 55 スレッショルド処理回路 56 ノーマライズ処理回路 57 圧縮データ 1 Original Image Compressed Data 3 Output Image Size Value 5 Original Image Size Value 7 Decoder 8 Matrix Transformation Circuit 9 Transformation Matrix Supply Circuit 10 Inverse DCT Circuit 11 Output Image Data 50 Screen 51 8 × 8 Unit (Small Section) 52 Images Data 53 Forward DCT circuit 54 DCT coefficient 55 Threshold processing circuit 56 Normalize processing circuit 57 Compressed data

───────────────────────────────────────────────────── フロントページの続き (51)Int.Cl.5 識別記号 庁内整理番号 FI 技術表示箇所 H04N 7/133 Z ─────────────────────────────────────────────────── ─── Continuation of the front page (51) Int.Cl. 5 Identification code Office reference number FI technical display location H04N 7/133 Z

Claims (6)

【特許請求の範囲】[Claims] 【請求項1】 離散コサイン変換(DCT)を用いて圧
縮した画像データから縮小した画像を得るための画像処
理方法であって、 DCT処理によって周波数分解され、行列形式で表示で
きるDCT係数の高周波成分を切り捨て、所望の次元の
行列形式で表示できる修正DCT係数を得る工程と、 前記修正DCT係数に逆DCT演算を行ない、前記所望
の次元の画像データを得る工程とを有する画像処理方
法。
1. An image processing method for obtaining a reduced image from image data compressed by using a discrete cosine transform (DCT), which is a high frequency component of a DCT coefficient which is frequency decomposed by the DCT process and can be displayed in a matrix format. To obtain a modified DCT coefficient that can be displayed in a matrix format with a desired dimension, and an inverse DCT operation on the modified DCT coefficient to obtain image data with the desired dimension.
【請求項2】 離散コサイン変換(DCT)を用いて圧
縮した画像データから拡大した画像を得るための画像処
理方法であって、 DCT処理により周波数分解され、行列形式で表示でき
るDCT係数に高周波成分として0を追加して所望の次
元の行列形式で表示できる修正DCT係数を得る工程
と、 前記修正DCT係数に逆DCT演算を行ない、前記所望
の次元の画像データを得る工程とを有する画像処理方
法。
2. An image processing method for obtaining an enlarged image from image data compressed by using the discrete cosine transform (DCT), the high frequency component being a DCT coefficient which is frequency decomposed by the DCT process and can be displayed in a matrix format. 0 to add a modified DCT coefficient that can be displayed in a matrix format having a desired dimension, and an inverse DCT operation is performed on the modified DCT coefficient to obtain image data of the desired dimension. .
【請求項3】 さらに、所望の次元を表す信号を受け、
その次元の変換行列を供給する工程を有する請求項1ま
たは2記載の画像処理方法。
3. Further, receiving a signal representing a desired dimension,
The image processing method according to claim 1, further comprising the step of supplying a conversion matrix of that dimension.
【請求項4】 離散コサイン変換(DCT)を用いて圧
縮した画像データから縮小した画像を得るための画像処
理装置であって、 DCT処理によって周波数分解され、行列形式で表示で
きるDCT係数の高周波成分を切り捨て、所望の次元の
行列形式で表示できる修正DCT係数を得る手段(8)
と、 前記修正DCT係数に逆DCT演算を行ない、前記所望
の次元の画像データを得る手段(10)とを有する画像
処理装置。
4. An image processing apparatus for obtaining a reduced image from image data compressed using discrete cosine transform (DCT), the high frequency component of a DCT coefficient which is frequency decomposed by DCT processing and can be displayed in a matrix format. (8) means for obtaining modified DCT coefficients that can be displayed in a matrix format with a desired dimension
An image processing apparatus comprising: and a means (10) for performing an inverse DCT operation on the modified DCT coefficient to obtain image data of the desired dimension.
【請求項5】 離散コサイン変換(DCT)を用いて圧
縮した画像データから拡大した画像を得るための画像処
理装置であって、 DCT処理により周波数分解され、行列形式で表示でき
るDCT係数に高周波成分として0を追加して所望の次
元の行列で表示できる修正DCT係数を得る手段(8)
と、 前記修正DCT係数に逆DCT演算を行ない、前記所望
の次元の画像データを得る手段(10)とを有する画像
処理装置。
5. An image processing apparatus for obtaining an enlarged image from image data compressed by using discrete cosine transform (DCT), the high frequency component being a DCT coefficient which is frequency decomposed by DCT processing and can be displayed in a matrix format. Means for obtaining a modified DCT coefficient that can be displayed in a matrix of a desired dimension by adding 0 as
An image processing apparatus comprising: and a means (10) for performing an inverse DCT operation on the modified DCT coefficient to obtain image data of the desired dimension.
【請求項6】 さらに、所望の次元を表す信号を受け、
その次元の変換行列を供給する手段(9)を有する請求
項4または5記載の画像処理装置。
6. Further, receiving a signal representing a desired dimension,
An image processing apparatus according to claim 4 or 5, further comprising means (9) for supplying a conversion matrix of that dimension.
JP1100293A 1993-01-26 1993-01-26 Method and device or processing picture Pending JPH06225213A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1100293A JPH06225213A (en) 1993-01-26 1993-01-26 Method and device or processing picture

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1100293A JPH06225213A (en) 1993-01-26 1993-01-26 Method and device or processing picture

Publications (1)

Publication Number Publication Date
JPH06225213A true JPH06225213A (en) 1994-08-12

Family

ID=11765922

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1100293A Pending JPH06225213A (en) 1993-01-26 1993-01-26 Method and device or processing picture

Country Status (1)

Country Link
JP (1) JPH06225213A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6157414A (en) * 1997-08-25 2000-12-05 Nec Corporation Image display apparatus for enlargement or reduction of an image using an interpolation process
KR20010049039A (en) * 1999-11-30 2001-06-15 윤종용 Image extension method by a frequency transform
WO2004062265A1 (en) * 2002-12-27 2004-07-22 Matsushita Electric Industrial Co., Ltd. Image conversion device, image conversion method, communication terminal device, and image conversion program
KR100510756B1 (en) * 1996-05-31 2005-11-21 소니 가부시끼 가이샤 Image decoding apparatus and method and image reproducing apparatus
JP2007282266A (en) * 1996-03-06 2007-10-25 Hewlett Packard Co <Hp> Image downsampling method
KR100930436B1 (en) * 2002-10-17 2009-12-08 (주)휴맥스 홀딩스 Image Resizing Method Using Discrete Cosine Inverse Transform

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007282266A (en) * 1996-03-06 2007-10-25 Hewlett Packard Co <Hp> Image downsampling method
KR100510756B1 (en) * 1996-05-31 2005-11-21 소니 가부시끼 가이샤 Image decoding apparatus and method and image reproducing apparatus
US6157414A (en) * 1997-08-25 2000-12-05 Nec Corporation Image display apparatus for enlargement or reduction of an image using an interpolation process
KR20010049039A (en) * 1999-11-30 2001-06-15 윤종용 Image extension method by a frequency transform
KR100930436B1 (en) * 2002-10-17 2009-12-08 (주)휴맥스 홀딩스 Image Resizing Method Using Discrete Cosine Inverse Transform
WO2004062265A1 (en) * 2002-12-27 2004-07-22 Matsushita Electric Industrial Co., Ltd. Image conversion device, image conversion method, communication terminal device, and image conversion program

Similar Documents

Publication Publication Date Title
JPH06237386A (en) Picture processing unit
JPH06225213A (en) Method and device or processing picture
JP3108133B2 (en) Adaptive coding of color document images
JP2000013608A (en) Image processing method
US7099523B2 (en) Method and system for scaling a signal sample rate
JPH06292184A (en) Coding system
JP3673529B2 (en) Image data compression / decompression method and apparatus therefor
JP2002010085A (en) Image processing method
JP2006115536A (en) Decoding method and decoding apparatus
JPH07160865A (en) Still picture reproducing device
KR20020055864A (en) The encoding and decoding method for a colored freeze frame
JPH08204957A (en) Image processing method
JPH08180194A (en) Method and device for coding
JP3018713B2 (en) Image communication device
JPH11136674A (en) Image coding method and storage medium
KR100195187B1 (en) Apparatus and method of compressing still image at steady compression rate
JP3034887B2 (en) Image processing method and apparatus
JPH09205552A (en) Image coding method and device therefor
JPH0746407A (en) Picture data compressing device and picture data restoring device
JPH07162861A (en) Still picture reproducing device
JP2960446B2 (en) Image processing method
US20010024523A1 (en) Reduction of artifacts in a DWT-based compression scheme by adjusting inverse quantized transform data according to noise values
JPH06178118A (en) Image data compression encoding method and device
JP2001177848A (en) Image data coding method, its device, image data decoding method, its device and image companding method
JPH1098611A (en) Image size conversion system

Legal Events

Date Code Title Description
A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20021008