JP2007174080A - Image log generating device, image forming apparatus, image log generating method, and program - Google Patents

Image log generating device, image forming apparatus, image log generating method, and program Download PDF

Info

Publication number
JP2007174080A
JP2007174080A JP2005366680A JP2005366680A JP2007174080A JP 2007174080 A JP2007174080 A JP 2007174080A JP 2005366680 A JP2005366680 A JP 2005366680A JP 2005366680 A JP2005366680 A JP 2005366680A JP 2007174080 A JP2007174080 A JP 2007174080A
Authority
JP
Japan
Prior art keywords
image data
image
compression
compressed
input
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
JP2005366680A
Other languages
Japanese (ja)
Inventor
Masahiro Ishiwatari
雅広 石渡
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 JP2005366680A priority Critical patent/JP2007174080A/en
Publication of JP2007174080A publication Critical patent/JP2007174080A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Compression Of Band Width Or Redundancy In Fax (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To provide an image log generating device capable of generating an image log easy to read both of characters/pictures, using a simple configuration. <P>SOLUTION: A control portion 10 of an image log generating device directs a region extraction portion 104 to extract a text area representing characters and an image area representing pictures from an image data, and instructs an area determination portion 105 to determine a ratio of each region. Then, the control portion 10 controls a JPEG compression portion 106 to perform compression processing when the image data comprises mainly pictures, and controls a run length compression portion 107 to perform compression processing when the image data comprises mainly characters. <P>COPYRIGHT: (C)2007,JPO&INPIT

Description

本発明は、ユーザにとって判読しやすいイメージログを効率的に生成するための技術に関する。   The present invention relates to a technique for efficiently generating an image log that is easy for a user to read.

複写機やファクシミリ装置には、過去に処理(コピー処理・ファクシミリ送受信処理)を行った原稿画像をイメージログとして蓄積保存しておく機能を有するものがある。イメージログはその記憶容量が膨大となることから、サムネイル画像等の圧縮された画像データを用いるのが一般的である。このとき、画像データを極端に圧縮してしまうとユーザが判読しにくくなるため、データ量を適切に削減しつつ、ユーザの判読しやすさをも確保したデータ圧縮を行うことが求められる。   Some copiers and facsimile machines have a function of accumulating and storing document images that have been previously processed (copy processing / facsimile transmission / reception processing) as image logs. Since an image log has a large storage capacity, compressed image data such as a thumbnail image is generally used. At this time, if the image data is extremely compressed, it becomes difficult for the user to read. Therefore, it is required to perform data compression that ensures the user's readability while appropriately reducing the data amount.

このような背景のもと、特許文献1に記載の技術においては、文字領域とそれ以外の領域を分離し、それぞれの領域に対して好適な減色処理(すなわち圧縮処理)を施すことで判読性の向上を図っている。また、特許文献2に記載の技術においては、画像データが文書であるか写真であるかを識別し、それぞれを異なる方式で縮小(すなわち圧縮)する処理を行っている。
特開2003−224734号公報 特開2004−32078号公報
Under such a background, in the technique described in Patent Document 1, the character area and the other area are separated, and a suitable color reduction process (that is, a compression process) is performed on each area, so that the legibility is improved. We are trying to improve. In the technique described in Patent Document 2, whether the image data is a document or a photograph is identified, and each of them is reduced (that is, compressed) by a different method.
JP 2003-224734 A Japanese Patent Laid-Open No. 2004-32078

しかし、特許文献1に記載の技術は、画像データの像域判定を行い、同一の画像データに対して複数の圧縮処理を施すものであるため、処理が煩雑である。複写機やファクシミリ装置においては、主たる処理はコピー処理やファクシミリ送受信処理なのであって、イメージログを蓄積する処理は副次的な処理に過ぎない。そのため、イメージログを蓄積する処理に多くのリソースを割くのは好ましいとは言えない。また、特許文献2に記載の技術は、文字と写真が混在する画像データにおいて判読性が低下するおそれがある。   However, since the technique described in Patent Document 1 performs image area determination of image data and performs a plurality of compression processes on the same image data, the process is complicated. In copying machines and facsimile machines, the main processing is copy processing and facsimile transmission / reception processing, and the processing for accumulating image logs is only a secondary processing. Therefore, it cannot be said that it is preferable to allocate a lot of resources to the process of accumulating image logs. In addition, the technique described in Patent Document 2 may reduce legibility in image data in which characters and photographs are mixed.

本発明はこのような事情に鑑みてなされたものであり、その目的は、簡易的な構成を用いつつ、文字・絵柄の双方を良好に判読可能とするイメージログを生成するための技術を提供することにある。   The present invention has been made in view of such circumstances, and an object of the present invention is to provide a technique for generating an image log that enables easy reading of both characters and pictures using a simple configuration. There is to do.

上述の目的を達成するために、本発明は、入力された画像データから文字を表すテキスト領域と絵柄を表すイメージ領域とを抽出する抽出手段と、前記抽出手段により抽出されたテキスト領域とイメージ領域の面積を比較し、当該テキスト領域に対する当該イメージ領域の割合が所定の閾値以上である場合には、前記入力された画像データを第1の圧縮方式で圧縮する一方、前記割合が前記閾値未満である場合には、前記入力された画像データを前記第1の圧縮方式よりも圧縮率が低い第2の圧縮方式で圧縮する圧縮手段と、前記圧縮手段により圧縮された画像データを記憶装置に出力する出力手段とを備えるイメージログ生成装置を提供する。
このイメージログ生成装置によれば、テキスト領域とイメージ領域の比率に応じた圧縮方式で圧縮処理を行うことができるため、複雑な構成を用いずともそれぞれの画像データに適した圧縮処理を行うことができる。
In order to achieve the above object, the present invention provides an extraction means for extracting a text area representing a character and an image area representing a picture from input image data, and the text area and the image area extracted by the extraction means. When the ratio of the image area to the text area is equal to or greater than a predetermined threshold, the input image data is compressed by the first compression method, while the ratio is less than the threshold. In some cases, the input image data is compressed by a second compression method having a compression rate lower than that of the first compression method, and the image data compressed by the compression means is output to a storage device. An image log generation device comprising output means for performing the operation is provided.
According to this image log generation device, since compression processing can be performed with a compression method according to the ratio of the text area to the image area, compression processing suitable for each image data can be performed without using a complicated configuration. Can do.

また、このイメージログ生成装置において、前記抽出手段は、前記入力された画像データを輝度成分のみの画像データに変換する変換手段を備え、前記変換手段により変換された画像データの輝度成分を用いて前記テキスト領域と前記イメージ領域とを抽出する構成とすると、より好適である。このようにすれば、画像データの判読性を低下させることなく、データサイズをさらに減少させることが可能となる。   In the image log generation device, the extraction unit includes a conversion unit that converts the input image data into image data having only a luminance component, and uses the luminance component of the image data converted by the conversion unit. It is more preferable to extract the text area and the image area. In this way, the data size can be further reduced without degrading the legibility of the image data.

また、本発明は、上述のイメージログ生成装置と、入力された画像データを表す画像を記録材に形成する画像形成手段と、前記画像形成手段により形成される画像を表す画像データを前記イメージログ生成装置の前記抽出手段に入力する入力手段とを備える画像形成装置としても特定され得るものである。この画像形成装置としては、プリンタや複写機、あるいは複合機がその一例に相当する。   The present invention also provides the above-described image log generation apparatus, image forming means for forming an image representing input image data on a recording material, and image data representing an image formed by the image forming means to the image log. The image forming apparatus may include an input unit that inputs to the extraction unit of the generation device. Examples of the image forming apparatus include a printer, a copier, and a multifunction machine.

また、本発明は、入力された画像データから文字を表すテキスト領域と絵柄を表すイメージ領域とを抽出する抽出ステップと、前記抽出ステップにおいて抽出されたテキスト領域と比較したときの前記抽出ステップにおいて抽出されたイメージ領域の割合が所定の閾値以上である場合には、前記入力された画像データを第1の圧縮方式で圧縮する一方、前記割合が前記閾値未満である場合には、前記入力された画像データを前記第1の圧縮方式よりも圧縮率が低い第2の圧縮方式で圧縮する圧縮ステップと、前記圧縮ステップにおいて圧縮された画像データを記憶装置に出力する出力ステップとを備えることを特徴とするイメージログ生成方法としても特定され得るものである。   Further, the present invention provides an extraction step of extracting a text region representing characters and an image region representing a pattern from the input image data, and extracting in the extraction step when compared with the text region extracted in the extraction step. The input image data is compressed by the first compression method when the ratio of the image area is equal to or greater than a predetermined threshold, and when the ratio is less than the threshold, the input A compression step of compressing the image data by a second compression method having a compression rate lower than that of the first compression method; and an output step of outputting the image data compressed in the compression step to a storage device. As an image log generation method.

また、本発明は、コンピュータに、入力された画像データから文字を表すテキスト領域と絵柄を表すイメージ領域とを抽出する抽出処理と、前記抽出処理において抽出されたテキスト領域と比較したときの前記抽出処理において抽出されたイメージ領域の割合が所定の閾値以上である場合には、前記入力された画像データを第1の圧縮方式で圧縮する一方、前記割合が前記閾値未満である場合には、前記入力された画像データを前記第1の圧縮方式よりも圧縮率が低い第2の圧縮方式で圧縮する圧縮処理と、前記圧縮処理において圧縮された画像データを記憶装置に出力する出力処理とを実行させるプログラムとしても特定され得るものである。   Further, the present invention provides the computer with an extraction process for extracting a text area representing characters and an image area representing a pattern from input image data, and the extraction when compared with the text area extracted in the extraction process When the ratio of the image area extracted in the process is equal to or greater than a predetermined threshold, the input image data is compressed by the first compression method, while when the ratio is less than the threshold, A compression process for compressing input image data by a second compression method having a compression rate lower than that of the first compression method, and an output process for outputting the image data compressed in the compression process to a storage device are executed. It can also be specified as a program to be executed.

以下では、本発明の実施の形態について図面を参照して説明する。ここでは、本発明の実施の一態様として、イメージログ生成装置を備える複写機について説明する。ただし、以下の説明は、本発明の実施をかかる態様に限定する趣旨ではない。   Hereinafter, embodiments of the present invention will be described with reference to the drawings. Here, as an embodiment of the present invention, a copying machine including an image log generation device will be described. However, the following description is not intended to limit the implementation of the present invention to such an embodiment.

[1.構成]
図1は、本発明の一実施形態である複写機CPの構成を示したブロック図である。同図に示すように、複写機CPは、制御部10と、操作部20と、通信部30と、画像入力部40と、画像出力部50と、ログ蓄積部60とを備える。
[1. Constitution]
FIG. 1 is a block diagram showing a configuration of a copying machine CP according to an embodiment of the present invention. As shown in the figure, the copier CP includes a control unit 10, an operation unit 20, a communication unit 30, an image input unit 40, an image output unit 50, and a log storage unit 60.

制御部10はCPU(Central Processing Unit)、ASIC(Application Specific Integrated Circuit)、ROM(Read Only Memory)およびRAM(Random Access Memory)等を備えており、CPUがROMに記憶されたプログラムを実行することで複写機CPの各部の動作を制御する。なお、ASICは入力された画像データに対して各種の画像処理を実行する。操作部20はタッチパネル式のディスプレイや各種のボタンを備えた入力装置であり、ユーザによる入力指示を受け付ける。この入力指示は制御部10へと供給される。通信部30は外部装置やネットワークを介してデータをやりとりするための入出力インタフェースである。   The control unit 10 includes a CPU (Central Processing Unit), an ASIC (Application Specific Integrated Circuit), a ROM (Read Only Memory), a RAM (Random Access Memory), and the like, and the CPU executes a program stored in the ROM. To control the operation of each part of the copier CP. Note that the ASIC performs various image processing on the input image data. The operation unit 20 is an input device including a touch panel display and various buttons, and receives an input instruction from a user. This input instruction is supplied to the control unit 10. The communication unit 30 is an input / output interface for exchanging data via an external device or a network.

画像入力部40はスキャナの機能を有し、原稿を光学的に読み取ることで原稿を示す画像データを生成する。なお、この画像データは、レッド(R)、グリーン(G)およびブルー(B)の各色8ビットの色成分からなる画像データ、すなわちRGB表色系の画像データであり、生成された後に制御部10に供給される。画像出力部50は電子写真方式のプリンタであり、画像データに応じたトナー像を記録用紙に形成する。ログ蓄積部60はHDD(Hard Disk Drive)を備えた大容量の記憶装置であり、画像出力部50が画像形成に用いた画像データをログとして蓄積記憶する。なお、ログ蓄積部60に記憶される画像データは画像形成に用いられた画像データそのものではなく、後述する圧縮処理が施された画像データである。   The image input unit 40 has a scanner function, and generates image data indicating a document by optically reading the document. This image data is image data composed of 8-bit color components of red (R), green (G), and blue (B), that is, RGB color system image data. 10 is supplied. The image output unit 50 is an electrophotographic printer, and forms a toner image corresponding to image data on a recording sheet. The log storage unit 60 is a large-capacity storage device having an HDD (Hard Disk Drive), and stores and stores image data used by the image output unit 50 for image formation as a log. Note that the image data stored in the log storage unit 60 is not the image data itself used for image formation, but image data that has been subjected to compression processing described later.

この構成のもと、複写機CPは画像入力部40により生成された画像データに基づいて記録用紙に画像を形成する。また、この画像形成と同時に、制御部10はこのとき用いられた画像データに圧縮処理を施してログ蓄積部60に記憶させる。すなわち、この制御部10はイメージログ生成装置としての機能も有している。   With this configuration, the copying machine CP forms an image on a recording sheet based on the image data generated by the image input unit 40. At the same time as the image formation, the control unit 10 performs compression processing on the image data used at this time and stores it in the log storage unit 60. That is, the control unit 10 also has a function as an image log generation device.

ここで図2は、制御部10が実現する機能を示した機能ブロック図である。同図に示すように、制御部10の機能的構成は、色変換部101と、カラー判定部102と、データ変換部103と、領域抽出部104と、領域判定部105と、JPEG圧縮部106と、ランレングス圧縮部107と、出力部108とに分類することができる。   Here, FIG. 2 is a functional block diagram showing functions realized by the control unit 10. As shown in the figure, the functional configuration of the control unit 10 includes a color conversion unit 101, a color determination unit 102, a data conversion unit 103, a region extraction unit 104, a region determination unit 105, and a JPEG compression unit 106. And the run-length compression unit 107 and the output unit 108.

色変換部101は、画像データの表色系を変換する演算を行う。具体的には、色変換部101はRGB表色系の画像データ(8ビット)をYCrCb表色系の画像データ(8ビット)に変換する。ここでYCrCb表色系の画像データとは、輝度成分(Y)と色差成分(Cr、Cb)からなる画像データのことであり、RGB表色系からYCrCb表色系への色変換は周知のアルゴリズムによって行われる。   The color conversion unit 101 performs an operation for converting the color system of image data. Specifically, the color conversion unit 101 converts RGB color system image data (8 bits) into YCrCb color system image data (8 bits). Here, the YCrCb color system image data is image data including a luminance component (Y) and color difference components (Cr, Cb), and color conversion from the RGB color system to the YCrCb color system is well known. Done by an algorithm.

カラー判定部102は、画像データがカラー画像データであるか否かを判定する。具体的には、カラー判定部102は、YCrCb表色系の画像データに含まれる色差成分の絶対値に基づいてカラー画像データであるか否かを判定する。カラー判定部102は、色差成分の絶対値がほぼ「0」であれば、この画像データがモノクロの画像データ(モノクロ画像データ)であると判定し、それ以外の場合にはカラーの画像データ(カラー画像データ)であると判定する。   The color determination unit 102 determines whether the image data is color image data. Specifically, the color determination unit 102 determines whether or not the color image data is based on the absolute value of the color difference component included in the YCrCb color system image data. If the absolute value of the color difference component is approximately “0”, the color determination unit 102 determines that the image data is monochrome image data (monochrome image data), and otherwise, color image data ( Color image data).

データ変換部103は、カラー画像データをモノクロ画像データに変換する演算を行う。具体的には、データ変換部103は、画像データの色差成分を0に変換することでモノクロ画像データを得ている。領域抽出部104は、モノクロ画像データを解析して、文字を表す「テキスト領域」と絵柄を表す「イメージ領域」とを抽出する。なお、この抽出処理は、周知のエッジ判定処理や空間周波数解析を用いて行われる。   The data conversion unit 103 performs an operation for converting color image data into monochrome image data. Specifically, the data conversion unit 103 obtains monochrome image data by converting the color difference component of the image data to 0. The area extraction unit 104 analyzes the monochrome image data and extracts a “text area” representing characters and an “image area” representing pictures. This extraction process is performed using a known edge determination process or spatial frequency analysis.

領域判定部105は、画像データ全体に占めるテキスト領域とイメージ領域の比率を算出し、この画像データが文字主体の画像データであるか絵柄主体の画像データであるかを判定する。具体的には、領域判定部105は、テキスト領域に対するイメージ領域の割合が所定の閾値以上である場合には、画像データが絵柄主体であると判定し、この割合が上述の閾値未満である場合には、画像データが文字主体であると判定する。なお、ここにおける閾値の値は任意であるが、最も単純な方法は、イメージ領域がテキスト領域よりも多ければ絵柄主体であるとし、テキスト領域がイメージ領域よりも多ければ文字主体であるとする方法である。   The area determination unit 105 calculates the ratio of the text area to the image area in the entire image data, and determines whether the image data is character-based image data or design-based image data. Specifically, the area determination unit 105 determines that the image data is mainly a pattern when the ratio of the image area to the text area is equal to or greater than a predetermined threshold, and the ratio is less than the above-described threshold. The image data is determined to be mainly text. Note that the threshold value is arbitrary, but the simplest method is that the image is mainly composed if the image area is larger than the text area, and the text is mainly composed if the text area is larger than the image area. It is.

JPEG圧縮部106は、画像データに対して周知のJPEG(Joint Photographic Experts Group)方式による圧縮処理を行う。JPEG圧縮部106により圧縮処理がされる画像データは、領域判定部105において絵柄主体であると判定された画像データである。また、ランレングス圧縮部107は、画像データに対して周知のランレングス法に基づいた圧縮処理を行う。ランレングス圧縮部107により圧縮処理がされる画像データは、領域判定部105において文字主体であると判定された画像データである。なお、JPEG圧縮部106における圧縮処理の圧縮率は、ランレングス圧縮部107における圧縮処理の圧縮率よりも高くなるように構成されている。JPEG方式による圧縮処理は多階調の画像データに用いるのに適しており、絵柄主体の画像データを良好に圧縮することができる。一方、ランレングス法に基づいた圧縮処理は文字や線画などを多く含む画像データに用いるのに適しており、文字主体の画像データを良好に圧縮することができる。   The JPEG compression unit 106 performs compression processing on image data by a well-known JPEG (Joint Photographic Experts Group) method. The image data that is compressed by the JPEG compression unit 106 is image data that has been determined by the region determination unit 105 to be mainly a pattern. The run length compression unit 107 performs a compression process based on a known run length method on the image data. The image data that is compressed by the run-length compression unit 107 is image data that has been determined by the region determination unit 105 to be mainly a character. The compression rate of the compression process in the JPEG compression unit 106 is configured to be higher than the compression rate of the compression process in the run-length compression unit 107. The compression processing by the JPEG method is suitable for use with multi-gradation image data, and image data mainly composed of a pattern can be favorably compressed. On the other hand, the compression process based on the run length method is suitable for use on image data containing a large number of characters, line drawings, and the like, and can compress image data mainly composed of characters.

出力部108は、JPEG圧縮部106またはランレングス圧縮部107において圧縮処理がなされた画像データを、イメージログとしてログ蓄積部60に書き込む。また、出力部108は、ログ蓄積部60に空き容量がなく、画像データが書き込めない場合には、ログ蓄積部60に記憶された画像データを最先に記憶されたものから順次削除する機能も有している。   The output unit 108 writes the image data compressed by the JPEG compression unit 106 or the run length compression unit 107 into the log storage unit 60 as an image log. The output unit 108 also has a function of sequentially deleting the image data stored in the log storage unit 60 from the first stored when the log storage unit 60 has no free space and image data cannot be written. Have.

[2.動作]
以上の構成のもと、複写機CPは、原稿の読み取りや画像形成を行いつつ、画像形成に用いられた画像データをイメージログとして保存する処理を行う。このとき、複写機CPは、画像データを解析してそれぞれの画像データの属性に応じた処理を行う。以下では、複写機CPが実行する具体的な動作を説明する。
[2. Operation]
With the above configuration, the copying machine CP performs processing for storing image data used for image formation as an image log while reading a document and forming an image. At this time, the copying machine CP analyzes the image data and performs processing according to the attribute of each image data. Hereinafter, specific operations executed by the copying machine CP will be described.

図3は、複写機CPがイメージログの作成に際して実行する処理を示したフローチャートである。同図に沿って説明すると、はじめに複写機CPの制御部10は、画像形成に用いられたRGB表色系の画像データをYCbCr表色系の画像データに変換する(ステップS1)。その後制御部10は、画像データの色差成分を参照することによりこの画像データがカラー画像データであるかモノクロ画像データであるかを判定する(ステップS2)。ここで、画像データがカラー画像データである場合には(ステップS2;YES)、制御部10は画像データの色差成分を「0」にすることで、この画像データをモノクロ画像データに変換する(ステップS3)。一方、画像データがモノクロ画像データであれば(ステップS2;NO)、制御部10はステップS3の処理を行う必要がないので、この処理をスキップする。なお、以後の処理においては、制御部10は画像データを輝度成分のみのデータとして取り扱う。すなわち、この時点で、1画素当たりのデータ量は24ビット(3×8ビット)から8ビット(1×8ビット)へと減少する。   FIG. 3 is a flowchart showing processing executed by the copying machine CP when creating an image log. Describing along the drawing, first, the control unit 10 of the copier CP converts the RGB color system image data used for image formation into YCbCr color system image data (step S1). Thereafter, the control unit 10 determines whether the image data is color image data or monochrome image data by referring to the color difference component of the image data (step S2). When the image data is color image data (step S2; YES), the control unit 10 converts the image data into monochrome image data by setting the color difference component of the image data to “0” (step S2; YES). Step S3). On the other hand, if the image data is monochrome image data (step S2; NO), the control unit 10 does not need to perform the process of step S3, so this process is skipped. In the subsequent processing, the control unit 10 handles the image data as data of only the luminance component. That is, at this time, the data amount per pixel decreases from 24 bits (3 × 8 bits) to 8 bits (1 × 8 bits).

続いて制御部10は、輝度成分のみからなる画像データからテキスト領域を抽出し(ステップS4)、次いでイメージ領域を抽出する(ステップS5)。これらの領域を抽出したら、制御部10はこのテキスト領域とイメージ領域の面積比を比較することにより、この画像データが文字主体の画像データであるか、あるいは絵柄主体の画像データであるかを判断する(ステップS6)。ここで、画像データが絵柄主体であると判断された場合には(ステップS6;YES)、制御部10はJPEG方式を用いてこの画像データを圧縮する(ステップS7)。一方、画像データが文字主体であると判断された場合には(ステップS6;NO)、制御部10はランレングス法を用いてこの画像データを圧縮する(ステップS8)。   Subsequently, the control unit 10 extracts a text area from the image data including only the luminance component (step S4), and then extracts an image area (step S5). After extracting these areas, the control unit 10 compares the area ratio between the text area and the image area to determine whether the image data is character-oriented image data or design-oriented image data. (Step S6). If it is determined that the image data is mainly a pattern (step S6; YES), the control unit 10 compresses the image data using the JPEG method (step S7). On the other hand, when it is determined that the image data is mainly text (step S6; NO), the control unit 10 compresses the image data using the run-length method (step S8).

画像データの圧縮処理を行ったら、制御部10はこの画像データのデータ容量を算出する(ステップS9)。続いて制御部10はログ蓄積部60の空き容量を参照し、この空き容量とステップS9において算出されたデータ容量とを比較することにより圧縮された画像データを書き込むことが可能か否かを判断する(ステップS10)。ログ蓄積部60の空き容量がステップS9において算出されたデータ容量以上であれば(ステップS10;YES)、制御部10は圧縮された画像データをログ蓄積部60に書き込む一方(ステップS12)、ログ蓄積部60の空き容量がステップS9において算出されたデータ容量よりも小さければ(ステップS10;NO)、制御部10はログ蓄積部60に記憶された画像データを古いものから削除し(ステップS11)、画像データが書き込み可能になるまでステップS10の判断処理を繰り返す。   When the image data compression processing is performed, the control unit 10 calculates the data capacity of the image data (step S9). Subsequently, the control unit 10 refers to the free capacity of the log storage unit 60 and compares the free capacity with the data capacity calculated in step S9 to determine whether or not compressed image data can be written. (Step S10). If the free capacity of the log storage unit 60 is greater than or equal to the data capacity calculated in step S9 (step S10; YES), the control unit 10 writes the compressed image data to the log storage unit 60 (step S12), while the log If the free capacity of the storage unit 60 is smaller than the data capacity calculated in step S9 (step S10; NO), the control unit 10 deletes the image data stored in the log storage unit 60 from the oldest one (step S11). The determination process in step S10 is repeated until the image data can be written.

複写機CPがイメージログを蓄積する処理は、以上のようになっている。このような処理を行うことにより、複写機CPは、ログ蓄積部60に記憶された画像データを高い圧縮率でありながらも判読性を良好に維持したものとすることができる。また、上述したように、ログ蓄積部60に記憶された画像データは輝度成分のみの画像データである。そのため、この画像データは、人間の目による視認性が良好でありながらもデータ容量を小さくすることが可能となっている。   The process in which the copying machine CP stores the image log is as described above. By performing such processing, the copying machine CP can maintain the legibility of the image data stored in the log storage unit 60 while maintaining a high compression rate. Further, as described above, the image data stored in the log storage unit 60 is image data having only a luminance component. For this reason, the image data can be reduced in data capacity while having good visibility by human eyes.

[3.変形例]
なお、本発明は上述した実施形態にのみ限定されるものではなく、種々の態様にて実施することが可能である。本発明においては、例えば、上述した実施形態に対して以下のような変形を適用することができる。なお、これらの変形は、各々を適宜に組み合わせることも可能である。
[3. Modified example]
In addition, this invention is not limited only to embodiment mentioned above, It is possible to implement in a various aspect. In the present invention, for example, the following modifications can be applied to the above-described embodiment. These modifications can be combined as appropriate.

上述の実施形態においては、本発明の内容を容易に理解せしめるために、画像データがカラー画像データであるか否かを判定する処理(ステップS2)を制御部10が行うと説明したが、この処理は必ずしも必要なものではない。例えば、制御部10が画像データから色差成分を除去する処理を行うとすれば、そもそも画像データがカラー画像データであるかモノクロ画像データであるかを判断する必要がなくなる。よって、上述のステップS2およびS3の処理に代えて、このような処理を行ってもよい。   In the above-described embodiment, in order to easily understand the contents of the present invention, it has been described that the control unit 10 performs the process of determining whether the image data is color image data (step S2). Processing is not always necessary. For example, if the control unit 10 performs a process of removing the color difference component from the image data, it is not necessary to determine whether the image data is color image data or monochrome image data in the first place. Therefore, such a process may be performed instead of the processes in steps S2 and S3 described above.

また、上述の実施形態においては、圧縮方式としてJPEG方式とランレングス法とを示したが、圧縮方式はもちろんこれらに限定されず、適当なものを用いてよい。また、上述の実施形態においては画像データに実行可能な圧縮処理の方式は2種類のみであったが、テキスト領域とイメージ領域の比率に応じて3種類以上の圧縮方式のなかから適宜選択するようにしてもよい。   In the above-described embodiment, the JPEG method and the run length method are shown as the compression method. However, the compression method is not limited to these, and an appropriate method may be used. In the above-described embodiment, only two types of compression processing can be performed on image data. However, the compression method can be appropriately selected from three or more types of compression according to the ratio of the text area to the image area. It may be.

また、上述の実施形態は複写機CPを挙げて説明したが、本発明は複写機による実施に限らず、例えば画像形成装置(プリンタ)や画像読取装置(スキャナ)、あるいはファクシミリ装置、さらにはこれらの機能のいくつかを兼備したいわゆる複合機による実施も可能である。要するに、本発明は、画像データを用いて何らかの処理を行う装置全般に適用することができるものである。   Further, the above embodiment has been described with reference to the copying machine CP. However, the present invention is not limited to the copying machine. For example, the image forming apparatus (printer), the image reading apparatus (scanner), the facsimile apparatus, and the like. It is also possible to implement by a so-called multi-function machine having some of the functions. In short, the present invention can be applied to all apparatuses that perform some processing using image data.

本発明の一実施形態である複写機の構成を示したブロック図である。1 is a block diagram illustrating a configuration of a copier that is an embodiment of the present invention. FIG. 同複写機の制御部が実現する機能を示した機能ブロック図である。3 is a functional block diagram illustrating functions realized by a control unit of the copier. FIG. 同複写機がイメージログの作成に際して実行する処理を示したフローチャートである。3 is a flowchart showing processing executed by the copying machine when creating an image log.

符号の説明Explanation of symbols

CP…複合機、10…制御部、101…色変換部、102…カラー判定部、103…データ変換部、104…領域抽出部、105…領域判定部、106…JPEG圧縮部、107…ランレングス圧縮部、108…出力部、20…操作部、30…通信部、40…画像入力部、50…画像出力部、60…ログ蓄積部 CP: MFP, 10: control unit, 101: color conversion unit, 102 ... color determination unit, 103 ... data conversion unit, 104 ... area extraction unit, 105 ... area determination unit, 106 ... JPEG compression unit, 107 ... run length Compression unit 108 ... Output unit 20 ... Operation unit 30 ... Communication unit 40 ... Image input unit 50 ... Image output unit 60 ... Log storage unit

Claims (5)

入力された画像データから文字を表すテキスト領域と絵柄を表すイメージ領域とを抽出する抽出手段と、
前記抽出手段により抽出されたテキスト領域とイメージ領域の面積を比較し、当該テキスト領域に対する当該イメージ領域の割合が所定の閾値以上である場合には、前記入力された画像データを第1の圧縮方式で圧縮する一方、前記割合が前記閾値未満である場合には、前記入力された画像データを前記第1の圧縮方式よりも圧縮率が低い第2の圧縮方式で圧縮する圧縮手段と、
前記圧縮手段により圧縮された画像データを記憶装置に出力する出力手段と
を備えることを特徴とするイメージログ生成装置。
Extraction means for extracting a text area representing characters and an image area representing a pattern from the input image data;
The areas of the text region and the image region extracted by the extracting unit are compared, and if the ratio of the image region to the text region is equal to or greater than a predetermined threshold, the input image data is converted to the first compression method. On the other hand, if the ratio is less than the threshold value, the compression means for compressing the input image data with a second compression method having a compression rate lower than that of the first compression method;
An image log generation apparatus comprising: output means for outputting the image data compressed by the compression means to a storage device.
前記抽出手段は、
前記入力された画像データを輝度成分のみの画像データに変換する変換手段を備え、
前記変換手段により変換された画像データの輝度成分を用いて前記テキスト領域と前記イメージ領域とを抽出する
ことを特徴とする請求項1に記載のイメージログ生成装置。
The extraction means includes
Conversion means for converting the input image data into image data having only a luminance component;
The image log generation device according to claim 1, wherein the text region and the image region are extracted using a luminance component of the image data converted by the conversion unit.
請求項1に記載のイメージログ生成装置と、
入力された画像データを表す画像を記録材に形成する画像形成手段と、
前記画像形成手段により形成される画像を表す画像データを前記イメージログ生成装置の前記抽出手段に入力する入力手段と
を備えることを特徴とする画像形成装置。
An image log generation device according to claim 1;
Image forming means for forming an image representing the input image data on a recording material;
An image forming apparatus comprising: input means for inputting image data representing an image formed by the image forming means to the extracting means of the image log generating apparatus.
入力された画像データから文字を表すテキスト領域と絵柄を表すイメージ領域とを抽出する抽出ステップと、
前記抽出ステップにおいて抽出されたテキスト領域と比較したときの前記抽出ステップにおいて抽出されたイメージ領域の割合が所定の閾値以上である場合には、前記入力された画像データを第1の圧縮方式で圧縮する一方、前記割合が前記閾値未満である場合には、前記入力された画像データを前記第1の圧縮方式よりも圧縮率が低い第2の圧縮方式で圧縮する圧縮ステップと、
前記圧縮ステップにおいて圧縮された画像データを記憶装置に出力する出力ステップと
を備えることを特徴とするイメージログ生成方法。
An extraction step for extracting a text area representing characters and an image area representing a pattern from the input image data;
When the ratio of the image area extracted in the extraction step when compared with the text area extracted in the extraction step is equal to or greater than a predetermined threshold, the input image data is compressed by the first compression method. On the other hand, if the ratio is less than the threshold value, a compression step of compressing the input image data with a second compression method having a compression rate lower than that of the first compression method;
An image log generation method comprising: an output step of outputting the image data compressed in the compression step to a storage device.
コンピュータに、
入力された画像データから文字を表すテキスト領域と絵柄を表すイメージ領域とを抽出する抽出処理と、
前記抽出処理において抽出されたテキスト領域と比較したときの前記抽出処理において抽出されたイメージ領域の割合が所定の閾値以上である場合には、前記入力された画像データを第1の圧縮方式で圧縮する一方、前記割合が前記閾値未満である場合には、前記入力された画像データを前記第1の圧縮方式よりも圧縮率が低い第2の圧縮方式で圧縮する圧縮処理と、
前記圧縮処理において圧縮された画像データを記憶装置に出力する出力処理と
を実行させるプログラム。
On the computer,
An extraction process for extracting a text area representing characters and an image area representing a pattern from input image data;
When the ratio of the image area extracted in the extraction process when compared with the text area extracted in the extraction process is equal to or greater than a predetermined threshold, the input image data is compressed by the first compression method. On the other hand, if the ratio is less than the threshold, the input image data is compressed by a second compression method having a compression rate lower than that of the first compression method;
A program for executing an output process for outputting the image data compressed in the compression process to a storage device.
JP2005366680A 2005-12-20 2005-12-20 Image log generating device, image forming apparatus, image log generating method, and program Pending JP2007174080A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2005366680A JP2007174080A (en) 2005-12-20 2005-12-20 Image log generating device, image forming apparatus, image log generating method, and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2005366680A JP2007174080A (en) 2005-12-20 2005-12-20 Image log generating device, image forming apparatus, image log generating method, and program

Publications (1)

Publication Number Publication Date
JP2007174080A true JP2007174080A (en) 2007-07-05

Family

ID=38300083

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2005366680A Pending JP2007174080A (en) 2005-12-20 2005-12-20 Image log generating device, image forming apparatus, image log generating method, and program

Country Status (1)

Country Link
JP (1) JP2007174080A (en)

Similar Documents

Publication Publication Date Title
US7970225B2 (en) Image processing device, image processing method, image processing program and computer-readable recording medium on which the program is recorded
JP4753627B2 (en) A method for dynamically controlling the file size of digital images.
JP5932313B2 (en) Printing apparatus, print preview display method and program thereof
JP2017156852A (en) Image processing device and computer program
JP2007318520A (en) Image processor, image processing method and image processing program
US8842333B2 (en) Image forming apparatus and method of controlling image forming apparatus
JP6397183B2 (en) Image processing apparatus, method, and program
US20100165395A1 (en) Image processing apparatus, image processing system, and control method for image processing apparatus
JP4792835B2 (en) Image processing device
JP6882043B2 (en) Image processing equipment, programs and image processing methods
JP3960210B2 (en) Image processing device
JP2004363795A (en) Apparatus, method, and program for image processing
JP2007174080A (en) Image log generating device, image forming apparatus, image log generating method, and program
JP4893198B2 (en) File generation program, image processing apparatus, and file generation method
JP4375106B2 (en) Image processing device
JP7330337B2 (en) Image processing device, image processing method, and program
JP6085973B2 (en) Image processing apparatus, image processing method, and program
JP3882657B2 (en) Image processing apparatus, image processing method, image processing program, and computer-readable recording medium on which image processing program is recorded
JP4498375B2 (en) OUTPUT DEVICE, OUTPUT METHOD, OUTPUT SYSTEM, AND PROGRAM
JP3882603B2 (en) Image processing apparatus, image processing method, image processing program, and computer-readable recording medium on which image processing program is recorded
JP2000307867A (en) Device and method for image processing and computer- readable recording medium with image processing program recorded thereon
JP5315637B2 (en) Image processing apparatus, electronic document system, and program
JP5703402B2 (en) Image forming apparatus
JP4770880B2 (en) Outline conversion method, image compression method using the same, outline conversion apparatus, image compression apparatus, outline conversion program, and image compression program
JP2021044687A (en) Image processing apparatus, and image processing method