JP6539976B2 - Image processing apparatus and image processing method - Google Patents

Image processing apparatus and image processing method Download PDF

Info

Publication number
JP6539976B2
JP6539976B2 JP2014208745A JP2014208745A JP6539976B2 JP 6539976 B2 JP6539976 B2 JP 6539976B2 JP 2014208745 A JP2014208745 A JP 2014208745A JP 2014208745 A JP2014208745 A JP 2014208745A JP 6539976 B2 JP6539976 B2 JP 6539976B2
Authority
JP
Japan
Prior art keywords
image
attribute
attribute information
resolution
unit
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.)
Active
Application number
JP2014208745A
Other languages
Japanese (ja)
Other versions
JP2016081102A (en
Inventor
満男 東井
満男 東井
大木 亮
亮 大木
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

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

Description

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

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

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

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

特許第4665399号公報Patent No. 4665399 特許第4835470号公報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 that of the read image are different, the attribute information is also different from the read image, so the position and size of each pixel do not match, and the attribute of each pixel of the read image is correctly It can not be determined.

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

請求項1に記載の発明によれば、
ビットマップ形式の第1画像を生成し、当該第1画像の各画素の属性を示す属性情報を生成する画像生成部と、
前記第1画像に基づいて用紙上に形成された画像を前記第1画像の解像度と異なる解像度で読み取って、前記第1画像と解像度が異なるビットマップ形式の第2画像を生成する画像読取部と、
前記第2画像の解像度と一致するように、前記属性情報の解像度を変換する属性補正部と、
を備え
前記属性補正部は、前記属性情報の解像度を変換する際、複数の画素の属性を統合して1つの属性に変換し、前記複数の画素の属性の中に文字の属性が少なくとも1つある場合、統合後の属性を文字とすることを特徴とする画像処理装置が提供される。
請求項2に記載の発明によれば、
ビットマップ形式の第1画像を生成し、当該第1画像の各画素の属性を示す属性情報を生成する画像生成部と、
前記第1画像に基づいて用紙上に形成された画像を読み取って、前記第1画像と解像度が異なるビットマップ形式の第2画像を生成する画像読取部と、
前記第2画像の解像度と一致するように、前記属性情報の解像度を変換する属性補正部と、
前記第2画像及び解像度が変換された前記属性情報に基づいて、履歴用の画像を生成する履歴生成部と、
を備え
前記属性補正部は、前記属性情報の解像度を変換する際、複数の画素の属性を統合して1つの属性に変換し、前記複数の画素の属性の中に文字の属性が少なくとも1つある場合、統合後の属性を文字とすることを特徴とする画像処理装置が提供される。
請求項3に記載の発明によれば、
ビットマップ形式の第1画像を生成し、当該第1画像の各画素の属性を示す属性情報を生成する画像生成部と、
前記第1画像に基づいて用紙上に形成された画像を読み取って、前記第1画像と解像度が異なるビットマップ形式の第2画像を生成する画像読取部と、
前記第2画像の解像度と一致するように、前記属性情報の解像度を変換する属性補正部と、
前記第2画像を前記属性情報が示す属性ごとの画像領域に分離し、分離した各画像領域にその属性に応じた処理条件の圧縮処理を施した後、統合して履歴用の画像を生成する履歴生成部と、
を備えることを特徴とする画像処理装置が提供される。
請求項4に記載の発明によれば、
前記履歴生成部は、前記第2画像の下地領域を検出し、当該下地領域の階調値よりも階調値が大きく、かつ前記属性情報が文字の属性を示す領域を文字の領域として前記第2画像から分離し、前記第2画像から分離した各画像領域が文字の領域か文字以外の領域かによって異なる処理条件の圧縮処理を施して、前記履歴用の画像を生成することを特徴とする請求項3に記載の画像処理装置が提供される。
請求項5に記載の発明によれば、
前記属性補正部は、前記属性情報の解像度を変換する際、複数の画素の属性を統合して1つの属性に変換することを特徴とする請求項3又は4に記載の画像処理装置が提供される。
請求項6に記載の発明によれば、
前記属性補正部は、前記複数の画素の属性の中に文字の属性が少なくとも1つある場合、統合後の属性を文字とすることを特徴とする請求項5に記載の画像処理装置が提供される。
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 reader configured to read an image formed on a sheet of paper based on the first image at a resolution different from that of the first image and generate a second image of a bitmap format having a resolution different from that of the first image; ,
An attribute correction unit configured to convert the resolution of the attribute information so as to match the resolution of the second image;
Equipped with
When converting the resolution of the attribute information, the attribute correction unit integrates attributes of a plurality of pixels and converts them into one attribute, and there is at least one character attribute among the attributes of the plurality of pixels. An image processing apparatus is provided, wherein an attribute after integration is a character .
According to the invention of claim 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 of a bitmap format having a resolution different from that of the first image;
An attribute correction unit configured to convert the resolution of the attribute information so as to match the resolution of the second image;
A history generation unit that generates an image for history based on the second image and the attribute information whose resolution has been converted;
Equipped with
When converting the resolution of the attribute information, the attribute correction unit integrates attributes of a plurality of pixels and converts them into one attribute, and there is at least one character attribute among the attributes of the plurality of pixels. An image processing apparatus is provided, wherein an attribute after integration is a character .
According to the third aspect of the invention,
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 of a bitmap format having a resolution different from that of the first image;
An attribute correction unit configured to convert the resolution of the attribute information so as to match the resolution of the second image;
The second image is divided into image areas for each attribute indicated by the attribute information, and each separated image area is subjected to compression processing of processing conditions according to the attribute, and then integrated to generate an image for history History generation unit,
An image processing apparatus is provided that is characterized by comprising:
According to the invention of claim 4,
The history generation unit detects a background area of the second image, and the area having the gradation value larger than the gradation value of the background area and in which the attribute information indicates the attribute of the character is the area of the character. The image for history is generated by performing compression processing under different processing conditions depending on whether each image area separated from the second image is an area of characters or an area other than characters. An image processing apparatus according to claim 3 is provided.
According to the invention of claim 5,
The image processing apparatus according to claim 3 or 4, wherein the attribute correction unit integrates attributes of a plurality of pixels and converts them into one attribute when converting the resolution of the attribute information. Ru.
According to the invention of claim 6,
The image processing apparatus according to claim 5, wherein the attribute correction unit sets an integrated attribute as a character when there is at least one character attribute among the plurality of pixel attributes. Ru.

請求項に記載の発明によれば、
前記属性補正部は、前記第2画像中の各属性の画像領域と前記属性情報が示す各属性の画像領域の位置が一致するように、前記属性情報の各画素の移動、回転又はその両方を実施することを特徴とする請求項1〜のいずれか一項に記載の画像処理装置が提供される。
According to the invention of claim 7 ,
The attribute correction unit moves and / or rotates each pixel of the attribute information such that the image area of each attribute in the second image and the position of the image area of each attribute indicated by the attribute information coincide with each other. the image processing apparatus according to any one of claims 1 to 6, characterized in that the implement is provided.

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

請求項に記載の発明によれば、
前記画像処理部は、前記複数の基準画像の主走査方向、副走査方向又はその両方の位置をそれぞれ異ならせて前記第1画像に付加し、
前記属性補正部は、前記複数の基準画像のうち、前記属性情報の各画素の近傍に位置する少なくとも3つの基準画像の座標位置を用いて、前記補正パラメーターを算出することを特徴とする請求項に記載の画像処理装置が提供される。
請求項10に記載の発明によれば、
前記第1画像に画像処理を施す画像処理部を備え、
前記属性補正部は、前記画像処理部によって画像処理が施された後の第1画像の属性を示すように前記属性情報を補正することを特徴とする請求項1〜のいずれか一項に記載の画像処理装置が提供される。
According to the invention of claim 9 ,
The image processing unit adds different positions of the plurality of reference images in the main scanning direction, the sub scanning direction, or both of them to the first image.
The attribute correction unit is characterized in that the correction parameter is calculated using coordinate positions of at least three reference images located in the vicinity of each pixel of the attribute information among the plurality of reference images. An image processing apparatus as described in 8 is provided.
According to the invention described in claim 10 ,
An image processing unit that performs image processing on the first image;
The property correcting unit, in any one of claim 1 to 7, wherein the correcting the attribute information to indicate the attribute of the first image after the image processing has been performed by the image processing unit An image processing apparatus as described is provided.

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

請求項12に記載の発明によれば、
前記第1画像と前記第2画像とを比較して用紙上に形成された画像を検査する検査部を備え、
前記検査部は、検査する際に前記属性情報を利用することを特徴とする請求項1〜11のいずれか一項に記載の画像処理装置が提供される。
According to the invention of claim 12 ,
The inspection unit configured to inspect the image formed on the sheet by comparing the first image and the second image;
The image processing apparatus according to any one of claims 1 to 11 , wherein the inspection unit uses the attribute information when inspecting.

請求項13に記載の発明によれば、
ビットマップ形式の第1画像を生成し、当該第1画像の各画素の属性を示す属性情報を生成する画像生成ステップと、
前記第1画像に基づいて用紙上に形成された画像を前記第1画像の解像度と異なる解像度で読み取って、前記第1画像と解像度が異なるビットマップ形式の第2画像を生成する画像読取ステップと、
前記第2画像の解像度と一致するように、前記属性情報の解像度を変換する属性補正ステップと、
を含み、
前記属性補正ステップでは、前記属性情報の解像度を変換する際、複数の画素の属性を統合して1つの属性に変換し、前記複数の画素の属性の中に文字の属性が少なくとも1つある場合、統合後の属性を文字とすることを特徴とする画像処理方法が提供される。
請求項14に記載の発明によれば、
ビットマップ形式の第1画像を生成し、当該第1画像の各画素の属性を示す属性情報を生成する画像生成ステップと、
前記第1画像に基づいて用紙上に形成された画像を読み取って、前記第1画像と解像度が異なるビットマップ形式の第2画像を生成する画像読取ステップと、
前記第2画像の解像度と一致するように、前記属性情報の解像度を変換する属性補正ステップと、
前記第2画像及び解像度が変換された前記属性情報に基づいて、履歴用の画像を生成する履歴生成ステップと、
を含み、
前記属性補正ステップでは、前記属性情報の解像度を変換する際、複数の画素の属性を統合して1つの属性に変換し、前記複数の画素の属性の中に文字の属性が少なくとも1つある場合、統合後の属性を文字とすることを特徴とする画像処理方法が提供される。
請求項15に記載の発明によれば、
ビットマップ形式の第1画像を生成し、当該第1画像の各画素の属性を示す属性情報を生成する画像生成ステップと、
前記第1画像に基づいて用紙上に形成された画像を読み取って、前記第1画像と解像度が異なるビットマップ形式の第2画像を生成する画像読取ステップと、
前記第2画像の解像度と一致するように、前記属性情報の解像度を変換する属性補正ステップと、
前記第2画像を前記属性情報が示す属性ごとの画像領域に分離し、分離した各画像領域にその属性に応じた処理条件の圧縮処理を施した後、統合して履歴用の画像を生成する履歴生成ステップと、
を含むことを特徴とする画像処理方法が提供される。
請求項16に記載の発明によれば、
前記履歴生成ステップでは、前記第2画像の下地領域を検出し、当該下地領域の階調値よりも階調値が大きく、かつ前記属性情報が文字の属性を示す領域を文字の領域として前記第2画像から分離し、前記第2画像から分離した各画像領域が文字の領域か文字以外の領域かによって異なる処理条件の圧縮処理を施して、前記履歴用の画像を生成することを特徴とする請求項15に記載の画像処理方法が提供される。
請求項17に記載の発明によれば、
前記属性補正ステップでは、前記属性情報の解像度を変換する際、複数の画素の属性を統合して1つの属性に変換することを特徴とする請求項15又は16に記載の画像処理方法が提供される。
請求項18に記載の発明によれば、
前記属性補正ステップでは、前記複数の画素の属性の中に文字の属性が少なくとも1つある場合、統合後の属性を文字とすることを特徴とする請求項17に記載の画像処理方法が提供される。
請求項19に記載の発明によれば、
前記属性補正ステップでは、前記第2画像中の各属性の画像領域と前記属性情報が示す各属性の画像領域の位置が一致するように、前記属性情報の各画素の移動、回転又はその両方を実施することを特徴とする請求項13〜18のいずれか一項に記載の画像処理方法が提供される。
請求項20に記載の発明によれば、
前記第1画像に、基準位置を示す複数の基準画像を付加する画像処理ステップを含み、
前記画像読取ステップでは、前記複数の基準画像が付加された第1画像に基づいて用紙上に形成された画像を読み取って、前記第2画像を生成し、
前記属性補正ステップでは、前記第2画像から前記複数の基準画像を検出し、前記第1画像及び前記第2画像のそれぞれにおける前記複数の基準画像の座標位置を用いて補正パラメーターを算出し、当該補正パラメーターを用いて前記属性情報の各画素の移動、回転又はその両方を実施することを特徴とする請求項19に記載の画像処理方法が提供される。
請求項21に記載の発明によれば、
前記画像処理ステップでは、前記複数の基準画像の主走査方向、副走査方向又はその両方の位置をそれぞれ異ならせて前記第1画像に付加し、
前記属性補正ステップでは、前記複数の基準画像のうち、前記属性情報の各画素の近傍に位置する少なくとも3つの基準画像の座標位置を用いて、前記補正パラメーターを算出することを特徴とする請求項20に記載の画像処理方法が提供される。
請求項22に記載の発明によれば、
前記第1画像に画像処理を施す画像処理ステップを含み、
前記属性補正ステップでは、前記画像処理ステップにおいて画像処理が施された後の第1画像の属性を示すように前記属性情報を補正することを特徴とする請求項13〜19のいずれか一項に記載の画像処理方法が提供される。
請求項23に記載の発明によれば、
前記属性補正ステップでは、前記第1画像と前記第2画像の解像度の比率に応じて、前記属性情報が示すいずれかの属性を拡張又は縮小することを特徴とする請求項13〜22のいずれか一項に記載の画像処理方法が提供される。
請求項24に記載の発明によれば、
前記第1画像と前記第2画像とを比較して用紙上に形成された画像を検査する検査ステップを含み、
前記検査ステップでは、検査する際に前記属性情報を利用することを特徴とする請求項13〜23のいずれか一項に記載の画像処理方法が提供される。
According to the invention of claim 13,
An image generating step of generating a first image in a bitmap format and generating attribute information indicating an attribute of each pixel of the first image;
Reading an image formed on a sheet based on the first image at a resolution different from that of the first image, and generating a second image of a bitmap format having a resolution different from that of the first image; ,
An attribute correction step of converting the resolution of the attribute information so as to match the resolution of the second image;
Only including,
In the attribute correction step, when converting the resolution of the attribute information, the attributes of a plurality of pixels are integrated and converted into one attribute, and there is at least one character attribute among the attributes of the plurality of pixels. An image processing method is provided , wherein the combined attribute is a character .
According to the invention of claim 14,
An image generating step of generating a first image in a bitmap format and generating attribute information indicating an attribute of each pixel of the first image;
An image reading step of reading an image formed on a sheet based on the first image and generating a second image of a bitmap format having a resolution different from that of the first image;
An attribute correction step of converting the resolution of the attribute information so as to match the resolution of the second image;
A history generation step of generating an image for a history based on the second image and the attribute information whose resolution has been converted;
Only including,
In the attribute correction step, when converting the resolution of the attribute information, the attributes of a plurality of pixels are integrated and converted into one attribute, and there is at least one character attribute among the attributes of the plurality of pixels. An image processing method is provided , wherein the combined attribute is a character .
According to the invention of claim 15,
An image generating step of generating a first image in a bitmap format and generating attribute information indicating an attribute of each pixel of the first image;
An image reading step of reading an image formed on a sheet based on the first image and generating a second image of a bitmap format having a resolution different from that of the first image;
An attribute correction step of converting the resolution of the attribute information so as to match the resolution of the second image;
The second image is divided into image areas for each attribute indicated by the attribute information, and each separated image area is subjected to compression processing of processing conditions according to the attribute, and then integrated to generate an image for history History generation step,
An image processing method is provided that is characterized by including:
According to the invention of claim 16,
In the history generation step, a background area of the second image is detected, and a gradation value is larger than a gradation value of the background area, and the area where the attribute information indicates the attribute of the character is the area of the character. The image for history is generated by performing compression processing under different processing conditions depending on whether each image area separated from the second image is an area of characters or an area other than characters. An image processing method according to claim 15 is provided.
According to the invention of claim 17,
17. The image processing method according to claim 15, wherein when converting the resolution of the attribute information in the attribute correction step, the attributes of a plurality of pixels are integrated and converted into one attribute. Ru.
According to the invention of claim 18,
The image processing method according to claim 17, wherein, in the attribute correction step, when there is at least one character attribute among the plurality of pixel attributes, the integrated attribute is a character. Ru.
According to the invention of claim 19 ,
In the attribute correction step, movement and / or rotation of each pixel of the attribute information is performed such that the image area of each attribute in the second image and the position of the image area of each attribute indicated by the attribute information coincide. The image processing method according to any one of claims 13 to 18 , which is implemented.
According to the invention of claim 20 ,
Including an image processing step of adding a plurality of reference images indicating the reference position to the first image;
In the image reading step, an image formed on a sheet is read based on a first image to which the plurality of reference images are added, and a second image is generated.
In the attribute correction step, the plurality of reference images are detected from the second image, and correction parameters are calculated using coordinate positions of the plurality of reference images in each of the first image and the second image, 20. The image processing method according to claim 19 , wherein the correction parameter is used to perform movement, rotation or both of each pixel of the attribute information.
According to the invention of claim 21 ,
In the image processing step, the positions of the main scanning direction, the sub scanning direction, or both of the plurality of reference images are made different and added to the first image,
In the attribute correction step, the correction parameter is calculated using coordinate positions of at least three reference images located in the vicinity of each pixel of the attribute information among the plurality of reference images. The image processing method described in 20 is provided.
According to the invention of claim 22 ,
Including an image processing step of performing image processing on the first image;
20. The attribute correction step according to any one of claims 13 to 19 , wherein the attribute information is corrected so as to indicate the attribute of the first image after the image processing is performed in the image processing step. The described image processing method is provided.
According to the invention of claim 23 ,
23. The attribute correction step according to any one of claims 13 to 22 , wherein any attribute indicated by the attribute information is expanded or reduced according to a ratio of resolutions of the first image and the second image. An image processing method according to one aspect is provided.
According to the invention of claim 24 ,
Including an inspection step of comparing the first image and the second image to inspect an image formed on a sheet of paper;
The image processing method according to any one of claims 13 to 23 , wherein in the inspection step, the attribute information is used in the inspection.

本発明によれば、読み取りにより生成された画像の属性を、精度良く判別できる属性情報を提供することができる。   According to the present invention, it is possible to provide attribute information capable of accurately determining the attribute of an image generated by reading.

本実施の形態に係る画像形成システムの概略構成を示す図である。FIG. 1 is a diagram showing a schematic configuration of an image forming system according to the present embodiment. 図1の画像形成装置及び画像読取装置の構成を機能ごとに示すブロック図である。FIG. 2 is a block diagram showing the configuration of the image forming apparatus and the image reading apparatus of FIG. 1 for each function. 画像形成システムが画像を形成し、履歴用の画像を生成する際の処理手順を示すフローチャートである。It is a flowchart which shows the process sequence in case an image formation system forms an image and produces | generates the image for log | history. 属性補正部が、属性情報を補正する際の処理手順を示すフローチャートである。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 a 2nd image. 図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 amendment, and the 2nd picture in which position gap arose. 位置ずれが生じた第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 which position shift produced. 第1画像と位置ずれが生じた第2画像を示す図である。It is a figure which shows the 1st image and the 2nd image which position shift produced. 連結された複数の格子が基準画像として付加された第1画像を例示する図である。It is a figure which illustrates the 1st image to which the connected some lattice was added as a reference image. 図8Aに示す第1画像に基づく画像形成の結果、位置ずれが生じた第2画像を示す図である。It is a figure which shows the 2nd image which 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 which position shift produced by the attribute information after correction | amendment. 通常のPDF形式によってレイヤーごとに分離された画像を示す図である。It is a figure which shows the image isolate | separated into each layer by normal PDF format. コンパクトPDF形式によってレイヤーごとに分離された画像を示す図である。It is a figure which shows the image isolate | separated into each layer by compact PDF format.

以下、本発明の画像処理装置及び画像処理方法の実施の形態について、図面を参照して説明する。   Hereinafter, embodiments of an image processing apparatus and an image processing method of the present invention will be described 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 the image processing apparatus of the present invention.
As illustrated in FIG. 1, the image forming system 1 includes an image forming apparatus 10 and an image reading apparatus 30, forms an image on a sheet by the image forming apparatus 10, and reads an image on the sheet by the image reading apparatus 30. . 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 device 30 is a second image.
Between the image forming apparatus 10 and the image reading apparatus 30, a conveyance unit 40 for conveying 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 configuration 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 formation unit 18, and attribute correction. The configuration includes a unit 19 and a history generation unit 20.
Further, the image forming apparatus 10 is connected to the external device 50 on the network, and can communicate with the external device 50 by 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 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 central processing unit (CPU), a random access memory (RAM), 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 the paper is processed by the image forming unit 18 according to the gradation value of each pixel of the image after image processing. Form an image 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 use the first image generated for image formation by the image generation unit 16 and the image formed on the sheet by the image formation unit 18 based on the first image. By comparing the second image obtained by reading, a defect such as an error, disappearance or stain of the formed image is 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, and determines whether they are similar according to the discriminant analysis method, and when they are not similar, they are determined as defects. To detect.

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

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

操作部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 according to the user's operation and outputs the operation signal to the control unit 11. Examples of the operation unit 13 include a key, a touch panel integrally formed with the display unit 14, and the like.
The display unit 14 displays an operation screen or the like in accordance with an instruction 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 the external device 50 on the network. The external device 50 is, for example, a user terminal, a server, or another image forming device.
For example, the communication unit 15 receives data (hereinafter referred to as PDL data) described in a page description language (PDL) from the external apparatus 50 which is a user terminal via a network. Also, the communication unit 15 can transmit the attribute information generated by the image generation unit 16, the image for history 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 sets an image of a bitmap format having a gradation value for each pixel as a first image, C (cyan), M (magenta), Y (Y) It is generated for each color of yellow) and K (black). The gradation value is a data value representing the density of the image, and for example, an 8-bit data value represents the density 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 an attribute of each pixel of the first image when the first image is generated.
For example, the image generation unit 16 determines the attribute of each pixel of the image of the image such as Kana, alphabet, numbers, etc. drawn according to the character code described in the PDL data as a text (Text), such as DXF, SVG, WMF, etc. An attribute of each pixel of an image such as a ruled line, a polygon, or a circle drawn according to the description of the vector format is determined as a graphic. Further, the image generation unit 16 determines an attribute of an image such as a picture drawn by a file such as JPEG as a picture (Image).

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

画像処理部17は、画像生成部16により生成された第1画像に、階調処理、中間調処理等の画像処理を施す。
階調処理は、画像の各画素の階調値を、用紙上に形成された画像の濃度特性が目標の濃度特性と一致するように補正された階調値に変換する処理である。
中間調処理は、例えば誤差拡散処理、組織的ディザ法を用いたスクリーン処理等である。
The image processing unit 17 subjects the first image generated by the image generation unit 16 to image processing such as gradation processing and halftone processing.
The gradation processing is processing for 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 sheet matches the target density characteristic.
Halftone processing is, for example, error diffusion processing, screen processing using 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 composed of a plurality of colors on a sheet according to the gradation value of each pixel of the first image subjected to 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 sheet feeding tray 185, and a reversing mechanism 186. The respective writing units 181 are 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 disposed on the conveyance path of the sheet conveyed from the sheet feed tray 185. The paper feed tray 185 accommodates 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. The configuration of each writing unit 181 is the same, and includes an exposure unit 18a, a photosensitive member 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 to charge it, and then the laser beam from the exposure unit 18a according to the gradation value of each pixel of the image of each color C, M, Y, and K To expose the photosensitive member 18b. When each writing unit 181 supplies a color material such as toner by the developing unit 18c to develop the electrostatic latent image formed on the photosensitive member 18b, an image of each color is formed on the photosensitive member 18b of each writing unit 181 Be done.

各感光体18b上の画像は中間転写ベルト182上に順次重ねて転写され、中間転写ベルト182上には複数の色からなる画像が形成される。画像の転写後、各書込みユニット181は、転写後に感光体18b上に残留する色材をクリーニング部18eにより除去する。
給紙トレイ185により用紙を給紙し、2次転写ローラー183によって中間転写ベルト182上の複数の色からなる画像を用紙上に転写すると、定着装置184により当該用紙を加熱及び加圧して、画像を用紙に定着させる。用紙の両面に画像を形成する場合は、反転機構186により用紙面を反転させて再度2次転写ローラー183へ用紙を搬送する。
The images on the respective photosensitive members 18 b are sequentially transferred onto the intermediate transfer belt 182 in an overlapping manner, and an image of a plurality of colors is formed on the intermediate transfer belt 182. After the transfer of the image, each writing unit 181 removes the coloring material remaining on the photosensitive member 18 b after the transfer by the cleaning unit 18 e.
When a sheet is fed by the sheet feed 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 pressed by the fixing device 184 to Fixes on paper. When an image is to be formed 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 as to match 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 moves and / or rotates 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. 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 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 an image area for each attribute indicated by the attribute information corrected by the attribute correction unit 19. The history generation unit 20 compresses the processing conditions according to the attribute to each of the separated image areas, and then integrates them to generate a history image and stores the image in the storage unit 12.

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

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

外部装置50は、上述したように、ユーザー端末、サーバー、他の画像形成装置等であり得る。
外部装置50は、図2に示すように記憶部51を備えている。
記憶部51は、画像形成装置10の記憶部12と同様に、画像生成部16により生成された属性情報、履歴生成部20により生成された履歴用の画像等を記憶することができる。
記憶部51としては、ハードディスク等の大容量メモリーを用いることができる。
The external device 50 may be a user terminal, a server, another image forming device, etc. as described above.
The external device 50 includes a storage unit 51 as shown in FIG.
Similar 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, an image for history 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 the 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, attribute information is used to determine the shape of an object such as a character to be inspected or to distinguish an image area of a figure or photograph which is represented by halftone dots and is likely to be erroneously detected as an image defect. be able to. In addition, when generating an image for history from the second image, the image forming system 1 can also use attribute information in order to determine the image area of each attribute that makes the processing condition of the compression process different.
In either case, the processing procedure for correcting the attribute information in order to accurately determine the attribute of the second image is the same, so the processing procedure for correcting the attribute information will be described below taking the case of generating an image for history as an example. 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 an image for history representing a history of the image formation performed.
In the image forming system 1, when PDL data is transmitted, the image generation unit 16 executes rasterization processing of PDL data as shown in FIG. 3 to generate a first image for each page (step S1).
Further, the image generation unit 16 generates attribute information indicating the attribute of each pixel of the first image, and stores the generated attribute information in the storage unit 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. As image processing, gradation processing, halftone processing and the like can be mentioned. The image processing unit 17 obtains from the storage unit 12 attribute information generated together with the first image, and makes the screen ruling different for each attribute indicated by the attribute information, and so on. It can be processed.

また、画像処理部17は画像形成の応用設定に応じて、第1画像の位置、色等の変更、画像の追加、削除、変換、拡大、縮小等の画像処理を施すことができる。
応用設定としては、例えば1ページに複数ページの画像を縮小して配置するページ割付、1ページの画像を追加するページ差込、画像を拡大又は縮小する倍率変更、同じ画像を複数のページに配置するリピート、画像をページの中心位置にシフトするセンタリング、画像の位置をシフトして綴じ用の領域を設ける綴じ代、日付、ページ数等の文字を追加する画像編集、ウォーターマーク、ロゴマーク等の画像を追加するスタンプ、色調整、画像の輝度を反転させるネガポジ反転、画像を鏡像に変換する鏡像、画像中の枠を削除する枠消し等がある。
Further, the image processing unit 17 can perform image processing such as change of the position and color of the first image, addition of an image, deletion, conversion, enlargement, and reduction according to the application setting of image formation.
Application settings include, for example, page allocation for reducing and arranging images of a plurality of pages on one page, page insertion for adding images of one page, change of magnification for enlarging or reducing images, arrangement of the same image on plural pages Repeat, shift the image to the center position of the page, shift the position of the image to provide an area for binding, bind margin, date, edit the image to add characters such as number of pages, watermark, logo mark etc There are a stamp for adding an image, a color adjustment, a negative / positive inversion for inverting the brightness of the image, a mirror image for converting the image into a mirror image, and a frame erasing 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 the reference position to the first image subjected to the image processing (step S3). As a reference image, a cross-shaped image called a dragonfly, an image of a plurality of connected lattices, or the like can be used.
The image processing unit 17 makes the positions of the first image in the main scanning direction, the sub scanning direction, or both different so that the positional deviation 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 a sheet according to the gradation value of each pixel of the first image subjected to image processing (step S4).
The sheet on which the image is formed is conveyed by the conveyance unit 40 to the image reading device 30. 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 the storage unit 12 of the image forming apparatus 10 and stored.

画像形成装置10では、属性補正部19が記憶部12から属性情報を取得して補正する(ステップS6)。
図4は、属性補正部19が属性情報を補正する際の処理手順を示している。
図4に示すように、属性補正部19は、画像形成の設定に基づいて、第1画像の生成時の属性ではなく、画像処理部17によって画像処理された後の第1画像の属性を示すように、属性情報を補正する(ステップS11)。
In the image forming apparatus 10, the attribute correction unit 19 acquires attribute information from the storage unit 12 and corrects the attribute information (step S6).
FIG. 4 shows a processing procedure when the attribute correction unit 19 corrects attribute information.
As shown in FIG. 4, the attribute correction unit 19 indicates not the attribute at the time of generation of the first image but the attribute of the first image after the image processing by the image processing unit 17 based on the setting of image formation. 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 application setting of page layout in which the first image of two pages is reduced and arranged on one page, the attribute correction unit 19 reduces the attribute information of two pages to one page as in the image processing. Make corrections to place.
In the case of the application setting of page insertion in which an additional 1 page is inserted between the first page and the second page, the attribute correction unit 19 adds the attribute information of the additional page, the attribute information of the first page and the second page Make corrections to be inserted between the In the case of application setting of repeat, the attribute correction unit 19 performs correction for copying and adding the number of pages of the attribute information of the first page to be repeated.
In addition, in the case of application setting of magnification change of an image, the attribute correction unit 19 performs correction for enlarging or reducing attribute information in accordance with enlargement or reduction of an image.

センタリング、綴じ代等の画像をシフトする応用設定の場合は、属性補正部19は、画像のシフトに合わせて各属性を示す画素の位置をシフトする補正を行う。
ページ数、日付、スタンプ、ウォーターマーク等の画像を追加する応用設定の場合、属性補正部19は、追加された画像を構成する各画素の属性を、ページ数、日付等であれば文字、スタンプ、ウォーターマーク等であれば図形の属性に変更する補正を行う
ネガポジ反転、鏡像等の画像を編集する応用設定の場合、属性補正部19は画像の編集に合わせて属性を変更する補正を行う。例えば、文字を鏡像化する場合、鏡像化された文字を構成する各画素の属性を文字とし、鏡像化前に文字を構成していた各画素の属性を文字以外の属性に変更する。
In the case of an application setting that shifts an image, such as centering and a binding margin, the attribute correction unit 19 performs correction that shifts the position of a 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, and watermark, the attribute correction unit 19 sets the attribute of each pixel constituting the added image to the page number, date, etc. If it is a watermark or the like, correction is performed to change it to the attribute of the figure. In the case of application setting that edits an image such as negative / positive inversion or mirror image, the attribute correction unit 19 performs correction to change the attribute in accordance with editing of the image. For example, in the case of mirroring a character, the attribute of each pixel constituting the mirrored character is regarded 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 inspection or history storage is often lower than that of the first image generated for image formation. As described above, when the resolutions of the first image and the second image are different, the resolution of the attribute information is converted according to the resolution of the second image, and the resolutions of the second image and the attribute information are matched. As a result, 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 by the attribute information.

属性補正部19は、第1画像と第2画像の解像度の比率に応じて、複数の画素ごとに各画素の属性を統合して1つの属性に変換する。例えば、第1画像に対する第2画像の解像度の比率が主走査方向及び副走査方向ともに1/4である場合、属性補正部19は4画素ごとに、4画素の各属性を1つの属性に変換する。4画素の各属性のなかに文字の属性が少なくとも1つある場合には統合後の属性を文字とすることにより、後段の圧縮処理による文字の画質劣化を抑えることができ、好ましい。   The attribute correction unit 19 integrates attributes of each pixel for each of a plurality of pixels according to a ratio of resolutions of the first image and the second image, and converts the attributes into one attribute. 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 four pixels into one attribute every four pixels. Do. In the case where there is at least one character attribute in each of the four pixel attributes, it is preferable to use the attribute after integration as a character, so that the image quality deterioration of the character due to the compression processing in the subsequent stage 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 in which the resolutions in both the main scanning direction x and the sub scanning direction y are 1200 dpi. The first image G101 includes two character areas r1 and r2 and one photo area 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 of a character attribute, and a pixel represented by I is a pixel of a photograph attribute. Since the attribute information is generated to indicate the attribute of each pixel of the first image G101, the resolution of the attribute information in both 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画素に変換されている。
If the resolutions of both the main scanning direction x and the sub scanning direction y of the second image are 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 FIGS. 5B and 5C, four pixels whose attributes are all characters at a resolution of 1200 dpi are converted into one pixel indicating character attributes, and four pixels whose attributes are all photographs are one pixel indicating a photo attribute. Has been converted to. Also, four pixels in which the attributes of the character and the photo are mixed are converted into one pixel indicating the attribute of the character.

次に、属性補正部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. The positions of the image area of each attribute in the second image and the image area of each attribute indicated by the attribute information are matched.
The second image may be inclined relative to the first image due to the inclination of the sheet at the time of conveyance, the shift of the image forming position by the image forming unit 18 or the like. In addition, the second image may have a size different from that of the first image due to contraction of the sheet due to the fixing process. When positional deviation occurs between the first image and the second image due to such inclination, fluctuation of the image size, 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 Because the positions of the two images do not match, it is difficult to accurately determine the attribute of the second image according to 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 the attribute information K1 generated together with the first image on which the characters "The quick" are drawn. The hatched portion in the attribute information K1 represents the pixel of the character whose attribute is in the first image.
When the sheet is reduced at the time of formation of the first image, characters in the second image G2 generated by reading the image on the sheet 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 deviates from the position of the character indicated by the attribute information K1. If it is attempted to separate the character area of the character "The quick" from the second image G2 by the attribute information K1 in the state where the positional deviation occurs, as shown in FIG. 6B, all the characters can not be separated as the character area G21. Is separated as a background area 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 and 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 coordinate positions of the detected reference images (step S13). Then, the attribute correction unit 19 calculates a correction parameter from the calculated coordinate position of each reference image (step S14), and performs movement, rotation, or both of each pixel of the attribute information using the calculated correction parameter (FIG. 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 as a reference image to the first image G101. The registration marks differ in position in the main scanning direction and the sub-scanning direction. In FIG. 7, the coordinate positions of each registration mark in the first image G101 are respectively represented as (x0, y0), (x1, y0) and (x0, y1), and the coordinate positions of each registration mark in the second image G201 are respectively shown. They are represented as (x0 * , y0 * ), (x1 * , y0 * ) and (x0 * , y1 * ). 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, respectively, and the widths in the sub scanning direction y are represented as c and d, respectively. The inclination angle of G201 is expressed as θ.
If the coordinate position of each pixel of the attribute information before and after correction is represented as (X, Y) and (X * , Y * ), respectively, each attribute information is represented as shown in the following formulas (1) and (2). The image of each attribute of the attribute information and the second image is realized by performing pixel movement, rotation, or both and converting the coordinate position (X, Y) of each pixel into the coordinate position (X * , Y * ). The position of the area 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 equations (1) and (2), b / a, d / c, θ, xs, ys, xt and yt are correction parameters necessary to obtain the coordinate position (X * , Y * ) after conversion It is. The attribute correction unit 19 calculates these correction parameters from 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 parameters may be determined by substituting the coordinate positions x0, x1, y0, y1, x0 * , x1 * , y0 * and y1 * of each reference image into the following simultaneous equations to obtain a solution. 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 * )
x 0 * = {(b / a) · (x0−xs)} · cos θ − {(d / c) · (y0−ys) sin θ + xt
y 0 * = {(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 correction parameters of b / a, d / c, θ, xs, ys, xt and yt into the expressions (1) and (2) to obtain attribute information. The movement, rotation or both of each pixel is performed, and the coordinate position (X, Y) of each pixel is converted to the coordinate position (X * , Y * ). Thus, the position of each pixel of the attribute information can be shifted according to the positional deviation of the second image so that the image area of each attribute of the second image and the attribute information matches.

なお、トンボではなく、連結された複数の格子の画像を基準画像として用いることにより、スキュー、ボウ等と呼ばれる位置ずれが生じた第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 images of a plurality of connected lattices instead of registration marks as a reference image, attribute information can be corrected with high accuracy in accordance with the second image in which a positional deviation called a skew, a bow or the like occurs. .
8A and 8B respectively show an example of a first image G102 and a second image G202 to which images of a plurality of connected lattices are added.
When an image of a grid is used, the coordinate position of each vertex can be used for calculation of the correction parameter because each vertex of the grid differs in coordinate position in either the main scanning direction or the sub scanning direction. In FIG. 8A, the coordinate positions of the apexes of each lattice in the main scanning direction x are represented as x0, x1... Xi... Xm sequentially from the apex of the lattice located at the upper left in the first image G102. Are expressed as y0, y1... Yn. Similarly, expressed in FIG. 8B, in order from the vertex of the grid located at the upper left in the second image G202, a coordinate position in the main scanning direction x of the vertices of each grid x0 *, x1 * ... xi * ... xm * and, Coordinate positions in the sub-scanning direction y are represented as y0 * , y1 * ... yn * . In FIG. 8A and FIG. 8B, the description of the coordinate positions of some of the vertices is omitted.

属性補正部19は、いずれの頂点の座標位置を用いても補正パラメーターを算出することができるが、変換後の座標位置(X、Y)を算出する各画素の近傍に位置する少なくとも3つの頂点の座標位置を選択して補正パラメーターの算出に用いることにより、第2画像の位置ずれに合わせて精度良く属性情報の各画素の位置をずらすことができる。なお、各画素の近傍に位置する頂点とは、各画素との距離が最も近い頂点から順に選択した頂点をいう。 The attribute correction unit 19 can calculate the correction parameter using the coordinate position of any vertex, but at least three of the coordinate positions (X * , Y * ) after conversion are located in the vicinity of each pixel to be calculated. By selecting the coordinate position of one vertex and using it for calculation of the correction parameter, it is possible to shift the position of each pixel of the attribute information with high accuracy in accordance with the positional shift of the second image. Note that the vertices located in the vicinity of each pixel refer to the vertices selected in order from the vertex closest to the 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, as shown in FIG. 3, the history generation unit 20 acquires the second image from the storage unit 12, acquires the attribute information from the attribute correction unit 19, and generates an image for history. Are generated (step S7).
FIG. 9 shows a processing procedure when the history generation unit 20 generates an image for history.
As shown in FIG. 9, the history generation unit 20 extends the attribute of the character indicated by the attribute information acquired from the attribute correction unit 19 (step S21).
Specifically, the history generation unit 20 can expand the area of the character attribute indicated by the attribute information by changing the attribute of the area whose attribute is within a certain range from the area of the character in the attribute information to the character. . Although the fixed area to be expanded can be determined according to the ratio of the resolution of the first image and the second image, it may be a fixed 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 between

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

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

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

次に、履歴生成部20は、属性情報が示す属性が文字以外の領域を背景の画像レイヤーとして、第2画像から分離する(ステップS23)。下地色が設定されている場合は、履歴生成部20は下地の画像成分を下地レイヤーとして背景の画像レイヤーから分離する。   Next, the history generation unit 20 separates the area indicated by the attribute information from the second image as the image layer of the background other than the character (step S23). If 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 the first compression process on the image layer of characters (step S24), and performs the second compression process on the image layer of background and the base layer (step S25).
The processing condition of the first compression processing is a processing condition in which deterioration of the image quality 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 smaller than the compression rate of the second compression process. Further, the compression format of the first compression process can be a reversible PNG, MMR or the like suitable for a binary image, and the compression format of the second compression process can be a irreversible JPEG or the like. Among them, the compression format for characters is preferably PNG or the like capable of transparent processing.

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

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

履歴生成部20は、圧縮処理後の文字の画像レイヤー、背景の画像レイヤー及び下地レイヤーを統合し、1ページのコンパクトPDF形式の画像を生成する(ステップS26)。コンパクトPDF形式は、上述のように、1ページの画像を複数の画像レイヤーに分離してそれぞれに異なる圧縮処理を施した後、1つのPDFファイルに統合する形式をいう。   The history generation unit 20 integrates the image layer of the character after compression processing, the image layer of the background, and the background layer, and generates an image of one page in the compact PDF format (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で圧縮することができ、高圧縮及び高画質の両方を実現できる。
The compact PDF format can perform different compression processing for each layer, so high compression and high image quality can be realized as compared with the normal PDF format.
For example, when an image in the normal PDF format is generated, as shown in FIG. 11A, it is separated into an image layer R1 such as characters, figures, and photographs, and a base layer R0. In order to perform compression processing on a layer-by-layer basis, common compression processing is performed regardless of the attributes of characters, figures, photographs, etc. In the case of compression processing by JPEG, the image attribute of a photograph with gradual gradation change is less deteriorated in image quality due to compression processing, but the image quality deterioration is larger in the case of character attribute image with rapid gradation conversion. It becomes difficult to identify.
On the other hand, in the case of the compact PDF format, as shown in FIG. 11B, the image layer is further separated into character image layers R21 and R22 and a background image layer R1. Since compression processing is possible in layer units, compression processing suitable for character reproduction is performed on the image layer of characters with little deterioration in image quality, and the compression ratio of the background image layer is high for color and gradation reproducibility. It can be compressed with excellent JPEG, and can achieve both high compression and high image quality.

全ページの画像の形成が終了していない場合は(ステップS27;N)、図3に示すステップS1の処理へ戻り、次のページについて上述した処理を繰り返す。そして、全ページの画像の形成が終了した場合は(ステップS27;Y)、各ページのコンパクトPDF形式の画像を統合することにより、1ジョブ分の履歴用の画像を生成して記憶部12に保存する(ステップS28)。   If formation of images of all pages is not completed (step S27; N), the process returns to the process of step S1 shown in FIG. 3, and the above-described process is repeated for the next page. Then, when the formation of the images of all the pages is completed (step S27; Y), the image for the history of one job is generated and integrated in the storage unit 12 by integrating the images in the compact PDF format of each page. 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 bitmap format, and generates the attribute information indicating the attribute of each pixel of the first image; An image reading unit 31 which reads an image formed on a sheet based on one image and generates a second image of a bitmap format different in resolution from the first image, and the resolution of the second image, And an attribute correction unit 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 position and size of each pixel of the attribute information and the second image can be matched, the attribute of the second image can be accurately determined by 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 is not limited thereto. It can change suitably in the range which does not deviate from the main point of the present invention.
For example, the image generation unit 16 transmits the attribute information to the external device 50 by 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 image for history generated by the history generation unit 20 can be set as 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 example of acquiring the second image from the image reading device 30 and generating the image for the history has been described. 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 an image for the history.

また、上記実施の形態においては、用紙への画像の形成後に連続して当該用紙から画像の読み取りを行うため、用紙の搬送経路上に配置された画像読取部31により第2画像を生成していたが、第2画像の生成に画像読取部161を利用することもできる。この場合、ジョブの実行後にユーザーによりセットされた複数ページの用紙を画像読取部161が読み取り、履歴生成部20が1ジョブの履歴用の画像をまとめて生成すればよい。1ジョブ分の第1画像の属性情報を記憶部12か外部装置50の記憶部51に保存すれば、当該属性情報を1ジョブの履歴用の画像の生成に利用することができる。   Further, in the above embodiment, the second image is generated by the image reading unit 31 disposed on the sheet conveyance path in order to continuously read the image from the sheet after forming the image on the sheet. 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 sheets of a plurality of pages set by the user after execution of a job, and the history generation unit 20 may collectively generate an image for a history of one job. 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等の可搬型記録媒体を適用することが可能である。また、プログラムのデータを、通信回線を介して提供する媒体として、キャリアウエーブ(搬送波)も適用される。
Alternatively, the control unit 11 can read the program read when the attribute correction unit 19 and the history generation unit 20 execute the above-described processing procedure, and cause the control unit 11 to execute the above-described processing procedure. Not only the image forming system but also a computer such as a general-purpose PC can read the program to execute the processing procedure.
As a computer readable medium of 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. Also, as a medium for providing program data via a communication line, carrier wave (carrier wave) is also applied.

1 画像形成システム
10 画像形成装置
11 制御部
12 記憶部
13 操作部
16 画像生成部
17 画像処理部
18 画像形成部
19 属性補正部
20 履歴生成部
30 画像読取装置
31 画像読取部
50 外部装置
51 記憶部
Reference Signs List 1 image forming system 10 image forming apparatus 11 control unit 12 storage unit 13 operation unit 16 image generation unit 17 image processing unit 18 image formation unit 19 attribute correction unit 20 history generation unit 30 image reading device 31 image reading unit 50 external device 51 storage Department

Claims (24)

ビットマップ形式の第1画像を生成し、当該第1画像の各画素の属性を示す属性情報を生成する画像生成部と、
前記第1画像に基づいて用紙上に形成された画像を前記第1画像の解像度と異なる解像度で読み取って、前記第1画像と解像度が異なるビットマップ形式の第2画像を生成する画像読取部と、
前記第2画像の解像度と一致するように、前記属性情報の解像度を変換する属性補正部と、
を備え
前記属性補正部は、前記属性情報の解像度を変換する際、複数の画素の属性を統合して1つの属性に変換し、前記複数の画素の属性の中に文字の属性が少なくとも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 reader configured to read an image formed on a sheet of paper based on the first image at a resolution different from that of the first image and generate a second image of a bitmap format having a resolution different from that of the first image; ,
An attribute correction unit configured to convert the resolution of the attribute information so as to match the resolution of the second image;
Equipped with
When converting the resolution of the attribute information, the attribute correction unit integrates attributes of a plurality of pixels and converts them into one attribute, and there is at least one character attribute among the attributes of the plurality of pixels. An image processing apparatus characterized in that the integrated attribute is a character .
ビットマップ形式の第1画像を生成し、当該第1画像の各画素の属性を示す属性情報を生成する画像生成部と、
前記第1画像に基づいて用紙上に形成された画像を読み取って、前記第1画像と解像度が異なるビットマップ形式の第2画像を生成する画像読取部と、
前記第2画像の解像度と一致するように、前記属性情報の解像度を変換する属性補正部と、
前記第2画像及び解像度が変換された前記属性情報に基づいて、履歴用の画像を生成する履歴生成部と、
を備え
前記属性補正部は、前記属性情報の解像度を変換する際、複数の画素の属性を統合して1つの属性に変換し、前記複数の画素の属性の中に文字の属性が少なくとも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 of a bitmap format having a resolution different from that of the first image;
An attribute correction unit configured to convert the resolution of the attribute information so as to match the resolution of the second image;
A history generation unit that generates an image for history based on the second image and the attribute information whose resolution has been converted;
Equipped with
When converting the resolution of the attribute information, the attribute correction unit integrates attributes of a plurality of pixels and converts them into one attribute, and there is at least one character attribute among the attributes of the plurality of pixels. An image processing apparatus characterized in that the integrated attribute is a character .
ビットマップ形式の第1画像を生成し、当該第1画像の各画素の属性を示す属性情報を生成する画像生成部と、
前記第1画像に基づいて用紙上に形成された画像を読み取って、前記第1画像と解像度が異なるビットマップ形式の第2画像を生成する画像読取部と、
前記第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 of a bitmap format having a resolution different from that of the first image;
An attribute correction unit configured to convert the resolution of the attribute information so as to match the resolution of the second image;
The second image is divided into image areas for each attribute indicated by the attribute information, and each separated image area is subjected to compression processing of processing conditions according to the attribute, and then integrated to generate an image for history History generation unit,
An image processing apparatus comprising:
前記履歴生成部は、前記第2画像の下地領域を検出し、当該下地領域の階調値よりも階調値が大きく、かつ前記属性情報が文字の属性を示す領域を文字の領域として前記第2画像から分離し、前記第2画像から分離した各画像領域が文字の領域か文字以外の領域かによって異なる処理条件の圧縮処理を施して、前記履歴用の画像を生成することを特徴とする請求項3に記載の画像処理装置。   The history generation unit detects a background area of the second image, and the area having the gradation value larger than the gradation value of the background area and in which the attribute information indicates the attribute of the character is the area of the character. The image for history is generated by performing compression processing under different processing conditions depending on whether each image area separated from the second image is an area of characters or an area other than characters. The image processing apparatus according to claim 3. 前記属性補正部は、前記属性情報の解像度を変換する際、複数の画素の属性を統合して1つの属性に変換することを特徴とする請求項3又は4に記載の画像処理装置。5. The image processing apparatus according to claim 3, wherein when converting the resolution of the attribute information, the attribute correction unit integrates attributes of a plurality of pixels and converts them into one attribute. 前記属性補正部は、前記複数の画素の属性の中に文字の属性が少なくとも1つある場合、統合後の属性を文字とすることを特徴とする請求項5に記載の画像処理装置。The image processing apparatus according to claim 5, wherein the attribute correction unit sets the integrated attribute as a character when the attribute of the plurality of pixels includes at least one character attribute. 前記属性補正部は、前記第2画像中の各属性の画像領域と前記属性情報が示す各属性の画像領域の位置が一致するように、前記属性情報の各画素の移動、回転又はその両方を実施することを特徴とする請求項1〜のいずれか一項に記載の画像処理装置。 The attribute correction unit moves and / or rotates each pixel of the attribute information such that the image area of each attribute in the second image and the position of the image area of each attribute indicated by the attribute information coincide with each other. The image processing apparatus according to any one of claims 1 to 6 , which is implemented. 前記第1画像に、基準位置を示す複数の基準画像を付加する画像処理部を備え、
前記画像読取部は、前記複数の基準画像が付加された第1画像に基づいて用紙上に形成された画像を読み取って、前記第2画像を生成し、
前記属性補正部は、前記第2画像から前記複数の基準画像を検出し、前記第1画像及び前記第2画像のそれぞれにおける前記複数の基準画像の座標位置を用いて補正パラメーターを算出し、当該補正パラメーターを用いて前記属性情報の各画素の移動、回転又はその両方を実施することを特徴とする請求項に記載の画像処理装置。
An image processing unit that adds a plurality of reference images indicating a reference position to the first image;
The image reading unit reads an image formed on a sheet based on a 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, and calculates correction parameters using coordinate positions of the plurality of reference images in each of the first image and the second image. 8. The image processing apparatus according to claim 7 , wherein movement, rotation or both of each pixel of the attribute information is performed using a correction parameter.
前記画像処理部は、前記複数の基準画像の主走査方向、副走査方向又はその両方の位置をそれぞれ異ならせて前記第1画像に付加し、
前記属性補正部は、前記複数の基準画像のうち、前記属性情報の各画素の近傍に位置する少なくとも3つの基準画像の座標位置を用いて、前記補正パラメーターを算出することを特徴とする請求項に記載の画像処理装置。
The image processing unit adds different positions of the plurality of reference images in the main scanning direction, the sub scanning direction, or both of them to the first image.
The attribute correction unit is characterized in that the correction parameter is calculated using coordinate positions of at least three reference images located in the vicinity of each pixel of the attribute information among the plurality of reference images. 8. The image processing apparatus according to 8 .
前記第1画像に画像処理を施す画像処理部を備え、
前記属性補正部は、前記画像処理部によって画像処理が施された後の第1画像の属性を示すように前記属性情報を補正することを特徴とする請求項1〜のいずれか一項に記載の画像処理装置。
An image processing unit that performs image processing on the first image;
The property correcting unit, in any one of claim 1 to 7, wherein the correcting the attribute information to indicate the attribute of the first image after the image processing has been performed by the image processing unit Image processing apparatus as described.
前記属性補正部は、前記第1画像と前記第2画像の解像度の比率に応じて、前記属性情報が示すいずれかの属性を拡張又は縮小することを特徴とする請求項1〜10のいずれか一項に記載の画像処理装置。 11. The attribute correction unit according to any one of claims 1 to 10 , wherein the attribute correction unit expands or reduces any attribute indicated by the attribute information according to a ratio of resolutions of the first image and the second image. An image processing apparatus according to any one of the preceding claims. 前記第1画像と前記第2画像とを比較して用紙上に形成された画像を検査する検査部を備え、
前記検査部は、検査する際に前記属性情報を利用することを特徴とする請求項1〜11のいずれか一項に記載の画像処理装置。
The inspection unit configured to inspect the image formed on the sheet by comparing the first image and the second image;
The image processing apparatus according to any one of claims 1 to 11 , wherein the inspection unit uses the attribute information when inspecting.
ビットマップ形式の第1画像を生成し、当該第1画像の各画素の属性を示す属性情報を生成する画像生成ステップと、
前記第1画像に基づいて用紙上に形成された画像を前記第1画像の解像度と異なる解像度で読み取って、前記第1画像と解像度が異なるビットマップ形式の第2画像を生成する画像読取ステップと、
前記第2画像の解像度と一致するように、前記属性情報の解像度を変換する属性補正ステップと、
を含み、
前記属性補正ステップでは、前記属性情報の解像度を変換する際、複数の画素の属性を統合して1つの属性に変換し、前記複数の画素の属性の中に文字の属性が少なくとも1つある場合、統合後の属性を文字とすることを特徴とする画像処理方法。
An image generating step of generating a first image in a bitmap format and generating attribute information indicating an attribute of each pixel of the first image;
Reading an image formed on a sheet based on the first image at a resolution different from that of the first image, and generating a second image of a bitmap format having a resolution different from that of the first image; ,
An attribute correction step of converting the resolution of the attribute information so as to match the resolution of the second image;
Only including,
In the attribute correction step, when converting the resolution of the attribute information, the attributes of a plurality of pixels are integrated and converted into one attribute, and there is at least one character attribute among the attributes of the plurality of pixels. An image processing method characterized in that the integrated attribute is a character .
ビットマップ形式の第1画像を生成し、当該第1画像の各画素の属性を示す属性情報を生成する画像生成ステップと、
前記第1画像に基づいて用紙上に形成された画像を読み取って、前記第1画像と解像度が異なるビットマップ形式の第2画像を生成する画像読取ステップと、
前記第2画像の解像度と一致するように、前記属性情報の解像度を変換する属性補正ステップと、
前記第2画像及び解像度が変換された前記属性情報に基づいて、履歴用の画像を生成する履歴生成ステップと、
を含み、
前記属性補正ステップでは、前記属性情報の解像度を変換する際、複数の画素の属性を統合して1つの属性に変換し、前記複数の画素の属性の中に文字の属性が少なくとも1つある場合、統合後の属性を文字とすることを特徴とする画像処理方法。
An image generating step of generating a first image in a bitmap format and generating attribute information indicating an attribute of each pixel of the first image;
An image reading step of reading an image formed on a sheet based on the first image and generating a second image of a bitmap format having a resolution different from that of the first image;
An attribute correction step of converting the resolution of the attribute information so as to match the resolution of the second image;
A history generation step of generating an image for a history based on the second image and the attribute information whose resolution has been converted;
Only including,
In the attribute correction step, when converting the resolution of the attribute information, the attributes of a plurality of pixels are integrated and converted into one attribute, and there is at least one character attribute among the attributes of the plurality of pixels. An image processing method characterized in that the integrated attribute is a character .
ビットマップ形式の第1画像を生成し、当該第1画像の各画素の属性を示す属性情報を生成する画像生成ステップと、
前記第1画像に基づいて用紙上に形成された画像を読み取って、前記第1画像と解像度が異なるビットマップ形式の第2画像を生成する画像読取ステップと、
前記第2画像の解像度と一致するように、前記属性情報の解像度を変換する属性補正ステップと、
前記第2画像を前記属性情報が示す属性ごとの画像領域に分離し、分離した各画像領域にその属性に応じた処理条件の圧縮処理を施した後、統合して履歴用の画像を生成する履歴生成ステップと、
を含むことを特徴とする画像処理方法。
An image generating step of generating a first image in a bitmap format and generating attribute information indicating an attribute of each pixel of the first image;
An image reading step of reading an image formed on a sheet based on the first image and generating a second image of a bitmap format having a resolution different from that of the first image;
An attribute correction step of converting the resolution of the attribute information so as to match the resolution of the second image;
The second image is divided into image areas for each attribute indicated by the attribute information, and each separated image area is subjected to compression processing of processing conditions according to the attribute, and then integrated to generate an image for history History generation step,
An image processing method comprising:
前記履歴生成ステップでは、前記第2画像の下地領域を検出し、当該下地領域の階調値よりも階調値が大きく、かつ前記属性情報が文字の属性を示す領域を文字の領域として前記第2画像から分離し、前記第2画像から分離した各画像領域が文字の領域か文字以外の領域かによって異なる処理条件の圧縮処理を施して、前記履歴用の画像を生成することを特徴とする請求項15に記載の画像処理方法。   In the history generation step, a background area of the second image is detected, and a gradation value is larger than a gradation value of the background area, and the area where the attribute information indicates the attribute of the character is the area of the character. The image for history is generated by performing compression processing under different processing conditions depending on whether each image area separated from the second image is an area of characters or an area other than characters. The image processing method according to claim 15. 前記属性補正ステップでは、前記属性情報の解像度を変換する際、複数の画素の属性を統合して1つの属性に変換することを特徴とする請求項15又は16に記載の画像処理方法。17. The image processing method according to claim 15, wherein when converting the resolution of the attribute information in the attribute correction step, attributes of a plurality of pixels are integrated and converted into one attribute. 前記属性補正ステップでは、前記複数の画素の属性の中に文字の属性が少なくとも1つある場合、統合後の属性を文字とすることを特徴とする請求項17に記載の画像処理方法。The image processing method according to claim 17, wherein in the attribute correction step, when there is at least one character attribute among the plurality of pixel attributes, the integrated attribute is a character. 前記属性補正ステップでは、前記第2画像中の各属性の画像領域と前記属性情報が示す各属性の画像領域の位置が一致するように、前記属性情報の各画素の移動、回転又はその両方を実施することを特徴とする請求項13〜18のいずれか一項に記載の画像処理方法。 In the attribute correction step, movement and / or rotation of each pixel of the attribute information is performed such that the image area of each attribute in the second image and the position of the image area of each attribute indicated by the attribute information coincide. The image processing method according to any one of claims 13 to 18 , which is performed. 前記第1画像に、基準位置を示す複数の基準画像を付加する画像処理ステップを含み、
前記画像読取ステップでは、前記複数の基準画像が付加された第1画像に基づいて用紙上に形成された画像を読み取って、前記第2画像を生成し、
前記属性補正ステップでは、前記第2画像から前記複数の基準画像を検出し、前記第1画像及び前記第2画像のそれぞれにおける前記複数の基準画像の座標位置を用いて補正パラメーターを算出し、当該補正パラメーターを用いて前記属性情報の各画素の移動、回転又はその両方を実施することを特徴とする請求項19に記載の画像処理方法。
Including an image processing step of adding a plurality of reference images indicating the reference position to the first image;
In the image reading step, an image formed on a sheet is read based on a first image to which the plurality of reference images are added, and a second image is generated.
In the attribute correction step, the plurality of reference images are detected from the second image, and correction parameters are calculated using coordinate positions of the plurality of reference images in each of the first image and the second image, The image processing method according to claim 19 , wherein movement, rotation or both of each pixel of the attribute information is performed using a correction parameter.
前記画像処理ステップでは、前記複数の基準画像の主走査方向、副走査方向又はその両方の位置をそれぞれ異ならせて前記第1画像に付加し、
前記属性補正ステップでは、前記複数の基準画像のうち、前記属性情報の各画素の近傍に位置する少なくとも3つの基準画像の座標位置を用いて、前記補正パラメーターを算出することを特徴とする請求項20に記載の画像処理方法。
In the image processing step, the positions of the main scanning direction, the sub scanning direction, or both of the plurality of reference images are made different and added to the first image,
In the attribute correction step, the correction parameter is calculated using coordinate positions of at least three reference images located in the vicinity of each pixel of the attribute information among the plurality of reference images. 20. The image processing method according to 20 .
前記第1画像に画像処理を施す画像処理ステップを含み、
前記属性補正ステップでは、前記画像処理ステップにおいて画像処理が施された後の第1画像の属性を示すように前記属性情報を補正することを特徴とする請求項13〜19のいずれか一項に記載の画像処理方法。
Including an image processing step of performing image processing on the first image;
20. The attribute correction step according to any one of claims 13 to 19 , wherein the attribute information is corrected so as to indicate the attribute of the first image after the image processing is performed in the image processing step. Image processing method described.
前記属性補正ステップでは、前記第1画像と前記第2画像の解像度の比率に応じて、前記属性情報が示すいずれかの属性を拡張又は縮小することを特徴とする請求項13〜22のいずれか一項に記載の画像処理方法。 23. The attribute correction step according to any one of claims 13 to 22 , wherein any attribute indicated by the attribute information is expanded or reduced according to a ratio of resolutions of the first image and the second image. The image processing method according to one aspect. 前記第1画像と前記第2画像とを比較して用紙上に形成された画像を検査する検査ステップを含み、
前記検査ステップでは、検査する際に前記属性情報を利用することを特徴とする請求項13〜23のいずれか一項に記載の画像処理方法。
Including an inspection step of comparing the first image and the second image to inspect an image formed on a sheet of paper;
The image processing method according to any one of claims 13 to 23 , wherein in the inspection step, the attribute information is used in the inspection.
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 JP2016081102A (en) 2016-05-16
JP6539976B2 true 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)

Families Citing this family (2)

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

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5780052B2 (en) * 2011-08-22 2015-09-16 コニカミノルタ株式会社 Image processing system
JP5861503B2 (en) * 2012-03-06 2016-02-16 株式会社リコー Image inspection apparatus and method
JP6459190B2 (en) * 2014-03-18 2019-01-30 株式会社リコー Image inspection apparatus, image forming system, and image inspection method

Also Published As

Publication number Publication date
JP2016081102A (en) 2016-05-16

Similar Documents

Publication Publication Date Title
JP6672973B2 (en) Image forming system, image forming apparatus, image forming method, and program
JP6128092B2 (en) History generation apparatus and history generation method
JP6229672B2 (en) Image forming apparatus and history generation method
US20200019353A1 (en) Image inspection system, image inspection method, non-transitory computer-readable recording medium storing image inspection program
JP6357786B2 (en) Image inspection apparatus, image inspection system, and image inspection method
US8279483B2 (en) Method for performing pattern matching and line thinning on an image
JP5874721B2 (en) Image processing apparatus, image correction method, and program
JP5861503B2 (en) Image inspection apparatus and method
JP6323190B2 (en) Inspection apparatus, image forming apparatus, and image inspection method
US11936819B2 (en) Image inspection apparatus, system, method, and program product that combines a trial print and an area designated in a recording medium
JP2010118927A (en) Program, recording medium, image processing apparatus, image processing method, and sheet for gradation correction parameter generation
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
US10178278B2 (en) Image forming apparatus that applies correction selectively to a subset of pixels
JP2015178190A (en) Image inspection device, image formation 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
JP6705620B2 (en) History generation device, history generation method, and program
JP2006013769A (en) Image output system, image output method, program for implementing the method, and computer-readable information recording medium recorded with the program
JP6634873B2 (en) Image forming apparatus and image optimization method
JP6769203B2 (en) Image forming device, image processing device and image processing method
JP2021193783A (en) Image correction device, image forming apparatus, image correction method, and program
JP2016127346A (en) Image processing apparatus, image forming apparatus, method for controlling image processing apparatus, and control program of image processing apparatus

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