JP2007158902A - Image processor and image processing method - Google Patents

Image processor and image processing method Download PDF

Info

Publication number
JP2007158902A
JP2007158902A JP2005353197A JP2005353197A JP2007158902A JP 2007158902 A JP2007158902 A JP 2007158902A JP 2005353197 A JP2005353197 A JP 2005353197A JP 2005353197 A JP2005353197 A JP 2005353197A JP 2007158902 A JP2007158902 A JP 2007158902A
Authority
JP
Japan
Prior art keywords
image
image data
layer
compressed
editing
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
JP2005353197A
Other languages
Japanese (ja)
Inventor
Masao Morita
雅夫 森田
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 JP2005353197A priority Critical patent/JP2007158902A/en
Publication of JP2007158902A publication Critical patent/JP2007158902A/en
Pending legal-status Critical Current

Links

Landscapes

  • Compression Of Band Width Or Redundancy In Fax (AREA)
  • Processing Or Creating Images (AREA)
  • Image Processing (AREA)
  • Editing Of Facsimile Originals (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To provide an image processor which can always compress again with high compression rate even after compressed multilayer image data are extended and editing is given, and to provide an image processing method. <P>SOLUTION: After extending and editing the compressed multilayer image data which consist of a layer of base image and at least one-layer of foreground image (E), stopgap processing is performed so that a region in the edited multilayer image data which corresponds to the foreground image of the base image is filled with picture data in which compression rate becomes high when compressing of the whole picture data is performed again which data shows the base image (F), the edited multilayer image data which include the base image to which the stopgap processing has been performed is compressed for each layer, and they are saved in a storage means. <P>COPYRIGHT: (C)2007,JPO&INPIT

Description

本発明は、下地画像の層と少なくとも1層の非下地画像の層とからなる圧縮された多層構造の画像データを編集する画像処理装置及び画像処理方法に関する。   The present invention relates to an image processing apparatus and an image processing method for editing image data having a compressed multilayer structure including a background image layer and at least one non-underground image layer.

スキャナやプリンタ等の複数の機能を備えた複合機では、スキャナで読み取られた画像や外部のコンピュータから入力された画像を複合機内部で取り扱うときに、データ転送速度を向上させたり、記憶装置の容量を削減するために、画像を圧縮してデータ転送、保存を行なっている。   In a multifunction device equipped with multiple functions such as a scanner and printer, when handling images read by a scanner or images input from an external computer inside the multifunction device, the data transfer speed can be improved, In order to reduce the capacity, the image is compressed and transferred and stored.

一般に画像圧縮方式としては、Joint Photographic Experts GroupFormat (JPEG)等の非可逆圧縮方式が広く知られており、頻繁に用いられている。非可逆圧縮方式は、写真などの自然画像を圧縮するには非常に適した方法であり、高圧縮率及び高画質を両立する。ところが、この圧縮方式において圧縮率を優先すると画像品位が劣化するため、文字画像においては、該圧縮画像を伸長して出力する際に、文字の再現性が著しく低下してしまうという問題があった。   In general, an irreversible compression method such as Joint Photographic Experts Group Format (JPEG) is widely known and frequently used as an image compression method. The lossy compression method is a very suitable method for compressing a natural image such as a photograph, and achieves both a high compression rate and high image quality. However, if the compression ratio is prioritized in this compression method, the image quality deteriorates. Therefore, in the case of a character image, there is a problem that the reproducibility of the character is remarkably lowered when the compressed image is decompressed and output. .

そこで、従来から、元画像を文字などの前景画像の層と背景などの下地画像の層とに分割し、各層毎に好適な圧縮方式で圧縮する方法が採用されている。一般的には、下地画像は圧縮したデータを伸張しても完全には復元できないが高い圧縮率で圧縮できる非可逆圧縮方式で圧縮し、前景画像は、圧縮率は低くなるが圧縮したデータを完全に復元できる可逆圧縮方式で圧縮することが多い(例えば、特許文献1参照。)。   Therefore, conventionally, a method has been employed in which an original image is divided into a foreground image layer such as characters and a background image layer such as a background, and compressed by a compression method suitable for each layer. In general, the background image cannot be completely restored even if the compressed data is decompressed, but is compressed by an irreversible compression method that can be compressed at a high compression rate, and the foreground image is compressed at a low compression rate. In many cases, compression is performed by a reversible compression method that can be completely restored (see, for example, Patent Document 1).

なお、多層に分離した場合に、下地画像における前景画像に相当する領域は、前景画像を取り除いた状態であるため有意な画像データが残らないことから、通常、該領域をその周辺の画素の色で塗りつぶす穴埋め処理を行なってから下地画像の層を圧縮するようにしている(例えば、特許文献2、および3参照。)。このとき、下地画像を圧縮するときの圧縮方式の特性(例えば方向依存性)を考慮して高い圧縮率となるような穴埋め処理がなされる。   Note that when the image is separated into multiple layers, the area corresponding to the foreground image in the background image is a state in which the foreground image is removed, and no significant image data remains. The background image layer is compressed after the hole filling process is completed (see, for example, Patent Documents 2 and 3). At this time, hole filling processing is performed so as to obtain a high compression rate in consideration of the characteristics (for example, direction dependency) of the compression method when compressing the background image.

例えば、予測符号化の手法を用いた圧縮方式の場合には、隣接する画素(近傍画素)の相関が高いことを利用して、既に符号化された画素から、これから符号化する注目画素の値を予測し、予測値と実際の画素値の差分を符号化する。従って、このような符号化により高い圧縮率を得るためには、隣り合う画素の変化量が小さくなるようにする必要がある。そこで、例えば左側の画素から右側方向に符号化処理する場合には、上記領域の左側の画素値で上記領域を塗りつぶすような穴埋め処理が施されることになる。
特開2003−219187号公報 特開2003−244447号公報 特開2003−271979号公報
For example, in the case of a compression method using a predictive coding method, the value of the pixel of interest to be coded from the already coded pixels is used by utilizing the fact that the correlation between adjacent pixels (neighboring pixels) is high. And the difference between the predicted value and the actual pixel value is encoded. Therefore, in order to obtain a high compression rate by such encoding, it is necessary to reduce the amount of change between adjacent pixels. Therefore, for example, when encoding is performed from the left pixel to the right direction, a filling process is performed so as to fill the region with the pixel value on the left side of the region.
JP 2003-219187 A JP 2003-244447 A JP 2003-271979 A

画像を圧縮して保存した後、再度画像を読み出して伸張し、画像を回転する回転処理や文字等(前景画像)を追加する追加処理、といった編集処理を施すことも多い。編集処理後は、再度圧縮して保存されるが、上記穴埋め処理された領域は、編集処理前の状態において高い圧縮率が得られるような画素値(画像)で塗りつぶした領域であるため、編集処理後の状態でも高い圧縮率が得られるとは限らない。編集処理の内容によっては、下地画像の層の圧縮率が著しく低下する場合もある。   In many cases, after the image is compressed and stored, the image is read and expanded again, and editing processing such as rotation processing for rotating the image and additional processing for adding characters or the like (foreground image) is often performed. After the editing process, the area is compressed and saved again. However, the area that has been subjected to the hole filling process is an area that has been filled with pixel values (images) so that a high compression rate can be obtained in the state before the editing process. Even in the state after processing, a high compression rate is not always obtained. Depending on the content of the editing process, the compression ratio of the background image layer may be significantly reduced.

上記特許文献1〜3に記載されている技術では、編集処理後の圧縮率低下の問題については何ら考慮されていない。   In the techniques described in Patent Documents 1 to 3, no consideration is given to the problem of a reduction in compression rate after editing processing.

本発明は上述した問題を解決するためになされたものであり、圧縮された多層構造の画像データを伸張して編集処理を施した場合でも、常に高い圧縮率で再度圧縮することができる画像処理装置及び画像処理方法を提供することを目的とする。   The present invention has been made in order to solve the above-described problem. Even when the compressed multilayer image data is expanded and edited, the image processing can always be compressed again at a high compression rate. An object is to provide an apparatus and an image processing method.

上記目的を達成するために、本発明の画像処理装置は、下地画像の層と少なくとも1層の非下地画像の層とからなる圧縮された多層構造の画像データを伸張して編集する編集手段と、前記編集された多層構造の画像データにおける前記下地画像の前記非下地画像に相当する領域が、該下地画像を示す画像データ全体を再度圧縮したときの圧縮率が高くなるような画像データで埋まるように画像処理する処理手段と、前記画像処理された下地画像を含む前記編集された多層構造の画像データを各層毎に圧縮して記憶手段に保存する圧縮保存手段と、を含んで構成されている。   In order to achieve the above object, an image processing apparatus according to the present invention includes an editing unit that decompresses and edits compressed multilayered image data including a background image layer and at least one non-underground image layer. The region corresponding to the non-background image of the background image in the edited multi-layered image data is filled with image data that has a high compression ratio when the entire image data representing the background image is compressed again. Processing means for performing image processing, and compression storage means for compressing the image data of the edited multilayer structure including the image-processed background image for each layer and storing the compressed image data in a storage means. Yes.

たとえ、編集処理前の状態において高い圧縮率が得られるように下地画像の非下地画像に相当する領域が画像処理された多層構造の画像データであっても、その画像処理が編集処理後も高い圧縮率を実現する点で有効であるとは限らない。   Even if the image data has a multilayer structure in which the area corresponding to the non-background image of the background image is processed so that a high compression ratio can be obtained in the state before the editing process, the image processing is high even after the editing process. It is not always effective in realizing the compression rate.

本発明は、下地画像の層と非下地画像の層とからなる圧縮された多層構造の画像データを伸張して編集した後、該下地画像の非下地画像に相当する領域が、該下地画像を示す画像データ全体を再度圧縮したときの圧縮率が高くなるような画像データで埋まるように画像処理し、該画像処理された下地画像を含む多層構造の画像データを各層毎に圧縮して保存するようにしたため、編集処理後であっても、常に高い圧縮率で再度圧縮することができる。   In the present invention, after decompressing and editing image data having a compressed multilayer structure composed of a background image layer and a non-background image layer, an area corresponding to the non-background image of the background image Image processing is performed so that the entire image data shown is filled with image data that increases the compression rate when the image data is compressed again, and the multilayered image data including the image-processed base image is compressed and stored for each layer. Thus, even after the editing process, it is always possible to compress again at a high compression rate.

なお、前記処理手段は、前記編集手段で行なわれた編集内容が前記多層構造の画像を回転する回転処理、及び前記非下地画像を追加する追加処理の少なくとも一方の場合に、前記画像処理を行なうことができる。   The processing means performs the image processing when the editing content performed by the editing means is at least one of rotation processing for rotating the multilayer image and addition processing for adding the non-background image. be able to.

また、本発明の画像処理方法は、下地画像の層と少なくとも1層の非下地画像の層とからなる圧縮された多層構造の画像データを伸張して編集する編集ステップと、前記編集された多層構造の画像データにおける前記下地画像の前記非下地画像に相当する領域が、該下地画像を示す画像データ全体を再度圧縮したときの圧縮率が高くなるような画像データで埋まるように画像処理する処理ステップと、前記画像処理された下地画像を含む前記編集された多層構造の画像データを各層毎に圧縮して記憶手段に保存する圧縮保存ステップと、を含んで構成されている。   The image processing method of the present invention also includes an editing step of expanding and editing image data having a compressed multilayer structure composed of a background image layer and at least one non-underground image layer, and the edited multilayer image Processing that performs image processing so that an area corresponding to the non-background image of the background image in the image data of the structure is filled with image data that has a high compression ratio when the entire image data representing the background image is compressed again And a compressing and storing step of compressing the edited multi-layered image data including the image-processed base image for each layer and storing the compressed image data in a storage means.

本発明の画像処理方法も、本発明の画像処理装置と同様に作用するため、編集処理後であっても、常に高い圧縮率で再度圧縮することができる。   Since the image processing method of the present invention also operates in the same manner as the image processing apparatus of the present invention, it can always be compressed again at a high compression rate even after editing processing.

以上説明したように、本発明によれば、圧縮された多層構造の画像データに編集処理を施した場合でも、常に高い圧縮率で再度圧縮することができる、という優れた効果を奏する。   As described above, according to the present invention, even when editing processing is performed on compressed image data having a multilayer structure, it is possible to always perform compression again at a high compression rate.

以下、図面を参照して、本発明の実施の形態について詳細に説明する。   Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings.

図1は、画像処理装置としての複合機10を含むネットワークシステム1の概略的な構成を示す図である。   FIG. 1 is a diagram illustrating a schematic configuration of a network system 1 including a multifunction machine 10 as an image processing apparatus.

ネットワークシステム1は、プリント機能及びスキャナ機能を兼ね備えた複数の複合機10と、パーソナルコンピュータ(以下、PCと称す)30とを備え、複合機10とPC30とはLAN等のネットワーク5を介して相互に接続されている。   The network system 1 includes a plurality of multifunction peripherals 10 having both a print function and a scanner function, and a personal computer (hereinafter referred to as a PC) 30. The multifunction peripheral 10 and the PC 30 are mutually connected via a network 5 such as a LAN. It is connected to the.

図2は、複合機10の主要構成を示すブロック図である。   FIG. 2 is a block diagram illustrating a main configuration of the multifunction machine 10.

複合機10は、原稿に記録された画像を読み取るスキャナ部11と、入力された画像データに基づいて感光体に静電潜像を記録し、静電潜像をカラートナーまたはモノクロトナーを用いて現像し、現像した画像を記録紙に転写して出力するプリンタ部12、スキャナ部11で読み取られた原稿画像の画像データやネットワーク5を介して受信した画像データ等を記憶するハードディスクドライブ(HDD)15を備えている。なお、プリンタ部12は、インクジェット方式で画像を出力するものであってもよい。   The multifunction machine 10 records an electrostatic latent image on a photoconductor based on the input image data and a scanner unit 11 that reads an image recorded on a document, and the electrostatic latent image is printed using color toner or monochrome toner. A hard disk drive (HDD) that stores the developed image data, image data of the original image read by the scanner unit 11, image data received via the network 5, and the like. 15 is provided. The printer unit 12 may output an image by an ink jet method.

HDD15には、画像データ等が記憶される。画像データは、文字画像等の前景画像の層と、背景などの下地画像の層からなる多層構造の状態で記憶される。前景画像の層は1層であってもよいし複数層あってもよい。例えば、複数列の文字列が存在した場合、各文字列毎に層分離して複数層にして記憶することもできる。   The HDD 15 stores image data and the like. The image data is stored in a state of a multilayer structure including a foreground image layer such as a character image and a background image layer such as a background. The foreground image layer may be a single layer or a plurality of layers. For example, when there are a plurality of character strings, the character strings can be stored in a plurality of layers by separating the layers for each character string.

また、通常、画像データはHDD15に記憶する前に、各層毎に各層の属性に応じた圧縮方式で圧縮される。例えば、文字画像等の前景画像の層は可逆圧縮方式、背景画像等の下地画像の層は非可逆圧縮方式で圧縮される。HDD15に記憶された圧縮された画像データは適宜読み出され、バスを介してプリンタ部12等に転送される。この転送途中で、圧縮画像データは伸張されてプリンタ部12等に供給される。   In addition, the image data is usually compressed for each layer by a compression method according to the attribute of each layer before being stored in the HDD 15. For example, a foreground image layer such as a character image is compressed by a lossless compression method, and a background image layer such as a background image is compressed by an irreversible compression method. The compressed image data stored in the HDD 15 is appropriately read out and transferred to the printer unit 12 and the like via the bus. During this transfer, the compressed image data is expanded and supplied to the printer unit 12 and the like.

さらに、複合機10は、層分離部20、穴埋め部22、及び編集部24を備えている。   Further, the multifunction machine 10 includes a layer separation unit 20, a hole filling unit 22, and an editing unit 24.

層分離部20には、スキャナ部11で読み取られた原稿画像の画像データ、PC30から出力された画像データが入力される。層分離部20は、該入力された画像データを文字画像等の前景画像の層と、背景などの下地画像の層に分離する。この分離は、周知の技術を用いて行なうことができる。例えば、画像の特徴の不連続部分を検出し、閉じたエッジによって領域を求めて分離するエッジ検出による技術を用いてもよいし、特徴の一様な連結画素集合を領域として求めて分離する領域分割による技術を用いてもよい。具体的には、例えば図4に示されるように、元画像の画像データ(A)を、文字画像等の前景画像の層(B)と背景画像等の下地画像の層(C)とに分離する。   The layer separation unit 20 receives image data of a document image read by the scanner unit 11 and image data output from the PC 30. The layer separation unit 20 separates the input image data into a foreground image layer such as a character image and a background image layer such as a background. This separation can be performed using known techniques. For example, it is possible to use a technique based on edge detection that detects discontinuous portions of image features, and obtains and separates regions by closed edges, or obtains and separates a uniform connected pixel set of features as regions. A technique by division may be used. Specifically, for example, as shown in FIG. 4, the image data (A) of the original image is separated into a layer (B) of a foreground image such as a character image and a layer (C) of a background image such as a background image. To do.

層分離部20は、層分離した多層構造の画像データを穴埋め部22に出力する。なお、層分離部20は、PC30から入力された画像データが既に多層構造の画像データであった場合には、層分離の処理は施さずに該画像データをそのまま出力する。   The layer separation unit 20 outputs the layered image data of the multilayer structure to the hole filling unit 22. Note that if the image data input from the PC 30 is already multi-layer image data, the layer separation unit 20 outputs the image data as it is without performing layer separation processing.

穴埋め部22は、層分離部20から入力した多層構造の画像データの下地画像の層について、穴埋め処理を施す。下地画像における前景画像に相当する領域は、前景画像を取り除いた状態であるため有意な画像データが残らないことから、通常、該領域をその周辺の画素の色で塗りつぶす穴埋め処理が行なわれる。ここでは、下地画像を示す画像データを圧縮するときの圧縮方式の特性(例えば方向依存性)を考慮して高い圧縮率となるような穴埋め処理がなされる。   The hole filling unit 22 performs hole filling processing on the layer of the base image of the image data having the multilayer structure input from the layer separation unit 20. Since the area corresponding to the foreground image in the background image is in a state in which the foreground image is removed, no significant image data remains, and therefore, normally, a filling process for filling the area with the color of the surrounding pixels is performed. Here, hole filling processing is performed so as to obtain a high compression rate in consideration of the characteristics (for example, direction dependency) of the compression method when compressing the image data indicating the background image.

例えば、予測符号化の手法を用いた圧縮方式の場合には、隣接する画素(近傍画素)の相関が高いことを利用して、既に符号化された画素から、これから符号化する注目画素の値を予測し、予測値と実際の画素値の差分を符号化する。従って、このような符号化により高い圧縮率を得るためには、隣り合う画素の変化量が小さくなるようにすればよい。左側の画素から右側方向に符号化処理する場合には、図4(D)に示すように、下地画像の穴埋め対象の領域の左側の画素値で該領域を埋めるような穴埋め処理が施される。   For example, in the case of a compression method using a predictive coding method, the value of the pixel of interest to be coded from the already coded pixels is used by utilizing the fact that the correlation between adjacent pixels (neighboring pixels) is high. And the difference between the predicted value and the actual pixel value is encoded. Therefore, in order to obtain a high compression rate by such encoding, the amount of change between adjacent pixels may be reduced. When encoding from the left pixel in the right direction, as shown in FIG. 4D, a filling process is performed to fill the area with the pixel value on the left side of the area to be filled in the background image. .

なお、穴埋め部22には、編集部24から編集処理後の多層構造の画像データが入力される場合がある。その場合には、該編集部24から入力した編集処理後の多層構造の画像データの下地画像の層について、必要に応じて再度穴埋め処理を施す。この処理については後述する。   The hole filling unit 22 may receive multi-layered image data after editing processing from the editing unit 24. In this case, the filling process is performed again on the base image layer of the multi-layered image data after the editing process input from the editing unit 24 as necessary. This process will be described later.

編集部24は、多層構造の画像データに編集処理を施す。具体的には、表示パネル(図示省略)を介して入力されたユーザからの指示に応じて、後述する画像書込・読出部26によりHDD15から多層構造の画像データを読み出して伸張し、該伸張された画像データに対して、画像を回転する回転処理や文字等(前景画像)を追加する追加処理、色調を補正する色補正処理といった編集処理等を施す。編集処理後の画像データは、穴埋め部22に出力される。   The editing unit 24 performs editing processing on the image data having a multilayer structure. Specifically, in accordance with an instruction from the user input via a display panel (not shown), the image writing / reading unit 26 described later reads out and decompresses the multi-layered image data from the HDD 15 and performs the decompression. The processed image data is subjected to a rotation process for rotating the image, an additional process for adding characters or the like (foreground image), an editing process such as a color correction process for correcting the color tone, and the like. The image data after the editing process is output to the hole filling unit 22.

画像書込・読出部26は、HDD15に対する画像データの書込み、読出しを行なう。画像書込・読出部26は、圧縮部26a及び伸張部26bを備えている。圧縮部26aは穴埋め部22から出力された多層構造の画像データを、各層の属性に応じた圧縮方式で各層毎に圧縮する。ここでは、前述したように、文字画像等の前景画像の層は可逆圧縮方式、背景画像等の下地画像の層は非可逆圧縮方式で圧縮する。圧縮部26aで圧縮された画像データは、HDD15に保存される。また、伸張部26bは、HDD15から読み出された多層構造の画像データを各層毎の圧縮方式に応じた伸張方式で伸張し、編集部24やプリンタ部12に出力する。   The image writing / reading unit 26 writes / reads image data to / from the HDD 15. The image writing / reading unit 26 includes a compression unit 26a and an expansion unit 26b. The compression unit 26a compresses the multilayered image data output from the hole filling unit 22 for each layer by a compression method according to the attribute of each layer. Here, as described above, the foreground image layer such as the character image is compressed by the lossless compression method, and the background image layer such as the background image is compressed by the lossy compression method. The image data compressed by the compression unit 26a is stored in the HDD 15. The decompressing unit 26b decompresses the multi-layered image data read from the HDD 15 by the decompressing method corresponding to the compression method for each layer, and outputs the decompressed data to the editing unit 24 and the printer unit 12.

次に、本実施の形態に係る複合機10の穴埋め部22で行なわれる穴埋め処理について説明する。   Next, a filling process performed by the filling unit 22 of the multifunction machine 10 according to the present embodiment will be described.

図3は、穴埋め部22で実行される穴埋め処理の流れを示すフローチャートである。   FIG. 3 is a flowchart showing the flow of the hole filling process executed by the hole filling unit 22.

ステップ100では、画像データが入力されたか否かを判断する。ここで画像データが入力されたと判断されたときには、ステップ102に移行し、入力された画像データの入力元が層分離部20であるか編集部24であるかを判断する。   In step 100, it is determined whether image data has been input. If it is determined that the image data has been input, the process proceeds to step 102 to determine whether the input source of the input image data is the layer separation unit 20 or the editing unit 24.

ステップ102で、入力元が層分離部20であると判断したときには、新たにスキャナ部11やPC30から画像データが入力されて、層分離部20で文字画像等の前景画像の層と、背景などの下地画像の層とに分離された(或いは既に入力時点で分離されている)状態であるため、ステップ106で、図4(D)に示すように、下地画像における前景画像に相当する領域が、下地画像の画像データを圧縮するときの圧縮方式の特性(例えば方向依存性)を考慮して高い圧縮率となるような画像で埋まるように下地画像の画像データを穴埋め処理する。   When it is determined in step 102 that the input source is the layer separation unit 20, image data is newly input from the scanner unit 11 or the PC 30, and the layer of the foreground image such as a character image and the background are input by the layer separation unit 20. In step 106, as shown in FIG. 4D, an area corresponding to the foreground image in the background image is separated from the background image layer (or already separated at the time of input). Considering the characteristics (for example, direction dependency) of the compression method when compressing the image data of the background image, the image data of the background image is subjected to hole filling processing so that the image is filled with a high compression rate.

また、ステップ102で、入力元が編集部24であると判断したときには、ステップ104で、再度穴埋め処理を実行する必要があるか否かを判断する。   If it is determined in step 102 that the input source is the editing unit 24, it is determined in step 104 whether or not the hole filling process needs to be executed again.

具体的には、編集部24で入力された画像データに対して行なわれた編集処理の内容から判断する。該編集処理が画像を回転する回転処理や文字等(前景画像)を追加する追加処理であった場合には、穴埋め処理を再度実行すると判断し、それ以外の編集処理、例えば、色調を補正する色補正処理等の場合には、穴埋め処理は実行する必要は無いと判断する。これは以下の理由による。   Specifically, the determination is made from the content of the editing process performed on the image data input by the editing unit 24. If the editing process is a rotation process for rotating the image or an additional process for adding characters or the like (foreground image), it is determined that the hole filling process is executed again, and other editing processes, for example, the color tone is corrected. In the case of color correction processing or the like, it is determined that it is not necessary to execute hole filling processing. This is due to the following reason.

編集部24は、既に穴埋め処理された状態の画像データを編集する。下地画像の前景画像に相当する領域は、編集処理前の状態において下地画像の層を圧縮するときの圧縮方式の特性に応じて高い圧縮率が得られるような画素値(画像)で塗りつぶされているため、ステップ104で肯定判断された時点(回転処理等の編集処理後の状態)では、圧縮時に高い圧縮率が得られない場合がある。   The editing unit 24 edits the image data that has been already filled. The area corresponding to the foreground image of the background image is filled with pixel values (images) that can obtain a high compression rate according to the characteristics of the compression method when compressing the layer of the background image before the editing process. Therefore, at the time when an affirmative determination is made in step 104 (the state after editing processing such as rotation processing), a high compression rate may not be obtained during compression.

例えば、前述したように、左側の画素から右側方向へ予測符号化する方向依存性のある圧縮方式の場合には、図4(D)に示すように、穴埋め対象の領域の左側の画素値で穴埋め対象の領域を塗りつぶすような穴埋め処理が施される。しかしながら、編集部24で画像を90度回転させる回転処理を施すと、図4(E)に示すように、穴埋め対象の領域を塗りつぶした画像は圧縮方式の方向依存性に反する画像となってしまい、圧縮率が低下する。従って、穴埋め処理を再度実行する必要があると判断する。   For example, as described above, in the case of a direction-dependent compression method in which predictive encoding is performed from the left pixel to the right side, as shown in FIG. 4D, the pixel value on the left side of the area to be filled is used. A hole filling process for filling a region to be filled is performed. However, if the editing unit 24 performs a rotation process that rotates the image by 90 degrees, as shown in FIG. 4E, the image that fills the area to be filled becomes an image that is contrary to the direction dependency of the compression method. , The compression rate decreases. Therefore, it is determined that the hole filling process needs to be executed again.

また、文字等の前景画像を追加する追加処理が行なわれた場合も、下地画像の該追加された前景画像に相当する領域に対して穴埋め処理を実行する必要があると判断する。前景画像を追加した場合に、下地画像の該追加した前景画像に相当する領域を元の画像のままにせず、該領域を、下地画像を圧縮するときにより高い圧縮率で圧縮できるような画素値に置き換えてやることにより、より高い圧縮率が実現できる。従って、この場合も、穴埋め処理を実行する必要があると判断する。   Also, when an additional process for adding a foreground image such as a character is performed, it is determined that it is necessary to perform a hole filling process on a region corresponding to the added foreground image of the background image. A pixel value that, when a foreground image is added, does not leave the area corresponding to the added foreground image in the background image as it is, but can compress the area at a higher compression rate when compressing the background image By replacing with, a higher compression ratio can be realized. Therefore, also in this case, it is determined that it is necessary to execute the hole filling process.

なお、色補正処理等のような圧縮にほとんど影響しない編集処理の場合には、穴埋め処理を実行する必要はないと判断する。   In the case of an editing process that hardly affects the compression such as a color correction process, it is determined that it is not necessary to execute the hole filling process.

ステップ104で、肯定判断した場合には、ステップ106に移行し、穴埋め処理を実行する。   When an affirmative determination is made at step 104, the routine proceeds to step 106, where hole filling processing is executed.

図4(F)は、編集処理後に図4(E)の状態になった下地画像に対して、穴埋め処理をやり直した状態を示している。同図に示すように、下地画像の穴埋め対象の領域は、回転処理後の状態において、左側の画素値で穴埋め対象の領域を塗りつぶすような穴埋め処理が施されている。これにより、下地画像を示す画像データ全体を圧縮部26aで圧縮するときの圧縮率を高くすることができる。   FIG. 4F illustrates a state in which the hole filling process is performed again on the base image that has been in the state of FIG. 4E after the editing process. As shown in the figure, the area to be filled in the background image is subjected to a filling process in which the area to be filled is filled with the pixel values on the left side after the rotation process. Thereby, the compression rate when the whole image data which shows a base image is compressed by the compression part 26a can be made high.

ステップ106の処理後、またはステップ104で否定判断した後は、ステップ108に移行する。   After the process of step 106 or after a negative determination is made in step 104, the process proceeds to step 108.

ステップ108では、穴埋め処理後の多層構造の画像データ、或いは穴埋め処理が必要なかったため穴埋め処理されなかった(穴埋め部22に入力された状態のままの)多層構造の画像データを画像書込・読出部26に出力する。画像書込・読出部26の圧縮部26aは、該多層構造の画像データを各層毎に圧縮してHDD15に保存する。   In step 108, the image data of the multilayer structure after the hole filling process or the image data of the multilayer structure that has not been subjected to the hole filling process because the hole filling process is not necessary (as input to the hole filling unit 22) is written and read out. To the unit 26. The compression unit 26 a of the image writing / reading unit 26 compresses the multilayered image data for each layer and stores the compressed data in the HDD 15.

以上説明したように、下地画像の層と前景画像の層とからなる圧縮された多層構造の画像データを伸張して編集した後、該下地画像の前景画像に相当する領域が、該下地画像を示す画像データ全体を再度圧縮したときの圧縮率が高くなるような画像データで埋まるように穴埋め処理し、該穴埋め処理された下地画像を含む多層構造の画像データを各層毎に圧縮してHDD15に保存するようにしたため、圧縮処理後の多層構造の画像データを伸張して編集処理を実施しても、常に高い圧縮率で再度圧縮することができる。   As described above, after decompressing and editing the compressed multi-layered image data composed of the background image layer and the foreground image layer, the area corresponding to the foreground image of the background image The entire image data shown is filled with image data that has a high compression ratio when it is compressed again, and the multilayered image data including the underlying image subjected to the filling processing is compressed for each layer and stored in the HDD 15. Since the image data having the multilayer structure after the compression processing is decompressed and edited, the image data can always be compressed again at a high compression rate.

これにより、HDD15の記憶容量を削減できると共に、プリンタ部12等に対して高速でデータを転送することができる。   Thereby, the storage capacity of the HDD 15 can be reduced, and data can be transferred to the printer unit 12 or the like at high speed.

なお、上記実施の形態では、複合機10を例に挙げて説明したが、スキャナやプリンタ機能を含まない画像処理装置であってもよい。   In the above embodiment, the multifunction machine 10 has been described as an example. However, an image processing apparatus that does not include a scanner or a printer function may be used.

本実施の形態に係るネットワークシステムの概略的な構成を示す図である。It is a figure which shows the schematic structure of the network system which concerns on this Embodiment. 複合機の主要構成を示すブロック図である。1 is a block diagram illustrating a main configuration of a multifunction machine. 穴埋め部で実行される穴埋め処理の流れを示すフローチャートである。It is a flowchart which shows the flow of the hole-filling process performed in a hole-filling part. 穴埋め処理について説明する説明図である。It is explanatory drawing explaining a hole-filling process.

符号の説明Explanation of symbols

10 複合機
11 スキャナ部
12 プリンタ部
15 HDD
20 層分離部
22 穴埋め部
24 編集部
26 画像書込・読出部
26a 圧縮部
26b 伸張部
10 MFP 11 Scanner Unit 12 Printer Unit 15 HDD
20 layer separation unit 22 hole filling unit 24 editing unit 26 image writing / reading unit 26a compression unit 26b expansion unit

Claims (3)

下地画像の層と少なくとも1層の非下地画像の層とからなる圧縮された多層構造の画像データを伸張して編集する編集手段と、
前記編集された多層構造の画像データにおける前記下地画像の前記非下地画像に相当する領域が、該下地画像を示す画像データ全体を再度圧縮したときの圧縮率が高くなるような画像データで埋まるように画像処理する処理手段と、
前記画像処理された下地画像を含む前記編集された多層構造の画像データを各層毎に圧縮して記憶手段に保存する圧縮保存手段と、
を含む画像処理装置。
Editing means for decompressing and editing compressed multilayered image data composed of a background image layer and at least one non-underground image layer;
An area corresponding to the non-background image of the background image in the edited multilayered image data is filled with image data that has a high compression ratio when the entire image data representing the background image is compressed again. Processing means for image processing;
Compression storage means for compressing the image data of the edited multilayer structure including the image-processed background image for each layer and storing the compressed image data in a storage means;
An image processing apparatus.
前記処理手段は、前記編集手段で行なわれた編集内容が前記多層構造の画像を回転する回転処理、及び前記非下地画像を追加する追加処理の少なくとも一方の場合に、前記画像処理を行なう請求項1記載の画像処理装置。   The processing unit performs the image processing when the editing content performed by the editing unit is at least one of a rotation process of rotating the multilayer image and an additional process of adding the non-background image. The image processing apparatus according to 1. 下地画像の層と少なくとも1層の非下地画像の層とからなる圧縮された多層構造の画像データを伸張して編集する編集ステップと、
前記編集された多層構造の画像データにおける前記下地画像の前記非下地画像に相当する領域が、該下地画像を示す画像データ全体を再度圧縮したときの圧縮率が高くなるような画像データで埋まるように画像処理する処理ステップと、
前記画像処理された下地画像を含む前記編集された多層構造の画像データを各層毎に圧縮して記憶手段に保存する圧縮保存ステップと、
を含む画像処理方法。
An editing step for decompressing and editing the compressed multi-layered image data composed of a background image layer and at least one non-underground image layer;
An area corresponding to the non-background image of the background image in the edited multilayered image data is filled with image data that has a high compression ratio when the entire image data representing the background image is compressed again. Processing steps for image processing;
A compression storing step of compressing the image data of the edited multilayer structure including the image-processed base image for each layer and storing the compressed image data in a storage unit;
An image processing method including:
JP2005353197A 2005-12-07 2005-12-07 Image processor and image processing method Pending JP2007158902A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2005353197A JP2007158902A (en) 2005-12-07 2005-12-07 Image processor and image processing method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2005353197A JP2007158902A (en) 2005-12-07 2005-12-07 Image processor and image processing method

Publications (1)

Publication Number Publication Date
JP2007158902A true JP2007158902A (en) 2007-06-21

Family

ID=38242654

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2005353197A Pending JP2007158902A (en) 2005-12-07 2005-12-07 Image processor and image processing method

Country Status (1)

Country Link
JP (1) JP2007158902A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009253371A (en) * 2008-04-01 2009-10-29 Canon Inc Image file editing apparatus, image file editing method, and program

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009253371A (en) * 2008-04-01 2009-10-29 Canon Inc Image file editing apparatus, image file editing method, and program

Similar Documents

Publication Publication Date Title
JP5132517B2 (en) Image processing apparatus and image processing method
JP4236659B2 (en) Image encoding apparatus, image encoding method, image encoding program, and recording medium
US8472042B2 (en) Image forming apparatus which forms an image based on print data described in a page description language
JP2007060619A (en) Image processing unit, method and program for compressing image, and recording medium
US8218911B2 (en) Image processing apparatus and image processing method
JP2005333393A (en) Image compressing device, image output device, image expanding device, printer, image processor, copying machine, image compression method, image expansion method, image processing program, and recording medium with image processing program recorded thereon
JP2004134937A (en) Image processing apparatus
JP2004362541A (en) Image processing device, program, and storage medium
US20040208379A1 (en) Image processing apparatus that adjusts image size to make image divisible into tiles
US20080232683A1 (en) Image processing apparatus, image processing method and computer program product
JP2011040970A (en) Data processing apparatus and data processing method
JP4908382B2 (en) Image processing apparatus and image processing method
JP2007158902A (en) Image processor and image processing method
JP2011077580A (en) Image processor, image processing method, and program
JP3938054B2 (en) Computer-readable storage medium on which data having an image data structure is recorded, image recording method, apparatus, and program
JP2003219187A (en) Image processing method and image processor
JP2006217145A (en) Image processor
JP5084688B2 (en) Image forming apparatus
JP2010245976A (en) Image compressing apparatus, image processing apparatus, image forming apparatus, image compression method, image compression program and recording medium
JP4878040B2 (en) Image encoding apparatus, image encoding method, image encoding program, and recording medium
JP2000194857A (en) Image processor and image processing method
JP2006041938A (en) Image processing unit
JP2010278650A (en) Image compression processor, image forming apparatus, computer program, recording medium, and image compression method
JP6596837B2 (en) Image processing apparatus and image processing program
JP4957570B2 (en) Image processing device