JP6634873B2 - Image forming apparatus and image optimization method - Google Patents

Image forming apparatus and image optimization method Download PDF

Info

Publication number
JP6634873B2
JP6634873B2 JP2016032937A JP2016032937A JP6634873B2 JP 6634873 B2 JP6634873 B2 JP 6634873B2 JP 2016032937 A JP2016032937 A JP 2016032937A JP 2016032937 A JP2016032937 A JP 2016032937A JP 6634873 B2 JP6634873 B2 JP 6634873B2
Authority
JP
Japan
Prior art keywords
character
image
image data
pixel
area
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
JP2016032937A
Other languages
Japanese (ja)
Other versions
JP2017152889A (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 JP2016032937A priority Critical patent/JP6634873B2/en
Publication of JP2017152889A publication Critical patent/JP2017152889A/en
Application granted granted Critical
Publication of JP6634873B2 publication Critical patent/JP6634873B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Description

本発明は、画像形成装置及び画像の最適化方法に関する。   The present invention relates to an image forming apparatus and an image optimizing method.

プリンター、複写機等の画像形成装置では、画像形成を繰り返し行うことで、形成する文字等の線幅に変化が生じ、画質が劣化することがある。文字を正確かつ安定して再現するため、原画像データの画像処理に使用するパラメーターか、画像形成のエンジンの設定を調整して、形成する画像を最適化することが一般的である。   In an image forming apparatus such as a printer or a copying machine, by repeatedly performing image formation, a line width of a character or the like to be formed changes, and image quality may be deteriorated. In order to accurately and stably reproduce characters, it is general to adjust parameters used for image processing of original image data or settings of an image forming engine to optimize an image to be formed.

例えば、線幅の変化に対しては、細線を配置したテストパターンを用紙上に形成し、この用紙面を読み取って得られた読取画像データを解析して細線の線幅を評価し、目標の線幅となるように原画像データを細線化処理している(例えば、特許文献1参照。)。
また、用紙上に形成した線幅の測定値と目標値との差又は比率に応じて、細線化処理における線幅の調整値を変更することも行われている(例えば、特許文献2参照)。
For example, with respect to a change in line width, a test pattern in which fine lines are arranged is formed on a sheet, the read image data obtained by reading the sheet surface is analyzed, and the line width of the thin line is evaluated. The original image data is thinned so as to have a line width (for example, see Patent Document 1).
Further, an adjustment value of the line width in the thinning process is changed according to a difference or a ratio between a measured value of the line width formed on the paper and a target value (for example, see Patent Document 2). .

特開2015−4702号公報JP-A-2015-4702 特開2015−35643号公報JP 2015-35643A

テストパターンを形成すれば、文字の劣化が生じているか否かを把握できるため、従来は、定期的にテストパターンを形成するか、文字の劣化が疑われる時にテストパターンを形成して、画像の最適化を実行する必要性を判断していた。しかしながら、テストパターンの形成前にすでに文字の劣化が生じていた場合、画像の最適化を実行するまでの間、文字が劣化した画像が形成され続けてしまう。   By forming a test pattern, it is possible to determine whether or not character deterioration has occurred.Conventionally, a test pattern is formed periodically, or a test pattern is formed when character deterioration is suspected. We had determined that we needed to perform the optimization. However, if the character has already deteriorated before the test pattern is formed, the image with the deteriorated character continues to be formed until the image is optimized.

また、用紙面の読取画像データから文字の線幅の変化を検出するには、一定の解像度が必要であり、極小文字、大文字、中間階調の文字等はわずかな線幅の変化を検出することが難しい。   In addition, a certain resolution is required to detect a change in the line width of a character from the read image data on the paper surface. It is difficult.

本発明の課題は、文字の劣化を簡易に検出し、劣化が生じたタイミングで画像の最適化を実行することである。   An object of the present invention is to easily detect deterioration of a character and execute image optimization at a timing when the deterioration occurs.

請求項1に記載の発明によれば、
原画像データに基づいて、用紙上に画像を形成する画像形成部と、
前記画像形成部により画像が形成された用紙面を読み取って、読取画像データを生成する画像読取部と、
前記読取画像データを解析して、前記画像形成部により形成する画像の最適化を実行する制御部と、
各文字のリファレンスの文字画素率及びフォント情報を記憶する記憶部と、を備え、
前記制御部は、
前記原画像データに付加された文字の属性情報及びフォント情報に基づいて、1文字ごとに文字領域の位置を決定し、1文字以上の文字領域とその背景領域を含むように1又は複数の矩形領域を前記読取画像データから抽出して、各矩形領域内に形成された文字画素率を算出し、
前記画像の最適化を実行した直後に前記画像形成部により画像が形成された1〜nページ目の用紙の読取画像データにおいて算出した各矩形領域の文字画素率を、前記リファレンスの文字画素率として前記各矩形領域が含む文字領域のフォント情報とともに前記記憶部に保存し、
n+1ページ目以降の用紙の読取画像データを文字の劣化の検出対象として、当該読取画像データにおいて算出した各矩形領域の文字画素率を、前記1〜nページ目の用紙の読取画像データにおいて算出し前記記憶部に保存された当該矩形領域が含む文字領域とフォント情報が一致する前記リファレンスの文字画素率と比較したときの差が許容範囲外にある場合に文字の劣化を検出し、前記画像の最適化を実行することを特徴とする画像形成装置が提供される。
According to the invention described in claim 1,
An image forming unit that forms an image on paper based on the original image data;
An image reading unit that reads a sheet surface on which an image is formed by the image forming unit and generates read image data;
A control unit that analyzes the read image data and executes optimization of an image formed by the image forming unit;
A storage unit for storing a character pixel ratio and font information of a reference of each character,
The control unit includes:
The position of a character area is determined for each character based on the attribute information and font information of the character added to the original image data, and one or more rectangles are formed so as to include one or more character areas and their background areas. Extracting a region from the read image data, calculating a character pixel ratio formed in each rectangular region,
The character pixel rate of each rectangular area calculated in the read image data of the 1st to nth pages of paper on which the image is formed by the image forming unit immediately after executing the image optimization is defined as the character pixel rate of the reference. Stored in the storage unit together with font information of a character area included in each of the rectangular areas,
With the read image data of the (n + 1) th and subsequent pages of the sheet as a detection target of character deterioration, the character pixel ratio of each rectangular area calculated in the read image data is calculated in the read image data of the first to nth pages of paper. When the difference between the character area included in the rectangular area and the font information matches the character pixel rate of the reference that is stored in the storage unit and is outside the allowable range, character deterioration is detected. An image forming apparatus that performs optimization is provided.

請求項に記載の発明によれば、
前記制御部は、
前記画像形成部により複数ページの用紙に同一の画像を形成する場合、前記1〜nページのいずれか1ページ又は全ページの読取画像データからすべての矩形領域を抽出して、前記リファレンスの文字画素率の算出対象とし、
前記画像形成部により複数ページの用紙に異なる画像を形成する場合、前記1〜nページの読取画像データから、各ページにおいて前記フォント情報が共通する1又は複数の矩形領域を抽出して、前記リファレンスの文字画素率の算出対象とすることを特徴とする請求項に記載の画像形成装置が提供される。
According to the invention described in claim 2 ,
The control unit includes:
When the same image is formed on a plurality of pages of paper by the image forming unit, all rectangular areas are extracted from read image data of any one of pages 1 to n or all pages, and the reference character pixels are extracted. Rate calculation target,
When different images are formed on a plurality of pages of paper by the image forming unit, one or a plurality of rectangular areas having the same font information in each page are extracted from the read image data of the first to n pages, and 2. The image forming apparatus according to claim 1 , wherein the character pixel ratio is calculated.

請求項に記載の発明によれば、
前記制御部は、各矩形領域において、前記文字領域の代表画素値とその背景領域の代表画素値と、各代表画素値間に位置する閾値とを決定し、前記矩形領域内の各画素の画素値を決定した閾値と比較することにより前記矩形領域内に形成された文字の画素を決定し、前記矩形領域内の全画素中の前記文字の画素の数の割合を前記文字画素率として算出することを特徴とする請求項1又は2に記載の画像形成装置が提供される。
According to the invention described in claim 3 ,
The control unit determines, in each rectangular area, a representative pixel value of the character area, a representative pixel value of the background area thereof, and a threshold located between the representative pixel values, and determines a pixel of each pixel in the rectangular area. A pixel of a character formed in the rectangular area is determined by comparing the value with the determined threshold value, and a ratio of the number of pixels of the character to all pixels in the rectangular area is calculated as the character pixel ratio. An image forming apparatus according to claim 1 or 2 , is provided.

請求項に記載の発明によれば、
前記制御部は、前記文字の劣化の検出対象とするページの原画像データに付加された属性情報及びフォント情報を取得し、前記属性情報が文字の属性を示す文字領域であって、前記フォント情報が前記リファレンスの文字画素率とともに記憶されたフォント情報と一致する文字領域を検索し、該当する文字領域がある場合、当該文字領域を含むように前記読取画像データから文字画素率を算出する各矩形領域を抽出することを特徴とする請求項1〜のいずれか一項に記載の画像形成装置が提供される。
According to the invention described in claim 4 ,
The control unit acquires attribute information and font information added to the original image data of the page on which the character deterioration is to be detected, and the attribute information is a character area indicating a character attribute, and the font information Is searched for a character area that matches the font information stored together with the reference character pixel rate, and if there is a corresponding character area, each rectangle for calculating the character pixel rate from the read image data to include the character area the image forming apparatus according to any one of claims 1 to 3, characterized in that extracting a region is provided.

請求項に記載の発明によれば、
前記制御部は、前記矩形領域のサイズを、前記属性情報が文字の属性を示す文字領域のサイズか、又は前記フォント情報が示すフォントタイプ及びフォントサイズに応じて、決定することを特徴とする請求項1〜のいずれか一項に記載の画像形成装置が提供される。
According to the invention described in claim 5 ,
The control unit may determine the size of the rectangular area according to a size of a character area in which the attribute information indicates a character attribute, or a font type and a font size indicated by the font information. An image forming apparatus according to any one of Items 1 to 4 , is provided.

請求項に記載の発明によれば、
前記制御部は、1ページの読取画像データにおいて、前記リファレンスの文字画素率との差が許容範囲外にある前記矩形領域の数が一定数以上ある場合に、前記画像の最適化を実行することを特徴とする請求項1〜のいずれか一項に記載の画像形成装置が提供される。
According to the invention described in claim 6 ,
The control unit executes the optimization of the image when the difference between the character pixel rate of the reference and the character pixel rate of the reference is out of an allowable range in the read image data of one page is equal to or more than a certain number. An image forming apparatus according to any one of claims 1 to 5 , characterized in that:

請求項に記載の発明によれば、
前記画像の最適化は、画像の線幅、濃度特性及び最高濃度のうちの少なくとも1つの最適化であることを特徴とする請求項1〜のいずれか一項に記載の画像形成装置が提供される。
According to the invention described in claim 7 ,
Optimization of the image, the image line width, provides an image forming apparatus according to any one of claims 1 to 6, characterized in that at least one optimization of the density characteristics and maximum density Is done.

請求項に記載の発明によれば、
画像形成部により原画像データに基づいて、用紙上に画像を形成するステップと、
画像読取部により、前記画像が形成された用紙面を読み取って、読取画像データを生成するステップと、
制御部により、前記読取画像データを解析して、前記画像形成部により形成する画像の最適化を実行するステップと、を含み、
前記画像の最適化を実行するステップは、
前記原画像データに付加された文字の属性情報及びフォント情報に基づいて、1文字ごとに文字領域の位置を決定し、1文字以上の文字領域とその背景領域を含むように1又は複数の矩形領域を前記読取画像データから抽出するステップと、
前記抽出した各矩形領域内に形成された文字画素率を算出するステップと、
前記画像の最適化を実行した直後に前記画像形成部により画像が形成された1〜nページ目の用紙の読取画像データにおいて算出した各矩形領域の文字画素率を、リファレンスの文字画素率として前記各矩形領域が含む文字領域のフォント情報とともに記憶部に保存するステップと、
n+1ページ目以降の用紙の読取画像データを文字の劣化の検出対象として、当該読取画像データにおいて算出した各矩形領域の文字画素率を、前記1〜nページ目の用紙の読取画像データにおいて算出し前記記憶部に保存された当該矩形領域が含む文字領域とフォント情報が一致する前記リファレンスの文字画素率と比較したときの差が許容範囲外にある場合に文字の劣化を検出し、前記画像の最適化を実行するステップと、
を含むことを特徴とする画像の最適化方法が提供される。
According to the invention described in claim 8 ,
Forming an image on paper based on the original image data by the image forming unit;
An image reading unit that reads a sheet surface on which the image is formed to generate read image data;
Analyzing a read image data by a control unit, and performing optimization of an image formed by the image forming unit,
Performing the optimization of the image,
The position of a character area is determined for each character based on the attribute information and font information of the character added to the original image data, and one or more rectangles are formed so as to include one or more character areas and their background areas. Extracting an area from the read image data;
Calculating a character pixel ratio formed in each of the extracted rectangular regions;
Immediately after executing the image optimization, the character pixel rate of each rectangular area calculated in the read image data of the first to n-th sheets on which the image is formed by the image forming unit is defined as the character pixel rate of the reference. Storing in a storage unit together with font information of a character area included in each rectangular area;
With the read image data of the (n + 1) th and subsequent pages of the sheet as a detection target of character deterioration, the character pixel ratio of each rectangular area calculated in the read image data is calculated in the read image data of the first to nth pages of paper. When the difference between the character area included in the rectangular area and the font information matches the character pixel rate of the reference that is stored in the storage unit and is outside the allowable range, character deterioration is detected. Performing an optimization;
And a method for optimizing an image.

本発明によれば、文字の劣化を簡易に検出し、劣化が生じたタイミングで画像の最適化を実行することができる。   ADVANTAGE OF THE INVENTION According to this invention, the deterioration of a character can be easily detected and the image can be optimized at the timing when the deterioration occurs.

本実施の形態の画像形成装置の概略構成を示す正面図である。FIG. 1 is a front view illustrating a schematic configuration of an image forming apparatus according to an embodiment. 画像形成装置の構成を機能ごとに表すブロック図である。FIG. 2 is a block diagram illustrating a configuration of the image forming apparatus for each function. 画像形成装置が、画像の最適化を実行するときの処理手順を示すフローチャートである。9 is a flowchart illustrating a processing procedure when the image forming apparatus executes image optimization. 原画像データに付加された属性情報及びフォント情報により、読取画像データから抽出する矩形領域を表す図である。FIG. 7 is a diagram illustrating a rectangular area extracted from read image data based on attribute information and font information added to original image data. 複数の文字領域を含むように抽出された矩形領域の例を示している。9 shows an example of a rectangular area extracted to include a plurality of character areas.

以下、本発明の画像形成装置及び画像の最適化方法の実施の形態について、図面を参照して説明する。   Hereinafter, embodiments of an image forming apparatus and an image optimizing method of the present invention will be described with reference to the drawings.

図1は、本実施の形態の画像形成装置Gの概略構成を示している。
図1に示すように、画像形成装置Gは、用紙上に画像を形成する画像形成部20と、当該用紙面を読み取る画像読取部30と、を備えている。
FIG. 1 shows a schematic configuration of an image forming apparatus G according to the present embodiment.
As shown in FIG. 1, the image forming apparatus G includes an image forming unit 20 that forms an image on a sheet, and an image reading unit 30 that reads the surface of the sheet.

図2は、画像形成装置Gの主な構成を機能ごとに表している。
図2に示すように、画像形成装置Gは、制御部11、記憶部12、操作部13、表示部14、通信部15、画像生成部16、画像読取部17、画像メモリー18、画像処理部19、画像形成部20及び画像読取部30を備えている。
FIG. 2 illustrates a main configuration of the image forming apparatus G for each function.
As shown in FIG. 2, the image forming apparatus G 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 reading unit 17, an image memory 18, an image processing unit. 19, an image forming unit 20 and an image reading unit 30.

制御部11は、CPU(Central Processing Unit)、RAM(Random Access Memory)等を備えて構成され、記憶部12から各種プログラムを読み出して実行することにより、各部を制御する。
例えば、制御部11は、画像生成部16又は画像読取部17により生成され、画像メモリー18に保持された原画像データを、画像処理部19により画像処理させて、画像処理後の原画像データに基づいて、画像形成部20により用紙上に画像を形成させる。
The control unit 11 includes a CPU (Central Processing Unit), a RAM (Random Access Memory), and the like, and controls each unit by reading and executing various programs from the storage unit 12.
For example, the control unit 11 causes the image processing unit 19 to perform image processing on the original image data generated by the image generation unit 16 or the image reading unit 17 and held in the image memory 18, and converts the original image data into the original image data after the image processing. The image forming unit 20 forms an image on a sheet based on the image.

制御部11は、画像形成後の用紙面を画像読取部30により読み取って得られた読取画像データを解析して、画像形成部20により形成する画像の最適化を実行する。
画像の最適化とは、画像を正確かつ安定して再現するための調整を行うことをいう。このような調整としては、例えば線幅、濃度特性、最高濃度等の調整がある。
The control unit 11 analyzes the read image data obtained by reading the sheet surface after the image formation by the image reading unit 30 and optimizes the image formed by the image forming unit 20.
The optimization of an image refers to an adjustment for accurately and stably reproducing an image. Examples of such adjustment include adjustment of line width, density characteristics, maximum density, and the like.

記憶部12は、制御部11により読み取り可能なプログラム、プログラムの実行時に用いられるファイル等を記憶している。記憶部12としては、ハードディスク等の大容量メモリーを用いることができる。
例えば、記憶部12は、ひらがな、アルファベット等の各文字のリファレンスの文字画素率及びフォント情報を記憶している。
The storage unit 12 stores programs that can be read by the control unit 11, files used when executing the programs, and the like. As the storage unit 12, a large-capacity memory such as a hard disk can be used.
For example, the storage unit 12 stores a reference character pixel ratio and font information of each character such as a hiragana and an alphabet.

操作部13は、ユーザーの操作に応じた操作信号を生成し、制御部11に出力する。操作部13としては、キーパッド、表示部14と一体に構成されたタッチパネル等を用いることができる。   The operation unit 13 generates an operation signal according to a user operation and outputs the operation signal to the control unit 11. As the operation unit 13, a keypad, a touch panel integrated with the display unit 14, or the like can be used.

表示部14は、制御部11の指示にしたがって操作画面等を表示する。表示部14としては、LCD(Liquid Crystal Display)、OELD(Organic Electro Luminescence Display)等を用いることができる。   The display unit 14 displays an operation screen or the like according to 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は、ネットワーク上の外部装置、例えばユーザー端末、サーバー、他の画像形成装置等と通信する。
通信部15は、ユーザー端末からネットワークを介して、画像を形成する指示内容がページ記述言語(PDL:Page Description Language)で記述されたベクトルデータを受信する。
The communication unit 15 communicates with an external device on the network, for example, a user terminal, a server, another image forming device, or the like.
The communication unit 15 receives, from a user terminal via a network, vector data in which an instruction to form an image is described in a page description language (PDL).

画像生成部16は、通信部15により受信したベクトルデータをラスタライズ処理し、ビットマップ形式の原画像データを生成する。原画像データは、各画素がC(シアン)、M(マジェンタ)、Y(イエロー)及びK(黒)の4色の画素値を有する。画素値は画像の濃淡を表すデータ値であり、例えば8bitのデータ値は0〜255階調の濃淡を表す。   The image generation unit 16 performs a rasterization process on the vector data received by the communication unit 15 to generate bitmap format original image data. In the original image data, each pixel has four color pixel values of C (cyan), M (magenta), Y (yellow), and K (black). The pixel value is a data value representing the shading of the image. For example, an 8-bit data value represents shading of 0 to 255 gradations.

画像生成部16は、原画像データの生成時、原画像データの各画素の属性を示す属性情報を生成し、原画像データに付加(タグ)する。
例えば、画像生成部16は、ベクトルデータに記述された文字コードにしたがって描画した、かな、アルファベット、数字等の画像の各画素の属性を文字(Text)と決定し、DXF、SVG、WMF等のベクトル形式の記述にしたがって描画した罫線、多角形、円等の画像の各画素の属性を図形(Graphics)と決定する。また、画像生成部16は、JPEG等のファイル形式にしたがって描画した写真等の画像の属性を写真(Image)と決定する。
When generating the original image data, the image generating unit 16 generates attribute information indicating the attribute of each pixel of the original image data, and adds (tags) the attribute information to the original image data.
For example, the image generation unit 16 determines the attribute of each pixel of an image such as a kana, an alphabet, and a number, which is drawn in accordance with a character code described in vector data, as a character (Text), and outputs the attribute such as DXF, SVG, or WMF. The attribute of each pixel of an image such as a ruled line, a polygon, or a circle drawn according to the description in the vector format is determined as a graphic. Further, the image generation unit 16 determines the attribute of an image such as a photograph drawn in accordance with a file format such as JPEG as a photograph (Image).

また、画像生成部16は、原画像データの生成時、原画像データ中の文字のフォント情報を生成し、原画像データに付加する。
例えば、画像生成部16は、ベクトルデータに記述された文字の文字コード、フォントタイプ、フォントサイズ、色、濃度等の情報を、フォント情報として生成する。なお、文字コードは、Unicode、JISコード等の各文字に個別に付与される識別コードである。
When generating the original image data, the image generation unit 16 generates font information of characters in the original image data and adds the font information to the original image data.
For example, the image generating unit 16 generates information such as a character code, a font type, a font size, a color, and a density of a character described in vector data as font information. The character code is an identification code individually assigned to each character such as Unicode, JIS code and the like.

画像読取部17は、自動原稿送り装置、スキャナー等からなり、原稿台上にセットされた原稿面を読み取って、ビットマップ形式の原画像データを生成する。画像読取部17により生成された原画像データは、各画素がR(赤)、G(緑)及びB(青)の3色の画素値を有する。この原画像データは、図示しない色変換部によって、C、M、Y及びKの4色の画素値を有する原画像データに色変換される。   The image reading unit 17 includes an automatic document feeder, a scanner, and the like, reads a document surface set on a document table, and generates bitmap original image data. In the original image data generated by the image reading unit 17, each pixel has a pixel value of three colors of R (red), G (green), and B (blue). This original image data is color-converted into original image data having pixel values of four colors C, M, Y, and K by a color conversion unit (not shown).

画像メモリー18は、画像生成部16又は画像読取部17により生成された原画像データを一時的に保持するバッファーメモリーである。画像メモリー18としては、DRAM(Dynamic RAM)等を用いることができる。   The image memory 18 is a buffer memory that temporarily stores original image data generated by the image generation unit 16 or the image reading unit 17. As the image memory 18, a DRAM (Dynamic RAM) or the like can be used.

画像処理部19は、画像メモリー18から原画像データを読み出して、画像の回転、拡大、縮小、ページ番号の付加、ページ集約等のレイアウト処理、細線化処理、濃度補正処理、疑似的に中間調を再現する中間調処理等の各種画像処理を施す。   The image processing unit 19 reads the original image data from the image memory 18 and performs layout processing such as image rotation, enlargement, reduction, page number addition, page aggregation, thinning processing, density correction processing, pseudo halftone Various image processing such as halftone processing for reproducing the image is performed.

画像形成部20は、画像処理部19により画像処理された原画像データの各画素の4色の画素値に応じて、C、M、Y及びKの4色からなる画像を用紙上に形成する。
画像形成部20は、図1に示すように、4つの書込みユニット21、中間転写ベルト22、2次転写ローラー23、定着装置24及び給紙トレイ25を備えている。
The image forming unit 20 forms an image composed of four colors of C, M, Y and K on a sheet according to the pixel values of the four colors of each pixel of the original image data processed by the image processing unit 19. .
As shown in FIG. 1, the image forming section 20 includes four writing units 21, an intermediate transfer belt 22, a secondary transfer roller 23, a fixing device 24, and a paper feed tray 25.

4つの書込みユニット21は、中間転写ベルト22のベルト面に沿って直列(タンデム)に配置され、C、M、Y及びKの各色の画像を形成する。各書込みユニット21は形成する画像の色が異なるだけで構成は同じであり、図1に示すように、光走査装置2a、感光体2b、現像部2c、帯電部2d、クリーニング部2e及び1次転写ローラー2fを備えている。   The four writing units 21 are arranged in series (tandem) along the belt surface of the intermediate transfer belt 22, and form images of C, M, Y, and K colors. Each writing unit 21 has the same configuration except that the color of the image to be formed is different. As shown in FIG. 1, the optical scanning device 2a, photoconductor 2b, developing unit 2c, charging unit 2d, cleaning unit 2e, and primary unit A transfer roller 2f is provided.

画像形成時、各書込みユニット21では、帯電部2dにより感光体2bを帯電させた後、原画像データに基づいて光走査装置2aにより出射した光束で感光体2b上を走査し、静電潜像を形成する。現像部2cによりトナー等の色材を供給して現像すると、感光体2b上に画像が形成される。
4つの書込みユニット21の感光体2b上にそれぞれ形成した画像を、それぞれの1次転写ローラー2fにより、中間転写ベルト22上に順次重ねて転写(1次転写)する。これにより、中間転写ベルト22上には各色からなる画像が形成される。1次転写後、クリーニング部2eにより感光体2b上に残留する色材を除去する。
At the time of image formation, each writing unit 21 charges the photoconductor 2b by the charging unit 2d, and then scans the photoconductor 2b with a light beam emitted by the optical scanning device 2a based on the original image data, and forms an electrostatic latent image. To form When a color material such as toner is supplied and developed by the developing unit 2c, an image is formed on the photoconductor 2b.
The images formed on the photoconductors 2b of the four writing units 21 are sequentially transferred (primary transfer) onto the intermediate transfer belt 22 by the respective primary transfer rollers 2f. Thus, an image of each color is formed on the intermediate transfer belt 22. After the primary transfer, the coloring material remaining on the photoconductor 2b is removed by the cleaning unit 2e.

画像形成部20は、給紙トレイ25から用紙を給紙し、2次転写ローラー23により中間転写ベルト22から用紙上に画像を転写(2次転写)した後、用紙を定着装置24により加熱及び加圧して、定着処理を施す。
用紙の両面に画像を形成する場合は、搬送経路26に用紙を搬送してその表裏を反転した後、再度2次転写ローラー23へ用紙を搬送する。
The image forming unit 20 feeds the paper from the paper feed tray 25, transfers the image from the intermediate transfer belt 22 onto the paper by the secondary transfer roller 23 (secondary transfer), and heats the paper by the fixing device 24. Pressure is applied to perform a fixing process.
When an image is formed on both sides of a sheet, the sheet is conveyed to the conveyance path 26, turned over, and then conveyed to the secondary transfer roller 23 again.

画像読取部30は、画像形成部20において画像が形成された用紙面を読み取り、ビットマップ形式の読取画像データを生成する。
画像読取部30としては、CCD(Charge Coupled Device)等の撮像素子を用いたラインセンサー、エリアセンサー等を用いることができる。
The image reading unit 30 reads a sheet surface on which an image is formed in the image forming unit 20, and generates read image data in a bitmap format.
As the image reading unit 30, a line sensor or an area sensor using an image sensor such as a CCD (Charge Coupled Device) can be used.

上記画像形成装置Gは、ジョブの実行により複数ページの用紙上に画像を形成する間、文字の劣化を検出し、劣化を検出したタイミングで画像の最適化を実行することにより、劣化した文字の再現性をすぐに回復することができる。   The image forming apparatus G detects character deterioration while forming an image on a sheet of a plurality of pages by executing a job, and optimizes the image at the timing when the deterioration is detected, thereby reducing the deterioration of the character. Reproducibility can be restored immediately.

図3は、画像形成装置Gが、画像の最適化を実行するときの処理手順を示している。
図3に示すように、画像形成装置Gにおいて、制御部11が、画像形成部20により形成する画像の最適化を実行する(ステップS1)。
実行する画像の最適化は、画像の線幅、濃度特性及び最高濃度のうちの少なくとも1つの最適化であると、文字の再現性が高まり、好ましい。
FIG. 3 shows a processing procedure when the image forming apparatus G executes image optimization.
As shown in FIG. 3, in the image forming apparatus G, the control unit 11 executes optimization of an image formed by the image forming unit 20 (Step S1).
It is preferable that the optimization of the image to be performed is optimization of at least one of the line width, the density characteristics, and the maximum density of the image, because the reproducibility of characters is improved.

画像の線幅の最適化を行う場合、制御部11は、画像処理部19が原画像データの細線化処理に用いる細線化強度を調整する。細線化処理は、例えば文字等を構成する線の輪郭画素の画素値を減らす処理であり、この画素値を減らす量を細線化強度によって調整している。
制御部11は、画像形成部20により線幅の設定が異なる複数の線画像をテストパターンとして用紙上に形成させ、画像読取部30により当該用紙面を読み取らせる。制御部11は、得られた読取画像データを解析して、各線画像の線幅を測定し、線幅の測定値と目標値との差に応じて、画像形成部20により形成する線幅が目標値となるように細線化強度を決定する。制御部11は、画像処理部19が使用する細線化強度を決定した細線化強度に更新することにより、画像の線幅を最適化する。
When optimizing the line width of an image, the control unit 11 adjusts the thinning intensity used by the image processing unit 19 for thinning the original image data. The thinning process is a process of reducing the pixel value of a contour pixel of a line forming a character or the like, for example, and the amount by which the pixel value is reduced is adjusted by the thinning intensity.
The control unit 11 causes the image forming unit 20 to form a plurality of line images having different line widths as test patterns on a sheet, and causes the image reading unit 30 to read the sheet surface. The control unit 11 analyzes the obtained read image data, measures the line width of each line image, and determines the line width formed by the image forming unit 20 according to the difference between the measured value of the line width and the target value. The thinning intensity is determined so as to be a target value. The control unit 11 optimizes the line width of the image by updating the thinning intensity used by the image processing unit 19 to the determined thinning intensity.

画像の濃度特性の最適化を行う場合、制御部11は、画像処理部19が原画像データの濃度補正処理に用いる変換テーブルを更新する。変換テーブルは、画像の濃度特性が目標の濃度特性となるように入力値と補正後の濃度を表す出力値を対応付けたテーブルであり、濃度補正処理時、画像処理部19は、原画像データの各画素の画素値を、この変換テーブルによって濃度補正後の画素値に変換する。
制御部11は、画像形成部20により濃度が段階的に異なる複数のパッチをテストパターンとして用紙上に形成させ、画像読取部30により当該用紙面を読み取らせる。制御部11は、得られた読取画像データを解析して、各パッチの濃度とその目標値との差に応じて、画像形成部20により形成する画像の濃度特性が目標の濃度特性となるように入力値と出力値を定めた変換テーブルを作成する。制御部11は、画像処理部19が使用する変換テーブルを新たに作成した変換テーブルに更新することにより、画像の濃度特性を最適化する。
When optimizing the density characteristics of an image, the control unit 11 updates the conversion table used by the image processing unit 19 for the density correction processing of the original image data. The conversion table is a table in which the input values are associated with the output values representing the corrected densities so that the density characteristics of the image become the target density characteristics. Is converted into a pixel value after density correction by this conversion table.
The control unit 11 causes the image forming unit 20 to form a plurality of patches having different densities stepwise on a sheet as a test pattern, and causes the image reading unit 30 to read the sheet surface. The control unit 11 analyzes the obtained read image data, and according to the difference between the density of each patch and its target value, the density characteristic of the image formed by the image forming unit 20 becomes the target density characteristic. Create a conversion table that defines input values and output values. The control unit 11 optimizes the density characteristics of the image by updating the conversion table used by the image processing unit 19 to a newly created conversion table.

画像の最大濃度の最適化を行う場合、制御部11は、現像スリーブの電位の設定値等の画像の最大濃度に影響する画像形成部20の設定値を調整する。
制御部11は、テストパターンとして最大濃度のパッチを現像スリーブの電位等の設定値を変えて画像形成部20により形成させ、画像読取部30により当該用紙面を読み取らせる。制御部11は、得られた読取画像データを解析して、各パッチのうち、パッチの濃度が目標の最大濃度と一致するときのパッチを特定する。なお、用紙上ではなく感光体2bや中間転写ベルト22上に形成した各パッチの濃度を濃度センサー等によって測定してもよい。制御部11は、画像形成部20の現像スリーブの電位等の設定値を特定したパッチを形成したときの設定値に更新することにより、画像の最大濃度を最適化する。
When optimizing the maximum density of the image, the control unit 11 adjusts the set value of the image forming unit 20 that affects the maximum density of the image, such as the set value of the potential of the developing sleeve.
The control unit 11 causes the image forming unit 20 to form a patch having the maximum density as a test pattern by changing a set value such as the potential of the developing sleeve, and causes the image reading unit 30 to read the paper surface. The control unit 11 analyzes the obtained read image data and specifies a patch when the patch density matches the target maximum density among the patches. The density of each patch formed on the photoreceptor 2b or the intermediate transfer belt 22 instead of on the paper may be measured by a density sensor or the like. The control unit 11 optimizes the maximum density of the image by updating the set value such as the potential of the developing sleeve of the image forming unit 20 to the set value at the time of forming the specified patch.

最適化を実行してすぐに、ジョブの実行指示に応じて画像生成部16又は画像読取部17により生成された原画像データに、画像処理部19が必要な画像処理を施す。このとき、画像処理部19は、制御部11により最適化された細線化強度や変換テーブルを用いて細線化処理及び濃度補正処理を施す。これにより、目標の線幅及び濃度特性が得られるように濃度が最適化された画像が得られる。画像形成部20は、画像処理後の原画像データに基づいて、用紙上に画像を形成する(ステップS2)。このとき、現像スリーブの電位等の設定値が最適化されているため、目標の最大濃度と一致するように最大濃度が最適化された画像が得られる。   Immediately after performing the optimization, the image processing unit 19 performs necessary image processing on the original image data generated by the image generation unit 16 or the image reading unit 17 in response to the job execution instruction. At this time, the image processing unit 19 performs the thinning process and the density correction process using the thinning intensity and the conversion table optimized by the control unit 11. As a result, an image whose density has been optimized so as to obtain the target line width and density characteristics can be obtained. The image forming unit 20 forms an image on a sheet based on the original image data after the image processing (Step S2). At this time, since the set values such as the potential of the developing sleeve are optimized, an image whose maximum density is optimized to match the target maximum density is obtained.

画像読取部30は、画像形成部20により画像が形成された用紙面を読み取り、読取画像データを生成する(ステップS3)。
読み取った用紙が、画像を最適化した直後の1〜nページ目の用紙である場合(ステップS4:N)、制御部11は、得られた読取画像データを解析して、リファレンスの文字画素率を算出する(ステップS5)。リファレンスの文字画素率を得るページ数nは正数であれば、画質が劣化しない範囲内で任意に決定することができる。
The image reading section 30 reads the sheet surface on which the image is formed by the image forming section 20, and generates read image data (Step S3).
If the read sheet is the first to n-th page sheets immediately after optimizing the image (step S4: N), the control unit 11 analyzes the obtained read image data to determine the character pixel ratio of the reference. Is calculated (step S5). If the number n of pages for obtaining the reference character pixel rate is a positive number, it can be arbitrarily determined within a range where image quality does not deteriorate.

まず、制御部11は、読取画像データと同じページの原画像データから、原画像データに付加されている文字の属性情報及びフォント情報を取得する。そして、制御部11は、取得した属性情報が文字の属性を示し、かつフォント情報が同じ文字コードを示す文字領域の位置を1文字ごとに決定する。制御部11は、1文字以上の文字領域とその背景領域を含むように1又は複数の矩形領域を読取画像データから抽出して、各矩形領域内に形成された文字画素率を算出する。   First, the control unit 11 acquires attribute information and font information of the character added to the original image data from the original image data of the same page as the read image data. Then, the control unit 11 determines, for each character, the position of the character area in which the acquired attribute information indicates the attribute of the character and the font information indicates the same character code. The control unit 11 extracts one or a plurality of rectangular areas from the read image data so as to include one or more character areas and its background area, and calculates a character pixel rate formed in each rectangular area.

図4は、矩形領域を抽出する過程を例示している。
図4に示すように、原画像データ50には、属性情報51と文字のフォント情報52が付加されている。なお、属性情報51中の斜線部分は属性が文字の領域を表している。
制御部11は、属性情報51が文字の属性を示し、かつフォント情報52が同じ文字コードを示す画素群に外接する領域を1文字の文字領域61として決定する。制御部11は、決定した各文字の文字領域61の位置に応じて、各文字の文字領域61とその背景領域を含むように矩形領域62を読取画像データ60から抽出する。
FIG. 4 illustrates a process of extracting a rectangular area.
As shown in FIG. 4, original image data 50 has attribute information 51 and character font information 52 added thereto. Note that the hatched portion in the attribute information 51 indicates a region where the attribute is a character.
The control unit 11 determines an area circumscribing a pixel group in which the attribute information 51 indicates a character attribute and the font information 52 indicates the same character code as a character area 61 of one character. The control unit 11 extracts a rectangular area 62 from the read image data 60 so as to include the character area 61 of each character and its background area according to the determined position of the character area 61 of each character.

矩形領域62のM×N画素のサイズは、読取時の用紙位置のずれ等を考慮して、文字領域61よりも大きいサイズであることが好ましい。
制御部11は、矩形領域62のM×N画素のサイズを、属性情報51が文字の属性を示す文字領域61のサイズか、又はフォント情報が示すフォントタイプ及びフォントサイズに応じて決定することができる。
例えば、制御部11は、矩形領域62のサイズを、属性情報が文字の属性を示す文字領域61よりも10画素大きいサイズに決定することができる。また、フォント情報が示すフォントタイプがゴシック、フォントサイズが14ptであった場合、制御部11は、矩形領域62のサイズを、1pt大きい15ptの文字に外接する矩形領域と同じサイズに決定することができる。
The size of the M × N pixels of the rectangular area 62 is preferably larger than that of the character area 61 in consideration of a shift of the paper position at the time of reading.
The control unit 11 may determine the size of the M × N pixels of the rectangular area 62 according to the size of the character area 61 in which the attribute information 51 indicates the attribute of the character, or the font type and the font size indicated by the font information. it can.
For example, the control unit 11 can determine the size of the rectangular area 62 to be 10 pixels larger than the character area 61 in which the attribute information indicates the attribute of the character. If the font type indicated by the font information is Gothic and the font size is 14 pt, the control unit 11 may determine the size of the rectangular area 62 to be the same size as the rectangular area circumscribing a 15 pt character larger by 1 pt. it can.

また、制御部11は、図4に示すように1文字の文字領域61を含むように1つの矩形領域62を抽出することもできるし、文字列、文等の単位で複数の文字の文字領域61を含むように1つの矩形領域62を抽出することもできる。
図5は、図4に示す読取画像データ60において、3文字の文字領域61を含むように、M×N画素のサイズを決定して抽出した1つの矩形領域63の例を示している。
In addition, the control unit 11 can extract one rectangular area 62 so as to include a character area 61 of one character as shown in FIG. 4, or a character area of a plurality of characters in units of a character string, a sentence, or the like. One rectangular area 62 can be extracted so as to include 61.
FIG. 5 shows an example of one rectangular area 63 extracted by determining the size of M × N pixels so as to include the character area 61 of three characters in the read image data 60 shown in FIG.

制御部11は、抽出した各矩形領域内において、属性情報が文字の属性を示す文字領域の代表画素値を文字の代表画素値として決定する。文字の代表画素値は、文字領域内の各画素の画素値の平均値であってもよいし、各画素のうちのいずれかの画素値であってもよい。同様にして、制御部11は、矩形領域内において属性情報が文字以外の属性を示す背景領域の代表画素値を背景の代表画素値として決定する。   The control unit 11 determines, as the representative pixel value of the character, the representative pixel value of the character region in which the attribute information indicates the attribute of the character in each of the extracted rectangular regions. The representative pixel value of the character may be an average value of the pixel values of each pixel in the character area, or may be any one of the pixel values. Similarly, the control unit 11 determines the representative pixel value of the background area in which the attribute information indicates the attribute other than the character in the rectangular area as the representative pixel value of the background.

次に、制御部11は、算出した文字及び背景の各代表画素値間において閾値を決定し、決定した文字及び背景の各代表画素値と閾値とを記憶部12に保存する。閾値は、各代表画素値間の値であれば任意に決定することができ、例えば文字と背景の各代表画素値の平均値に決定することができる。   Next, the control unit 11 determines a threshold value between the calculated representative pixel values of the character and the background, and stores the determined representative pixel value and the threshold value of the character and the background in the storage unit 12. The threshold value can be arbitrarily determined as long as it is a value between the representative pixel values. For example, the threshold value can be determined as an average value of the representative pixel values of the character and the background.

閾値は、ヒストグラムを作成することにより決定することもできる。
ヒストグラムにより決定する場合、制御部11は、矩形領域において文字領域内の各画素の画素値のヒストグラムを作成し、このヒストグラムにおけるピーク値を文字の代表画素値として決定する。同様にして、制御部11は、背景領域内の各画素の画素値のヒストグラムを作成し、このヒストグラムにおけるピーク値を背景の代表画素値として決定し、決定した文字と背景の各代表画素値間で閾値を決定する。
The threshold can also be determined by creating a histogram.
When determining by the histogram, the control unit 11 creates a histogram of the pixel values of each pixel in the character area in the rectangular area, and determines the peak value in this histogram as the representative pixel value of the character. Similarly, the control unit 11 creates a histogram of the pixel values of each pixel in the background area, determines the peak value in this histogram as the representative pixel value of the background, and determines the value between the determined character and the representative pixel value of the background. Determines the threshold.

制御部11は、矩形領域内の各画素の画素値を閾値と比較することにより、各画素が用紙上に形成された文字の画素か文字以外の背景の画素かを決定する。具体的には、文字の代表画素値が背景の代表画素値より大きい場合、制御部11は、画素値が閾値以上の画素を文字の画素として決定し、画素値が閾値より小さい画素を背景の画素として決定する。一方、文字の代表画素値が背景の代表画素値より小さい場合、制御部11は、画素値が閾値以下の画素を文字の画素として決定し、画素値が閾値より大きい画素を背景の画素として決定する。   The control unit 11 determines whether each pixel is a pixel of a character formed on the paper or a pixel of a background other than the character by comparing the pixel value of each pixel in the rectangular area with a threshold value. Specifically, when the representative pixel value of the character is larger than the representative pixel value of the background, the control unit 11 determines a pixel whose pixel value is equal to or larger than the threshold value as a pixel of the character, and determines a pixel whose pixel value is smaller than the threshold value as a background pixel. Determined as a pixel. On the other hand, when the representative pixel value of the character is smaller than the representative pixel value of the background, the control unit 11 determines a pixel whose pixel value is equal to or less than the threshold as a pixel of the character, and determines a pixel whose pixel value is larger than the threshold as a pixel of the background. I do.

文字の画素を決定すると、制御部11は、各矩形領域内の全画素中の文字の画素の数の割合を各矩形領域の文字画素率として算出する。制御部11は、算出した各矩形領域の文字画素率をリファレンスの文字画素率として、各矩形領域が含む文字領域のフォント情報とともに、記憶部12に保存する。
1ページの読取画像データから、フォント情報が一致する同じ文字について複数のリファレンスの文字画素率を算出した場合、制御部11は、各文字画素率の平均値をそのフォント情報とともに記憶部12に保存してもよい。
After determining the pixels of the character, the control unit 11 calculates the ratio of the number of pixels of the character in all the pixels in each rectangular region as the character pixel ratio of each rectangular region. The control unit 11 stores the calculated character pixel rate of each rectangular area as a reference character pixel rate in the storage unit 12 together with the font information of the character area included in each rectangular area.
When a plurality of reference character pixel ratios are calculated for the same character having the same font information from one page of read image data, the control unit 11 stores the average value of each character pixel ratio in the storage unit 12 together with the font information. May be.

上述した文字及び背景の代表画素値、閾値並びに文字画素率の算出には、各画素が有するC、M、Y及びKの各色の画素値のうち、いずれか1色の画素値を用いることができる。
使用する1色は、例えば抽出した矩形領域において各色の最大画素値と最小画素値を決定し、その差が最も大きい1色に決定してもよいし、フォント情報に含まれる文字の色と補色関係にある1色に決定してもよい。このような1色に決定することにより、文字の劣化の検出精度が向上する。
In calculating the representative pixel value of the character and the background, the threshold value, and the character pixel ratio, it is possible to use the pixel value of any one of the C, M, Y, and K pixel values of each pixel. it can.
For one color to be used, for example, the maximum pixel value and the minimum pixel value of each color may be determined in the extracted rectangular area, and the color having the largest difference may be determined as one color, or the color of the character included in the font information and the complementary color may be determined. One color that is related may be determined. By determining such a single color, the detection accuracy of character deterioration is improved.

また、上述した文字及び背景の代表画素値、閾値並びに文字画素率の算出には、C、M、Y及びKの各色を統合した1色の画素値を使用することもできる。
例えば、4色の画素値を単純に足し合わせて1色の画素値に変換してもよいし、各色の視覚感度に応じて各色の画素値をそれぞれ重み付けした後、足し合わせて1色の画素値に変換してもよい。
In addition, in calculating the representative pixel value of the character and the background, the threshold value, and the character pixel ratio, a pixel value of one color obtained by integrating each of C, M, Y, and K can be used.
For example, the pixel values of four colors may be simply added to be converted to pixel values of one color, or the pixel values of each color may be weighted according to the visual sensitivity of each color, and then added together to obtain a pixel value of one color. It may be converted to a value.

また、制御部11は、画像形成部20により複数ページの用紙に同一の画像を形成する場合、1〜nページのいずれか1ページ又は全ページの読取画像データから抽出したすべての矩形領域をリファレンスの文字画素率の算出対象とし、複数ページの用紙に異なる画像を形成する場合、1〜nページの読取画像データから、各ページにおいてフォント情報が共通する1又は複数の矩形領域を抽出してリファレンスの文字画素率の算出対象とすることが好ましい。
これにより、文字の劣化を効率的に検出することができる。
When the image forming unit 20 forms the same image on a plurality of pages of paper, the control unit 11 refers to any one of pages 1 to n or all rectangular areas extracted from the read image data of all pages. In the case where different images are formed on a plurality of pages of paper as a calculation target of the character pixel ratio, one or a plurality of rectangular regions having common font information in each page are extracted from the read image data of the first to nth pages. It is preferable that the character pixel ratio is calculated.
This makes it possible to efficiently detect the deterioration of characters.

なお、同一の画像を形成する場合であって、1〜nページの全ページの読取画像データからすべての矩形領域を抽出してリファレンスの文字画素率を算出した場合、各ページ内か又は各ページ間でフォント情報が一致するリファレンスの文字画素率の平均値を、そのフォント情報のリファレンスの文字画素率として保存することができる。
異なる画像を形成する場合も同様に、1〜nページの各ページ内で又はページ間でフォント情報が一致するリファレンスの文字画素率を平均し、得られた平均値をそのフォント情報のリファレンスの文字画素率として保存することができる。
In the case where the same image is formed, when all the rectangular areas are extracted from the read image data of all pages 1 to n and the character pixel ratio of the reference is calculated, each page or each page The average value of the character pixel ratio of the reference whose font information matches between them can be stored as the character pixel ratio of the reference of the font information.
Similarly, in the case of forming different images, the character pixel ratio of the reference whose font information matches within each of pages 1 to n or between pages is averaged, and the obtained average value is used as the reference character of the font information. It can be stored as a pixel rate.

一方、読み取った用紙がn+1ページ目以降の用紙である場合(ステップS4:Y)、制御部11は、画像読取部30から取得したその用紙面の読取画像データを文字の劣化の検出対象として、文字画素率を算出する(ステップS6)。具体的には、上述したリファレンスの文字画素率と同様にして、文字の劣化の検出対象とするページの原画像データに付加された属性情報及びフォント情報を取得し、読取画像データから1文字以上の文字領域とその背景領域を含むように1又は複数の矩形領域を抽出し、各矩形領域の文字画素率を算出する。なお、文字画素率は矩形領域のサイズによって変動するため、矩形領域のサイズの決定方法は、リファンレスの文字画素率を算出するときと同じ決定方法とする。   On the other hand, when the read sheet is the sheet after the (n + 1) th page (step S4: Y), the control unit 11 sets the read image data of the sheet surface acquired from the image reading unit 30 as a detection target of the character deterioration. The character pixel ratio is calculated (step S6). Specifically, in the same manner as the character pixel ratio of the reference described above, attribute information and font information added to the original image data of the page for which character deterioration is to be detected are obtained, and one or more characters are read from the read image data. One or more rectangular areas are extracted so as to include the character area and its background area, and the character pixel ratio of each rectangular area is calculated. Since the character pixel rate varies depending on the size of the rectangular area, the method for determining the size of the rectangular area is the same as the method for calculating the character pixel rate without referent.

制御部11は、読取画像データから矩形領域を抽出する前に、属性情報が文字の属性を示す文字領域であって、リファレンスの文字画素率とフォント情報が一致する文字領域を検索し、該当する文字領域がある場合、当該文字領域を含むように読取画像データから文字画素率を算出する各矩形領域を抽出するようにしてもよい。
これにより、リファレンスの文字画素率が用意されている文字のみを対象として文字画素率を算出することができ、文字の劣化を効率的に検出することができる。
Before extracting the rectangular area from the read image data, the control unit 11 searches for a character area in which the attribute information indicates the attribute of the character, and the character pixel rate of the reference matches the font information. When there is a character area, each rectangular area for calculating the character pixel ratio may be extracted from the read image data so as to include the character area.
Thus, the character pixel ratio can be calculated only for characters for which the reference character pixel ratio is prepared, and character deterioration can be efficiently detected.

制御部11は、抽出した各矩形領域とフォント情報が一致するリファレンスの文字画素率を記憶部12から取得し、算出した各矩形領域の文字画素率と比較する。比較の結果、算出した文字画素率とリファレンスの文字画素率の差が許容範囲外にある場合(ステップS7:Y)、制御部11は文字の劣化を検出し、画像の最適化を実行する(ステップS8)。例えば、許容範囲が−10〜+10%の範囲である場合、算出した文字画素率とリファレンスの文字画素率の差が+12%であれば、制御部11は許容範囲外と判定する。画像の最適化は、ステップS1の処理と同じ処理内容であり、画像の線幅、濃度特性及び最高濃度のうちの少なくとも1つであることが好ましい。   The control unit 11 acquires from the storage unit 12 the character pixel ratio of the reference whose font information matches the extracted rectangular region, and compares it with the calculated character pixel ratio of each rectangular region. As a result of the comparison, when the difference between the calculated character pixel ratio and the reference character pixel ratio is out of the allowable range (step S7: Y), the control unit 11 detects the deterioration of the character and executes the image optimization ( Step S8). For example, if the allowable range is -10 to + 10%, and the difference between the calculated character pixel ratio and the reference character pixel ratio is + 12%, the control unit 11 determines that the difference is outside the allowable range. The optimization of the image has the same processing content as the processing in step S1, and is preferably at least one of the line width, the density characteristics, and the maximum density of the image.

また、制御部11は、1ページの読取画像データから複数の矩形領域を抽出している場合、1ページ中にリファレンスの文字画素率との差が許容範囲外にある矩形領域が、1つでもある場合に画像の最適化を実行してもよいし、一定数以上ある場合に実行してもよい。
許容範囲外の矩形領域が少なくとも1つあることを最適化の実行条件とする場合は常に高い画像の再現性を維持することができ、一定数以上あることを実行条件とする場合は最適化の頻度を抑えて生産性を優先することができる。
When a plurality of rectangular areas are extracted from the read image data of one page, the control unit 11 determines that there is at least one rectangular area having a difference from the character pixel ratio of the reference outside the allowable range in one page. The optimization of the image may be performed in a certain case, or may be performed in a case where there is a certain number or more.
When the execution condition of the optimization is that at least one rectangular area outside the allowable range is set as the execution condition of the optimization, high image reproducibility can always be maintained. The frequency can be suppressed and productivity can be prioritized.

画像の最適化を実行後、読み取った用紙が最終ページでなければ(ステップS9:N)、ステップS2の処理に戻り、次のページについて上述した処理を繰り返す。読み取った用紙が最終ページであれば(ステップS9:Y)、本処理を終了する。   After executing the image optimization, if the read sheet is not the last page (step S9: N), the process returns to step S2, and the above-described process is repeated for the next page. If the read sheet is the last page (step S9: Y), the process ends.

一方、算出した文字画素率とリファレンスの文字画素率の差が許容範囲内である場合は(ステップS7:N)、制御部11は文字の劣化が検出されないと判断して画像の最適化を行わずに、ステップS9の処理へ移行する。   On the other hand, if the difference between the calculated character pixel ratio and the reference character pixel ratio is within the allowable range (step S7: N), the control unit 11 determines that the deterioration of the character is not detected and optimizes the image. Instead, the process proceeds to step S9.

以上のように、本実施の形態の画像形成装置Gは、原画像データに基づいて、用紙上に画像を形成する画像形成部20と、画像形成部20により画像が形成された用紙面を読み取って、読取画像データを生成する画像読取部30と、読取画像データを解析して、画像形成部20により形成する画像の最適化を実行する制御部11と、各文字のリファレンスの文字画素率及びフォント情報を記憶する記憶部12と、を備えている。
制御部11は、原画像データに付加された文字の属性情報及びフォント情報に基づいて、1文字ごとに文字領域の位置を決定し、1文字以上の文字領域とその背景領域を含むように1又は複数の矩形領域を読取画像データから抽出して、各矩形領域内に形成された文字画素率を算出する。また、制御部11は、算出した各矩形領域の文字画素率をフォント情報が一致するリファレンスの文字画素率と比較したときの差が許容範囲外にある場合に文字の劣化を検出し、画像の最適化を実行する。
As described above, the image forming apparatus G according to the present embodiment reads the image forming unit 20 that forms an image on a sheet and the sheet surface on which the image is formed by the image forming unit 20 based on the original image data. An image reading unit 30 that generates read image data; a control unit 11 that analyzes the read image data to execute optimization of an image formed by the image forming unit 20; A storage unit 12 for storing font information.
The control unit 11 determines the position of the character area for each character based on the attribute information and the font information of the character added to the original image data, and sets one or more character areas and the background area so as to include one or more character areas. Alternatively, a plurality of rectangular areas are extracted from the read image data, and a character pixel ratio formed in each rectangular area is calculated. Further, the control unit 11 detects the deterioration of the character when the difference between the calculated character pixel ratio of each rectangular area and the character pixel ratio of the reference whose font information matches is out of an allowable range, and detects the deterioration of the character. Perform optimization.

属性情報及びフォント情報を用いて算出した文字画素率により、文字の劣化を検出するので、高解像度の読取画像データでなくとも、また線幅の変化を検出しにくい極小文字、大文字、中間階調の文字等であっても、文字の劣化を正確かつ簡易に検出することができる。また、連続して画像を形成する間も文字の劣化を検出することができ、生産性の低下を回避することができる。
リファレンスとの文字画素率の差が許容範囲外に至った時点で文字の劣化を検出するため、劣化が生じたタイミングで画像の最適化を実行することができる。
Character degradation is detected based on the character pixel ratio calculated using attribute information and font information, so even if it is not high-resolution read image data, it is also difficult to detect line width changes. Even if it is a character or the like, the deterioration of the character can be detected accurately and easily. In addition, it is possible to detect the deterioration of the characters during the continuous image formation, and to avoid a decrease in productivity.
Since the deterioration of the character is detected when the difference of the character pixel ratio from the reference falls outside the allowable range, the image can be optimized at the timing when the deterioration occurs.

上記実施の形態は本発明の好適な一例であり、これに限定されない。本発明の主旨を逸脱しない範囲で適宜変更可能である。
例えば、上述した実施の形態では、画像の最適化を実行した直後の1〜nページの読取画像データを、リファレンスの文字画素率の算出対象とし、n+1ページ以降の読取画像データを、文字の劣化の検出対象としている。
これに限らず、あらかじめ各文字のリファレンスの文字画素率をその文字のフォント情報と対応付けて記憶部12に保存し、画像の最適化の実行直後か否かによらず、すべてのページの読取画像データを文字の劣化の検出対象としてもよい。
The above embodiment is a preferred example of the present invention, and the present invention is not limited to this. Changes can be made as appropriate without departing from the spirit of the present invention.
For example, in the above-described embodiment, the read image data of pages 1 to n immediately after the optimization of the image is set as the reference character pixel ratio calculation target, and the read image data of page n + 1 and subsequent pages is degraded by the character deterioration. Is detected.
The present invention is not limited to this. The character pixel ratio of the reference of each character is stored in advance in the storage unit 12 in association with the font information of the character, and the reading of all pages is performed regardless of whether or not the image has been optimized. The image data may be a detection target of character deterioration.

また、上記処理手順を制御部11等のコンピューターに実行させるためのプログラムのコンピューター読み取り可能な媒体としては、ROM、フラッシュメモリー等の不揮発性メモリー、CD-ROM等の可搬型記録媒体を適用することが可能である。プログラムのデータを、通信回線を介して提供する媒体として、キャリアウエーブ(搬送波)も適用できる。   In addition, as a computer-readable medium of a program for causing a computer such as the control unit 11 to execute the above processing procedure, a non-volatile memory such as a ROM or a flash memory, or a portable recording medium such as a CD-ROM may be used. Is possible. As a medium for providing program data via a communication line, a carrier wave (carrier wave) can also be applied.

G 画像形成装置
11 制御部
12 記憶部
16 画像生成部
17 画像読取部
19 画像処理部
20 画像形成部
30 画像読取部
G image forming apparatus 11 control unit 12 storage unit 16 image generation unit 17 image reading unit 19 image processing unit 20 image forming unit 30 image reading unit

Claims (8)

原画像データに基づいて、用紙上に画像を形成する画像形成部と、
前記画像形成部により画像が形成された用紙面を読み取って、読取画像データを生成する画像読取部と、
前記読取画像データを解析して、前記画像形成部により形成する画像の最適化を実行する制御部と、
各文字のリファレンスの文字画素率及びフォント情報を記憶する記憶部と、を備え、
前記制御部は、
前記原画像データに付加された文字の属性情報及びフォント情報に基づいて、1文字ごとに文字領域の位置を決定し、1文字以上の文字領域とその背景領域を含むように1又は複数の矩形領域を前記読取画像データから抽出して、各矩形領域内に形成された文字画素率を算出し、
前記画像の最適化を実行した直後に前記画像形成部により画像が形成された1〜nページ目の用紙の読取画像データにおいて算出した各矩形領域の文字画素率を、前記リファレンスの文字画素率として前記各矩形領域が含む文字領域のフォント情報とともに前記記憶部に保存し、
n+1ページ目以降の用紙の読取画像データを文字の劣化の検出対象として、当該読取画像データにおいて算出した各矩形領域の文字画素率を、前記1〜nページ目の用紙の読取画像データにおいて算出し前記記憶部に保存された当該矩形領域が含む文字領域とフォント情報が一致する前記リファレンスの文字画素率と比較したときの差が許容範囲外にある場合に文字の劣化を検出し、前記画像の最適化を実行することを特徴とする画像形成装置。
An image forming unit that forms an image on paper based on the original image data;
An image reading unit that reads a sheet surface on which an image is formed by the image forming unit and generates read image data;
A control unit that analyzes the read image data and executes optimization of an image formed by the image forming unit;
A storage unit for storing a character pixel ratio and font information of a reference of each character,
The control unit includes:
The position of a character area is determined for each character based on the attribute information and font information of the character added to the original image data, and one or more rectangles are formed so as to include one or more character areas and their background areas. Extracting a region from the read image data, calculating a character pixel ratio formed in each rectangular region,
The character pixel ratio of each rectangular area calculated in the read image data of the 1st to nth pages of paper on which the image is formed by the image forming unit immediately after executing the image optimization is defined as the character pixel ratio of the reference. Stored in the storage unit together with font information of a character area included in each of the rectangular areas,
With the read image data of the (n + 1) th and subsequent pages of the sheet as the detection target of the character deterioration, the character pixel ratio of each rectangular area calculated in the read image data is calculated in the read image data of the first to nth pages of the sheet. When the difference between the character area included in the rectangular area stored in the storage unit and the character pixel rate of the reference in which font information matches font information is out of an allowable range, character deterioration is detected, and An image forming apparatus that performs optimization .
前記制御部は、
前記画像形成部により複数ページの用紙に同一の画像を形成する場合、前記1〜nページのいずれか1ページ又は全ページの読取画像データからすべての矩形領域を抽出して、前記リファレンスの文字画素率の算出対象とし、
前記画像形成部により複数ページの用紙に異なる画像を形成する場合、前記1〜nページの読取画像データから、各ページにおいて前記フォント情報が共通する1又は複数の矩形領域を抽出して、前記リファレンスの文字画素率の算出対象とすることを特徴とする請求項に記載の画像形成装置。
The control unit includes:
When the same image is formed on a plurality of pages of paper by the image forming unit, all rectangular areas are extracted from read image data of any one of pages 1 to n or all pages, and the reference character pixels are extracted. Rate calculation target,
When different images are formed on a plurality of pages of paper by the image forming unit, one or a plurality of rectangular areas having the same font information in each page are extracted from the read image data of the first to n pages, and The image forming apparatus according to claim 1 , wherein the character pixel ratio is calculated.
前記制御部は、各矩形領域において、前記文字領域の代表画素値とその背景領域の代表画素値と、各代表画素値間に位置する閾値とを決定し、前記矩形領域内の各画素の画素値を決定した閾値と比較することにより前記矩形領域内に形成された文字の画素を決定し、前記矩形領域内の全画素中の前記文字の画素の数の割合を前記文字画素率として算出することを特徴とする請求項1又は2に記載の画像形成装置。 The control unit determines, in each rectangular area, a representative pixel value of the character area, a representative pixel value of the background area thereof, and a threshold located between the representative pixel values, and determines a pixel of each pixel in the rectangular area. A pixel of a character formed in the rectangular area is determined by comparing the value with the determined threshold value, and a ratio of the number of pixels of the character to all pixels in the rectangular area is calculated as the character pixel ratio. the image forming apparatus according to claim 1 or 2, characterized in that. 前記制御部は、前記文字の劣化の検出対象とするページの原画像データに付加された属性情報及びフォント情報を取得し、前記属性情報が文字の属性を示す文字領域であって、前記フォント情報が前記リファレンスの文字画素率とともに記憶されたフォント情報と一致する文字領域を検索し、該当する文字領域がある場合、当該文字領域を含むように前記読取画像データから文字画素率を算出する各矩形領域を抽出することを特徴とする請求項1〜のいずれか一項に記載の画像形成装置。 The control unit acquires attribute information and font information added to the original image data of the page on which the character deterioration is to be detected, and the attribute information is a character area indicating a character attribute, and the font information Is searched for a character area that matches the font information stored together with the reference character pixel rate, and if there is a corresponding character area, each rectangle for calculating the character pixel rate from the read image data to include the character area the image forming apparatus according to any one of claims 1 to 3, characterized in that to extract the region. 前記制御部は、前記矩形領域のサイズを、前記属性情報が文字の属性を示す文字領域のサイズか、又は前記フォント情報が示すフォントタイプ及びフォントサイズに応じて、決定することを特徴とする請求項1〜のいずれか一項に記載の画像形成装置。 The control unit may determine the size of the rectangular area according to a size of a character area in which the attribute information indicates a character attribute, or a font type and a font size indicated by the font information. Item 5. The image forming apparatus according to any one of Items 1 to 4 . 前記制御部は、1ページの読取画像データにおいて、前記リファレンスの文字画素率との差が許容範囲外にある前記矩形領域の数が一定数以上ある場合に、前記画像の最適化を実行することを特徴とする請求項1〜のいずれか一項に記載の画像形成装置。 The control unit executes the optimization of the image when the difference between the character pixel rate of the reference and the character pixel rate of the reference is out of an allowable range in the read image data of one page is equal to or more than a certain number. the image forming apparatus according to any one of claims 1 to 5, wherein. 前記画像の最適化は、画像の線幅、濃度特性及び最高濃度のうちの少なくとも1つの最適化であることを特徴とする請求項1〜のいずれか一項に記載の画像形成装置。 Optimization of the image, the image line width, an image forming apparatus according to any one of claims 1 to 6, characterized in that at least one optimization of the density characteristics and maximum density. 画像形成部により原画像データに基づいて、用紙上に画像を形成するステップと、
画像読取部により、前記画像が形成された用紙面を読み取って、読取画像データを生成するステップと、
制御部により、前記読取画像データを解析して、前記画像形成部により形成する画像の最適化を実行するステップと、を含み、
前記画像の最適化を実行するステップは、
前記原画像データに付加された文字の属性情報及びフォント情報に基づいて、1文字ごとに文字領域の位置を決定し、1文字以上の文字領域とその背景領域を含むように1又は複数の矩形領域を前記読取画像データから抽出するステップと、
前記抽出した各矩形領域内に形成された文字画素率を算出するステップと、
前記画像の最適化を実行した直後に前記画像形成部により画像が形成された1〜nページ目の用紙の読取画像データにおいて算出した各矩形領域の文字画素率を、リファレンスの文字画素率として前記各矩形領域が含む文字領域のフォント情報とともに記憶部に保存するステップと、
n+1ページ目以降の用紙の読取画像データを文字の劣化の検出対象として、当該読取画像データにおいて算出した各矩形領域の文字画素率を、前記1〜nページ目の用紙の読取画像データにおいて算出し前記記憶部に保存された当該矩形領域が含む文字領域とフォント情報が一致する前記リファレンスの文字画素率と比較したときの差が許容範囲外にある場合に文字の劣化を検出し、前記画像の最適化を実行するステップと、
を含むことを特徴とする画像の最適化方法。
Forming an image on paper based on the original image data by the image forming unit;
An image reading unit that reads a sheet surface on which the image is formed to generate read image data;
Analyzing a read image data by a control unit, and performing optimization of an image formed by the image forming unit,
Performing the optimization of the image,
The position of a character area is determined for each character based on the attribute information and font information of the character added to the original image data, and one or more rectangles are formed so as to include one or more character areas and their background areas. Extracting an area from the read image data;
Calculating a character pixel ratio formed in each of the extracted rectangular regions;
Immediately after executing the image optimization, the character pixel rate of each rectangular area calculated in the read image data of the first to n-th sheets on which the image is formed by the image forming unit is defined as a reference character pixel rate. Storing in a storage unit together with font information of a character area included in each rectangular area;
With the read image data of the (n + 1) th and subsequent pages of the sheet as a detection target of character deterioration, the character pixel ratio of each rectangular area calculated in the read image data is calculated in the read image data of the first to nth pages of paper. When the difference between the character area included in the rectangular area stored in the storage unit and the character pixel rate of the reference in which font information matches font information is out of an allowable range, character deterioration is detected, and Performing an optimization;
A method for optimizing an image, comprising:
JP2016032937A 2016-02-24 2016-02-24 Image forming apparatus and image optimization method Active JP6634873B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2016032937A JP6634873B2 (en) 2016-02-24 2016-02-24 Image forming apparatus and image optimization method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2016032937A JP6634873B2 (en) 2016-02-24 2016-02-24 Image forming apparatus and image optimization method

Publications (2)

Publication Number Publication Date
JP2017152889A JP2017152889A (en) 2017-08-31
JP6634873B2 true JP6634873B2 (en) 2020-01-22

Family

ID=59741996

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2016032937A Active JP6634873B2 (en) 2016-02-24 2016-02-24 Image forming apparatus and image optimization method

Country Status (1)

Country Link
JP (1) JP6634873B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP7311321B2 (en) * 2019-06-25 2023-07-19 シャープ株式会社 Image forming apparatus, information processing method and information processing program

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0995028A (en) * 1995-10-02 1997-04-08 C G A Kk Printing inspection device
JP2001191603A (en) * 2000-01-07 2001-07-17 Hitachi Ltd Defective print detector for printer
JP6210527B2 (en) * 2012-06-20 2017-10-11 Necプラットフォームズ株式会社 Dot impact printer apparatus and printing density adjustment method and program thereof
US9977957B2 (en) * 2013-02-28 2018-05-22 Glory Ltd. Method and system for identifying characters on a valuable medium

Also Published As

Publication number Publication date
JP2017152889A (en) 2017-08-31

Similar Documents

Publication Publication Date Title
JP6672973B2 (en) Image forming system, image forming apparatus, image forming method, and program
US10404877B2 (en) Image inspection apparatus, image inspection system, and method for determining image position
US9667833B2 (en) History generating apparatus and history generating method
JP6357786B2 (en) Image inspection apparatus, image inspection system, and image inspection method
JP5780052B2 (en) Image processing system
JP2012170002A (en) Image processing apparatus, image processing method, and image processing program therefor
JP2018026740A (en) Image forming device, image formation system, and program
JP6323190B2 (en) Inspection apparatus, image forming apparatus, and image inspection method
JP6880750B2 (en) Image forming device, image processing device and image processing method
JP6032078B2 (en) Color variation monitoring apparatus, image forming system, and program
JP6634873B2 (en) Image forming apparatus and image optimization method
JP6776514B2 (en) Image formation system
JP4989497B2 (en) Image processing apparatus, image processing method, and program thereof
JP6236971B2 (en) Image processing apparatus, image forming apparatus, and image processing program
JP2018033043A (en) Image formation device, control method, and program
JP6500623B2 (en) Color processing apparatus and image forming system
JP6604172B2 (en) Image forming apparatus and line width adjusting method
JP6477082B2 (en) Color processing apparatus and image forming system
JP6350195B2 (en) History generation apparatus and history generation method
JP6769203B2 (en) Image forming device, image processing device and image processing method
JP6500549B2 (en) Color processing apparatus and image forming system
JP6705620B2 (en) History generation device, history generation method, and program
JP6447171B2 (en) Information processing apparatus, image forming system, and program
JP6539976B2 (en) Image processing apparatus and image processing method
US20190158701A1 (en) Image forming apparatus and image forming method

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20181115

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20190830

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20190910

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20191108

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20191202

R150 Certificate of patent or registration of utility model

Ref document number: 6634873

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150