JP2003032482A - Image processing apparatus, its control method, computer program and storage medium - Google Patents

Image processing apparatus, its control method, computer program and storage medium

Info

Publication number
JP2003032482A
JP2003032482A JP2001212672A JP2001212672A JP2003032482A JP 2003032482 A JP2003032482 A JP 2003032482A JP 2001212672 A JP2001212672 A JP 2001212672A JP 2001212672 A JP2001212672 A JP 2001212672A JP 2003032482 A JP2003032482 A JP 2003032482A
Authority
JP
Japan
Prior art keywords
image
reducing
reduction
data
jpeg
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.)
Granted
Application number
JP2001212672A
Other languages
Japanese (ja)
Other versions
JP3754903B2 (en
Inventor
Nobuaki Matsui
信明 松井
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.)
Canon Inc
Original Assignee
Canon Inc
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 Canon Inc filed Critical Canon Inc
Priority to JP2001212672A priority Critical patent/JP3754903B2/en
Publication of JP2003032482A publication Critical patent/JP2003032482A/en
Application granted granted Critical
Publication of JP3754903B2 publication Critical patent/JP3754903B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T3/00Geometric image transformations in the plane of the image
    • G06T3/40Scaling of whole images or parts thereof, e.g. expanding or contracting
    • G06T3/4084Scaling of whole images or parts thereof, e.g. expanding or contracting in the transform domain, e.g. fast Fourier transform [FFT] domain scaling

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Image Processing (AREA)
  • Television Signal Processing For Recording (AREA)
  • Storing Facsimile Image Data (AREA)
  • Editing Of Facsimile Originals (AREA)
  • Compression Or Coding Systems Of Tv Signals (AREA)

Abstract

PROBLEM TO BE SOLVED: To reproduce JPEG compression image data in a simple configuration at a desired reduction ratio while suppressing a consumed memory capacity. SOLUTION: A Huffman decoder (102) decodes JPEG compression image data and an inverse quantization circuit 103 applies inverse quantization to the decoded data. When a reduction rate of S/8 (S=1, 2, etc.), is designated, a reduction circuit 104 uses a DC component DC of frequency components for the origin, validates the data of S×S and outputs data of zero for the other. An inverse DCT circuit 105 receives the output of the circuit 104 to apply inverse DCT to the output. A pixel reduction circuit packs S×S pixels in the image after inverse DCT and outputs the result.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明はJPEG圧縮画像デ
ータを再生出力する画像処理装置及びその制御方法及び
コンピュータプログラム及び記憶媒体に関するものであ
る。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an image processing apparatus for reproducing and outputting JPEG compressed image data, a control method therefor, a computer program and a storage medium.

【0002】[0002]

【従来の技術】カラーコピー機などのイメージング機器
におけるこれまでの画像編集には、原稿となる紙をデジ
タイザ(座標入力装置)等に乗せ、トリミング位置など
を指定し、その位置情報を元に、スキャン、プリントし
ていた。
2. Description of the Related Art In conventional image editing in an imaging device such as a color copier, a manuscript sheet is placed on a digitizer (coordinate input device) or the like, a trimming position or the like is designated, and based on the position information I was scanning and printing.

【0003】また、近年、メモリの低価格化、圧縮技術
の向上に伴って、電子ソート機能などを持つマルチファ
ンクションのカラーイメージング機器が登場しつつあ
る。このようなページ画像をメモリにスプールする必要
のあるイメージング機器における画像編集は、デジタイ
ザ等で行うのではなく、むしろカラー液晶などの表示装
置を用い、その操作画面上で、プレビュー表示を行う、
インタラクティブ編集が望ましい。
In recent years, along with the cost reduction of memories and the improvement of compression technology, multi-function color imaging equipment having an electronic sort function has been introduced. Image editing in an imaging device that requires spooling such a page image in a memory is not performed by a digitizer or the like, but rather a display device such as a color liquid crystal is used and a preview display is performed on the operation screen.
Interactive editing is preferred.

【0004】[0004]

【発明が解決しようとする課題】ところで、かかるイメ
ージング機器の元々の目的は印刷出力である。昨今のプ
リンタエンジンは、その記録解像度がより高くなってき
ている。そのほとんどが600dpiやそれ以上となっ
ている。したがって、単純に読み取った画像をそのまま
スプールするのでは、以下にメモリが安価になったとは
言え、膨大な容量を必要とし、必然、圧縮する必要があ
る。
By the way, the original purpose of such an imaging device is print output. The printing resolution of recent printer engines has become higher. Most of them are 600 dpi or higher. Therefore, if the read image is simply spooled as it is, the memory becomes less expensive, but it requires a huge capacity and inevitably needs to be compressed.

【0005】一方、プレビューを行うための液晶表示装
置等の表示装置は、一般に、その表示解像度は72dp
i程度である。したがって、プレビューを行うために
は、圧縮された高解像度画像をプレーンなイメージに伸
張し、解像度変換を行ってプレビュー用の縮小画像を生
成する必要があるが、このとき圧縮された画像を展開す
るために、解像度の差が大きいほど、大きいワークメモ
リが必要となる。また、操作画面上でのプレビューであ
るため、プレビュー画像表示後も画像の拡大縮小も頻繁
に変更する必要がある。しかし、毎回高解像度画像から
縮小画像を生成していたのでは、プレビュー画像生成の
処理時間が長くかかるため、表示の応答速度が遅くな
り、機器の操作性が悪くなるといった問題が発生するこ
とが予想される。反応速度を向上させるためには、複数
の解像度のプレビュー画像を生成しておくことも1つの
手段ではあるが、これではメモリ容量を大量に消費して
しまう。
On the other hand, a display device such as a liquid crystal display device for performing a preview generally has a display resolution of 72 dp.
It is about i. Therefore, in order to perform the preview, it is necessary to decompress the compressed high-resolution image into a plain image and perform resolution conversion to generate a reduced image for preview. At this time, the compressed image is expanded. Therefore, the larger the difference in resolution, the larger the work memory is required. Further, since the preview is on the operation screen, it is necessary to frequently change the scaling of the image even after the preview image is displayed. However, if a reduced image is generated from a high-resolution image every time, it takes a long time to generate a preview image, which causes a problem that the response speed of the display becomes slow and the operability of the device deteriorates. is expected. In order to improve the reaction speed, generating preview images of a plurality of resolutions is one means, but this consumes a large amount of memory capacity.

【0006】本発明はかかる問題点に鑑みなされたもの
であり、JPEG圧縮画像データを、簡単な構成で、し
かも、メモリ消費量を抑えつつ、所望とする縮小率で再
生することを可能ならしめる画像処理装置及びその制御
方法及びコンピュータプログラム及び記憶媒体を提供し
ようとするものである。
The present invention has been made in view of the above problems, and makes it possible to reproduce JPEG-compressed image data at a desired reduction ratio with a simple structure and suppressing memory consumption. An image processing apparatus, a control method thereof, a computer program, and a storage medium are provided.

【0007】[0007]

【課題を解決するための手段】かかる課題を解決するた
め、例えば本発明の画像処理装置は以下に示す構成を備
える。すなわち、JPEG圧縮画像データを再生する画
像処理装置であって、与えられたJPEG圧縮データの
MCU単位で縮小する縮小手段と、当該縮小手段でMC
U単位の縮小を行う際に、無効となったデータを削減す
る削減手段と、該削減手段で削減された結果に基づいて
生成した各画像ブロックを詰めて記憶する記憶手段と、
該記憶手段で記憶された画像を出力する出力手段とを備
える。
In order to solve such a problem, for example, an image processing apparatus of the present invention has the following structure. That is, an image processing device for reproducing JPEG-compressed image data, in which a reducing unit that reduces the given JPEG-compressed data in MCU units, and an MC in the reducing unit.
Reducing means for reducing invalidated data when reducing by U, and storing means for packing and storing each image block generated based on the result reduced by the reducing means,
Output means for outputting the image stored in the storage means.

【0008】[0008]

【発明の実施の形態】以下、添付図面に従って本発明に
係る実施形態を詳細に説明する。
DETAILED DESCRIPTION OF THE INVENTION Embodiments of the present invention will be described in detail below with reference to the accompanying drawings.

【0009】実施形態におけるJPEG伸長器の構成図
を図1に示し、以下に説明する。
A block diagram of the JPEG decompressor in the embodiment is shown in FIG. 1 and will be described below.

【0010】伸張すべきJPEGビットストリームは、
はじめにハフマンデコーダ102に入力され、ハフマン
符号化されたビットストリームを量子化された空間周波
数データに伸張する。続いて量子化された空間周波数デ
ータは逆量子化回路103に入力され、量子化された空
間周波数データが、本来のビット数(ここでは8ビット
とする)に拡大され、8ビットにそろえられた空間周波
数データが生成される。8ビットにそろえられた空間周
波数データは、MCU単位(8×8画素)の縮小回路1
04に入力される。
The JPEG bit stream to be decompressed is
First, it is input to the Huffman decoder 102 and decompresses the Huffman-coded bit stream into quantized spatial frequency data. Subsequently, the quantized spatial frequency data is input to the inverse quantization circuit 103, and the quantized spatial frequency data is expanded to the original number of bits (here, 8 bits) and aligned to 8 bits. Spatial frequency data is generated. Spatial frequency data arranged in 8 bits is reduced by the reduction circuit 1 in MCU unit (8 × 8 pixels).
It is input to 04.

【0011】縮小回路104は、外部の制御信号(倍率
指定信号)に応じて動作する。等倍の場合には何もせ
ず、縮小画像を生成する場合には周波数空間で1/8か
ら7/8の倍率で縮小される。1/8縮小の場合には、縮
小処理が行われず、上記処理で得られたDC(直流)成
分のみがMCUの原点(8×8のマトリクスの左上隅)
に存在し、その他の空間周波数成分は0のデータが出力
される。また、4/8倍である場合には、MCUの原点
(DC成分の有る位置)を左上隅とする4×4のデータ
と、それ以外の空間周波数成分について0のデータが出
力される。つまり、S/8倍(S=1、2、…、8)の
場合には逆量子化後の8×8のデータの直流線分DCを
原点とするS×Sのデータを出力し、それ以外の部分に
ついては0のデータを出力する。
The reduction circuit 104 operates according to an external control signal (magnification designating signal). In the case of the same size, nothing is done, and in the case of generating a reduced image, it is reduced in the frequency space by a magnification of 1/8 to 7/8. In the case of 1/8 reduction, reduction processing is not performed, and only the DC (direct current) component obtained by the above processing is the origin of the MCU (upper left corner of the 8 × 8 matrix).
, And the other spatial frequency components are 0. Further, in the case of 4/8 times, 4 × 4 data having the origin of the MCU (the position with the DC component) as the upper left corner and data of 0 for other spatial frequency components are output. That is, in the case of S / 8 times (S = 1, 2, ..., 8), S × S data whose origin is the DC line segment DC of 8 × 8 data after dequantization is output, and Data other than 0 is output as 0.

【0012】縮小もしくはそのままの空間周波数データ
は、逆DCT回路105によってMCU単位の画像デー
タに戻される。MCU単位の画像に戻されたデータは、
画素削減回路106に入力され、等倍の通常のJPEG
伸張の場合には8×8画素の画像がそのまま出力され、
縮小伸張の場合(制御信号に依存する)、例えば7/8
倍であればMCUの原点から7×7画素がクリッピング
されて出力される。この処理をすべてのJPEGビット
ストリームに対して行うことによってJPEG伸張が行
え、縮小時にはMCU単位で縮小された、倍率 1/1,
7/8, 6/8, 5/8, 4/8, 3/8, 2/8, 1/8 の
画像が得られることになる。
The reduced or unchanged spatial frequency data is returned by the inverse DCT circuit 105 to image data in MCU units. The data returned to the image of MCU unit is
It is input to the pixel reduction circuit 106 and is a normal JPEG of the same size.
In the case of decompression, the 8 × 8 pixel image is output as is,
In case of contraction / expansion (depending on control signal), for example, 7/8
If double, 7 × 7 pixels are clipped and output from the origin of the MCU. By performing this process for all JPEG bit streams, JPEG decompression can be performed, and at the time of reduction, the scale factor is reduced to 1/1,
Images of 7/8, 6/8, 5/8, 4/8, 3/8, 2/8, 1/8 will be obtained.

【0013】図2は縮小回路104の1次元だけの動作
の様子を示した模式図である。周波数空間に並べられた
画像を縮小(ここでは6/8 倍)し、同図下のデータと
して出力される。実際の縮小回路104はX,Yの2次
元に対してこの処理を行うことになる。
FIG. 2 is a schematic diagram showing the one-dimensional operation of the reduction circuit 104. The images arranged in the frequency space are reduced (6/8 times in this case) and output as the data in the lower part of the figure. The actual reduction circuit 104 performs this processing for the two dimensions of X and Y.

【0014】図3は画像の縮小の様子を示した模式図で
ある。JPEG形式で圧縮された8×8画素のMCU3
01は縮小回路104によって6/8倍に縮小され、画
素削減回路106によって6×6画素のイメージ311
としてメモリに展開される。続くMCU302も、6/
8倍で縮小され、イメージ311と間隔を空けることな
くメモリ上にイメージ312として展開される。これを
繰り返すことによって縮小画像が生成される。
FIG. 3 is a schematic diagram showing how an image is reduced. 8x8 pixel MCU3 compressed in JPEG format
01 is reduced to 6/8 times by the reduction circuit 104, and an image 311 of 6 × 6 pixels is obtained by the pixel reduction circuit 106.
Is expanded in memory as. The following MCU 302 is also 6 /
It is reduced by a factor of 8 and developed as an image 312 on the memory without a space from the image 311. By repeating this, a reduced image is generated.

【0015】図4は本実施形態のイメージング機器(デ
ジタルカラー複写機)のシステム構成を示したブロック
図である。図1で示したJPEG伸長器は、図4におけ
るJPEGデコーダ101に採用されるものである。ま
た、CPU402は、図1にける制御信号も出力するこ
とになる。以下、図4の構成をその動作と共に説明す
る。
FIG. 4 is a block diagram showing the system configuration of the imaging device (digital color copying machine) of this embodiment. The JPEG decompressor shown in FIG. 1 is adopted in the JPEG decoder 101 in FIG. The CPU 402 also outputs the control signal in FIG. Hereinafter, the configuration of FIG. 4 will be described together with its operation.

【0016】スキャナ406においてスキャンされた画
像は、スキャナインターフェース407を介してマルチ
ファンクションコントローラ401の内部に取り込まれ
る。取り込まれた画像はクロスバー回路404を介し
て、メインメモリ403に格納される。CPU402は
取り込まれた画像を圧縮し、メインメモリ403にスプ
ールする。スプールされた画像は、JPEG伸張器10
1を用いて、一度1/8解像度のプレーンイメージに伸
張された後、再度プレビュー用の1/8 解像度の画像と
してJPEG圧縮され、メモリ403に格納される。こ
の結果、メインメモリ403には、読み取った画像の解
像度のJPEGデータ、及び、1/8のJPEGデータ
が格納されることになる。
The image scanned by the scanner 406 is taken into the inside of the multifunction controller 401 via the scanner interface 407. The captured image is stored in the main memory 403 via the crossbar circuit 404. The CPU 402 compresses the captured image and spools it in the main memory 403. The spooled image is a JPEG decompressor 10
1 is used to decompress once into a 1/8 resolution plane image, and then is again JPEG compressed as a 1/8 resolution image for preview and stored in the memory 403. As a result, the main memory 403 stores the read image resolution JPEG data and 1/8 JPEG data.

【0017】CPU402はプレビュー画像のサイズを
確定し、高解像度元画像かプレビュー用1/8画像から
所望の解像度のプレーンイメージをJPEG伸張器10
1によって生成し、表示部411のVRAM413へと
コピー(転送)する。VRAM413にコピーされたプ
レーンイメージは、プレビュー画像としてLCD412
に表示される。なお、表示部411には、各種指示入力
を行うための入力部414が設けられていて、その中の
1つはLCD412の前面に設けられた座標入力板(タ
ッチパネル)となっている。
The CPU 402 determines the size of the preview image, and extracts a plain image of a desired resolution from the high resolution original image or the preview 1/8 image to the JPEG decompressor 10.
1 and copy (transfer) to the VRAM 413 of the display unit 411. The plain image copied to the VRAM 413 is displayed on the LCD 412 as a preview image.
Is displayed in. The display unit 411 is provided with an input unit 414 for inputting various instructions, one of which is a coordinate input plate (touch panel) provided on the front surface of the LCD 412.

【0018】ユーザによってプリントが指定されたスプ
ール圧縮イメージデータは、イメージ伸長回路101に
よって伸長され、画像処理回路410によって回転され
た後、プリンタインターフェース409を介してプリン
タ408によって紙にプリントされる。また、ネットワ
ークスキャン動作の場合には、スプールされた圧縮イメ
ージデータが、ネットワークインターフェース405を
介してホスト413へと送られる。
The spool compressed image data designated for printing by the user is decompressed by the image decompression circuit 101, rotated by the image processing circuit 410, and then printed on paper by the printer 408 via the printer interface 409. Further, in the case of the network scan operation, the spooled compressed image data is sent to the host 413 via the network interface 405.

【0019】図5は本実施形態のページ画像フォーマッ
トを示した模式図である。1ページ画像は32×32画
素のタイルに分割され、タイル単位でJPEG圧縮され
る。A4 600dpiの画像は155×216タイルに相
当する。1/8解像度の縮小画像は20×27タイルに
相当する。JPEG圧縮時には32×32画素が8×8
画素のMCUにさらに分割される。JPEG伸張器10
1はこのMCU単位で画像の縮小を行う。
FIG. 5 is a schematic diagram showing the page image format of this embodiment. One page image is divided into 32 × 32 pixel tiles, and JPEG compression is performed in tile units. An A4 600 dpi image corresponds to 155 x 216 tiles. A reduced image of 1/8 resolution corresponds to 20 × 27 tiles. 32 × 32 pixels is 8 × 8 when compressed by JPEG
It is further divided into MCUs of pixels. JPEG decompressor 10
1 reduces the image in units of this MCU.

【0020】図6はプレビュー動作のシーケンス(主と
して、CPU402)を示したフローチャートである。
なお、以下の説明は、スキャナ406から原稿画像がJ
PEG圧縮され、メインメモリ403に読み込まれてい
るものとする。
FIG. 6 is a flowchart showing the sequence of the preview operation (mainly the CPU 402).
It should be noted that in the following description, the document image from the scanner 406 is J
It is assumed that it is PEG-compressed and read into the main memory 403.

【0021】先ず、高解像度の元画像(メインメモリ4
03に格納されている)からJPEG伸張器101を用
いて1/8解像度のプレーンイメージを作成する(ステ
ップS601)。続いて、作成された1/8解像度のプ
レーンイメージを、図5に示すタイルに分割し、タイル
単位でJPEG圧縮を施す(ステップS602)。その結
果、元の高解像度画像と1/8解像度の画像のそれぞれ
のJPEG圧縮データがメモリ403に保持されること
になる(ステップS603)。
First, a high-resolution original image (main memory 4
(Stored in 03) using the JPEG decompressor 101 to create a 1/8 resolution plane image (step S601). Subsequently, the created 1/8 resolution plane image is divided into tiles shown in FIG. 5, and JPEG compression is performed in tile units (step S602). As a result, the JPEG compressed data of each of the original high resolution image and the 1/8 resolution image is held in the memory 403 (step S603).

【0022】続いて1/8解像度の画像から、JPEG
伸張器101を4/8倍の縮小モードに設定して、実際
のプレビューに用いる1/16解像度のプレーンイメー
ジを作成する(ステップS604)。そして、1/16
解像度のプレーンイメージを、VRAM413にコピー
することによって、プレビュー画像をLCD412に表
示することができる(ステップS605)。
Then, from the image of 1/8 resolution, JPEG
The decompressor 101 is set to the 4/8 times reduction mode to create a 1/16 resolution plane image used for the actual preview (step S604). And 1/16
By copying the plane image of the resolution to the VRAM 413, the preview image can be displayed on the LCD 412 (step S605).

【0023】続いてユーザがプレビュー画像を拡大して
表示したいのか縮小して表示したいのかを表示部411
の入力部414からあったか否かを判断し(ステップS
606)、ユーザ操作が拡大もしくは縮小であれば、続
いて1/8解像度よりも高解像度か判断し(ステップS
608)、もし高解像度であれば元の高解像度画像から
タイル管理情報を用いて表示に必要なタイルを切り出し
(ステップS609)、切り出した高解像度画像の所望
のタイルからJPEG伸張器101を用いて所望の縮小
率でプレーンイメージを作成し(ステップS610)、
当該プレーンイメージをVRAM413にコピーするこ
とで拡大表示を行う(ステップS605)。
Then, the display unit 411 indicates whether the user wants to enlarge or reduce the preview image.
It is determined from the input unit 414 of (step S
606) If the user operation is enlargement or reduction, then it is determined whether the resolution is higher than 1/8 resolution (step S
608), if the resolution is high, the tiles required for display are cut out from the original high resolution image using the tile management information (step S609), and the desired tile of the cut out high resolution image is extracted using the JPEG decompressor 101. A plane image is created at a desired reduction ratio (step S610),
An enlarged display is performed by copying the plane image to the VRAM 413 (step S605).

【0024】また、もし表示要求の画像が1/8解像度
よりも低解像度であれば、1/8解像度のJPEG圧縮
画像データから所望のタイルを切り出し(ステップS6
11)、切り出した1/8解像度画像の所望のタイルか
らJPEG伸張器101を用いて所望の縮小率でプレー
ンイメージを作成し(ステップS612)、当該プレー
ンイメージをVRAM413にコピーすることでプレビ
ュー表示を行う(ステップS605)。この結果、1/
8解像度のJPEG圧縮画像データを用いることで、1
/8〜1/64の縮小率を得ることができる。
If the display request image has a lower resolution than the 1/8 resolution, a desired tile is cut out from the 1/8 resolution JPEG compressed image data (step S6).
11), a plane image is created from the desired tile of the cut-out 1/8 resolution image using the JPEG decompressor 101 at a desired reduction ratio (step S612), and the preview image is displayed by copying the plane image into the VRAM 413. Perform (step S605). As a result, 1 /
1 by using JPEG compressed image data of 8 resolution
A reduction ratio of / 8 to 1/64 can be obtained.

【0025】また、もしユーザの操作がプレビューの拡
大でも縮小でもなければ、次に当該画像のプレビュー処
理の終了かを判断し(ステップS607)、終了でなけ
れば拡大操作か縮小操作かの判断に戻り(ステップS6
06)、終了であれば次に別の画像のプレビュー処理な
のかを判断し(ステップS608)、別画像のプレビュ
ーであれば別画像の1/8解像度のプレーンイメージを
JPEG伸張器101で作成し(ステップS601)、
別画像のプレビュー処理でなければ、プレビュー処理を
終了する。
If the user's operation is neither the enlargement nor the reduction of the preview, then it is judged whether the preview processing of the image is finished (step S607). If not, it is judged whether the operation is an enlargement operation or a reduction operation. Return (step S6
06), if it is finished, it is judged whether or not it is the preview processing of another image next (step S608). If it is the preview of another image, the JPEG decompressor 101 creates a 1/8 resolution plain image of the other image. (Step S601),
If it is not the preview processing of another image, the preview processing ends.

【0026】図7は本実施形態でのプレビュー画像の表
示の様子を示した模式図である。プレビュー処理最初で
は、LCD412にページ全体の1/16解像度の画像
701が表示される。ユーザが拡大指定(拡大ボタンを
タッチ)すると、CPU402は拡大要求を判断し(ス
テップS606)、つづいてユーザの要求がプレビュー
画像の2倍拡大であることから1/8解像度の画像とな
るため、解像度判断(S608)で1/8解像度保持画像
が選択され、1/8解像度の画像の原点に接した表示に
必要なタイルが切り出され(ステップS611)、JP
EGデコーダ101によって等倍で展開することによっ
て1/8解像度画像のプレビュー用プレーンイメージが
作成され(ステップS612)、当該イメージをVRA
M413にコピーすることによってLCD412上に拡
大されたプレビュー画像702が表示される。
FIG. 7 is a schematic diagram showing how a preview image is displayed in this embodiment. At the beginning of the preview process, an image 701 having a 1/16 resolution of the entire page is displayed on the LCD 412. When the user specifies enlargement (touches the enlargement button), the CPU 402 determines an enlargement request (step S606), and since the user's request is to double the preview image, the image has 1/8 resolution. In the resolution judgment (S608), the 1/8 resolution retained image is selected, and the tiles necessary for the display that touch the origin of the 1/8 resolution image are cut out (step S611).
A 1/8 resolution image preview plane image is created by unfolding the image by the EG decoder 101 (step S612), and the image is VRA.
The enlarged preview image 702 is displayed on the LCD 412 by copying it to M413.

【0027】なお、上記例では、原稿を読み取った際の
プレビュー表示の拡大、縮小について説明したが、トリ
ミング等の編集処理は、別処理で行うことになる。いず
れにしても、かかる編集処理が終了した場合には、その
編集指示に応じた処理を行い、プリンタエンジン408
で印刷出力することになる。
In the above example, the enlargement and reduction of the preview display when the document is read have been described, but the editing process such as trimming is performed as a separate process. In any case, when the editing process is completed, the process according to the editing instruction is performed, and the printer engine 408
Will be printed out.

【0028】以上説明したように、本実施形態によれば
JPEG伸張と同時に1/8倍までの画像縮小を行うこ
とができ、ワークメモリを削減することができ、JPEG伸
張器を用い、高解像度画像をタイルに分割して各タイル
をJPEG圧縮して保持、管理し、この高解像度画像から低
解像度の画像を生成して保持し、タイル単位で切り出
し、JPEG伸張、変倍を行うことで、イメージング機器の
表示部のプレビュー処理を高速に行うことが可能とな
る。
As described above, according to this embodiment, it is possible to perform image reduction up to ⅛ times at the same time as JPEG decompression, work memory can be reduced, and high resolution can be achieved by using a JPEG decompressor. By dividing the image into tiles, JPEG compressing each tile and holding and managing it, generating and holding a low resolution image from this high resolution image, cutting out in tile units, JPEG decompression, scaling It is possible to perform the preview process of the display unit of the imaging device at high speed.

【0029】また、本実施形態によれば、オリジナル原
稿をJPEG圧縮記憶すると共に、その1/8解像度の
プレーンイメージを更にJPEG圧縮記憶することで、
8/8〜1/8及び1/8〜1/64倍の解像度のイメ
ージを自由に生成することが可能となる。
Further, according to the present embodiment, the original document is stored in JPEG compression and the plane image of the 1/8 resolution is further stored in JPEG compression.
It is possible to freely generate an image having a resolution of 8/8 to 1/8 and 1/8 to 1/64.

【0030】また、実施形態では、複写機に適用した例
を説明したが、画像をプレビュー表示するものであれ
ば、如何なる装置に適用しても構わないので、上記実施
形態によって本発明が限定されるものではない。
Further, in the embodiment, an example in which the invention is applied to a copying machine has been described. However, the invention may be applied to any device as long as an image is preview-displayed. Not something.

【0031】また、上記実施形態における圧縮及び伸長
処理は、例えばパーソナルコンピュータ等の汎用情報処
理装置に、スキャナやJPEG圧縮データを記憶してい
る記憶媒体よりそのデータを読み取り表示する場合にも
適用できる。この場合、その処理(図1のブロック図に
相当する部分や図6のフローチャートに係る処理)のほ
とんどがソフトウェアによるものとなるので、本発明
は、情報処理装置に組み込むソフトウェアにも適用でき
る。ソフトウェアをコンピュータに導入する場合には、
通常、そのプログラムを記憶した記憶媒体(フロッピー
(登録商標)ディスクやCDROM等)を装置にセット
し、コピー或いはインストールすることになるわけであ
るから、当然、そのような記憶媒体も本発明に含まれ
る。
Further, the compression and decompression processing in the above embodiment can be applied to a general-purpose information processing device such as a personal computer for reading the data from a scanner or a storage medium storing JPEG compressed data and displaying the data. . In this case, most of the processing (the portion corresponding to the block diagram of FIG. 1 and the processing according to the flowchart of FIG. 6) is performed by software, so the present invention can also be applied to software installed in an information processing apparatus. When installing software on a computer,
Usually, a storage medium (a floppy (registered trademark) disk, a CDROM, or the like) storing the program is set in the device and copied or installed. Therefore, naturally, such a storage medium is also included in the present invention. Be done.

【0032】[0032]

【発明の効果】以上説明したように本発明によれば、J
PEG圧縮画像データを、簡単な構成で、しかも、メモ
リ消費量を抑えつつ、所望とする縮小率で再生すること
が可能になる。
As described above, according to the present invention, J
It is possible to reproduce the PEG-compressed image data with a desired reduction rate with a simple structure and suppressing the memory consumption.

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

【図1】実施形態におけるJPEG伸長器のブロック構
成図である。
FIG. 1 is a block configuration diagram of a JPEG decompressor according to an embodiment.

【図2】実施形態における縮小回路の動作を示する模式
図である。
FIG. 2 is a schematic diagram showing the operation of the reduction circuit according to the embodiment.

【図3】実施形態における画像縮小前後の様子を示す模
式図である。
FIG. 3 is a schematic diagram showing a state before and after image reduction in the embodiment.

【図4】実施形態におけるシステムブロック構成図であ
る。
FIG. 4 is a system block configuration diagram in the embodiment.

【図5】実施形態における画像フォーマットを示す図で
ある。
FIG. 5 is a diagram showing an image format in the embodiment.

【図6】実施形態のプレビュー動作の動作処理を示すフ
ローチャートである。
FIG. 6 is a flowchart showing an operation process of a preview operation of the embodiment.

【図7】実施形態における表示の様子を示す模式図であ
る。
FIG. 7 is a schematic diagram showing a display state in the embodiment.

───────────────────────────────────────────────────── フロントページの続き (51)Int.Cl.7 識別記号 FI テーマコート゛(参考) H04N 7/30 H04N 5/91 J Fターム(参考) 5B057 AA20 BA02 CA01 CA08 CA12 CA16 CB01 CB08 CB12 CB16 CC01 CD05 CG05 5C053 FA04 FA05 FA07 GA11 GB36 5C059 KK38 LC04 MA23 PP01 PP14 SS20 SS28 UA02 UA38 5C073 AA02 AA03 AB07 BB02 CE01 CE04 5C076 AA22 BA09 BB13 CB01 ─────────────────────────────────────────────────── ─── Continuation of front page (51) Int.Cl. 7 Identification code FI theme code (reference) H04N 7/30 H04N 5/91 JF term (reference) 5B057 AA20 BA02 CA01 CA08 CA12 CA16 CB01 CB08 CB12 CB16 CC01 CD05 CG05 5C053 FA04 FA05 FA07 GA11 GB36 5C059 KK38 LC04 MA23 PP01 PP14 SS20 SS28 UA02 UA38 5C073 AA02 AA03 AB07 BB02 CE01 CE04 5C076 AA22 BA09 BB13 CB01

Claims (10)

【特許請求の範囲】[Claims] 【請求項1】 JPEG圧縮画像データを再生する画像
処理装置であって、 与えられたJPEG圧縮データのMCU単位で縮小する
縮小手段と、 当該縮小手段でMCU単位の縮小を行う際に、無効とな
ったデータを削減する削減手段と、 該削減手段で削減された結果に基づいて生成した各画像
ブロックを詰めて記憶する記憶手段と、 該記憶手段で記憶された画像を出力する出力手段とを備
えることを特徴とする画像処理装置。
1. An image processing apparatus for reproducing JPEG-compressed image data, which comprises a reducing means for reducing the given JPEG-compressed data in MCU units, and invalidation when performing the reducing in MCU units by the reducing means. Reducing means for reducing the lost data, storage means for packing and storing each image block generated based on the result reduced by the reducing means, and output means for outputting the image stored by the storage means. An image processing apparatus comprising:
【請求項2】 前記縮小手段は、JPEG圧縮データを
復号する際の逆DCT変換処理の前に位置することを特
徴とする請求項第1項に記載の画像処理装置。
2. The image processing apparatus according to claim 1, wherein the reducing unit is positioned before the inverse DCT conversion process when decoding the JPEG compressed data.
【請求項3】 前記縮小手段は、縮小倍率がS/8(S
=1、2、…8)であるとき、JPEG圧縮データのM
CUの逆量子化データ中の、直流成分を原点とするS×
Sのデータを有効データとし、それ以外のデータを0と
して出力することを特徴とする請求項第2項に記載の画
像処理装置。
3. The reduction means has a reduction magnification of S / 8 (S
= 1, 2, ... 8), M of the JPEG compressed data
S × with the DC component as the origin in the dequantized data of the CU
The image processing device according to claim 2, wherein the data of S is output as valid data and the other data is output as 0.
【請求項4】 前記削減手段は、縮小倍率がS/8(S
=1、2、…8)であるとき、逆DCT変換後の、S×
Sのデータを有効データとし、それ以外を削減して出力
することを特徴とする請求項第2項又は第3項に記載の
画像処理装置。
4. The reduction means has a reduction ratio of S / 8 (S
= 1, 2, ... 8), S × after the inverse DCT transform
4. The image processing apparatus according to claim 2, wherein the data of S is used as effective data and the other data is reduced and output.
【請求項5】 更に、JPEG画像データが与えられた
とき、前記縮小手段、削減手段、及び前記記憶手段によ
って1/8縮小画像を生成させ、当該1/8縮小画像を
JPEG圧縮する圧縮手段と、 前記JPEG圧縮画像データ、前記圧縮手段で圧縮した
1/8のJPEG圧縮画像のいずれかを、指定された倍
率に応じて選択する選択手段とを備え、 選択されたJPEG圧縮画像データを前記縮小手段、削
減手段、及び前記記憶手段を経て出力することを特徴と
する請求項第4項に記載の画像処理装置。
5. When the JPEG image data is given, the reduction means, the reduction means, and the storage means generate a 1/8 reduced image, and the compression means performs JPEG compression on the 1/8 reduced image. Selecting means for selecting one of the JPEG compressed image data and the ⅛ JPEG compressed image compressed by the compressing means according to a designated magnification, and reducing the selected JPEG compressed image data by the reduction. The image processing apparatus according to claim 4, wherein the image processing apparatus outputs the image data via a means, a reduction unit, and the storage unit.
【請求項6】 JPEG圧縮画像データを再生する画像
処理装置の制御方法であって、 与えられたJPEG圧縮データのMCU単位で縮小する
縮小工程と、 当該縮小工程でMCU単位の縮小を行う際に、無効とな
ったデータを削減する削減工程と、 該削減工程で削減された結果に基づいて生成した各画像
ブロックを詰めて記憶する記憶工程と、 該記憶工程で記憶された画像を出力する出力工程とを備
えることを特徴とする画像処理装置の制御方法。
6. A method of controlling an image processing apparatus for reproducing JPEG compressed image data, comprising: a reducing step of reducing given JPEG compressed data in MCU units; and a reducing step in MCU units in the reducing step. A reduction step of reducing invalid data, a storage step of packing and storing each image block generated based on the result reduced by the reduction step, and an output of outputting the image stored in the storage step And a step of controlling the image processing apparatus.
【請求項7】 コンピュータが読み込み実行すること
で、JPEG圧縮画像データを再生する画像処理装置と
して機能するコンピュータプログラムであって、 与えられたJPEG圧縮データのMCU単位で縮小する
縮小工程のプログラムコードと、 当該縮小工程でMCU単位の縮小を行う際に、無効とな
ったデータを削減する削減工程のプログラムコードと、 該削減工程で削減された結果に基づいて生成した各画像
ブロックを詰めて記憶する記憶工程のプログラムコード
と、 該記憶工程で記憶された画像を出力する出力工程のプロ
グラムコードとを備えることを特徴とするコンピュータ
プログラム。
7. A computer program which, when read and executed by a computer, functions as an image processing device for reproducing JPEG-compressed image data, comprising a program code of a reducing step of reducing the supplied JPEG-compressed data in MCU units. The program code of a reduction process for reducing invalid data when performing reduction in units of MCU in the reduction process and each image block generated based on the result reduced by the reduction process are stored together. A computer program, comprising: a program code of a storage process; and a program code of an output process for outputting an image stored in the storage process.
【請求項8】 請求項7に記載のコンピュータプログラ
ムを格納することを特徴とする記憶媒体。
8. A storage medium storing the computer program according to claim 7.
【請求項9】 読み取り手段で原稿を読み取り、印刷出
力する画像処理装置において、 前記読み取り手段で読み取って得た画像データをJPE
G圧縮手段を用いて圧縮し、所定の記憶手段に保存する
第1の保存手段と、 該第1の保存手段で保存されたJPEG圧縮画像データ
をMCU単位で縮小する縮小手段と、 当該縮小手段でMCU単位の縮小を行う際に、無効とな
ったデータを削減する削減手段と、 該削減手段で削減された結果に基づいて生成した各画像
ブロックを詰めて縮小画像を生成し、前記JPEG圧縮
手段を用いて縮小版JPEG圧縮画像データを前記記憶
手段に保存する第2の保存手段と、 プレビュー表示の際に指定された縮小率に基づき、前記
第1の保存手段で保存したJPEG圧縮画像データ、又
は、前記第2の保存手段で保存された縮小版JPEG圧
縮画像データのいずれか一方を選択し、前記縮小手段及
び前記削減手段を経て得た画像データをプレビュー表示
する表示手段とを備えることを特徴とする画像処理装
置。
9. An image processing apparatus for reading an original with a reading unit and printing it out, wherein image data obtained by reading with the reading unit is a JPE.
First storage means for compressing using the G compression means and storing in a predetermined storage means, reduction means for reducing the JPEG compressed image data stored by the first storage means in MCU units, and the reduction means. At the time of performing the reduction in the unit of MCU, the reduction means for reducing the invalid data and the image blocks generated based on the result reduced by the reduction means are packed to generate the reduced image, and the JPEG compression is performed. Second saving means for saving the reduced JPEG compressed image data in the storage means by means of the means, and JPEG compressed image data saved in the first saving means based on the reduction ratio designated at the time of preview display Alternatively, one of the reduced JPEG compressed image data saved by the second saving means is selected, and a preview table of the image data obtained through the reducing means and the reducing means is displayed. An image processing apparatus comprising: a display unit shown.
【請求項10】 読み取り手段で原稿を読み取り、印刷
出力する画像処理装置の制御方法において、 前記読み取り手段で読み取って得た画像データをJPE
G圧縮手段を用いて圧縮し、所定の記憶手段に保存する
第1の保存工程と、 該第1の保存工程で保存されたJPEG圧縮画像データ
をMCU単位で縮小する縮小工程と、 当該縮小工程でMCU単位の縮小を行う際に、無効とな
ったデータを削減する削減工程と、 該削減工程で削減された結果に基づいて生成した各画像
ブロックを詰めて縮小画像を生成し、前記JPEG圧縮
手段を用いて縮小版JPEG圧縮画像データを前記記憶
手段に保存する第2の保存工程と、 プレビュー表示の際に指定された縮小率に基づき、前記
第1の保存工程で保存したJPEG圧縮画像データ、又
は、前記第2の保存工程で保存された縮小版JPEG圧
縮画像データのいずれか一方を選択し、前記縮小工程及
び前記削減工程を経て得た画像データをプレビュー表示
する表示工程とを備えることを特徴とする画像処理装置
の制御方法。
10. A method of controlling an image processing apparatus for reading an original by a reading means and printing it out, wherein image data obtained by the reading means is read by a JPE.
A first saving step of compressing using a G compressing means and saving it in a predetermined storage means; a reducing step of reducing the JPEG compressed image data saved in the first saving step in units of MCU; At the time of performing the reduction in units of MCU, the reduction process for reducing the invalid data, and the reduced image is generated by packing each image block generated based on the result reduced by the reduction process, and the JPEG compression is performed. A second saving step of saving the reduced JPEG compressed image data in the storage means using a means, and the JPEG compressed image data saved in the first saving step based on the reduction ratio designated at the time of preview display. Alternatively, one of the reduced version JPEG compressed image data saved in the second saving step is selected, and a preview table of the image data obtained through the reducing step and the reducing step is displayed. And a display step shown in the figure.
JP2001212672A 2001-07-12 2001-07-12 Image processing apparatus, control method therefor, computer program, and storage medium Expired - Fee Related JP3754903B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2001212672A JP3754903B2 (en) 2001-07-12 2001-07-12 Image processing apparatus, control method therefor, computer program, and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2001212672A JP3754903B2 (en) 2001-07-12 2001-07-12 Image processing apparatus, control method therefor, computer program, and storage medium

Publications (2)

Publication Number Publication Date
JP2003032482A true JP2003032482A (en) 2003-01-31
JP3754903B2 JP3754903B2 (en) 2006-03-15

Family

ID=19047798

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2001212672A Expired - Fee Related JP3754903B2 (en) 2001-07-12 2001-07-12 Image processing apparatus, control method therefor, computer program, and storage medium

Country Status (1)

Country Link
JP (1) JP3754903B2 (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2006025090A1 (en) * 2004-08-30 2006-03-09 Fujitsu Limited Image restoration device, image restoration method, and image restoration program
JP2008158944A (en) * 2006-12-26 2008-07-10 Softbank Mobile Corp Content reproduction method, and mobile communication terminal device
US7613349B2 (en) 2005-05-31 2009-11-03 Fujifilm Corporation Image processing apparatus and method
CN105657435A (en) * 2016-01-25 2016-06-08 福建师范大学 Single video frame copy and paste tamper detection method based on quantized DCT coefficient

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2006025090A1 (en) * 2004-08-30 2006-03-09 Fujitsu Limited Image restoration device, image restoration method, and image restoration program
US7613349B2 (en) 2005-05-31 2009-11-03 Fujifilm Corporation Image processing apparatus and method
JP2008158944A (en) * 2006-12-26 2008-07-10 Softbank Mobile Corp Content reproduction method, and mobile communication terminal device
CN105657435A (en) * 2016-01-25 2016-06-08 福建师范大学 Single video frame copy and paste tamper detection method based on quantized DCT coefficient

Also Published As

Publication number Publication date
JP3754903B2 (en) 2006-03-15

Similar Documents

Publication Publication Date Title
US5751865A (en) Method and apparatus for image rotation with reduced memory using JPEG compression
JP3166977B2 (en) Pipeline configuration of full-color computer graphics
US7526135B2 (en) Image processing apparatus, image processing method, program, and storage medium
JP3162773B2 (en) Image processing method and apparatus
JPH05242216A (en) Picture processor
JP4446447B2 (en) Image forming apparatus
JP3754903B2 (en) Image processing apparatus, control method therefor, computer program, and storage medium
JP2001078127A (en) Moving picture printer, moving picture print method and recording medium recording moving picture print program
JP2002305649A (en) Image forming device
JPH02121064A (en) Picture processor
JP2010016781A (en) Image processing apparatus and method of controlling the same
JP2004029313A (en) Picture display device and its method
JPH07182529A (en) Image processor
JP2763115B2 (en) Information processing device
JP3232623B2 (en) Image processing device
JPH0535843A (en) Data storage device
JPH11284840A (en) Image forming device
JPH0581397A (en) Page scroll method and image processor
JP2006171869A (en) Image reading device
JPH07271819A (en) Picture retrieving device
JPH02148364A (en) Information processor
JP3020318B2 (en) Image transmission device
JP2001169119A (en) Method and device for image output
JPH0679320B2 (en) Image processing device
JPH02260030A (en) Picture processor

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20050607

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20050708

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20050905

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20051219

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20081222

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20091222

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20091222

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20101222

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20111222

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20121222

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20131222

Year of fee payment: 8

LAPS Cancellation because of no payment of annual fees