[go: up one dir, main page]

JP2006165609A - Image processing apparatus, image processing method, and image processing program - Google Patents

Image processing apparatus, image processing method, and image processing program Download PDF

Info

Publication number
JP2006165609A
JP2006165609A JP2004349332A JP2004349332A JP2006165609A JP 2006165609 A JP2006165609 A JP 2006165609A JP 2004349332 A JP2004349332 A JP 2004349332A JP 2004349332 A JP2004349332 A JP 2004349332A JP 2006165609 A JP2006165609 A JP 2006165609A
Authority
JP
Japan
Prior art keywords
image data
data
image
row
image processing
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
JP2004349332A
Other languages
Japanese (ja)
Inventor
Shigeru Saito
茂 齋藤
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 Business Innovation Corp
Original Assignee
Fuji Xerox 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 Fuji Xerox Co Ltd filed Critical Fuji Xerox Co Ltd
Priority to JP2004349332A priority Critical patent/JP2006165609A/en
Publication of JP2006165609A publication Critical patent/JP2006165609A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Image Processing (AREA)
  • Editing Of Facsimile Originals (AREA)
  • Facsimile Image Signal Circuits (AREA)
  • Compression Or Coding Systems Of Tv Signals (AREA)
  • Compression Of Band Width Or Redundancy In Fax (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To provide a technology of establishing the compatibility between reduction in block noise and high-speed processing in reducing a compressed image obtained by orthogonal transformation and reproducing the reduced image. <P>SOLUTION: The image processing apparatus for generating the reduced image data from the compressed image obtained by applying orthogonal transformation to image data 1 formed from a space region into a frequency region includes: an IDCT processing section 3 that applies inverse orthogonal transformation to M row × M column data (M is a natural number) of orthogonal transformation coefficients to produce data of M row × M column pixels; a DC component extract section 4 for acquiring a DC component in the orthogonal transformation coefficients to produce data of 1×1 pixels; a smoothing processing section 5 that combines the data of the M row × M column pixels generated by the IDCT processing section 3 with the DC component extracted by the DC component extract section 4 and smoothes the data of the M row × M column pixels as required to produce image data; and an optional size reduction section 6 for generating the reduced image data with an optional size from the image data generated by the smoothing processing section 5. <P>COPYRIGHT: (C)2006,JPO&NCIPI

Description

本発明は、DCT(Discrete Cosine Transform)等の圧縮画像から縮小画像を生成するにあたり、ブロックノイズを除去することができる画像処理装置、画像処理方法および画像処理プログラムに関する。   The present invention relates to an image processing apparatus, an image processing method, and an image processing program capable of removing block noise when generating a reduced image from a compressed image such as DCT (Discrete Cosine Transform).

従来、特許文献1(特開2003−234907号公報)では、JPEG(Joint Photographic Experts Group)伸長処理で、DCT係数の低周波成分と高周波成分とを分離し、低周波成分を隣接する複数ブロックから平滑化して求めた値に置き換えることでブロックノイズを低減している。また、特許文献2(特開2001−189937号公報)では、2次元ブロック単位で画像を処理する際、各ブロックに平滑化を行うための重み付け係数の情報を付加し、係数の値に応じて平滑化度合いを変えることによってブロックノイズを除去している。   Conventionally, in Patent Document 1 (Japanese Patent Laid-Open No. 2003-234907), a low-frequency component and a high-frequency component of a DCT coefficient are separated by JPEG (Joint Photographic Experts Group) expansion processing, and the low-frequency component is separated from a plurality of adjacent blocks. Block noise is reduced by substituting values obtained by smoothing. Moreover, in patent document 2 (Unexamined-Japanese-Patent No. 2001-189937), when processing an image by a two-dimensional block unit, the information of the weighting coefficient for smoothing is added to each block, and according to the value of a coefficient Block noise is removed by changing the smoothing degree.

特開2003−234907号公報Japanese Patent Laid-Open No. 2003-234907 特開2001−189937号公報JP 2001-189937 A

しかしながら、特許文献1に記載されている方法では、隣接するブロックの低周波成分を平滑化した値を用いるため、ブロックノイズだけでなくエッジ情報まで除去されてしまうという問題がある。また、エッジに近いブロックは逆にノイズが増加するという問題がある。また、特許文献2に記載されている方法では、ブロックごとにあらかじめ平滑化を行うための重み付け係数の情報を付加しておく必要があり、処理が複雑になるため画像復号化処理の高速化には適していない。   However, the method described in Patent Document 1 has a problem in that not only block noise but also edge information is removed because a value obtained by smoothing a low frequency component of an adjacent block is used. On the other hand, there is a problem that noise increases in the block close to the edge. Further, in the method described in Patent Document 2, it is necessary to add weighting coefficient information for performing smoothing for each block in advance, and the processing becomes complicated. Is not suitable.

本発明はこのような課題を解決するために成されたものである。すなわち、本発明は、画像データを空間領域から周波数領域に直交変換して成る圧縮画像から縮小画像データを生成する画像処理装置であり、直交変換係数のM行×M列データ(Mは自然数)を逆直交変換してM行×M列画素のデータを生成する逆変換処理部と、直交変換係数のうち直流成分を取得し1×1画素のデータを生成する直流成分抽出部と、逆変換処理部で生成したM行×M列画素のデータと、直流成分抽出で抽出した直流成分とを組み合わせるとともに、M行×M列画素のデータを必要に応じて平滑化して画像データを生成する平滑化処理部と、平滑化処理部で生成された画像データから任意サイズの縮小画像データを生成する縮小部とを備えている。   The present invention has been made to solve such problems. That is, the present invention is an image processing apparatus for generating reduced image data from a compressed image obtained by orthogonally transforming image data from a spatial domain to a frequency domain, and M rows × M columns data (M is a natural number) of orthogonal transform coefficients. An inverse transform processing unit that generates M × M pixel data by inverse orthogonal transformation, a DC component extraction unit that obtains a DC component from the orthogonal transform coefficient and generates 1 × 1 pixel data, and inverse transform Smoothing that combines the M row × M column pixel data generated by the processing unit and the DC component extracted by the DC component extraction, and smoothes the M row × M column pixel data as necessary to generate image data. And a reduction unit that generates reduced image data of an arbitrary size from the image data generated by the smoothing unit.

また、本発明は、画像データを空間領域から周波数領域に直交変換して成る圧縮画像から縮小画像データを生成する画像処理方法であり、直交変換係数のM行×M列データ(Mは自然数)を逆直交変換してM行×M列画素のデータを生成する工程と、直交変換係数のうち直流成分を取得し1×1画素のデータを生成する工程と、逆直交変換して得たM行×M列画素のデータと、直流成分とを組み合わせるとともに、M行×M列画素のデータを必要に応じて平滑化して画像データを生成する工程と、生成した画像データから任意サイズの縮小画像データを生成する工程とを有する方法である。   The present invention is also an image processing method for generating reduced image data from a compressed image obtained by orthogonally transforming image data from a spatial domain to a frequency domain, and M rows × M columns data (M is a natural number) of orthogonal transform coefficients. Are obtained by performing inverse orthogonal transform to generate M row × M column pixel data, obtaining a DC component from the orthogonal transform coefficient and generating 1 × 1 pixel data, and M obtained by inverse orthogonal transform. A process of combining row x M column pixel data and a direct current component and smoothing M row x M column pixel data as necessary to generate image data, and a reduced image of any size from the generated image data Generating data.

また、本発明は、画像データを空間領域から周波数領域に直交変換して成る圧縮画像から縮小画像データを生成する画像処理プログラムであり、直交変換係数のM行×M列データ(Mは自然数)を逆直交変換してM行×M列画素のデータを生成するステップと、直交変換係数のうち直流成分を取得し1×1画素のデータを生成するステップと、逆直交変換して得たM行×M列画素のデータと、直流成分とを組み合わせるとともに、M行×M列画素のデータを必要に応じて平滑化して画像データを生成するステップと、生成した画像データから任意サイズの縮小画像データを生成するステップとを有するプログラムである。   The present invention is also an image processing program for generating reduced image data from a compressed image obtained by orthogonally transforming image data from a spatial domain to a frequency domain, and M rows × M columns data (M is a natural number) of orthogonal transform coefficients. Are obtained by performing inverse orthogonal transformation to generate M row × M column pixel data, obtaining a DC component from the orthogonal transformation coefficient and generating 1 × 1 pixel data, and M obtained by inverse orthogonal transformation. A step of combining row x M column pixel data and a DC component and smoothing M row x M column pixel data as necessary to generate image data, and a reduced image of any size from the generated image data And a step of generating data.

このような本発明では、直交変換係数のある大きさであるM行×M列データを逆直交変換してM行×M列の画素データを得るとともに、直流成分による1×1画素のデータを生成し、これらを組み合わせるとともにM行×M列画素のデータを必要に応じて平滑化するため、直流成分のみで縮小画像を生成する場合に比べてM行×M列画素のデータを用いることでエッジ成分の再現性に優れ、また直流成分を用いることによる演算時間の短縮化を図ることができる。   In the present invention, M × M data having a certain size of orthogonal transform coefficient is inversely orthogonal transformed to obtain M × M pixel data, and 1 × 1 pixel data based on a DC component is obtained. In order to generate and combine these, and smooth the data of M rows × M columns pixels as necessary, by using data of M rows × M columns pixels compared to the case of generating a reduced image with only a DC component. The reproducibility of the edge component is excellent, and the calculation time can be shortened by using the DC component.

したがって、本発明によれば、直交変換によって圧縮された画像を縮小して再現するにあたり、直交変換係数の低周波成分から1/2、1/4、1/8等の縮小画像を生成する処理部を備え、縮小率に応じていずれかの逆変換処理を行い、また量子化テーブルの値や縮小率からブロックノイズ除去方法を切り換えることにより、画像縮小処理の高速化とブロックノイズ低減との両方を実現させることが可能になる。   Therefore, according to the present invention, in reducing and reproducing an image compressed by orthogonal transform, a process for generating a reduced image of 1/2, 1/4, 1/8, etc. from the low frequency component of the orthogonal transform coefficient Both the high-speed image reduction processing and the block noise reduction by switching the block noise removal method based on the quantization table value and the reduction rate. Can be realized.

以下、本発明の実施の形態を図に基づき説明する。図1は、本実施形態に係る画像処理装置を説明するブロック図である。本実施形態の画像処理装置は、画像データを空間領域から周波数領域に直交変換する、例えばDCT(Discrete Cosine Transform)による圧縮画像から縮小画像データを生成するものであり、構成として、縮小処理制御部2、IDCT(Inverse DCT)処理部3、DC(直流)成分抽出部4、平滑化処理部5、任意サイズ縮小部6を備えている。   Hereinafter, embodiments of the present invention will be described with reference to the drawings. FIG. 1 is a block diagram illustrating an image processing apparatus according to this embodiment. The image processing apparatus according to the present embodiment generates reduced image data from a compressed image by, for example, DCT (Discrete Cosine Transform), which orthogonally transforms image data from a spatial domain to a frequency domain. 2, an IDCT (Inverse DCT) processing unit 3, a DC (direct current) component extraction unit 4, a smoothing processing unit 5, and an arbitrary size reduction unit 6.

入力データ1は、JPEG(Joint Photographic Experts Group)画像などのDCT圧縮された画像データと縮小後のサイズ情報とが含まれ、縮小処理制御部2に渡される。縮小処理制御部2は、入力された画像の幅、高さ情報と縮小後の画像サイズ情報から縮小率を求め、IDCT処理、平滑化処理、任意サイズ縮小処理それぞれの方式を選択する。   Input data 1 includes DCT-compressed image data such as a JPEG (Joint Photographic Experts Group) image and size information after reduction, and is passed to the reduction processing control unit 2. The reduction process control unit 2 obtains a reduction rate from the input image width and height information and the reduced image size information, and selects each of the IDCT process, the smoothing process, and the arbitrary size reduction process.

まず、入力画像の幅、高さと縮小後のサイズから、縦横それぞれの縮小率を求める。次に、縦横の縮小率のうち大きい方の値が(1)1/2より大、(2)1/2以下、(3)1/4以下、(4)1/8以下のどれに当てはまるかを調べ、(1)の場合は8×8IDCT処理部、(2)の場合は4×4IDCT処理部、(3)の場合は2×2IDCT処理部、(4)の場合はDC成分抽出部を選択する。   First, the vertical and horizontal reduction ratios are obtained from the width and height of the input image and the size after reduction. Next, the larger one of the vertical and horizontal reduction ratios applies to any of (1) greater than 1/2, (2) 1/2 or less, (3) 1/4 or less, and (4) 1/8 or less. In case of (1), 8 × 8 IDCT processing unit, in case of (2) 4 × 4 IDCT processing unit, in case of (3) 2 × 2 IDCT processing unit, in case of (4) DC component extraction unit Select.

IDCT処理部3は、図2に示すように8×8サイズのIDCT処理を行う8×8IDCT処理部32、4×4IDCT処理部33、2×2IDCT処理部34、これらの3種類のIDCT処理を選択する処理選択部31を備えている。   As shown in FIG. 2, the IDCT processing unit 3 is an 8 × 8 IDCT processing unit 32 that performs 8 × 8 size IDCT processing, a 4 × 4 IDCT processing unit 33, a 2 × 2 IDCT processing unit 34, and these three types of IDCT processing. The process selection part 31 to select is provided.

8×8サイズのDCT係数をIDCT処理すると、図3(a)に示すように8×8画素の画像データが得られる。Y成分のIDCT処理は数式1で表される。ここでは、u、v座標のDCT係数をFY(u,v)とする。 When the 8 × 8 size DCT coefficient is subjected to IDCT processing, image data of 8 × 8 pixels is obtained as shown in FIG. The IDCT processing of the Y component is expressed by Equation 1. Here, the DCT coefficient of the u and v coordinates is F Y (u, v).

Figure 2006165609
Figure 2006165609

同様に、4×4サイズ、2×2サイズのDCT係数をIDCT処理すると、それぞれ図3(b)、(c)に示すように4×4画素、2×2画素の画像データが得られる。   Similarly, when DCT coefficients of 4 × 4 size and 2 × 2 size are subjected to IDCT processing, image data of 4 × 4 pixels and 2 × 2 pixels are obtained as shown in FIGS. 3B and 3C, respectively.

次に、平滑化処理部5では、所定サイズの画像データとDC成分による画像データとを組み合わせるとともに、量子化テーブルの値によって平滑化処理を行う。まず、量子化テーブルの平均値を計算し、値が閾値以上の場合は低周波成分が多く含まれエッジ情報が少ないと判断し、平滑化処理を行う。逆に、量子化テーブルの平均値が閾値未満の場合はエッジ情報が多く含まれると判断し、平滑化処理を行わない。また、量子化テーブルの平均値を計算する代わりに、DC成分の量子化テーブル値を用いてもよい。   Next, the smoothing processing unit 5 combines the image data of a predetermined size and the image data based on the DC component, and performs the smoothing process according to the value of the quantization table. First, the average value of the quantization table is calculated, and if the value is equal to or greater than the threshold value, it is determined that many low-frequency components are included and the edge information is small, and smoothing processing is performed. On the contrary, when the average value of the quantization table is less than the threshold value, it is determined that a lot of edge information is included, and the smoothing process is not performed. Further, instead of calculating the average value of the quantization table, the quantization table value of the DC component may be used.

平滑化処理は、まず左右の隣接するブロックのDC成分を抽出し、注目ブロックのDC成分値と比較する。左ブロックとの差と、右ブロックとの差がどちらも閾値以下の場合はエッジ情報が含まれていないブロックと判断し、平滑化を行う。逆に、差が閾値以上の場合はエッジ情報を含んでいるブロックと判断し、平滑化は行わない。   In the smoothing process, first, DC components of adjacent blocks on the left and right are extracted and compared with the DC component values of the block of interest. When both the difference from the left block and the difference from the right block are equal to or less than the threshold value, it is determined that the block does not include edge information, and smoothing is performed. Conversely, if the difference is greater than or equal to the threshold, it is determined that the block includes edge information, and smoothing is not performed.

平滑化処理を行う場合、左右のブロックのDC成分を平均した値と注目ブロックのDC成分値との差dを求め、平滑化係数s(0≦s≦1)を掛けた値を注目ブロックのDC成分に加える。これらの処理をすべてのブロックについて行う。ただし、左端、右端ブロックは平滑化を行わない。   When smoothing processing is performed, a difference d between a value obtained by averaging the DC components of the left and right blocks and a DC component value of the target block is obtained, and a value obtained by multiplying the smoothing coefficient s (0 ≦ s ≦ 1) by the smoothing coefficient Add to DC component. These processes are performed for all blocks. However, the left and right end blocks are not smoothed.

平滑化を行わない場合には、所定サイズの画像データとDC成分による画像データとを市松模様状に配列する。例えば、1/4の縮小を行う場合、IDCT処理によって得た2×2画素のデータとDC成分で生成した2×2画素のデータとをブロック毎に交互に配置する。これにより、エッジ成分はIDCT処理による2×2画素のデータによって再現されるとともに、DC成分で生成した2×2画素のデータを用いることで処理の高速化も図ることができる。   When smoothing is not performed, image data of a predetermined size and image data based on DC components are arranged in a checkered pattern. For example, when 1/4 reduction is performed, 2 × 2 pixel data obtained by IDCT processing and 2 × 2 pixel data generated by the DC component are alternately arranged for each block. Thereby, the edge component is reproduced by 2 × 2 pixel data by the IDCT process, and the processing speed can be increased by using the 2 × 2 pixel data generated by the DC component.

DC成分抽出部4では、DCT係数のDC成分を抽出し、IDCT処理を行う。縮小率が1/8以下の場合は8×8DCT係数のデータに対し、IDCT処理を行った1×1画素のデータを出力する。DC成分だけのIDCT処理は数式2で表される。   The DC component extraction unit 4 extracts the DC component of the DCT coefficient and performs IDCT processing. When the reduction ratio is 1/8 or less, 1 × 1 pixel data subjected to IDCT processing is output for 8 × 8 DCT coefficient data. The IDCT processing of only the DC component is expressed by Equation 2.

Figure 2006165609
Figure 2006165609

次に、IDCT処理部と同様に平滑化処理を行う。ただし、ここでは量子化テーブルの値によらず、常に平滑化処理を行う。処理の内容はIDCT処理部での平滑化処理と同様である。   Next, smoothing processing is performed in the same manner as the IDCT processing unit. However, the smoothing process is always performed here regardless of the value of the quantization table. The content of the process is the same as the smoothing process in the IDCT processing unit.

また、平滑化処理部5は、画像の縮小率と量子化テーブルの平均値に応じて、隣接ブロックとの境界部分の画素値の平滑化を行う。なお、IDCT処理部3またはDC成分抽出部4で平滑化処理を行った場合は、ここでは平滑化を行わない。また、縮小率が1/8以下で、量子化テーブルの平均値が閾値以上の場合も、ブロック境界部分の平滑化は行わない。   Further, the smoothing processing unit 5 smoothes the pixel values at the boundary portion with the adjacent block according to the image reduction rate and the average value of the quantization table. In the case where the smoothing process is performed by the IDCT processing unit 3 or the DC component extraction unit 4, the smoothing is not performed here. Even when the reduction ratio is 1/8 or less and the average value of the quantization table is equal to or greater than the threshold, the block boundary portion is not smoothed.

任意サイズ縮小部6は、IDCT処理部またはDC成分抽出部でIDCT変換した画像を任意サイズに縮小する。縮小する際の補間方法としては線形補間が考えられるが、投影法などでもかまわない。これらの処理を行うことによって所望のサイズに縮小された出力画像が得られる。   The arbitrary size reduction unit 6 reduces the image subjected to IDCT conversion by the IDCT processing unit or the DC component extraction unit to an arbitrary size. As an interpolation method for reduction, linear interpolation can be considered, but a projection method or the like may be used. By performing these processes, an output image reduced to a desired size is obtained.

また、上記の処理の流れをフローチャートで示すと図4のようになる。先ず、縮小処理制御部2によって縮小後の画像サイズから圧縮率を求める(ステップS1)。次いで、求めた圧縮率によってIDCT処理のサイズを選択し(ステップS2)、その選択したIDCT処理を行う(ステップS3)。   The flow of the above processing is shown in a flowchart in FIG. First, the compression rate is calculated from the reduced image size by the reduction processing control unit 2 (step S1). Next, the size of the IDCT process is selected according to the calculated compression rate (step S2), and the selected IDCT process is performed (step S3).

次に、注目ブロックにおけるDC成分の値と隣接ブロックのDC成分の値とを比較してその差が閾値以上であるか否かを判断し(ステップS4)、閾値未満である場合にはエッジ成分を含まないとして平滑化処理部5による平滑化を行う(ステップS5)。   Next, the value of the DC component in the block of interest and the value of the DC component in the adjacent block are compared to determine whether or not the difference is greater than or equal to a threshold value (step S4). Is smoothed by the smoothing processing unit 5 (step S5).

一方、閾値以上である場合にはステップS6へ進み、量子化テーブル値が閾値以上であるか否かを判断する。ここで閾値未満である場合にはエッジ成分を含まないとして平滑化処理部5による平滑化を行う(ステップS7)。一方、閾値以上である場合にはエッジ成分を含むとして平滑化処理を行わない。その後、画像データを任意のサイズへ縮小することで(ステップS8)、所望の縮小画像データを出力する。以上の処理をすべてのブロックに対して行い、エッジ部分以外を平滑化した縮小画像を生成する。   On the other hand, if it is greater than or equal to the threshold value, the process proceeds to step S6 to determine whether or not the quantization table value is greater than or equal to the threshold value. If it is less than the threshold value here, it is determined that the edge component is not included, and smoothing is performed by the smoothing processing unit 5 (step S7). On the other hand, if the value is equal to or greater than the threshold value, the smoothing process is not performed because the edge component is included. Thereafter, the image data is reduced to an arbitrary size (step S8), and desired reduced image data is output. The above processing is performed on all the blocks to generate a reduced image in which portions other than the edge portions are smoothed.

上記フローチャートに沿った画像処理方法は、各ステップをプログラム処理によって実現することが可能である。すなわち、この画像処理方法をプログラム処理によって実現することで、パーソナルコンピュータ等で実行されるグラフィックスソフトウェアでの一機能として本実施形態の画像処理方法をプログラムとして組み込んだり、本実施形態の画像処理方法もしくはこれが組み込まれたソフトウェアをCD−ROMやDVD−ROM等の媒体に格納して流通させたり、ネットワークを介して配信することが可能となる。   In the image processing method according to the flowchart, each step can be realized by program processing. That is, by realizing this image processing method by program processing, the image processing method of this embodiment is incorporated as a program as a function of graphics software executed by a personal computer or the like, or the image processing method of this embodiment Alternatively, it is possible to store and distribute software in which this is incorporated in a medium such as a CD-ROM or DVD-ROM, or to distribute it via a network.

なお、上記説明した本実施形態では、主として直交変換後の圧縮画像のブロックが8×8サイズである場合を例としたが、本発明はこれに限定されるものではなく、2n×2nサイズ(nは自然数)のブロックであれば適用可能である。この場合、IDCT処理部は2n-1×2n-1サイズ〜2×2サイズまでの処理部を各々用意すればよい。 In the above-described embodiment, an example in which a block of a compressed image after orthogonal transform is an 8 × 8 size is mainly used as an example, but the present invention is not limited to this, and 2 n × 2 n Any block of size (n is a natural number) can be applied. In this case, the IDCT processing section may be prepared with processing sections of 2 n-1 × 2 n-1 size to 2 × 2 size.

本実施形態に係る画像処理装置を説明するブロック図である。It is a block diagram explaining the image processing apparatus which concerns on this embodiment. IDCT処理部の内部構成を説明するブロック図である。It is a block diagram explaining the internal structure of an IDCT process part. 各サイズのIDCT処理を説明する模式図である。It is a schematic diagram explaining the IDCT process of each size. 本実施形態に係る画像処理方法を説明するフローチャートである。It is a flowchart explaining the image processing method which concerns on this embodiment.

符号の説明Explanation of symbols

1…入力データ、2…縮小処理制御部、3…IDCT処理部、4…DC成分抽出部、5…平滑化処理部、6…任意サイズ縮小部、7…出力データ、31…処理選択部、32…8×8IDCT処理部、33…4×4IDCT処理部、34…2×2IDCT処理部   DESCRIPTION OF SYMBOLS 1 ... Input data, 2 ... Reduction process control part, 3 ... IDCT process part, 4 ... DC component extraction part, 5 ... Smoothing process part, 6 ... Arbitrary size reduction part, 7 ... Output data, 31 ... Process selection part, 32... 8 × 8 IDCT processing section, 33... 4 × 4 IDCT processing section, 34.

Claims (15)

画像データを空間領域から周波数領域に直交変換して成る圧縮画像から縮小画像データを生成する画像処理装置において、
直交変換係数のM行×M列データ(Mは自然数)を逆直交変換してM行×M列画素のデータを生成する逆変換処理部と、
前記直交変換係数のうち直流成分を取得し1×1画素のデータを生成する直流成分抽出部と、
前記逆変換処理部で生成した前記M行×M列画素のデータと、前記直流成分抽出で抽出した直流成分とを組み合わせるとともに、前記M行×M列画素のデータを必要に応じて平滑化して画像データを生成する平滑化処理部と、
前記平滑化処理部で生成された画像データから任意サイズの縮小画像データを生成する縮小部と
を備えることを特徴とする画像処理装置。
In an image processing apparatus that generates reduced image data from a compressed image obtained by orthogonally transforming image data from a spatial domain to a frequency domain,
An inverse transform processing unit that performs inverse orthogonal transform on M row × M column data (M is a natural number) of orthogonal transform coefficients to generate M row × M column pixel data;
A DC component extraction unit that acquires a DC component of the orthogonal transform coefficient and generates 1 × 1 pixel data;
The M row × M column pixel data generated by the inverse conversion processing unit is combined with the DC component extracted by the DC component extraction, and the M row × M column pixel data is smoothed as necessary. A smoothing processing unit for generating image data;
An image processing apparatus comprising: a reduction unit that generates reduced image data of an arbitrary size from the image data generated by the smoothing processing unit.
前記画像データの縮小率に応じて前記逆変換処理部での前記M行×M列の値を選択する縮小処理制御部を備えている
ことを特徴とする請求項1記載の画像処理装置。
The image processing apparatus according to claim 1, further comprising a reduction processing control unit that selects the value of the M rows × M columns in the inverse conversion processing unit according to a reduction rate of the image data.
前記逆変換処理部は、前記M行×M列の複数サイズの逆変換を行う
ことを特徴とする請求項1記載の画像処理装置。
The image processing apparatus according to claim 1, wherein the inverse transform processing unit performs inverse transform of a plurality of sizes of the M rows × M columns.
前記平滑化処理部は、前記画像データのブロック内におけるエッジ部分を抽出し、前記エッジ部分が無いと判断したブロックのみを平滑化する
ことを特徴とする請求項1記載の画像処理装置。
The image processing apparatus according to claim 1, wherein the smoothing processing unit extracts an edge portion in a block of the image data, and smoothes only a block determined to have no edge portion.
前記平滑化処理部は、前記画像データの縮小率と量子化テーブル値とによって平滑化するか否かを選択する
ことを特徴とする請求項1記載の画像処理装置。
The image processing apparatus according to claim 1, wherein the smoothing processing unit selects whether to smooth the image data based on a reduction ratio and a quantization table value.
画像データを空間領域から周波数領域に直交変換して成る圧縮画像から縮小画像データを生成する画像処理方法において、
直交変換係数のM行×M列データ(Mは自然数)を逆直交変換してM行×M列画素のデータを生成する工程と、
前記直交変換係数のうち直流成分を取得し1×1画素のデータを生成する処理とを選択する工程と、
前記逆直交変換して得た前記M行×M列画素のデータと、前記直流成分とを組み合わせるとともに、前記M行×M列画素のデータを必要に応じて平滑化して画像データを生成する工程と、
生成した前記画像データから任意サイズの縮小画像データを生成する工程と
を有することを特徴とする画像処理方法。
In an image processing method for generating reduced image data from a compressed image obtained by orthogonally transforming image data from a spatial domain to a frequency domain,
M-row × M-column data (M is a natural number) of orthogonal transform coefficients and inverse orthogonal transform to generate M-row × M-column pixel data;
A step of selecting a process of acquiring a DC component from the orthogonal transform coefficient and generating 1 × 1 pixel data;
Combining the M row × M column pixel data obtained by the inverse orthogonal transform and the DC component, and smoothing the M row × M column pixel data as necessary to generate image data; When,
And a step of generating reduced image data of an arbitrary size from the generated image data.
前記逆直交変換を行う工程では、前記画像データの縮小率に応じて前記M行×M列の値を選択する
ことを特徴とする請求項6記載の画像処理方法。
The image processing method according to claim 6, wherein, in the step of performing the inverse orthogonal transform, a value of the M rows × M columns is selected according to a reduction ratio of the image data.
前記逆直交変換を行う工程では、前記M行×M列の複数サイズの逆変換を行う
ことを特徴とする請求項6記載の画像処理方法。
The image processing method according to claim 6, wherein, in the step of performing the inverse orthogonal transform, inverse transform of a plurality of sizes of the M rows × M columns is performed.
前記画像データのブロック内におけるエッジ部分を抽出し、前記エッジ部分が無いと判断したブロックのみ前記平滑化を行う
ことを特徴とする請求項6記載の画像処理方法。
The image processing method according to claim 6, wherein an edge portion in the block of the image data is extracted, and the smoothing is performed only on a block that is determined not to have the edge portion.
前記画像データの縮小率と量子化テーブル値とによって前記平滑化を行うか否かを選択する
ことを特徴とする請求項6記載の画像処理方法。
The image processing method according to claim 6, wherein whether or not to perform the smoothing is selected based on a reduction rate of the image data and a quantization table value.
画像データを空間領域から周波数領域に直交変換して成る圧縮画像から縮小画像データを生成する画像処理プログラムにおいて、
直交変換係数のM行×M列データ(Mは自然数)を逆直交変換してM行×M列画素のデータを生成するステップと、
前記直交変換係数のうち直流成分を取得し1×1画素のデータを生成する処理とを選択するステップと、
前記逆直交変換して得た前記M行×M列画素のデータと、前記直流成分とを組み合わせるとともに、前記M行×M列画素のデータを必要に応じて平滑化して画像データを生成するステップと、
生成した前記画像データから任意サイズの縮小画像データを生成するステップと
を有することを特徴とする画像処理プログラム。
In an image processing program for generating reduced image data from a compressed image obtained by orthogonally transforming image data from a spatial domain to a frequency domain,
M-row × M-column data (M is a natural number) of orthogonal transform coefficients and inverse orthogonal transform to generate M-row × M-column pixel data;
Selecting a process of obtaining a DC component of the orthogonal transform coefficient and generating 1 × 1 pixel data;
Combining the M row × M column pixel data obtained by the inverse orthogonal transform and the DC component, and smoothing the M row × M column pixel data as necessary to generate image data; When,
And a step of generating reduced image data of an arbitrary size from the generated image data.
前記逆直交変換を行うステップでは、前記画像データの縮小率に応じて前記M行×M列の値を選択する
ことを特徴とする請求項11記載の画像処理プログラム。
The image processing program according to claim 11, wherein in the step of performing the inverse orthogonal transform, a value of the M rows × M columns is selected according to a reduction rate of the image data.
前記逆直交変換を行うステップでは、前記M行×M列の複数サイズの逆変換を行う
ことを特徴とする請求項11記載の画像処理プログラム。
The image processing program according to claim 11, wherein the step of performing the inverse orthogonal transform performs an inverse transform of a plurality of sizes of the M rows × M columns.
前記画像データのブロック内におけるエッジ部分を抽出し、前記エッジ部分が無いと判断したブロックのみ前記平滑化を行う
ことを特徴とする請求項11記載の画像処理プログラム。
The image processing program according to claim 11, wherein an edge portion in the block of the image data is extracted, and the smoothing is performed only on a block that is determined not to have the edge portion.
前記画像データの縮小率と量子化テーブル値とによって前記平滑化を行うか否かを選択する
ことを特徴とする請求項11記載の画像処理プログラム。
The image processing program according to claim 11, wherein whether to perform the smoothing is selected based on a reduction ratio of the image data and a quantization table value.
JP2004349332A 2004-12-02 2004-12-02 Image processing apparatus, image processing method, and image processing program Pending JP2006165609A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2004349332A JP2006165609A (en) 2004-12-02 2004-12-02 Image processing apparatus, image processing method, and image processing program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2004349332A JP2006165609A (en) 2004-12-02 2004-12-02 Image processing apparatus, image processing method, and image processing program

Publications (1)

Publication Number Publication Date
JP2006165609A true JP2006165609A (en) 2006-06-22

Family

ID=36667170

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2004349332A Pending JP2006165609A (en) 2004-12-02 2004-12-02 Image processing apparatus, image processing method, and image processing program

Country Status (1)

Country Link
JP (1) JP2006165609A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010016707A (en) * 2008-07-04 2010-01-21 Sharp Corp Moving image decoding device, method, program, and recording medium
US8150204B2 (en) 2007-03-23 2012-04-03 Mitsubishi Electric Corporation Noise reducer for video signals

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8150204B2 (en) 2007-03-23 2012-04-03 Mitsubishi Electric Corporation Noise reducer for video signals
JP2010016707A (en) * 2008-07-04 2010-01-21 Sharp Corp Moving image decoding device, method, program, and recording medium

Similar Documents

Publication Publication Date Title
CN106412720B (en) Method and device for removing video watermark
JP2000032465A (en) Nonlinear adaptive image filter to remove noise such as blocking artifacts
CN105187844A (en) System and method for reducing artifacts in images
US20050201632A1 (en) Resolution changing method and apparatus
JP2002358515A5 (en)
EP1098508A2 (en) Apparatus and method for resolution transformation of orthogonal transformation image
JP2006165609A (en) Image processing apparatus, image processing method, and image processing program
CN117480507A (en) Electronic device for playback of images based on AI according to application and method for playback of images by the electronic device
JP2011211437A (en) Image processing apparatus, method, and program
JP3867346B2 (en) Image signal processing apparatus and method, and prediction parameter learning apparatus and method
JPH08315129A (en) Image enlargement method
KR20000068164A (en) Digital signal converting method and device, transformation matrix generating method and device, and supply medium
WO2002067197A1 (en) Device for creating image feature from image having any shape
JP2010211552A (en) Image processing method and computer program
JP4307485B2 (en) Image processing apparatus and image processing method
JP2005303957A (en) Image processing apparatus
JP4510946B2 (en) Decoding method and decoding apparatus
JP2004104636A (en) Data processing device and data processing method, recording medium, and program
JP2005136891A (en) Image encoding method, apparatus, program, and storage medium storing the same
JP4355445B2 (en) Image processing apparatus, image processing system, image processing method, and storage medium
JP4770711B2 (en) Image processing apparatus, image processing method, and program
CN111754378B (en) Image processing method, image processing device, storage medium and electronic device
JP4274187B2 (en) Display data decompression method, display data compression / decompression method, display data decompression device, and display data compression / decompression device
JP2005235029A (en) Image demagnification method and device, and program
JP4253910B2 (en) Image information conversion apparatus and conversion method