JP2016081102A - Image processing device and image processing method - Google Patents

Image processing device and image processing method Download PDF

Info

Publication number
JP2016081102A
JP2016081102A JP2014208745A JP2014208745A JP2016081102A JP 2016081102 A JP2016081102 A JP 2016081102A JP 2014208745 A JP2014208745 A JP 2014208745A JP 2014208745 A JP2014208745 A JP 2014208745A JP 2016081102 A JP2016081102 A JP 2016081102A
Authority
JP
Japan
Prior art keywords
image
attribute
attribute information
unit
resolution
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
JP2014208745A
Other languages
Japanese (ja)
Other versions
JP6539976B2 (en
Inventor
満男 東井
Mitsuo Azumai
満男 東井
大木 亮
Akira Oki
亮 大木
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.)
Konica Minolta Inc
Original Assignee
Konica Minolta 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 Konica Minolta Inc filed Critical Konica Minolta Inc
Priority to JP2014208745A priority Critical patent/JP6539976B2/en
Publication of JP2016081102A publication Critical patent/JP2016081102A/en
Application granted granted Critical
Publication of JP6539976B2 publication Critical patent/JP6539976B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Facsimiles In General (AREA)
  • Facsimile Image Signal Circuits (AREA)
  • Image Analysis (AREA)
  • Accessory Devices And Overall Control Thereof (AREA)
  • Image Processing (AREA)

Abstract

PROBLEM TO BE SOLVED: To provide attribute information by which the attribute of an image generated by reading can be highly accurately discriminated.SOLUTION: An image processing device includes an image generation part which generates a first image in a bit map format (S1) and generates the attribute information indicating the attribute of each pixel of the first image (S2), an image reading part which reads an image formed on a paper sheet on the basis of the first image and generates a second image in a bit map format having resolution different from that of the first image (S5), and an attribute correction part which converts the resolution of the attribute information, so as to obtain coincidence with the resolution of the second image (S6).SELECTED DRAWING: Figure 3

Description

本発明は、画像処理装置及び画像処理方法に関する。   The present invention relates to an image processing apparatus and an image processing method.

従来、画像形成装置により用紙上に形成された画像を読み取って、画像形成のために生成された原画像と比較することにより、形成された画像を検査することが行われている(例えば、特許文献1参照。)   Conventionally, an image formed on a sheet is read by an image forming apparatus, and the formed image is inspected by comparing it with an original image generated for image formation (for example, patents). (See Reference 1.)

画像の比較には、原画像の各画素の属性を示す属性情報が用いられることがある。
例えば、網点により画像の濃淡が表現された画像領域は検査精度が低くなるため、網点で表現される写真又は図形の領域を判別して検査の対象から除外している(例えば、特許文献2及び3参照。)。
また、読み取り画像中のオブジェクトの形を判別するために、属性情報が用いられている(例えば、特許文献4参照。)。
For comparison of images, attribute information indicating the attribute of each pixel of the original image may be used.
For example, since the inspection accuracy of an image area in which the shading of an image is expressed by halftone dots is low, a photo or graphic area expressed by the halftone dots is discriminated and excluded from the inspection target (for example, patent document) 2 and 3).
Also, attribute information is used to determine the shape of the object in the read image (see, for example, Patent Document 4).

一般的に、読み取り画像は原画像に比べて解像度が低い。2つの画像の解像度が異なると比較ができないため、原画像の解像度を変換して読み取り時の解像度に一致させた後、比較を行っている(例えば、特許文献5参照。)。   Generally, the read image has a lower resolution than the original image. Since the comparison cannot be made if the resolutions of the two images are different, the comparison is performed after converting the resolution of the original image to match the resolution at the time of reading (for example, see Patent Document 5).

特許第4665399号公報Japanese Patent No. 4665399 特許第4835470号公報Japanese Patent No. 4835470 特開2013−235458号公報JP 2013-235458 A 特開2010−100005号公報JP 2010-100005 A 特開2013−200222号公報JP 2013-200222 A

しかしながら、属性情報は原画像の各画素の属性を示すように生成されている。原画像と読み取った画像の解像度が異なる場合は、属性情報も読み取った画像と解像度が異なるため、各画素の位置及び大きさが合わず、属性情報によって読み取った画像の各画素の属性を正確に判別することができない。   However, the attribute information is generated to indicate the attribute of each pixel of the original image. If the resolution of the original image and the scanned image is different, the resolution of the attribute information is also different from the scanned image, so the position and size of each pixel do not match, and the attribute of each pixel of the scanned image is accurately determined by the attribute information. It cannot be determined.

本発明の課題は、読み取りにより生成された画像の属性を、精度良く判別できる属性情報を提供することである。   An object of the present invention is to provide attribute information that can accurately determine an attribute of an image generated by reading.

請求項1に記載の発明によれば、
ビットマップ形式の第1画像を生成し、当該第1画像の各画素の属性を示す属性情報を生成する画像生成部と、
前記第1画像に基づいて用紙上に形成された画像を読み取って、前記第1画像と解像度が異なるビットマップ形式の第2画像を生成する画像読取部と、
前記第2画像の解像度と一致するように、前記属性情報の解像度を変換する属性補正部と、
を備えることを特徴とする画像処理装置が提供される。
According to the invention of claim 1,
An image generation unit that generates a first image in a bitmap format and generates attribute information indicating an attribute of each pixel of the first image;
An image reading unit that reads an image formed on a sheet based on the first image and generates a second image in a bitmap format having a resolution different from that of the first image;
An attribute correction unit that converts the resolution of the attribute information so as to match the resolution of the second image;
An image processing apparatus is provided.

請求項2に記載の発明によれば、
前記属性補正部は、前記第2画像中の各属性の画像領域と前記属性情報が示す各属性の画像領域の位置が一致するように、前記属性情報の各画素の移動、回転又はその両方を実施することを特徴とする請求項1に記載の画像処理装置が提供される。
According to invention of Claim 2,
The attribute correction unit performs movement, rotation, or both of each pixel of the attribute information so that the position of the image area of each attribute in the second image matches the position of the image area of each attribute indicated by the attribute information. An image processing apparatus according to claim 1 is provided.

請求項3に記載の発明によれば、
前記第1画像に、基準位置を示す複数の基準画像を付加する画像処理部を備え、
前記画像読取部は、前記複数の基準画像が付加された第1画像に基づいて用紙上に形成された画像を読み取って、前記第2画像を生成し、
前記属性補正部は、前記第2画像から前記複数の基準画像を検出し、前記第1画像及び前記第2画像のそれぞれにおける前記複数の基準画像の座標位置を用いて補正パラメーターを算出し、当該補正パラメーターを用いて前記属性情報の各画素の移動、回転又はその両方を実施することを特徴とする請求項2に記載の画像処理装置が提供される。
According to invention of Claim 3,
An image processing unit for adding a plurality of reference images indicating reference positions to the first image;
The image reading unit reads an image formed on a sheet based on the first image to which the plurality of reference images are added, and generates the second image;
The attribute correction unit detects the plurality of reference images from the second image, calculates a correction parameter using coordinate positions of the plurality of reference images in each of the first image and the second image, and The image processing apparatus according to claim 2, wherein each pixel of the attribute information is moved and / or rotated using a correction parameter.

請求項4に記載の発明によれば、
前記画像処理部は、前記複数の基準画像の主走査方向、副走査方向又はその両方の位置をそれぞれ異ならせて前記第1画像に付加し、
前記属性補正部は、前記複数の基準画像のうち、前記属性情報の各画素の近傍に位置する少なくとも3つの基準画像の座標位置を用いて、前記補正パラメーターを算出することを特徴とする請求項3に記載の画像処理装置が提供される。
According to invention of Claim 4,
The image processing unit adds the plurality of reference images to the first image with different positions in the main scanning direction, the sub-scanning direction, or both,
The attribute correction unit calculates the correction parameter using coordinate positions of at least three reference images located near each pixel of the attribute information among the plurality of reference images. 3 is provided.

請求項5に記載の発明によれば、
前記属性補正部は、前記第1画像と前記第2画像の解像度の比率に応じて、前記属性情報が示すいずれかの属性を拡張又は縮小することを特徴とする請求項1〜4のいずれか一項に記載の画像処理装置が提供される。
According to the invention of claim 5,
The attribute correction unit expands or reduces any attribute indicated by the attribute information according to a resolution ratio of the first image and the second image. An image processing apparatus according to one aspect is provided.

請求項6に記載の発明によれば、
前記第2画像を前記属性情報が示す属性ごとの画像領域に分離し、分離した各画像領域にその属性に応じた処理条件の圧縮処理を施した後、統合して履歴用の画像を生成する履歴生成部を備えることを特徴とする請求項1〜5のいずれか一項に記載の画像処理装置が提供される。
According to the invention of claim 6,
The second image is separated into image areas for each attribute indicated by the attribute information, and each separated image area is subjected to compression processing under a processing condition according to the attribute, and then integrated to generate a history image. An image processing apparatus according to claim 1, further comprising a history generation unit.

請求項7に記載の発明によれば、
前記履歴生成部は、前記第2画像の下地領域を検出し、当該下地領域の階調値よりも階調値が大きく、かつ前記属性情報が文字の属性を示す領域を文字の領域として前記第2画像から分離し、前記第2画像から分離した各画像領域が文字の領域か文字以外の領域かによって異なる処理条件の圧縮処理を施して、前記履歴用の画像を生成することを特徴とする請求項6に記載の画像処理装置が提供される。
According to the invention of claim 7,
The history generation unit detects a background area of the second image, and uses the area where the gradation value is larger than the gradation value of the background area and the attribute information indicates a character attribute as the character area. The history image is generated by performing compression processing under different processing conditions depending on whether each image area separated from the second image is a character area or a non-character area. An image processing apparatus according to claim 6 is provided.

請求項8に記載の発明によれば、
(a)ビットマップ形式の第1画像を生成し、当該第1画像の各画素の属性を示す属性情報を生成するステップと、
(b)前記第1画像に基づいて用紙上に形成された画像を読み取って、前記第1画像と解像度が異なるビットマップ形式の第2画像を生成するステップと、
(c)前記第2画像の解像度と一致するように、前記属性情報の解像度を変換するステップと、
を含む画像処理方法が提供される。
According to the invention described in claim 8,
(A) generating a bitmap first image and generating attribute information indicating an attribute of each pixel of the first image;
(B) reading an image formed on a sheet based on the first image and generating a second image in a bitmap format having a resolution different from that of the first image;
(C) converting the resolution of the attribute information to match the resolution of the second image;
An image processing method is provided.

本発明によれば、読み取りにより生成された画像の属性を、精度良く判別できる属性情報を提供することができる。   ADVANTAGE OF THE INVENTION According to this invention, the attribute information which can discriminate | determine with high accuracy the attribute of the image produced | generated by reading can be provided.

本実施の形態に係る画像形成システムの概略構成を示す図である。1 is a diagram showing a schematic configuration of an image forming system according to an embodiment. 図1の画像形成装置及び画像読取装置の構成を機能ごとに示すブロック図である。FIG. 2 is a block diagram illustrating configurations of an image forming apparatus and an image reading apparatus in FIG. 1 for each function. 画像形成システムが画像を形成し、履歴用の画像を生成する際の処理手順を示すフローチャートである。5 is a flowchart illustrating a processing procedure when an image forming system forms an image and generates a history image. 属性補正部が、属性情報を補正する際の処理手順を示すフローチャートである。It is a flowchart which shows the process sequence at the time of an attribute correction | amendment part correct | amending attribute information. 第2画像を例示する図である。It is a figure which illustrates the 2nd picture. 図5Aに示す第2画像中の実線で囲む領域の属性情報を示す図である。It is a figure which shows the attribute information of the area | region enclosed with the continuous line in the 2nd image shown to FIG. 5A. 図5Bに示す属性情報の解像度を変換して得られた属性情報を示す図である。It is a figure which shows the attribute information obtained by converting the resolution of the attribute information shown to FIG. 5B. 補正前の属性情報と位置ずれが生じた第2画像を例示する図である。It is a figure which illustrates the attribute information before correction | amendment, and the 2nd image in which position shift occurred. 位置ずれが生じた第2画像から、補正前の属性情報により分離した文字の領域を示す図である。It is a figure which shows the area | region of the character isolate | separated by the attribute information before correction | amendment from the 2nd image in which position shift occurred. 第1画像と位置ずれが生じた第2画像を示す図である。It is a figure which shows the 1st image and the 2nd image in which position shift occurred. 連結された複数の格子が基準画像として付加された第1画像を例示する図である。It is a figure which illustrates the 1st image to which a plurality of connected lattices were added as a reference image. 図8Aに示す第1画像に基づく画像形成の結果、位置ずれが生じた第2画像を示す図である。It is a figure which shows the 2nd image which the position shift produced as a result of the image formation based on the 1st image shown to FIG. 8A. 履歴生成部が、履歴用の画像を生成する際の処理手順を示すフローチャートである。It is a flowchart which shows the process sequence at the time of a log | history production | generation part producing | generating the image for log | history. 位置ずれが生じた第2画像から、補正後の属性情報により文字の領域を分離する過程を示す図である。It is a figure which shows the process in which the area | region of a character is isolate | separated from the 2nd image in which position shift occurred according to the attribute information after correction | amendment. 通常のPDF形式によってレイヤーごとに分離された画像を示す図である。It is a figure which shows the image isolate | separated for every layer by the normal PDF format. コンパクトPDF形式によってレイヤーごとに分離された画像を示す図である。It is a figure which shows the image isolate | separated for every layer by the compact PDF format.

以下、本発明の画像処理装置及び画像処理方法の実施の形態について、図面を参照して説明する。   Embodiments of an image processing apparatus and an image processing method of the present invention will be described below with reference to the drawings.

図1は、本発明の画像処理装置の実施の形態である画像形成システム1の概略構成を示している。
画像形成システム1は、図1に示すように、画像形成装置10及び画像読取装置30を備え、画像形成装置10により用紙上に画像を形成し、画像読取装置30により当該用紙上の画像を読み取る。画像形成装置10により画像形成のために生成される画像を第1画像とし、画像読取装置30により用紙上の画像を読み取って生成される画像を第2画像とする。
画像形成装置10と画像読取装置30間には、画像形成装置10から画像読取装置30へ用紙を搬送する搬送ユニット40が配置されている。
FIG. 1 shows a schematic configuration of an image forming system 1 which is an embodiment of an image processing apparatus of the present invention.
As shown in FIG. 1, the image forming system 1 includes an image forming apparatus 10 and an image reading apparatus 30. The image forming apparatus 10 forms an image on a sheet, and the image reading apparatus 30 reads an image on the sheet. . An image generated for image formation by the image forming apparatus 10 is a first image, and an image generated by reading an image on a sheet by the image reading apparatus 30 is a second image.
Between the image forming apparatus 10 and the image reading apparatus 30, a conveyance unit 40 that conveys a sheet from the image forming apparatus 10 to the image reading apparatus 30 is disposed.

図2は、画像形成装置10と画像読取装置30の構成を機能ごとに示している。
画像形成装置10は、図2に示すように、制御部11、記憶部12、操作部13、表示部14、通信部15、画像生成部16、画像処理部17、画像形成部18、属性補正部19及び履歴生成部20を備えて構成されている。
また、画像形成装置10はネットワーク上の外部装置50に接続され、通信部15により外部装置50と通信することができる。
FIG. 2 shows the configurations of the image forming apparatus 10 and the image reading apparatus 30 for each function.
As shown in FIG. 2, the image forming apparatus 10 includes a control unit 11, a storage unit 12, an operation unit 13, a display unit 14, a communication unit 15, an image generation unit 16, an image processing unit 17, an image forming unit 18, and attribute correction. The unit 19 and the history generation unit 20 are provided.
The image forming apparatus 10 is connected to an external device 50 on the network, and can communicate with the external device 50 through the communication unit 15.

制御部11は、記憶部12に記憶されているプログラムを読み出し、当該プログラムを実行することにより画像形成装置10の各部を制御する。制御部11は、CPU(Central Processing Unit)、RAM(Random Access Memory)等により構成することができる。
例えば、制御部11は、画像生成部16により生成された画像を、画像処理部17により画像処理させて、画像処理後の画像の各画素の階調値に応じて、画像形成部18により用紙上に画像を形成させる。
The control unit 11 reads out a program stored in the storage unit 12 and controls each unit of the image forming apparatus 10 by executing the program. The control unit 11 can be configured by a CPU (Central Processing Unit), a RAM (Random Access Memory), and the like.
For example, the control unit 11 causes the image processing unit 17 to perform image processing on the image generated by the image generation unit 16 and causes the image forming unit 18 to perform paper processing according to the tone value of each pixel of the image after image processing. An image is formed on top.

また、制御部11は、画像の検査用のプログラムを実行することにより、画像形成部18により用紙上に形成された画像の検査を実施することができる。
検査時、制御部11は、画像生成部16により画像形成のために生成された第1画像と、第1画像に基づいて画像形成部18により用紙上に形成された画像を画像読取装置30により読み取って得られた第2画像とを比較することにより、形成された画像の誤り、消失、汚れ等の欠陥を検出する。例えば、制御部11は、第1画像と第2画像の特徴点を決定し、当該特徴点の特徴量を算出して判別分析法により類似するか否かを判別し、類似しない場合に欠陥として検出する。
Further, the control unit 11 can inspect the image formed on the sheet by the image forming unit 18 by executing a program for inspecting the image.
At the time of inspection, the control unit 11 causes the image reading device 30 to display the first image generated for image formation by the image generation unit 16 and the image formed on the paper by the image forming unit 18 based on the first image. By comparing with the second image obtained by reading, defects such as errors, disappearances, and stains of the formed image are detected. For example, the control unit 11 determines feature points of the first image and the second image, calculates feature amounts of the feature points, determines whether or not they are similar by a discriminant analysis method, and if they are not similar, To detect.

制御部11は、第1画像とともに生成された属性情報を利用して上記画像の検査を実施することができる。例えば、制御部11は、属性情報により第1画像及び第2画像における文字の領域を判別して比較の対象とすることができるし、画像の濃淡が網点により表現される写真の領域を判別して比較の対象外とすることができる。   The control unit 11 can inspect the image using attribute information generated together with the first image. For example, the control unit 11 can determine a character area in the first image and the second image based on the attribute information to be compared, and can determine a photo area in which the shade of the image is expressed by a halftone dot. Thus, it can be excluded from comparison.

記憶部12は、制御部11により読み取り可能なプログラム、プログラムの実行時に用いられるデータ等を記憶している。
また、記憶部12は、画像生成部16により生成された属性情報、画像読取装置30により生成された第2画像、履歴生成部20により生成された履歴用の画像等を記憶することができる。
記憶部12としては、ハードディスク等の大容量メモリーを用いることができる。
The storage unit 12 stores a program that can be read by the control unit 11, data used when the program is executed, and the like.
Further, the storage unit 12 can store attribute information generated by the image generation unit 16, a second image generated by the image reading device 30, a history image generated by the history generation unit 20, and the like.
As the storage unit 12, a large-capacity memory such as a hard disk can be used.

操作部13及び表示部14は、図1に示すようにユーザーインターフェイスとして設けられている。
操作部13は、ユーザーの操作に応じた操作信号を生成し、制御部11に出力する。操作部13としては、例えばキー、表示部14と一体に構成されたタッチパネル等が挙げられる。
表示部14は、制御部11の指示にしたがって操作画面等を表示する。表示部14としては、LCD(Liquid Crystal Display)、OELD(Organic Electro Luminescence Display)等を用いることができる。
The operation unit 13 and the display unit 14 are provided as a user interface as shown in FIG.
The operation unit 13 generates an operation signal corresponding to a user operation and outputs the operation signal to the control unit 11. Examples of the operation unit 13 include a key and a touch panel configured integrally with the display unit 14.
The display unit 14 displays an operation screen and the like according to instructions from the control unit 11. As the display unit 14, an LCD (Liquid Crystal Display), an OELD (Organic Electro Luminescence Display), or the like can be used.

通信部15は、ネットワーク上の外部装置50と通信する。外部装置50は、例えばユーザー端末、サーバー、他の画像形成装置等である。
例えば、通信部15は、ユーザー端末である外部装置50からネットワークを介してページ記述言語(PDL:Page Description Language)で記述されたデータ(以下、PDLデータという)を受信する。また、通信部15は、画像生成部16により生成された属性情報、履歴生成部20により生成された履歴用の画像等を外部装置50に送信することができる。
The communication unit 15 communicates with an external device 50 on the network. The external device 50 is, for example, a user terminal, a server, another image forming apparatus, or the like.
For example, the communication unit 15 receives data (hereinafter referred to as PDL data) described in a page description language (PDL) from the external device 50 that is a user terminal via a network. Further, the communication unit 15 can transmit the attribute information generated by the image generation unit 16, the history image generated by the history generation unit 20, and the like to the external device 50.

画像生成部16は、通信部15により受信したPDLデータをラスタライズ処理し、画素ごとに階調値を有するビットマップ形式の画像を第1画像として、C(シアン)、M(マジェンタ)、Y(イエロー)及びK(黒)の色ごとに生成する。階調値は、画像の濃淡を表すデータ値であり、例えば8bitのデータ値は0〜255階調の濃淡を表す。   The image generation unit 16 rasterizes the PDL data received by the communication unit 15, and uses a bitmap image having a gradation value for each pixel as a first image as C (cyan), M (magenta), Y ( It is generated for each color of yellow) and K (black). The gradation value is a data value representing the density of an image. For example, a data value of 8 bits represents a gradation of 0 to 255 gradations.

画像生成部16は、第1画像の生成時、第1画像の各画素の属性を示す属性情報を生成する。
例えば、画像生成部16は、PDLデータに記述された文字コードにしたがって描画した、かな、アルファベット、数字等の画像の各画素の属性を文字(Text)と決定し、DXF、SVG、WMF等のベクター形式の記述にしたがって描画した罫線、多角形、円等の画像の各画素の属性を図形(Graphics)と決定する。また、画像生成部16は、JPEG等のファイルにより描画した写真等の画像の属性を写真(Image)と決定する。
The image generation unit 16 generates attribute information indicating the attribute of each pixel of the first image when generating the first image.
For example, the image generation unit 16 determines the attribute of each pixel of the image such as kana, alphabet, number, etc., drawn according to the character code described in the PDL data as text, such as DXF, SVG, WMF, etc. The attribute of each pixel of the image such as ruled lines, polygons, circles, etc. drawn according to the description in the vector format is determined as a graphic. The image generation unit 16 determines the attribute of an image such as a photograph drawn by a file such as JPEG as a photograph.

また、画像生成部16は、図1に示すようにコピー用の画像読取部161を備え、ユーザーによりセットされた原稿の画像を当該画像読取部161により読み取ってR(赤)、G(緑)及びB(青)の各色の画像を取得し、色変換することによってC、M、Y及びKの各色の画像を生成することもできる。   Further, as shown in FIG. 1, the image generation unit 16 includes an image reading unit 161 for copying. The image reading unit 161 reads an image of a document set by a user, and R (red) and G (green). Also, an image of each color of C, M, Y, and K can be generated by acquiring an image of each color of B and B (blue) and performing color conversion.

画像処理部17は、画像生成部16により生成された第1画像に、階調処理、中間調処理等の画像処理を施す。
階調処理は、画像の各画素の階調値を、用紙上に形成された画像の濃度特性が目標の濃度特性と一致するように補正された階調値に変換する処理である。
中間調処理は、例えば誤差拡散処理、組織的ディザ法を用いたスクリーン処理等である。
The image processing unit 17 performs image processing such as gradation processing and halftone processing on the first image generated by the image generation unit 16.
The gradation process is a process of converting the gradation value of each pixel of the image into a gradation value corrected so that the density characteristic of the image formed on the paper matches the target density characteristic.
The halftone processing is, for example, error diffusion processing, screen processing using a systematic dither method, or the like.

画像形成部18は、画像処理部17により画像処理された第1画像の各画素の階調値に応じて、複数の色からなる画像を用紙上に形成する。
画像形成部18は、図1に示すように、4つの書込みユニット181、中間転写ベルト182、2次転写ローラー183、定着装置184、給紙トレイ185及び反転機構186を備えている。各書込みユニット181は、中間転写ベルト182のベルト面に沿って直列に配置されている。中間転写ベルト182は、複数のローラーにより巻き回されて回転する。複数のローラーの1つは2次転写ローラー183を構成している。2次転写ローラー183及び定着装置184は、給紙トレイ185から搬送される用紙の搬送経路上に配置されている。給紙トレイ185は、用紙を収容している。
The image forming unit 18 forms an image having a plurality of colors on a sheet according to the gradation value of each pixel of the first image subjected to the image processing by the image processing unit 17.
As shown in FIG. 1, the image forming unit 18 includes four writing units 181, an intermediate transfer belt 182, a secondary transfer roller 183, a fixing device 184, a paper feed tray 185, and a reversing mechanism 186. Each writing unit 181 is arranged in series along the belt surface of the intermediate transfer belt 182. The intermediate transfer belt 182 is wound and rotated by a plurality of rollers. One of the plurality of rollers constitutes a secondary transfer roller 183. The secondary transfer roller 183 and the fixing device 184 are arranged on the conveyance path of the sheet conveyed from the sheet feeding tray 185. The paper feed tray 185 contains paper.

4つの書込みユニット181は、それぞれC、M、Y及びKの色の画像を形成する。各書込みユニット181の構成は同じであり、露光部18a、感光体18b、現像部18c、帯電部18d及びクリーニング部18eを備えている。
各書込みユニット181は、帯電部18dにより感光体18bに電圧を印加して帯電させた後、各色C、M、Y及びKの画像の各画素の階調値に応じて露光部18aによりレーザービームを照射し、感光体18bを露光する。各書込みユニット181が現像部18cによりトナー等の色材を供給して、感光体18b上に形成された静電潜像を現像すると、各書込みユニット181の感光体18b上に各色の画像が形成される。
The four writing units 181 form images of C, M, Y, and K colors, respectively. Each writing unit 181 has the same configuration, and includes an exposure unit 18a, a photoreceptor 18b, a developing unit 18c, a charging unit 18d, and a cleaning unit 18e.
Each writing unit 181 applies a voltage to the photosensitive member 18b by the charging unit 18d and charges it, and then the exposure unit 18a applies a laser beam according to the gradation value of each pixel of each color C, M, Y and K image. To expose the photoreceptor 18b. When each writing unit 181 supplies a color material such as toner from the developing unit 18c and develops the electrostatic latent image formed on the photoreceptor 18b, an image of each color is formed on the photoreceptor 18b of each writing unit 181. Is done.

各感光体18b上の画像は中間転写ベルト182上に順次重ねて転写され、中間転写ベルト182上には複数の色からなる画像が形成される。画像の転写後、各書込みユニット181は、転写後に感光体18b上に残留する色材をクリーニング部18eにより除去する。
給紙トレイ185により用紙を給紙し、2次転写ローラー183によって中間転写ベルト182上の複数の色からなる画像を用紙上に転写すると、定着装置184により当該用紙を加熱及び加圧して、画像を用紙に定着させる。用紙の両面に画像を形成する場合は、反転機構186により用紙面を反転させて再度2次転写ローラー183へ用紙を搬送する。
The images on the respective photoconductors 18b are sequentially transferred onto the intermediate transfer belt 182 so that an image having a plurality of colors is formed on the intermediate transfer belt 182. After the image transfer, each writing unit 181 removes the color material remaining on the photoconductor 18b after the transfer by the cleaning unit 18e.
When a sheet is fed by the sheet feeding tray 185 and an image composed of a plurality of colors on the intermediate transfer belt 182 is transferred onto the sheet by the secondary transfer roller 183, the sheet is heated and pressurized by the fixing device 184, and the image Is fixed on the paper. When forming images on both sides of the sheet, the sheet surface is reversed by the reversing mechanism 186 and the sheet is conveyed to the secondary transfer roller 183 again.

属性補正部19は、画像読取装置30により用紙上の画像が読み取られて生成された第2画像の解像度と一致するように、属性情報の解像度を変換する。
また、属性補正部19は、第2画像中の各属性の画像領域と属性情報が示す各属性の画像領域の位置が一致するように、属性情報の各画素の移動、回転又はその両方を実施することができる。
属性補正部19は、画像処理部17により画像処理された第1画像の属性を示すように、画像生成部16により生成された属性情報を補正することもできる。
The attribute correction unit 19 converts the resolution of the attribute information so that it matches the resolution of the second image generated by reading the image on the sheet by the image reading device 30.
In addition, the attribute correction unit 19 performs movement, rotation, or both of the pixels of the attribute information so that the position of the image area of each attribute in the second image matches the position of the image area of each attribute indicated by the attribute information. can do.
The attribute correction unit 19 can also correct the attribute information generated by the image generation unit 16 so as to indicate the attribute of the first image subjected to the image processing by the image processing unit 17.

履歴生成部20は、画像読取装置30により用紙上の画像が読み取られて生成された第2画像を、属性補正部19により補正された属性情報が示す属性ごとの画像領域に分離する。履歴生成部20は、分離した各画像領域にその属性に応じた処理条件の圧縮処理を施した後、統合して履歴用の画像を生成し、記憶部12に保存する。   The history generation unit 20 separates the second image generated by reading the image on the sheet by the image reading device 30 into image areas for each attribute indicated by the attribute information corrected by the attribute correction unit 19. The history generation unit 20 performs compression processing with processing conditions according to the attribute of each separated image area, and then integrates to generate an image for history and stores it in the storage unit 12.

属性補正部19及び履歴生成部20を、それぞれLSI等のハードウェア資源により構成することもできるし、CPU等のコンピューターにより、属性情報を補正し、履歴用の画像を生成するためのプログラムを読み込み、実行するソフトウェア処理によって、ハードウェア資源の場合と同じ処理内容を実現することもできる。   The attribute correction unit 19 and the history generation unit 20 can be configured by hardware resources such as LSI, respectively, or a computer such as a CPU reads a program for correcting attribute information and generating a history image. The same processing content as in the case of hardware resources can be realized by executing software processing.

画像読取装置30は、図1及び図2に示すように、画像読取部31を備えている。
画像読取部31は、図1に示すように用紙の搬送経路上に配置されるラインセンサー、エリアセンサー等である。画像読取部31は、搬送ユニット40により画像形成装置10から搬送された用紙上の画像を読み取り、第1画像と解像度が異なるビットマップ形式の画像を第2画像として生成する。
画像読取装置30と画像形成装置10間には、PCIexpress等のインターフェイスを用いた画像転送経路が設けられ、画像読取部31により生成された第2画像はこの画像転送経路を介して画像形成装置10の記憶部12に転送される。
As shown in FIGS. 1 and 2, the image reading device 30 includes an image reading unit 31.
As shown in FIG. 1, the image reading unit 31 is a line sensor, an area sensor, or the like arranged on the paper conveyance path. The image reading unit 31 reads an image on a sheet transported from the image forming apparatus 10 by the transport unit 40 and generates a bitmap image having a resolution different from that of the first image as a second image.
An image transfer path using an interface such as PCIexpress is provided between the image reading apparatus 30 and the image forming apparatus 10, and the second image generated by the image reading unit 31 passes through this image transfer path. To the storage unit 12.

外部装置50は、上述したように、ユーザー端末、サーバー、他の画像形成装置等であり得る。
外部装置50は、図2に示すように記憶部51を備えている。
記憶部51は、画像形成装置10の記憶部12と同様に、画像生成部16により生成された属性情報、履歴生成部20により生成された履歴用の画像等を記憶することができる。
記憶部51としては、ハードディスク等の大容量メモリーを用いることができる。
As described above, the external device 50 can be a user terminal, a server, another image forming apparatus, or the like.
The external device 50 includes a storage unit 51 as shown in FIG.
Similarly to the storage unit 12 of the image forming apparatus 10, the storage unit 51 can store attribute information generated by the image generation unit 16, a history image generated by the history generation unit 20, and the like.
As the storage unit 51, a large-capacity memory such as a hard disk can be used.

上記画像形成システム1は、第1画像と第2画像を比較して用紙上に形成された画像を検査する際に、第1画像とともに生成された属性情報を利用することができる。例えば、属性情報を用いて、検査する文字等のオブジェクトの形を判別したり、網点で表現され、画像の欠陥として誤検出されやすい図形又は写真の画像領域を検査対象外として判別したりすることができる。また、画像形成システム1は、第2画像から履歴用の画像を生成する際、圧縮処理の処理条件を異ならせる各属性の画像領域を判別するために、属性情報を利用することもできる。
いずれの場合も第2画像の属性を正確に判別するために属性情報を補正する処理手順は同じであるので、以下、履歴用の画像を生成する場合を例に属性情報を補正する処理手順を説明する。
The image forming system 1 can use attribute information generated together with the first image when inspecting the image formed on the sheet by comparing the first image and the second image. For example, the attribute information is used to determine the shape of an object such as a character to be inspected, or a graphic or photo image area that is represented by a halftone dot and is easily misdetected as a defect in an image is excluded from being inspected. be able to. Further, when generating an image for history from the second image, the image forming system 1 can also use the attribute information in order to determine the image area of each attribute that changes the processing conditions of the compression process.
In any case, the processing procedure for correcting the attribute information in order to accurately determine the attribute of the second image is the same. Therefore, the processing procedure for correcting the attribute information will be described below using an example of generating a history image. explain.

図3は、上記画像形成システム1が、用紙上に画像を形成し、実施した画像形成の履歴を表す履歴用の画像を生成する際の処理手順を示している。
画像形成システム1ではPDLデータが送信されると、図3に示すように画像生成部16がPDLデータのラスタライズ処理を実行し、第1画像をページごとに生成する(ステップS1)。
また、画像生成部16は第1画像の各画素の属性を示す属性情報を生成し、生成した属性情報を記憶部12に保存する(ステップS2)。
FIG. 3 shows a processing procedure when the image forming system 1 forms an image on a sheet and generates a history image representing a history of image formation performed.
In the image forming system 1, when the PDL data is transmitted, as shown in FIG. 3, the image generation unit 16 executes a rasterization process of the PDL data and generates a first image for each page (step S1).
Moreover, the image generation part 16 produces | generates the attribute information which shows the attribute of each pixel of a 1st image, and preserve | saves the produced | generated attribute information in the memory | storage part 12 (step S2).

第1画像が生成されると、画像処理部17が第1画像に画像処理を施す。画像処理としては、階調処理、中間調処理等が挙げられる。画像処理部17は、第1画像とともに生成された属性情報を記憶部12から取得し、第1画像を属性情報が示す属性ごとにスクリーン線数を異ならせる等、属性に応じて異なる条件の画像処理を施すことができる。   When the first image is generated, the image processing unit 17 performs image processing on the first image. Examples of the image processing include gradation processing and halftone processing. The image processing unit 17 acquires attribute information generated together with the first image from the storage unit 12, and images having different conditions depending on the attribute, such as changing the number of screen lines for each attribute indicated by the attribute information of the first image. Processing can be performed.

また、画像処理部17は画像形成の応用設定に応じて、第1画像の位置、色等の変更、画像の追加、削除、変換、拡大、縮小等の画像処理を施すことができる。
応用設定としては、例えば1ページに複数ページの画像を縮小して配置するページ割付、1ページの画像を追加するページ差込、画像を拡大又は縮小する倍率変更、同じ画像を複数のページに配置するリピート、画像をページの中心位置にシフトするセンタリング、画像の位置をシフトして綴じ用の領域を設ける綴じ代、日付、ページ数等の文字を追加する画像編集、ウォーターマーク、ロゴマーク等の画像を追加するスタンプ、色調整、画像の輝度を反転させるネガポジ反転、画像を鏡像に変換する鏡像、画像中の枠を削除する枠消し等がある。
The image processing unit 17 can perform image processing such as changing the position and color of the first image, adding, deleting, converting, enlarging, and reducing the image according to the application setting for image formation.
Application settings include, for example, page allocation to reduce and arrange multiple pages of images on one page, page insertion to add an image of one page, magnification change to enlarge or reduce images, and arrangement of the same image to multiple pages Repeats, centering to shift the image to the center of the page, binding to provide a binding area by shifting the position of the image, image editing to add characters such as date, number of pages, watermark, logo mark, etc. There are a stamp for adding an image, color adjustment, negative / positive inversion for inverting the brightness of the image, a mirror image for converting the image into a mirror image, and a frame eraser for deleting a frame in the image.

画像処理部17は、画像処理された第1画像に基準位置を示す複数の基準画像を付加する(ステップS3)。基準画像としては、トンボと呼ばれる十字状の画像、連結された複数の格子の画像等を用いることができる。
画像処理部17は、第2画像の主走査方向、副走査方向又はその両方における位置ずれを検出できるように、第1画像の主走査方向、副走査方向又はその両方の位置を異ならせて、複数の基準画像を付加することが好ましい。
The image processing unit 17 adds a plurality of reference images indicating reference positions to the first image that has undergone image processing (step S3). As the reference image, a cross-shaped image called a register mark, images of a plurality of connected grids, or the like can be used.
The image processing unit 17 changes the positions of the first image in the main scanning direction, the sub-scanning direction, or both so that the position shift in the main scanning direction, the sub-scanning direction, or both of the second image can be detected. It is preferable to add a plurality of reference images.

画像形成部18は、画像処理された第1画像の各画素の階調値に応じて、用紙上に画像を形成する(ステップS4)。
画像が形成された用紙は、搬送ユニット40により画像読取装置30へ搬送される。画像読取装置30では、画像読取部31が用紙上の画像を読み取って、第1画像と解像度が異なる第2画像を生成する(ステップS5)。生成された第2画像は、画像形成装置10の記憶部12へ転送され、保存される。
The image forming unit 18 forms an image on the sheet according to the gradation value of each pixel of the first image that has undergone image processing (step S4).
The sheet on which the image is formed is conveyed to the image reading device 30 by the conveyance unit 40. In the image reading device 30, the image reading unit 31 reads an image on a sheet, and generates a second image having a resolution different from that of the first image (step S5). The generated second image is transferred to and stored in the storage unit 12 of the image forming apparatus 10.

画像形成装置10では、属性補正部19が記憶部12から属性情報を取得して補正する(ステップS6)。
図4は、属性補正部19が属性情報を補正する際の処理手順を示している。
図4に示すように、属性補正部19は、画像形成の設定に基づいて、第1画像の生成時の属性ではなく、画像処理部17によって画像処理された後の第1画像の属性を示すように、属性情報を補正する(ステップS11)。
In the image forming apparatus 10, the attribute correction unit 19 acquires and corrects attribute information from the storage unit 12 (step S6).
FIG. 4 shows a processing procedure when the attribute correction unit 19 corrects the attribute information.
As shown in FIG. 4, the attribute correction unit 19 indicates the attribute of the first image after image processing by the image processing unit 17, not the attribute at the time of generating the first image, based on the image formation setting. Thus, the attribute information is corrected (step S11).

例えば、2ページ分の第1画像を縮小して1ページに配置するページ割付の応用設定の場合、属性補正部19は、画像処理と同様に2ページ分の属性情報を縮小して1ページに配置する補正を行う。
1ページ目と2ページ目の間に追加の1ページを差し込むページ差込の応用設定の場合は、属性補正部19は追加の1ページの属性情報を、1ページ目と2ページ目の属性情報の間に差し込む補正を行う。リピートの応用設定の場合は、属性補正部19は1ページ目の属性情報をリピートするページ数分コピーして追加する補正を行う。
また、画像の倍率変更の応用設定の場合、属性補正部19は、画像の拡大又は縮小に合わせて属性情報を拡大又は縮小する補正を行う。
For example, in the case of the page assignment application setting in which the first image for two pages is reduced and arranged on one page, the attribute correction unit 19 reduces the attribute information for two pages to one page in the same manner as the image processing. Correct the placement.
In the case of application setting for page insertion in which an additional page is inserted between the first page and the second page, the attribute correction unit 19 uses the attribute information for the first page and the second page as attribute information for the first page. Make corrections that are inserted between. In the case of repeat application settings, the attribute correction unit 19 performs correction for copying and adding the attribute information of the first page by the number of pages to be repeated.
Further, in the case of an application setting for changing the magnification of an image, the attribute correction unit 19 performs correction for enlarging or reducing the attribute information in accordance with the enlargement or reduction of the image.

センタリング、綴じ代等の画像をシフトする応用設定の場合は、属性補正部19は、画像のシフトに合わせて各属性を示す画素の位置をシフトする補正を行う。
ページ数、日付、スタンプ、ウォーターマーク等の画像を追加する応用設定の場合、属性補正部19は、追加された画像を構成する各画素の属性を、ページ数、日付等であれば文字、スタンプ、ウォーターマーク等であれば図形の属性に変更する補正を行う
ネガポジ反転、鏡像等の画像を編集する応用設定の場合、属性補正部19は画像の編集に合わせて属性を変更する補正を行う。例えば、文字を鏡像化する場合、鏡像化された文字を構成する各画素の属性を文字とし、鏡像化前に文字を構成していた各画素の属性を文字以外の属性に変更する。
In the case of application settings for shifting an image such as centering and binding margin, the attribute correction unit 19 performs correction for shifting the position of the pixel indicating each attribute in accordance with the shift of the image.
In the case of an application setting for adding an image such as the number of pages, date, stamp, watermark, etc., the attribute correction unit 19 sets the attribute of each pixel constituting the added image as a character, stamp, etc. if the number of pages, date, etc. In the case of an application setting for editing an image such as negative / positive inversion or mirror image, the attribute correction unit 19 performs correction for changing the attribute in accordance with the editing of the image. For example, when a character is mirrored, the attribute of each pixel constituting the mirrored character is set as a character, and the attribute of each pixel constituting the character before mirroring is changed to an attribute other than the character.

次に、属性補正部19は、第2画像の解像度と一致するように、属性情報の解像度を変換する(ステップS12)。
一般に、検査や履歴の保存のために読み取られる第2画像の解像度は、画像形成のために生成される第1画像に比べて低解像度であることが多い。このように、第1画像と第2画像の解像度が異なる場合は、第2画像の解像度に合わせて属性情報の解像度を変換し、第2画像と属性情報の解像度を一致させる。これにより、属性情報と第2画像間の各画素の位置及び大きさを一致させることができ、属性情報により第2画像の属性を正確に判別することができる。
Next, the attribute correction unit 19 converts the resolution of the attribute information so as to match the resolution of the second image (step S12).
In general, the resolution of the second image read for examination and history storage is often lower than that of the first image generated for image formation. Thus, when the resolutions of the first image and the second image are different, the resolution of the attribute information is converted in accordance with the resolution of the second image, and the resolution of the second image and the attribute information is matched. Accordingly, the position and size of each pixel between the attribute information and the second image can be matched, and the attribute of the second image can be accurately determined based on the attribute information.

属性補正部19は、第1画像と第2画像の解像度の比率に応じて、複数の画素ごとに各画素の属性を統合して1つの属性に変換する。例えば、第1画像に対する第2画像の解像度の比率が主走査方向及び副走査方向ともに1/4である場合、属性補正部19は4画素ごとに、4画素の各属性を1つの属性に変換する。4画素の各属性のなかに文字の属性が少なくとも1つある場合には統合後の属性を文字とすることにより、後段の圧縮処理による文字の画質劣化を抑えることができ、好ましい。   The attribute correction unit 19 integrates the attributes of each pixel for each of a plurality of pixels and converts them into one attribute according to the resolution ratio of the first image and the second image. For example, when the ratio of the resolution of the second image to the first image is 1/4 in both the main scanning direction and the sub-scanning direction, the attribute correction unit 19 converts each attribute of 4 pixels into one attribute for every 4 pixels. To do. If there is at least one character attribute among the attributes of each of the four pixels, it is preferable that the attribute after integration is a character, so that deterioration in character image quality due to subsequent compression processing can be suppressed.

図5Aは、主走査方向x及び副走査方向yの解像度がともに1200dpiの第1画像G101を示している。第1画像G101は、2つの文字の領域r1及びr2と、1つの写真の領域r3を含む。
図5Bは、図5Aに示す画像領域r4に対応する属性情報の各画素を示している。図5Bにおいて、Tで表す画素は文字の属性の画素であり、Iで表す画素は写真の属性の画素である。属性情報は第1画像G101の各画素の属性を示すように生成されているので、属性情報も第1画像G101と同様に、主走査方向x及び副走査方向yの解像度がともに1200dpiである。
FIG. 5A shows a first image G101 having a resolution of 1200 dpi in both the main scanning direction x and the sub-scanning direction y. The first image G101 includes two character regions r1 and r2 and one photo region r3.
FIG. 5B shows each pixel of the attribute information corresponding to the image region r4 shown in FIG. 5A. In FIG. 5B, a pixel represented by T is a pixel having a character attribute, and a pixel represented by I is a pixel having a photograph attribute. Since the attribute information is generated so as to indicate the attribute of each pixel of the first image G101, the resolution in the main scanning direction x and the sub-scanning direction y is 1200 dpi as in the first image G101.

第2画像の主走査方向x及び副走査方向yのいずれの解像度も600dpiである場合、属性補正部19は、第2画像の解像度に合わせて、属性情報の解像度を1200dpiから600dpiへ変換する。
図5Cは、図5Bに示す属性情報の解像度を、主走査方向x及び副走査方向yともに1200dpiから600dpiに変換して得られた属性情報を示している。
図5B及び図5Cに示すように、1200dpiの解像度において属性がすべて文字である4画素は文字の属性を示す1画素に変換され、属性がすべて写真である4画素は写真の属性を示す1画素に変換されている。また、文字と写真の属性が混在する4画素は、文字の属性を示す1画素に変換されている。
When the resolution of both the main scanning direction x and the sub-scanning direction y of the second image is 600 dpi, the attribute correction unit 19 converts the resolution of the attribute information from 1200 dpi to 600 dpi in accordance with the resolution of the second image.
FIG. 5C shows attribute information obtained by converting the resolution of the attribute information shown in FIG. 5B from 1200 dpi to 600 dpi in both the main scanning direction x and the sub-scanning direction y.
As shown in FIG. 5B and FIG. 5C, four pixels whose attributes are all characters at a resolution of 1200 dpi are converted into one pixel indicating a character attribute, and four pixels whose attributes are all photographs are one pixel indicating a photograph attribute Has been converted. In addition, four pixels in which character and photo attributes are mixed are converted into one pixel indicating character attributes.

次に、属性補正部19は、第2画像から複数の基準画像を検出し、第1画像中の基準画像の座標位置と第2画像から検出した基準画像の座標位置を元に属性情報を補正し、第2画像中の各属性の画像領域と属性情報が示す各属性の画像領域の位置を一致させる。
第2画像は、搬送時の用紙の傾斜、画像形成部18による画像形成位置のずれ等によって第1画像よりも傾斜していることがある。また、第2画像は、定着処理による用紙の収縮等によって画像の大きさが第1画像と異なることもある。このような傾斜、画像の大きさの変動等により第1画像と第2画像間に位置ずれが生じると、属性情報が示す各属性の画像領域の位置と第2画像中の各属性の画像領域の位置が一致せず、属性情報によって第2画像の属性を正確に判別することが難しくなる。
Next, the attribute correction unit 19 detects a plurality of reference images from the second image, and corrects the attribute information based on the coordinate position of the reference image in the first image and the coordinate position of the reference image detected from the second image. Then, the position of the image area of each attribute in the second image is matched with the position of the image area of each attribute indicated by the attribute information.
The second image may be inclined more than the first image due to the inclination of the paper during conveyance, the displacement of the image forming position by the image forming unit 18, and the like. In addition, the size of the second image may be different from that of the first image due to shrinkage of the paper due to the fixing process. When positional deviation occurs between the first image and the second image due to such inclination, image size variation, etc., the position of the image area of each attribute indicated by the attribute information and the image area of each attribute in the second image Are not matched, and it is difficult to accurately determine the attribute of the second image based on the attribute information.

図6Aは、「The quick」の文字が描画された第1画像とともに生成された属性情報K1を示している。属性情報K1中の斜線部分は、第1画像において属性が文字の画素を表している。
第1画像の形成時に用紙が縮小すると、用紙上の画像を読み取って生成された第2画像G2中の文字は、第1画像よりもサイズがわずかに小さくなる。第2画像G2と属性情報K1を照合すると、図6Aに示すように、第2画像G2中の文字の位置が、属性情報K1が示す文字の位置とずれてしまう。位置ずれが生じた状態で属性情報K1により第2画像G2から「The quick」の文字の領域を分離しようとすると、図6Bに示すように文字のすべてを文字の領域G21として分離しきれず、文字の一部が文字以外の背景の領域G22として分離されてしまう。
FIG. 6A shows attribute information K1 generated together with the first image in which the characters “The quick” are drawn. The hatched portion in the attribute information K1 represents a pixel whose attribute is a character in the first image.
When the paper is reduced when the first image is formed, the characters in the second image G2 generated by reading the image on the paper are slightly smaller in size than the first image. When the second image G2 and the attribute information K1 are collated, as shown in FIG. 6A, the position of the character in the second image G2 is shifted from the position of the character indicated by the attribute information K1. If the region of the character “The quick” is to be separated from the second image G2 by the attribute information K1 in the state where the positional deviation has occurred, not all the characters can be separated as the character region G21 as shown in FIG. Is separated as a background region G22 other than characters.

そこで、属性補正部19は属性情報を補正することにより、属性情報が示す各属性の画像領域の位置と、第2画像中の各属性の画像領域の位置合わせを行う。
図4に示すように、属性補正部19は、第2画像中の複数の基準画像を検出し、検出した各基準画像の座標位置を算出する(ステップS13)。そして、属性補正部19は、算出した各基準画像の座標位置から補正パラメーターを算出し(ステップS14)、算出した補正パラメーターを用いて属性情報の各画素の移動、回転又はその両方を実施する(ステップS15)。
Therefore, the attribute correction unit 19 corrects the attribute information to align the position of the image area of each attribute indicated by the attribute information with the position of the image area of each attribute in the second image.
As shown in FIG. 4, the attribute correction unit 19 detects a plurality of reference images in the second image, and calculates the coordinate position of each detected reference image (step S13). Then, the attribute correction unit 19 calculates a correction parameter from the calculated coordinate position of each reference image (step S14), and uses the calculated correction parameter to move and / or rotate each pixel of the attribute information ( Step S15).

図7は、第1画像G101と第2画像G201を示している。
図7に示すように、第1画像G101には3つのトンボが基準画像として付加されている。各トンボは主走査方向及び副走査方向の位置が異なっている。図7において、第1画像G101中の各トンボの座標位置をそれぞれ(x0、y0)、(x1、y0)及び(x0、y1)と表し、第2画像G201中の各トンボの座標位置をそれぞれ(x0、y0)、(x1、y0)及び(x0、y1)と表している。また、第1画像G101及び第2画像G201の始点の座標位置をそれぞれ(xs、ys)及び(xt、yt)と表している。
FIG. 7 shows a first image G101 and a second image G201.
As shown in FIG. 7, three registration marks are added to the first image G101 as reference images. Each registration mark has a different position in the main scanning direction and the sub-scanning direction. In FIG. 7, the coordinate positions of the registration marks in the first image G101 are represented as (x0, y0), (x1, y0), and (x0, y1), respectively, and the coordinate positions of the registration marks in the second image G201 are respectively shown. (X0 * , y0 * ), (x1 * , y0 * ) and (x0 * , y1 * ). In addition, the coordinate positions of the start points of the first image G101 and the second image G201 are represented as (xs, ys) and (xt, yt), respectively.

図7において、第1画像G101及び第2画像G201の主走査方向xの幅をそれぞれa及びbと表し、副走査方向yの幅をそれぞれc及びdと表し、第1画像G101に対する第2画像G201の傾斜角度をθと表している。
補正前及び補正後の属性情報の各画素の座標位置をそれぞれ(X、Y)及び(X、Y)と表すと、下記式(1)及び(2)に示すように属性情報の各画素の移動、回転又はその両方を実施して、各画素の座標位置(X、Y)を座標位置(X、Y)に変換することにより、属性情報と第2画像の各属性の画像領域の位置を一致させることができる。
X={(b/a)・(X-xs)}・cosθ-{(d/c)・(Y-ys)sinθ+xt ・・・(1)
Y={(b/a)・(X-xs)}・sinθ-{(d/c)・(Y-ys)cosθ+yt ・・・(2)
In FIG. 7, the widths of the first image G101 and the second image G201 in the main scanning direction x are represented as a and b, the widths in the sub-scanning direction y are represented as c and d, respectively, and the second image corresponding to the first image G101. The inclination angle of G201 is represented by θ.
When the coordinate position of each pixel in the attribute information before and after correction is expressed as (X, Y) and (X * , Y * ), respectively, each attribute information is expressed as shown in the following equations (1) and (2). By performing pixel movement, rotation, or both, and converting the coordinate position (X, Y) of each pixel into the coordinate position (X * , Y * ), the attribute information and the image of each attribute of the second image The positions of the areas can be matched.
X * = {(b / a) ・ (X-xs)} ・ cosθ-{(d / c) ・ (Y-ys) sinθ + xt (1)
Y * = {(b / a) ・ (X-xs)} ・ sinθ-{(d / c) ・ (Y-ys) cosθ + yt (2)

上記式(1)及び(2)において、b/a、d/c、θ、xs、ys、xt及びytは、変換後の座標位置(X、Y)を得るために必要な補正パラメーターである。属性補正部19は、これら補正パラメーターを、第1画像G101及び第2画像G201のそれぞれの基準画像の座標位置x0、x1、y0、y1、x0、x1、y0及びy1により算出することができる。 In the above formulas (1) and (2), b / a, d / c, θ, xs, ys, xt, and yt are correction parameters necessary for obtaining the coordinate position (X * , Y * ) after conversion. It is. The attribute correction unit 19 calculates these correction parameters based on the coordinate positions x0, x1, y0, y1, x0 * , x1 * , y0 *, and y1 * of the reference images of the first image G101 and the second image G201. be able to.

具体的には、下記連立方程式に各基準画像の座標位置x0、x1、y0、y1、x0、x1、y0及びy1を代入して解を求めることにより、補正パラメーターを求めることができる。
b/a=√{(x1*-x0*)2+(y1*-y0*)2}/(x1-x0)
d/c=√{(x1*-x0*)2+(y1*-y0*)2}/(y1-y0)
tanθ=(y1*-y0*)/(x1*-x0*)
x0={(b/a)・(x0-xs)}・cosθ-{(d/c)・(y0-ys)sinθ+xt
y0={(b/a)・(x0-xs)}・sinθ-{(d/c)・(y0-ys)cosθ+yt
x1={(b/a)・(x1-xs)}・cosθ-{(d/c)・(y1-ys)sinθ+xt
y1={(b/a)・(x1-xs)}・sinθ-{(d/c)・(y1-ys)cosθ+yt
Specifically, the correction parameter can be obtained by substituting the coordinate positions x0, x1, y0, y1, x0 * , x1 * , y0 *, and y1 * of each reference image into the following simultaneous equations. it can.
b / a = √ {(x1 * -x0 * ) 2 + (y1 * -y0 * ) 2 } / (x1-x0)
d / c = √ {(x1 * -x0 * ) 2 + (y1 * -y0 * ) 2 } / (y1-y0)
tanθ = (y1 * -y0 * ) / (x1 * -x0 * )
x0 * = {(b / a) ・ (x0-xs)} ・ cosθ-{(d / c) ・ (y0-ys) sinθ + xt
y0 * = {(b / a) ・ (x0-xs)} ・ sinθ-{(d / c) ・ (y0-ys) cosθ + yt
x1 * = {(b / a) ・ (x1-xs)} ・ cosθ-{(d / c) ・ (y1-ys) sinθ + xt
y1 * = {(b / a) ・ (x1-xs)} ・ sinθ-{(d / c) ・ (y1-ys) cosθ + yt

そして、属性補正部19は、算出したb/a、d/c、θ、xs、ys、xt及びytの補正パラメーターを、上記式(1)及び(2)に入力することにより、属性情報の各画素の移動、回転又はその両方を実施し、各画素の座標位置(X、Y)を座標位置(X、Y)に変換する。これにより、第2画像と属性情報の各属性の画像領域が一致するように、第2画像の位置ずれに合わせて、属性情報の各画素の位置をずらすことができる。 Then, the attribute correction unit 19 inputs the calculated b / a, d / c, θ, xs, ys, xt, and yt correction parameters into the above formulas (1) and (2), so that the attribute information Each pixel is moved and / or rotated, and the coordinate position (X, Y) of each pixel is converted to the coordinate position (X * , Y * ). Thereby, the position of each pixel of the attribute information can be shifted in accordance with the positional shift of the second image so that the image area of each attribute of the attribute information matches the second image.

なお、トンボではなく、連結された複数の格子の画像を基準画像として用いることにより、スキュー、ボウ等と呼ばれる位置ずれが生じた第2画像に合わせて、属性情報を精度良く補正することもできる。
図8A及び図8Bはそれぞれ、連結された複数の格子の画像が付加された第1画像G102及び第2画像G202の例を示している。
格子の画像を用いた場合、格子の各頂点は主走査方向及び副走査方向のいずれかの座標位置が異なるため、補正パラメーターの算出に各頂点の座標位置を用いることができる。図8Aにおいて、第1画像G102中の左上に位置する格子の頂点から順に、各格子の頂点の主走査方向xの座標位置をx0、x1…xi…xmと表し、副走査方向yの座標位置をy0、y1…ynと表している。同様に、図8Bにおいて、第2画像G202中の左上に位置する格子の頂点から順に、各格子の頂点の主走査方向xの座標位置をx0、x1…xi…xmと表し、副走査方向yの座標位置をy0、y1…ynと表している。なお、図8A及び図8Bにおいては一部の頂点の座標位置の記載を省略している。
In addition, by using an image of a plurality of connected grids as a reference image instead of a registration mark, the attribute information can be accurately corrected in accordance with the second image in which the positional deviation called skew, bow or the like has occurred. .
8A and 8B show examples of the first image G102 and the second image G202 to which images of a plurality of connected grids are added, respectively.
When a lattice image is used, each vertex of the lattice has a different coordinate position in either the main scanning direction or the sub-scanning direction. Therefore, the coordinate position of each vertex can be used to calculate the correction parameter. In FIG. 8A, in order from the vertex of the lattice located at the upper left in the first image G102, the coordinate positions of the vertices of each lattice in the main scanning direction x are represented as x0, x1. Are represented as y0, y1... Yn. Similarly, in FIG. 8B, the coordinate positions in the main scanning direction x of the vertices of each grid are expressed as x0 * , x1 * ... Xi * ... Xm * in order from the top of the grid positioned at the upper left in the second image G202. The coordinate position in the sub-scanning direction y is expressed as y0 * , y1 * ... Yn * . In FIG. 8A and FIG. 8B, description of the coordinate positions of some vertices is omitted.

属性補正部19は、いずれの頂点の座標位置を用いても補正パラメーターを算出することができるが、変換後の座標位置(X、Y)を算出する各画素の近傍に位置する少なくとも3つの頂点の座標位置を選択して補正パラメーターの算出に用いることにより、第2画像の位置ずれに合わせて精度良く属性情報の各画素の位置をずらすことができる。なお、各画素の近傍に位置する頂点とは、各画素との距離が最も近い頂点から順に選択した頂点をいう。 The attribute correction unit 19 can calculate the correction parameter using any of the coordinate positions of the vertices, but at least 3 located in the vicinity of each pixel for calculating the converted coordinate position (X * , Y * ). By selecting the coordinate position of one vertex and using it for calculating the correction parameter, the position of each pixel of the attribute information can be accurately shifted in accordance with the positional shift of the second image. In addition, the vertex located in the vicinity of each pixel means the vertex selected in an order from the vertex with the shortest distance with each pixel.

以上のようにして属性情報を補正すると、図3に示すように、履歴生成部20が記憶部12から第2画像を取得し、属性補正部19から属性情報を取得して、履歴用の画像を生成する (ステップS7)。
図9は、履歴生成部20が履歴用の画像を生成する際の処理手順を示している。
図9に示すように、履歴生成部20は、属性補正部19から取得した属性情報が示す文字の属性を拡張する(ステップS21)。
具体的には、履歴生成部20は、属性情報において属性が文字の領域から一定範囲内にある領域の属性を文字に変更することにより属性情報が示す文字の属性の領域を拡張することができる。拡張する一定領域を、第1画像と第2画像の解像度の比率に応じて決定することができるが、一定値としてもよいし、用紙の下地領域の階調値と文字の領域の階調値との差に応じて決定してもよい。
When the attribute information is corrected as described above, the history generation unit 20 acquires the second image from the storage unit 12 and acquires the attribute information from the attribute correction unit 19 as shown in FIG. Is generated (step S7).
FIG. 9 shows a processing procedure when the history generation unit 20 generates an image for history.
As illustrated in FIG. 9, the history generation unit 20 expands the character attribute indicated by the attribute information acquired from the attribute correction unit 19 (step S21).
Specifically, the history generation unit 20 can expand the character attribute region indicated by the attribute information by changing the attribute of the region in the attribute information where the attribute is within a certain range from the character region. . The constant area to be expanded can be determined according to the ratio of the resolution of the first image and the second image, but may be a constant value, or the gradation value of the background area of the paper and the gradation value of the character area It may be determined according to the difference.

例えば、第1画像と第2画像の解像度の比率1200dpi/600dpiに応じて拡張する場合、履歴生成部20は、図10に示すように属性補正部19により補正された属性情報K2において属性が文字の領域を1200/600倍した領域の属性をすべて文字に変更することにより、属性情報K2が示す文字の属性の領域を拡張する。
このようにして文字の属性が拡張された属性情報K3と第2画像G2を照合し、属性が文字の領域を分離すると、解像度変換時の属性の統合により文字の属性が反映されなかった画素も文字の領域に分離することができる。その結果、図10に示すように背景の領域G24に文字を残すことなく、第2画像G2中の文字のすべてを文字の領域G23として正確に分離することができる。
For example, when expanding according to the resolution ratio 1200 dpi / 600 dpi of the first image and the second image, the history generation unit 20 uses the attribute information K2 corrected by the attribute correction unit 19 as shown in FIG. The attribute of the character indicated by the attribute information K2 is expanded by changing all the attributes of the region obtained by multiplying the region by 1200/600 to characters.
When the attribute information K3 in which the character attributes are expanded in this way and the second image G2 are collated and the character area is separated, the pixels in which the character attributes are not reflected by the integration of the attributes at the time of resolution conversion are also obtained. Can be separated into character areas. As a result, as shown in FIG. 10, all the characters in the second image G2 can be accurately separated as the character region G23 without leaving the characters in the background region G24.

なお、属性補正部19は属性を縮小することもできる。拡張する場合と同様に、縮小する範囲を、第1画像と第2画像の解像度の比率に応じて決定することもできるし、一定値とすることもできるし、用紙の下地領域の階調値と文字の領域の階調値との差に応じて決定することもできる。
例えば、第1画像と第2画像の解像度の比率600dpi/1200dpiに応じて縮小する場合、属性補正部19は、写真の属性に応じて高圧縮される画像領域を減らすため、写真の属性の領域を600/1200倍し、縮小することができる。
Note that the attribute correction unit 19 can reduce the attribute. As in the case of expansion, the range to be reduced can be determined according to the ratio of the resolution of the first image and the second image, can be a constant value, or the gradation value of the background area of the paper It can also be determined according to the difference between the tone value of the character area.
For example, when reducing according to the resolution ratio 600 dpi / 1200 dpi of the first image and the second image, the attribute correction unit 19 reduces the image area that is highly compressed according to the attribute of the photograph, Can be reduced by 600/1200 times.

履歴生成部20は、属性情報により第2画像中の属性が文字の領域を判別する。汚れ等の画像を文字の領域から除外するため、履歴生成部20は第2画像の下地領域を検出し、属性情報により判別した文字の領域のうち、下地領域の階調値より階調値が大きい文字の領域を第2画像から分離する(ステップS22)。履歴生成部20は、分離した文字の領域に外接する矩形領域を文字の画像レイヤーとし、文字の画像レイヤーにおいて文字の周辺に背景の画像があるか、下地色が設定されている場合、文字周辺の領域を背景の画像か下地色で塗りつぶす。   The history generation unit 20 determines an area in which the attribute in the second image is a character based on the attribute information. In order to exclude an image such as a stain from the character area, the history generation unit 20 detects the background area of the second image, and among the character areas determined by the attribute information, the gradation value is higher than the gradation value of the background area. The large character region is separated from the second image (step S22). The history generation unit 20 uses a rectangular area circumscribing the separated character area as a character image layer, and if there is a background image around the character in the character image layer or a background color is set, The area is filled with the background image or the background color.

次に、履歴生成部20は、属性情報が示す属性が文字以外の領域を背景の画像レイヤーとして、第2画像から分離する(ステップS23)。下地色が設定されている場合は、履歴生成部20は下地の画像成分を下地レイヤーとして背景の画像レイヤーから分離する。   Next, the history generation unit 20 separates the region indicated by the attribute information from the second image as a background image layer in a region other than the character (step S23). When the background color is set, the history generation unit 20 separates the background image component from the background image layer as the background layer.

履歴生成部20は、文字の画像レイヤーに対して第1圧縮処理を実施し(ステップS24)、背景の画像レイヤー及び下地レイヤーに対して第2圧縮処理を実施する(ステップS25)。
第1圧縮処理の処理条件は、第2圧縮処理よりも圧縮処理による画質の劣化が小さい処理条件である。例えば、第1圧縮処理の圧縮率を、第2圧縮処理の圧縮率よりも小さくすることができる。また、第1圧縮処理の圧縮形式を2値画像に適した可逆式のPNG、MMR等とし、第2圧縮処理の圧縮形式を非可逆式のJPEG等とすることができる。なかでも、文字用の圧縮形式は、透明処理が可能なPNG等が好ましい。
The history generation unit 20 performs a first compression process on the character image layer (step S24), and performs a second compression process on the background image layer and the background layer (step S25).
The processing conditions of the first compression processing are processing conditions in which image quality deterioration due to the compression processing is smaller than that of the second compression processing. For example, the compression rate of the first compression process can be made smaller than the compression rate of the second compression process. Also, the compression format of the first compression process can be reversible PNG, MMR, etc. suitable for binary images, and the compression format of the second compression process can be irreversible JPEG or the like. Among these, PNG or the like capable of transparent processing is preferable as the compression format for characters.

履歴生成部20は、圧縮処理の前に、階調処理、フィルター処理、色変換処理及び解像度変換処理のいずれか1つ以上の画像処理を施すことができる。さらなる高圧縮化を可能とし、圧縮処理後も高画質な画像が得られるように、履歴生成部20は、施す画像処理の種類又は処理条件を、文字の画像レイヤーか文字以外の背景の画像レイヤーかによって異ならせることができる。   The history generation unit 20 can perform any one or more image processing of gradation processing, filter processing, color conversion processing, and resolution conversion processing before the compression processing. In order to enable further high compression and obtain a high-quality image even after the compression processing, the history generation unit 20 determines the type or processing condition of the image processing to be performed as a character image layer or a background image layer other than characters. It can be made different.

例えば、階調処理を施す場合、文字の画像レイヤーに対しては各画素の階調値を2値化する階調処理を施すことにより、圧縮処理後も鮮鋭な文字を再現することができる。また、背景の画像レイヤーに対しては、画像形成後の画像の濃度特性が目標の濃度特性に一致するように各画素の階調値を補正する階調処理を施すことにより、写真等の階調の再現性を高めることができる。
同様に、圧縮処理後も鮮鋭な文字を再現するため、文字の画像レイヤーに画像を鮮鋭化するフィルター処理を施すことができる。写真等の階調の再現性を高め、さらに高圧縮化を図るため、背景の画像レイヤーに移動平均化フィルターを用いたフィルター処理を施してもよい。
また、文字の画像レイヤーに、複数色を単色に変換して色数を減らす色変換処理を施すことによっても、鮮鋭な文字を再現することができる。
For example, when gradation processing is performed, a sharp character can be reproduced even after compression processing by performing gradation processing for binarizing the gradation value of each pixel for a character image layer. In addition, the background image layer is subjected to gradation processing for correcting the gradation value of each pixel so that the density characteristic of the image after the image formation matches the target density characteristic, so that the level of a photograph or the like is adjusted. The tone reproducibility can be improved.
Similarly, in order to reproduce a sharp character even after the compression process, a filter process for sharpening the image can be applied to the character image layer. In order to improve the reproducibility of gradation of a photograph or the like and achieve higher compression, the background image layer may be subjected to a filtering process using a moving average filter.
A sharp character can also be reproduced by applying a color conversion process for converting a plurality of colors to a single color to reduce the number of colors on the image layer of the character.

履歴生成部20は、圧縮処理後の文字の画像レイヤー、背景の画像レイヤー及び下地レイヤーを統合し、1ページのコンパクトPDF形式の画像を生成する(ステップS26)。コンパクトPDF形式は、上述のように、1ページの画像を複数の画像レイヤーに分離してそれぞれに異なる圧縮処理を施した後、1つのPDFファイルに統合する形式をいう。   The history generation unit 20 integrates the character image layer, the background image layer, and the background layer after compression processing, and generates a one-page compact PDF format image (step S26). As described above, the compact PDF format is a format in which an image of one page is separated into a plurality of image layers, subjected to different compression processes, and then integrated into one PDF file.

コンパクトPDF形式は、レイヤーごとに異なる圧縮処理を施すことができるため、通常のPDF形式に比べて高圧縮及び高画質を実現できる。
例えば、通常のPDF形式の画像を生成する場合、図11Aに示すように、文字、図形、写真等の画像レイヤーR1と下地レイヤーR0に分離される。レイヤー単位で圧縮処理を施すため、文字、図形、写真等の属性にかかわらず共通の圧縮処理を施すことになる。JPEGにより圧縮処理する場合、階調変化が緩やかな写真の属性の画像は圧縮処理による画質の劣化が小さいが、階調変換が急激な文字の属性の画像の場合は画質劣化が大きく、文字の識別が難しくなる。
一方、コンパクトPDF形式の場合、図11Bに示すように画像レイヤーがさらに文字の画像レイヤーR21及びR22と背景の画像レイヤーR1に分離される。レイヤー単位で圧縮処理が可能であるため、文字の画像レイヤーには画質の劣化が小さく文字の再現に適した圧縮処理を施し、背景の画像レイヤーは圧縮率が高く色や階調の再現性に優れたJPEGで圧縮することができ、高圧縮及び高画質の両方を実現できる。
Since the compact PDF format can be subjected to different compression processing for each layer, higher compression and higher image quality can be realized compared to the normal PDF format.
For example, when generating an image in a normal PDF format, as shown in FIG. 11A, it is separated into an image layer R1 and a base layer R0 such as characters, figures and photographs. Since compression processing is performed in units of layers, common compression processing is performed regardless of attributes such as characters, graphics, and photographs. When compression processing is performed using JPEG, a picture attribute with a gradual gradation change has little deterioration in image quality due to compression processing, but a picture attribute with a sharp gradation conversion has a large deterioration in image quality. Identification becomes difficult.
On the other hand, in the case of the compact PDF format, as shown in FIG. 11B, the image layer is further divided into character image layers R21 and R22 and a background image layer R1. Since compression processing is possible in units of layers, the image layer for text is subjected to compression processing that is suitable for character reproduction with little degradation in image quality, and the background image layer has a high compression ratio for color and gradation reproducibility. It can be compressed with excellent JPEG, and both high compression and high image quality can be realized.

全ページの画像の形成が終了していない場合は(ステップS27;N)、図3に示すステップS1の処理へ戻り、次のページについて上述した処理を繰り返す。そして、全ページの画像の形成が終了した場合は(ステップS27;Y)、各ページのコンパクトPDF形式の画像を統合することにより、1ジョブ分の履歴用の画像を生成して記憶部12に保存する(ステップS28)。   If image formation for all pages has not been completed (step S27; N), the process returns to step S1 shown in FIG. 3, and the above-described process is repeated for the next page. When the image formation for all pages has been completed (step S27; Y), the images in the history of one job are generated by integrating the images in the compact PDF format of each page and stored in the storage unit 12. Save (step S28).

以上のように、本実施の形態の画像形成システム1は、ビットマップ形式の第1画像を生成し、当該第1画像の各画素の属性を示す属性情報を生成する画像生成部16と、第1画像に基づいて用紙上に形成された画像を読み取って、第1画像と解像度が異なるビットマップ形式の第2画像を生成する画像読取部31と、第2画像の解像度と一致するように、属性情報の解像度を変換する属性補正部19と、を備える。   As described above, the image forming system 1 according to the present embodiment generates the first image in the bitmap format, and generates the attribute information indicating the attribute of each pixel of the first image, and the first An image reading unit 31 that reads an image formed on a sheet based on one image and generates a second image in a bitmap format having a resolution different from that of the first image, and matches the resolution of the second image, An attribute correction unit 19 that converts the resolution of the attribute information.

これにより、第1画像の解像度で生成された属性情報を、第2画像の解像度に一致させることができる。属性情報と第2画像の各画素の位置及び大きさを一致させることができるため、第2画像の属性を属性情報により精度良く判別することができる。   Thereby, the attribute information generated at the resolution of the first image can be matched with the resolution of the second image. Since the attribute information and the position and size of each pixel of the second image can be matched, the attribute of the second image can be determined with high accuracy from the attribute information.

上記実施の形態は本発明の好適な一例であり、これに限定されない。本発明の主旨を逸脱しない範囲で適宜変更可能である。
例えば、画像生成部16が、属性情報を通信部15により外部装置50に送信して、外部装置50の記憶部51に保存し、履歴生成部20が当該記憶部51から属性情報を取得することもできる。同様にして、履歴生成部20が生成した履歴用の画像の保存先を外部装置50の記憶部51とすることもできる。
The above embodiment is a preferred example of the present invention, and the present invention is not limited to this. Modifications can be made as appropriate without departing from the spirit of the present invention.
For example, the image generation unit 16 transmits the attribute information to the external device 50 through the communication unit 15 and stores the attribute information in the storage unit 51 of the external device 50, and the history generation unit 20 acquires the attribute information from the storage unit 51. You can also. Similarly, the storage destination of the history image generated by the history generation unit 20 may be the storage unit 51 of the external device 50.

上記実施の形態においては、画像形成装置10が属性補正部19及び履歴生成部20を備え、画像読取装置30から第2画像を取得して履歴用の画像を生成する例を説明したが、配置位置は特に限定されず、画像読取装置30が属性補正部19及び履歴生成部20を備えて履歴用の画像を生成するようにしてもよい。   In the above embodiment, the image forming apparatus 10 includes the attribute correction unit 19 and the history generation unit 20, and the second image is acquired from the image reading device 30 to generate the history image. The position is not particularly limited, and the image reading device 30 may include the attribute correction unit 19 and the history generation unit 20 to generate a history image.

また、上記実施の形態においては、用紙への画像の形成後に連続して当該用紙から画像の読み取りを行うため、用紙の搬送経路上に配置された画像読取部31により第2画像を生成していたが、第2画像の生成に画像読取部161を利用することもできる。この場合、ジョブの実行後にユーザーによりセットされた複数ページの用紙を画像読取部161が読み取り、履歴生成部20が1ジョブの履歴用の画像をまとめて生成すればよい。1ジョブ分の第1画像の属性情報を記憶部12か外部装置50の記憶部51に保存すれば、当該属性情報を1ジョブの履歴用の画像の生成に利用することができる。   In the above embodiment, since the image is continuously read from the paper after the image is formed on the paper, the second image is generated by the image reading unit 31 arranged on the paper transport path. However, the image reading unit 161 can also be used to generate the second image. In this case, the image reading unit 161 may read a plurality of pages of paper set by the user after the job is executed, and the history generation unit 20 may generate a history image for one job collectively. If the attribute information of the first image for one job is stored in the storage unit 12 or the storage unit 51 of the external device 50, the attribute information can be used to generate an image for a history of one job.

また、属性補正部19及び履歴生成部20が上記処理手順を実行する際に読み込むプログラムを制御部11に読み込ませて、上記処理手順を制御部11により実行させることもできる。画像形成システムに限らず、汎用のPC等のコンピューターに当該プログラムを読み込ませて、上記処理手順を実行させることもできる。
プログラムのコンピューター読み取り可能な媒体としては、ROM、フラッシュメモリー等の不揮発性メモリー、CD-ROM等の可搬型記録媒体を適用することが可能である。また、プログラムのデータを、通信回線を介して提供する媒体として、キャリアウエーブ(搬送波)も適用される。
In addition, the control unit 11 can cause the control unit 11 to read a program that is read when the attribute correction unit 19 and the history generation unit 20 execute the processing procedure. Not only the image forming system but also a computer such as a general-purpose PC can read the program and execute the processing procedure.
As a computer-readable medium for the program, a non-volatile memory such as a ROM and a flash memory, and a portable recording medium such as a CD-ROM can be applied. A carrier wave is also used as a medium for providing program data via a communication line.

1 画像形成システム
10 画像形成装置
11 制御部
12 記憶部
13 操作部
16 画像生成部
17 画像処理部
18 画像形成部
19 属性補正部
20 履歴生成部
30 画像読取装置
31 画像読取部
50 外部装置
51 記憶部
DESCRIPTION OF SYMBOLS 1 Image forming system 10 Image forming apparatus 11 Control part 12 Storage part 13 Operation part 16 Image generation part 17 Image processing part 18 Image formation part 19 Attribute correction part 20 History generation part 30 Image reading apparatus 31 Image reading part 50 External apparatus 51 Storage Part

Claims (8)

ビットマップ形式の第1画像を生成し、当該第1画像の各画素の属性を示す属性情報を生成する画像生成部と、
前記第1画像に基づいて用紙上に形成された画像を読み取って、前記第1画像と解像度が異なるビットマップ形式の第2画像を生成する画像読取部と、
前記第2画像の解像度と一致するように、前記属性情報の解像度を変換する属性補正部と、
を備えることを特徴とする画像処理装置。
An image generation unit that generates a first image in a bitmap format and generates attribute information indicating an attribute of each pixel of the first image;
An image reading unit that reads an image formed on a sheet based on the first image and generates a second image in a bitmap format having a resolution different from that of the first image;
An attribute correction unit that converts the resolution of the attribute information so as to match the resolution of the second image;
An image processing apparatus comprising:
前記属性補正部は、前記第2画像中の各属性の画像領域と前記属性情報が示す各属性の画像領域の位置が一致するように、前記属性情報の各画素の移動、回転又はその両方を実施することを特徴とする請求項1に記載の画像処理装置。   The attribute correction unit performs movement, rotation, or both of each pixel of the attribute information so that the position of the image area of each attribute in the second image matches the position of the image area of each attribute indicated by the attribute information. The image processing apparatus according to claim 1, wherein the image processing apparatus is implemented. 前記第1画像に、基準位置を示す複数の基準画像を付加する画像処理部を備え、
前記画像読取部は、前記複数の基準画像が付加された第1画像に基づいて用紙上に形成された画像を読み取って、前記第2画像を生成し、
前記属性補正部は、前記第2画像から前記複数の基準画像を検出し、前記第1画像及び前記第2画像のそれぞれにおける前記複数の基準画像の座標位置を用いて補正パラメーターを算出し、当該補正パラメーターを用いて前記属性情報の各画素の移動、回転又はその両方を実施することを特徴とする請求項2に記載の画像処理装置。
An image processing unit for adding a plurality of reference images indicating reference positions to the first image;
The image reading unit reads an image formed on a sheet based on the first image to which the plurality of reference images are added, and generates the second image;
The attribute correction unit detects the plurality of reference images from the second image, calculates a correction parameter using coordinate positions of the plurality of reference images in each of the first image and the second image, and The image processing apparatus according to claim 2, wherein each pixel of the attribute information is moved and / or rotated using a correction parameter.
前記画像処理部は、前記複数の基準画像の主走査方向、副走査方向又はその両方の位置をそれぞれ異ならせて前記第1画像に付加し、
前記属性補正部は、前記複数の基準画像のうち、前記属性情報の各画素の近傍に位置する少なくとも3つの基準画像の座標位置を用いて、前記補正パラメーターを算出することを特徴とする請求項3に記載の画像処理装置。
The image processing unit adds the plurality of reference images to the first image with different positions in the main scanning direction, the sub-scanning direction, or both,
The attribute correction unit calculates the correction parameter using coordinate positions of at least three reference images located near each pixel of the attribute information among the plurality of reference images. The image processing apparatus according to 3.
前記属性補正部は、前記第1画像と前記第2画像の解像度の比率に応じて、前記属性情報が示すいずれかの属性を拡張又は縮小することを特徴とする請求項1〜4のいずれか一項に記載の画像処理装置。   The attribute correction unit expands or reduces any attribute indicated by the attribute information according to a resolution ratio of the first image and the second image. The image processing apparatus according to one item. 前記第2画像を前記属性情報が示す属性ごとの画像領域に分離し、分離した各画像領域にその属性に応じた処理条件の圧縮処理を施した後、統合して履歴用の画像を生成する履歴生成部を備えることを特徴とする請求項1〜5のいずれか一項に記載の画像処理装置。   The second image is separated into image areas for each attribute indicated by the attribute information, and each separated image area is subjected to compression processing under a processing condition according to the attribute, and then integrated to generate a history image. The image processing apparatus according to claim 1, further comprising a history generation unit. 前記履歴生成部は、前記第2画像の下地領域を検出し、当該下地領域の階調値よりも階調値が大きく、かつ前記属性情報が文字の属性を示す領域を文字の領域として前記第2画像から分離し、前記第2画像から分離した各画像領域が文字の領域か文字以外の領域かによって異なる処理条件の圧縮処理を施して、前記履歴用の画像を生成することを特徴とする請求項6に記載の画像処理装置。   The history generation unit detects a background area of the second image, and uses the area where the gradation value is larger than the gradation value of the background area and the attribute information indicates a character attribute as the character area. The history image is generated by performing compression processing under different processing conditions depending on whether each image area separated from the second image is a character area or a non-character area. The image processing apparatus according to claim 6. (a)ビットマップ形式の第1画像を生成し、当該第1画像の各画素の属性を示す属性情報を生成するステップと、
(b)前記第1画像に基づいて用紙上に形成された画像を読み取って、前記第1画像と解像度が異なるビットマップ形式の第2画像を生成するステップと、
(c)前記第2画像の解像度と一致するように、前記属性情報の解像度を変換するステップと、
を含む画像処理方法。
(A) generating a bitmap first image and generating attribute information indicating an attribute of each pixel of the first image;
(B) reading an image formed on a sheet based on the first image and generating a second image in a bitmap format having a resolution different from that of the first image;
(C) converting the resolution of the attribute information to match the resolution of the second image;
An image processing method including:
JP2014208745A 2014-10-10 2014-10-10 Image processing apparatus and image processing method Active JP6539976B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2014208745A JP6539976B2 (en) 2014-10-10 2014-10-10 Image processing apparatus and image processing method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2014208745A JP6539976B2 (en) 2014-10-10 2014-10-10 Image processing apparatus and image processing method

Publications (2)

Publication Number Publication Date
JP2016081102A true JP2016081102A (en) 2016-05-16
JP6539976B2 JP6539976B2 (en) 2019-07-10

Family

ID=55958550

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2014208745A Active JP6539976B2 (en) 2014-10-10 2014-10-10 Image processing apparatus and image processing method

Country Status (1)

Country Link
JP (1) JP6539976B2 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2019091981A (en) * 2017-11-13 2019-06-13 コニカミノルタ株式会社 Image forming apparatus, control method, and control program
JP2021096195A (en) * 2019-12-19 2021-06-24 コニカミノルタ株式会社 Image inspection device, image forming apparatus, and program

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2013046092A (en) * 2011-08-22 2013-03-04 Konica Minolta Business Technologies Inc Image processing system
JP2013186562A (en) * 2012-03-06 2013-09-19 Ricoh Co Ltd Image detection apparatus and method
JP2015178971A (en) * 2014-03-18 2015-10-08 株式会社リコー Image inspection device, image formation system and image inspection method

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2013046092A (en) * 2011-08-22 2013-03-04 Konica Minolta Business Technologies Inc Image processing system
JP2013186562A (en) * 2012-03-06 2013-09-19 Ricoh Co Ltd Image detection apparatus and method
JP2015178971A (en) * 2014-03-18 2015-10-08 株式会社リコー Image inspection device, image formation system and image inspection method

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
谷水 克行、外2名: ""インデックス空間を用いた印刷欠陥高速検査法"", 電子情報通信学会論文誌, vol. 75, no. 11, JPN6018033455, 25 November 1992 (1992-11-25), JP, pages 1818 - 1826, ISSN: 0004031099 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2019091981A (en) * 2017-11-13 2019-06-13 コニカミノルタ株式会社 Image forming apparatus, control method, and control program
JP2021096195A (en) * 2019-12-19 2021-06-24 コニカミノルタ株式会社 Image inspection device, image forming apparatus, and program

Also Published As

Publication number Publication date
JP6539976B2 (en) 2019-07-10

Similar Documents

Publication Publication Date Title
JP6128092B2 (en) History generation apparatus and history generation method
JP6672973B2 (en) Image forming system, image forming apparatus, image forming method, and program
JP6229672B2 (en) Image forming apparatus and history generation method
JP6357786B2 (en) Image inspection apparatus, image inspection system, and image inspection method
JP5874721B2 (en) Image processing apparatus, image correction method, and program
US9967429B2 (en) Image processing apparatus, image processing method, and storage medium
JP5861503B2 (en) Image inspection apparatus and method
US11936819B2 (en) Image inspection apparatus, system, method, and program product that combines a trial print and an area designated in a recording medium
JP2013046092A (en) Image processing system
JP6323190B2 (en) Inspection apparatus, image forming apparatus, and image inspection method
JP2010118927A (en) Program, recording medium, image processing apparatus, image processing method, and sheet for gradation correction parameter generation
CN108632487A (en) Image forming apparatus and calibration method
US10178278B2 (en) Image forming apparatus that applies correction selectively to a subset of pixels
JP2014153553A (en) Image inspection device, image inspection system, and image inspection method
JP6539976B2 (en) Image processing apparatus and image processing method
JP6459190B2 (en) Image inspection apparatus, image forming system, and image inspection method
JP2019140538A (en) Image processing system, image formation device, image processing method, and program
JP6507577B2 (en) Image forming apparatus and method of transferring image data
JP6350195B2 (en) History generation apparatus and history generation method
JP6634873B2 (en) Image forming apparatus and image optimization method
JP2006013769A (en) Image output system, image output method, program for implementing the method, and computer-readable information recording medium recorded with the program
JP2017041765A (en) Image formation system and test pattern formation method
JP6705620B2 (en) History generation device, history generation method, and program
JP6769203B2 (en) Image forming device, image processing device and image processing method
JP6604172B2 (en) Image forming apparatus and line width adjusting method

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20170919

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20180822

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20180828

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20181018

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20190122

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20190409

A911 Transfer to examiner for re-examination before appeal (zenchi)

Free format text: JAPANESE INTERMEDIATE CODE: A911

Effective date: 20190417

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20190527

R150 Certificate of patent or registration of utility model

Ref document number: 6539976

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150