JP2023158554A - Character image quality adjustment system, character image quality adjustment device, and control method and program therefor - Google Patents
Character image quality adjustment system, character image quality adjustment device, and control method and program therefor Download PDFInfo
- Publication number
- JP2023158554A JP2023158554A JP2022068468A JP2022068468A JP2023158554A JP 2023158554 A JP2023158554 A JP 2023158554A JP 2022068468 A JP2022068468 A JP 2022068468A JP 2022068468 A JP2022068468 A JP 2022068468A JP 2023158554 A JP2023158554 A JP 2023158554A
- Authority
- JP
- Japan
- Prior art keywords
- character
- image quality
- quality adjustment
- image
- image data
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 100
- 238000007639 printing Methods 0.000 claims abstract description 117
- 238000007689 inspection Methods 0.000 claims abstract description 62
- 230000008569 process Effects 0.000 claims abstract description 58
- 238000009877 rendering Methods 0.000 claims abstract description 22
- 239000000284 extract Substances 0.000 claims abstract description 16
- 238000000605 extraction Methods 0.000 claims description 50
- 239000000463 material Substances 0.000 claims description 14
- 230000010365 information processing Effects 0.000 claims description 10
- 238000012015 optical character recognition Methods 0.000 claims description 9
- 238000012360 testing method Methods 0.000 claims description 7
- 238000001514 detection method Methods 0.000 claims description 5
- 238000012545 processing Methods 0.000 abstract description 43
- 238000004458 analytical method Methods 0.000 abstract description 16
- 238000010586 diagram Methods 0.000 description 17
- 238000004891 communication Methods 0.000 description 10
- 230000009466 transformation Effects 0.000 description 6
- 238000011002 quantification Methods 0.000 description 5
- PXFBZOLANLWPMH-UHFFFAOYSA-N 16-Epiaffinine Natural products C1C(C2=CC=CC=C2N2)=C2C(=O)CC2C(=CC)CN(C)C1C2CO PXFBZOLANLWPMH-UHFFFAOYSA-N 0.000 description 4
- 230000006870 function Effects 0.000 description 4
- 230000002093 peripheral effect Effects 0.000 description 4
- 238000005520 cutting process Methods 0.000 description 3
- 238000003860 storage Methods 0.000 description 3
- 238000006243 chemical reaction Methods 0.000 description 2
- 238000012937 correction Methods 0.000 description 2
- 238000007405 data analysis Methods 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 238000011022 operating instruction Methods 0.000 description 2
- 238000004080 punching Methods 0.000 description 2
- 230000008719 thickening Effects 0.000 description 2
- 230000032258 transport Effects 0.000 description 2
- 238000004364 calculation method Methods 0.000 description 1
- 230000008602 contraction Effects 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 238000007730 finishing process Methods 0.000 description 1
- 239000011159 matrix material Substances 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000003825 pressing Methods 0.000 description 1
Images
Landscapes
- Record Information Processing For Printing (AREA)
- Facsimiles In General (AREA)
Abstract
Description
本発明は、文字画質調整システム、文字画質調整装置とその制御方法及びプログラムに関する。 The present invention relates to a character image quality adjustment system, a character image quality adjustment device, a control method thereof, and a program.
印刷装置において、印刷プロセス(帯電、露光、現像等)の過程で、印刷物の文字部において、文字の太りや細りが生じる場合がある。このような文字の太りや細りを解消するために、元の印刷データに含まれる属性情報を基に文字の太さや濃度を変更する技術が知られている。特許文献1には、プリンタ記述言語(PDL=Page Description Language)により記述された印刷命令を解析し、得られた属性情報に基づいて文字の太さや濃度を変更する技術が記載されている。
2. Description of the Related Art In a printing device, during the printing process (charging, exposure, development, etc.), characters may become thicker or thinner in the character portion of printed matter. In order to eliminate such thickening and thinning of characters, a technique is known that changes the thickness and density of characters based on attribute information included in the original print data.
また、出力された印刷物を読み取ったスキャン画像データと、元の画像データ(基準画像)から印刷物の文字の状態を判断し、自動で調整する技術も提案されている。特許文献2には、印刷装置に入力された画像データに基づいて印刷処理を行って出力された印刷物を読み取り装置によってスキャンして読み取り画像データを得る。そして、読み取り画像データから文字領域を抽出し、その文字領域に対して1画素ごとに、元の画像データと読み取り画像データとの差分を取る。そして、その差分値を積分することにより文字の太り細りを判断し、その状態に応じて印刷パラメータを調整する技術が記載されている。
Furthermore, a technology has been proposed in which the state of characters on printed matter is determined based on scanned image data obtained by reading the outputted printed matter and original image data (reference image), and is automatically adjusted. In
しかしながら上記特許文献1に記載の技術では、元の印刷データのPDLの解析結果に文字の属性情報が含まれない場合は調整処理を実施できない。また特許文献2に記載の技術では、PDLの解析結果を利用していないため、文字種や文字サイズを利用することができない。また、文字が検出できなかったり、文字以外のオブジェクトを文字として誤検出するおそれがあり、そのような場合は、印刷パラメータを正確に求められないおそれがある。
However, the technique described in
本発明の目的は、上記従来技術の課題の少なくとも一つを解決することにある。 An object of the present invention is to solve at least one of the problems of the prior art described above.
本発明の目的は、元の印刷データのPDLの解析結果から文字の属性情報が抽出できない場合でも、その印刷データに応じて文字の画質を調整するためのパラメータを取得して文字画質を調整する技術を提供することにある。 An object of the present invention is to adjust the character image quality by acquiring parameters for adjusting the character image quality according to the print data even when character attribute information cannot be extracted from the PDL analysis result of the original print data. The goal is to provide technology.
上記目的を達成するために本発明の一態様に係る文字画質調整システムは以下のような構成を備える。即ち、
印刷装置に印刷データを出力して印刷させる情報処理装置と、当該印刷装置で印刷された印刷物を読み取って、前記印刷装置で印刷される印刷物の文字画質を調整する文字画質調整装置とを含む文字画質調整システムであって、
前記情報処理装置は、
前記印刷物を印刷した印刷データのPDLデータを解析して文字属性を含むか否か判定し、前記文字属性を含む場合は前記文字属性に対応する文字領域を抽出する第1抽出手段と、
前記第1抽出手段が前記文字属性を含まないと判定すると、前記印刷データをレンダリングして得られた画像データを解析して文字属性を含むか否か判定し、前記文字属性を含む場合は前記文字属性に対応する文字領域を抽出する第2抽出手段と、を有し、
前記文字画質調整装置は、
前記印刷物を読取って検査用画像データを取得する読取手段と、
前記第1抽出手段或いは前記第2抽出手段により抽出された前記文字領域に対応する、基準画像の文字情報と前記検査用画像データの文字情報とを比較する比較手段と、
前記比較手段の比較結果に応じて、前記印刷装置に対して印刷プロセスのパラメータを調整するよう指示する指示手段と、を有し、
前記印刷装置は、
前記指示手段による指示に応じて、前記情報処理装置から受信した印刷データに含まれる文字画質を調整する調整手段と、
前記調整手段により文字画質が調整された印刷データに従って印刷する印刷手段と、を有することを特徴とする。
In order to achieve the above object, a character image quality adjustment system according to one aspect of the present invention has the following configuration. That is,
A character that includes an information processing device that outputs print data to a printing device and causes it to be printed, and a character image quality adjustment device that reads the printed material printed by the printing device and adjusts the character image quality of the printed material printed by the printing device. An image quality adjustment system,
The information processing device includes:
a first extraction means for analyzing PDL data of print data for printing the printed material to determine whether or not it includes a character attribute, and if the character attribute is included, extracting a character area corresponding to the character attribute;
When the first extraction means determines that the character attribute is not included, the image data obtained by rendering the print data is analyzed to determine whether or not the character attribute is included, and if the character attribute is included, the image data is a second extraction means for extracting a character area corresponding to a character attribute;
The character image quality adjustment device includes:
reading means for reading the printed matter to obtain inspection image data;
Comparing means for comparing the character information of the reference image and the character information of the inspection image data corresponding to the character area extracted by the first extraction means or the second extraction means;
and instruction means for instructing the printing apparatus to adjust parameters of the printing process according to the comparison result of the comparison means,
The printing device includes:
Adjustment means for adjusting character image quality included in print data received from the information processing device in accordance with instructions from the instruction means;
The present invention is characterized by comprising a printing unit that prints according to print data whose character image quality has been adjusted by the adjusting unit.
本発明によれば、元の印刷データのPDLの解析結果から文字の属性情報が抽出できない場合でも、その印刷データに応じて文字の画質を調整するためのパラメータを取得して文字画質を調整できるという効果がある。 According to the present invention, even if character attribute information cannot be extracted from the PDL analysis result of the original print data, the character image quality can be adjusted by obtaining parameters for adjusting the character image quality according to the print data. There is an effect.
本発明のその他の特徴及び利点は、添付図面を参照とした以下の説明により明らかになるであろう。なお、添付図面においては、同じ若しくは同様の構成には、同じ参照番号を付す。 Other features and advantages of the invention will become apparent from the following description with reference to the accompanying drawings. In addition, in the accompanying drawings, the same or similar structures are given the same reference numerals.
添付図面は明細書に含まれ、その一部を構成し、本発明の実施形態を示し、その記述と共に本発明の原理を説明するために用いられる。
以下、添付図面を参照して本発明の実施形態を詳しく説明する。尚、以下の実施形態は特許請求の範囲に係る発明を限定するものでない。実施形態には複数の特徴が記載されているが、これら複数の特徴の全てが発明に必須のものとは限らず、また、複数の特徴は任意に組み合わせられてもよい。さらに、添付図面においては、同一もしくは同様の構成に同一の参照番号を付し、重複した説明は省略する。 Hereinafter, embodiments of the present invention will be described in detail with reference to the accompanying drawings. Note that the following embodiments do not limit the claimed invention. Although a plurality of features are described in the embodiments, not all of these features are essential to the invention, and the plurality of features may be arbitrarily combined. Furthermore, in the accompanying drawings, the same or similar components are designated by the same reference numerals, and redundant description will be omitted.
[実施形態1]
図1は、本発明の実施形態1に係る印刷システム101を含む検査及び文字画質調整システムの一例を示す図である。
[Embodiment 1]
FIG. 1 is a diagram showing an example of an inspection and character image quality adjustment system including a
印刷システム101は、外部コントローラ102(情報処理装置)と接続されている。印刷システム101及び外部コントローラ102は画像処理システムを構成する。印刷システム101は、例えば、画像形成装置、複合機、又はマルチファンクションペリフェラル(MFP)と称されることもある。印刷システム101と外部コントローラ102は、内部LAN105及びビデオケーブル106を介して通信可能に接続されている。外部コントローラ102は、外部LAN104を介してクライアントPC103と通信可能に接続されている。外部コントローラ102は、例えば、画像処理コントローラ、デジタルフロントエンド(DFE)、又はプリントサーバと称されることもある。
The
クライアントPC103は、外部LAN104を介して外部コントローラ102に対して印刷指示を行うことが可能である。クライアントPC103にはプリンタドライバがインストールされている。このプリンタドライバは、印刷データを外部コントローラ102が処理可能なプリンタ記述言語(PDL=Page Description Language)のデータに変換する機能を有する。ユーザは、クライアントPC103を操作することにより、PC103にインストールされた各種アプリケーションからプリンタドライバを介して印刷システム101に対して印刷指示を行うことができる。プリンタドライバは、ユーザからの印刷指示に基づいて、外部コントローラ102に対して印刷データ即ち、PDLデータを送信する。外部コントローラ102は、クライアントPC103からPDLデータを受信すると、受信したPDLデータの解析及び解釈を行う。そして、この解釈の結果に基づいてラスタライズ処理を行い、印刷システム101に合わせた解像度のビットマップ画像データを生成し、それを印刷システム101に投入することで印刷指示を行う。解像度は通常、600dpiで、高精細の場合は1200dpiの印刷システムが多い。以下、解像度は、600dpiの例で説明を行う。
The client PC 103 can issue a print instruction to the
印刷システム101は、それぞれ異なる機能を有する複数の装置を備え、製本処理等の種々の処理が実行可能に構成されている。実施形態1では、印刷システム101は、印刷装置107、インサータ108、文字画質調整装置109、大容量スタッカ110、及びフィニッシャ111を有している。印刷装置107によって画像が印刷され、印刷装置107から排紙されたシート(用紙)は、インサータ108、文字画質調整装置109、大容量スタッカ110、及びフィニッシャ111の順に、各装置の内部を搬送される。実施形態1では、印刷システム101は、画像形成装置の一例であるが、印刷システム101に含まれる印刷装置107が、画像形成装置、複合機、又はマルチファンクションペリフェラル(MFP)と称されることもある。
The
印刷装置107は、印刷装置107の下部に配置された給紙部から給紙或いは搬送されるシートに対してトナー(現像剤)を用いて画像を形成(印刷)する。インサータ108は、印刷装置107から搬送される一連のシート群に対してシートを挿入する。文字画質調整装置109は、印刷される文字の画質を調整するための文字の検査を行う。文字画質調整装置109は、印刷装置107によって画像が印刷されたシートが搬送路を通じて搬送され、当該搬送されたシート上の文字画像を適切な画質に調整する装置である。より具体的には、文字調整処理は、検査と調整からなる。検査は、搬送されたシートに印刷された画像を読み取って得られた画像データを、元の印刷データであるPDLデータをラスタライズしたビットマップ画像の基準画像と比較して、シートに印刷された文字を検査(カスレやつぶれなどを判定)する。この検査の結果、カスレやつぶれがある際は、文字の画質が適切になるように、画像処理の設定やプロセス設定を調整する。大容量スタッカ110は、多数のシートを積載可能な装置である。フィニッシャ111は、搬送されたシートに対して、ステイプル処理、パンチ処理、中綴じ製本処理等のフィニッシング処理を実行可能な装置である。フィニッシャ111による処理後のシートは所定の排紙トレイに排紙される。
The
図2は、実施形態1に係る検査及び文字画質調整システムの印刷装置107、外部コントローラ102、文字画質調整装置109及びクライアントPC103のハードウェア構成を説明するブロック図である。
FIG. 2 is a block diagram illustrating the hardware configurations of the
まず最初に印刷装置107を説明する。
First, the
印刷装置107は、通信I/F(インタフェース)217、ネットワークI/F218、ビデオI/F220、HDD221、CPU222、メモリ223、UI表示部225を備える。印刷装置107は更に、画像処理部224、プリント部(プリンタエンジン)226を備える。これらは、それぞれ、システムバス213を介して互いに接続されている。
The
通信I/F217は、通信ケーブル260を介してインサータ108、文字画質調整装置109、大容量スタッカ110及びフィニッシャ111と接続される。CPU222は、通信I/F217を介して、それぞれの装置と通信を行う。ネットワークI/F218は、内部LAN105を介して外部コントローラ102と接続され、制御データ等の通信に用いられる。ビデオI/F220は、ビデオケーブル106を介して外部コントローラ102と接続され、画像データ等のデータの通信に用いられる。尚、印刷装置107(印刷システム101)と外部コントローラ102とは、外部コントローラ102による印刷システム101の動作の制御が可能であれば、ビデオケーブル106のみで接続されていてもよい。
Communication I/
HDD221には、各種プログラム又はデータが保存される。CPU222は、HDD221に保存されたプログラムをメモリ223に展開して実行することで、印刷装置107の動作を制御する。メモリ223には、CPU222が各種処理を行う際に必要となるプログラム及びデータが格納される。またメモリ223は、CPU222のワークエリアとして動作する。UI表示部225は、ユーザからの各種設定の入力及び操作の指示を受け付け、設定情報及び印刷ジョブの処理状況等、各種情報の表示に使用される。
Various programs or data are stored in the
画像処理部224は、外部コントローラ102で生成したビットマップ画像データを印刷システム101に最適な画像データに変換する。例えば、カラーデータであれば色を最適に変換する色変換処理、文字であれば細線部を最適な太さに変換する文字調整処理(細線太さ調整処理)を行う。より具体的には、ある印刷システムにおいて、黒細線部がかすれる場合は、予め黒細線を太らせる細線太さ調整処理を行い、適切な黒細線を印刷する。また、白抜き細線部がつぶれる場合は、予め白細線を細らせる細線太さ調整処理を行い、適切な白細線を印刷する。
The
プリント部226は、画像処理部224により印刷に最適なビットマップに変換された印刷データに基づいて、印刷装置107の下部に配置された給紙部から給紙及び搬送されるシートに対してトナー(現像剤)を用いて画像を形成(印刷)する。
The
インサータ108は、給紙部からの挿入シートの給紙、及び印刷装置107から搬送されるシートの搬送を制御する。
The
文字画質調整装置109は、通信I/F237、CPU238、メモリ239、画像読取部240、UI表示部242、及びHDD255を備える。これらのデバイスは、システムバス243を介して互いに接続される。通信I/F237は、通信ケーブル260を介して印刷装置107と接続される。CPU238は、通信I/F237を介して、文字画質調整装置109の制御に必要な通信を行う。CPU238は、メモリ239に格納された制御プログラムを実行することで、文字画質調整装置109の動作を制御する。メモリ239には、文字画質調整装置109用の制御プログラムが保存される。
The character image
画像読取部240は、CPU238の指示に従って、搬送されたシートを読取る。CPU238は、画像読取部240によって読取って得られた画像データを検査用画像データ(以下、検査画像データ)としてメモリ239に保存する。CPU238は更に、PDLデータをラスタライズしたビットマップ画像を基準画像とし、検査画像データと比較することで、シートに印刷された文字の再現性を検査し、文字の調整量を求める文字調整処理を行う。
The
UI表示部242は、文字調整結果及び設定画面等の表示に使用される。UI表示部242は、ユーザによって操作され、ユーザから各種指示(例えば、文字画質調整装置109の設定変更、検査する文字種やサイズの指定等)を受け付ける。HDD255には、文字調整に必要な各種設定情報及び画像データが保存される。HDD255に保存された各種設定情報及び画像データは再利用が可能である。
The UI display section 242 is used to display character adjustment results, setting screens, and the like. The UI display unit 242 is operated by the user and receives various instructions from the user (for example, changing the settings of the character image
次にスタッカ110について説明する。
Next, the
スタッカ110は、搬送路を搬送されてきたシートを、スタックトレイへ排紙するか、エスケープトレイへ排紙するか、又はシートの搬送方向の下流側に接続されているフィニッシャ111へ搬送する制御を行う。
The
次にフィニッシャ111について説明する。
Next, the
フィニッシャ111は、シートの搬送及び排紙を制御し、ステイプル、パンチ、又は中綴じ製本等のフィニッシング処理を行う。
The
次に外部コントローラ102について説明する。
Next, the
外部コントローラ102は、CPU208、メモリ209、HDD210、キーボード211、表示部212、ネットワークI/F213,214及びビデオI/F215を備える。これらのデバイスは、システムバス216を介して互いに接続される。CPU208は、HDD210に保存されたプログラムをメモリ209に展開して実行することにより、外部コントローラ102の動作を制御する。例えば、クライアントPC103からのPDLデータの受信、PDLデータのラスタライズを行うRIP処理、及び印刷システム101へ印刷データを送信する処理などを実行する。メモリ209には、CPU208が各種処理を行う際に必要となるプログラム及びデータが格納される。またメモリ209は、CPU208のワークエリアとして動作する。
The
HDD210には、各種プログラム及びデータが保存される。キーボード211は、ユーザからの外部コントローラ102の操作指示の入力に使用される。表示部212は、例えば、外部コントローラ102における実行中のアプリケーションの情報、及び操作画面の表示等に使用される。ネットワークI/F213は、外部LAN104を介してクライアントPC103と接続され、印刷指示等のデータの通信に用いられる。ネットワークI/F214は、内部LAN105を介して印刷装置107と接続され、印刷指示等のデータの通信に用いられる。ビデオI/F215は、ビデオケーブル106を介して印刷装置107と接続され、画像データ(印刷データ)等のデータの通信に用いられる。
Various programs and data are stored in the
次にクライアントPC103について説明する。
Next, the
クライアントPC103は、CPU201、メモリ202、HDD203、キーボード204、表示部205及びネットワークI/F206を備える。これらのデバイスは、システムバス207を介して互いに接続される。CPU201は、HDD203に保存されたプログラムをメモリ202に展開して実行することで、システムバス207を介して各デバイスの動作を制御する。これにより、クライアントPC103による各種処理が実現される。例えば、CPU201は、HDD203に保存された文書処理プログラムをメモリ202に展開して実行することで、印刷データの生成及び印刷指示を行う。メモリ202は、CPU201が各種処理を行う際に必要となるプログラム及びデータを格納している。またメモリ202は、CPU201のワークエリアとして動作する。
The
HDD203には、各種アプリケーション(例えば、文書処理プログラム)及びプリンタドライバ等のプログラム、及び各種データが保存される。キーボード204は、ユーザからのクライアントPC103の操作指示の入力に使用される。表示部205は、例えば、クライアントPC103における実行中のアプリケーションの情報、及び操作画面の表示に使用される。ネットワークI/F206は、外部LAN104を介して外部コントローラ102と通信可能に接続される。CPU201は、ネットワークI/F206を介して、外部コントローラ102と通信する。
The
尚、図1の検査及び文字画質調整システムでは、印刷システム101に外部コントローラ102が接続されているが、本発明は、これとは異なる構成にも適用可能である。例えば、印刷システム101が外部LAN104に接続され、外部コントローラ102を介さずに、クライアントPC103から印刷システム101へ印刷データが送信される構成であってもよい。この場合、印刷データに対するデータ解析や解釈及びラスタライズは、印刷システム101によって実行される。この場合、文字画質調整装置109は、印刷システムからPDLの解釈結果やラスタライズされた画像データを受け取って、印刷データに含まれる文字領域を抽出しても良い。また或いは、文字画質調整装置109が、PDLの解釈やラスタライズを実行して、受け取った印刷データに含まれる文字領域を抽出しても良い。
In the inspection and character image quality adjustment system shown in FIG. 1, the
図3は、実施形態1に係る検査及び文字画質調整システムにおける文字調整処理を説明するフローチャートである。 FIG. 3 is a flowchart illustrating character adjustment processing in the inspection and character image quality adjustment system according to the first embodiment.
S301で外部コントローラ102は、クライアントPC103から印刷ジョブを受信することで、その印刷ジョブに従って処理を開始する。実施形態1では、説明を簡単にするため、印刷ジョブはPDLファイルを含み、PDFファイルは、文字画像等を含むPDF(Portable Document Format)データを含むか、或いは文字画像等を含まない場合もあるものとする。そしてクライアントPC103は、このPDFファイルを外部コントローラ102に送信してプリント指示を行う場合を例に以後の説明を行う。
In step S301, the
S302で外部コントローラ102のCPU208は、PDFファイルの記載に基づいて、その印刷ジョブに含まれる文字のフォント種、サイズ、用紙の指定位置などを取得する。
In step S302, the
図4は、文字サイズが5pt(ポイント)のKozMinPr6N-Regularフォントで指定された漢字「情」402を印刷した印刷物401のイメージ図である。
FIG. 4 is an image diagram of a printed
図5は、図4の印刷物401を取得するPDLファイルのPDF(Portable Document Format)の記述の一例を示す図である。
FIG. 5 is a diagram illustrating an example of a description of a PDF (Portable Document Format) of a PDL file from which the printed
図6は、実施形態1に係る外部コントローラ102による文字部の座標解析処理を説明するフローチャートである。以下、図4、図5、図6を参照して、S302のPDL解釈処理で実行される文字部の座標解析処理を説明する。尚、図6のフローチャートで示す処理は、外部コントローラ102のCPU208がメモリ209に展開されたプログラムを実行することで実現される。
FIG. 6 is a flowchart illustrating coordinate analysis processing of a character portion by the
S601でCPU208は、文字検査設定画面(不図示)で予め設定されている文字検査に用いるフォント種、フォントサイズ、フォントの設定を取得する。ここでは、一例として、フォントは漢字の「情」(文字コード「8fee」)、フォントサイズは7pt以下、フォント種はKozMinPr6N-Regularの例で説明する。これはあくまでも一例であり、文字調整の検査が可能なフォントであればこれに限ったものではない。文字検査において、文字に細い線の部分が含まれ、基準画像と比較して線が太いか細いかを判別できる部分が含まれていることが望ましい。
In step S601, the
次にS602に進みCPU208は、図5のPDLデータのフォント種指定部501において、/Type/Fontの記載で、指定されたフォント種「KozMinPr6N-Regular」が使用されているか否かを判定する。指定されたフォント種が使用されている場合はS603に進むが、使用されていない場合は終了となる。図5の例では、KozMinPr6N-Regularが使用されているのでS603に進む。
Next, the process advances to S602, and the
S603でCPU208は、図5のPDLデータのフォント指定部503において、/F0の記載に、指定されたフォントコード「8fee」が使用されているか否かを判定する。指定されたフォントコードが使用されている場合はS604に進み、使用されていない場合は終了となる。図5の例では、フォントコード「8fee」が使用されているのでS604に進む。
In S603, the
S604でCPU208は、図5のPDLデータのフォント指定部503において、/F0の記載に、指定されたサイズである7pt以下が使用されているか否かを判定する。指定されたサイズが使用されている場合はS605に進み、使用されていない場合は、終了となる。図5の例では、「5」が使用されており、これは7以下であるためS605に進む。
In S604, the
S605でCPU208は、図5のPDLデータのフォント指定部503の「1.0.0.1.50.770.Cm」の記載から、文字の矩形402の左上座標(x1,y1)を求める。このcmの数字は、「1.0.0.1.」が正方行列を示し回転がないことを示し、「50.770.」が右に50ポイント、上方向に720ポイントの平行移動を示している。即ち、600dpiの場合、図4の長さ403が50ポイントで416画素に相当し、長さ404が720ポイントで6000画素に相当する。よって、左上座標(x1,y1)=(416、6000)となる。そして文字の大きさが5ポイントであるため、そのサイズは41画素に相当する。こうして右下座標(x2,y2)は(457、6041)として求めることができる。
In S605, the
次に図3に戻り、S303でCPU208は、PDLを解釈した結果に基づいて、その解像度設定に従ったビットマップ画像データにラスタライズする。そしてS304に進みCPU208は、ラスタライズで得られたビットマップ画像データを基準画像とする。そしてその基準画像を外部コントローラ102のHDD210に一時保存し、その後、その基準画像を文字画質調整装置109へ送信して文字画質調整装置109のHDD255に保存させて、後の文字部の検査に使用させる。この基準画像の解像度は、600dpiとして以後説明を行う。
Next, returning to FIG. 3, in S303, the
次にS305に進みCPU208は、S303でラスタライズしたビットマップ画像データをビデオI/F215からビデオケーブル106を通して、印刷装置107のビデオI/F220に送信する。このビットマップ画像データを受け取った印刷装置107のCPU222は、そのビットマップ画像データを画像処理部224で処理し、その処理されて画像データに従ってプリント部226で印刷を行う。
Next, the process advances to S305, and the
次にS306に進みCPU208は、元の印刷データに文字属性情報があるか否か判定する。ここでは外部コントローラ102がS302で実施したPDLデータの解析結果に基づいて、PDLデータに文字オブジェクトが含まれるか判定する。文字オブジェクトが含まれている場合は文字属性情報が含まれているためS307に遷移し、PDLデータの解析結果をもとに、その文字領域の文字情報を取得してS311に進む。S307では、PDLデータの解析により得られる文字オブジェクト情報を取得する。この文字オブジェクト情報には、文字のフォント種やサイズ、座標情報などが含まれる。
Next, the process advances to step S306, and the
一方、S306で文字属性が含まれていないと判定した場合はS308に進み、CPU208は、S303でラスタライズされたビットマップ画像データから文字領域を抽出してS309に進む。この文字領域の抽出には、例えば、輪郭検出により得られた物体の位置を比較する方法、MSER(Maximally Stable Extremal Regions)特徴検出器により画素値の近しい連結領域を検出する方法、OCR(Optical Character Recognition)による文字領域の抽出を用いる方法などがある。そしてS309に進みでCPU208は、S308で文字領域が検出されたかどうかを判定する。ここで文字領域が存在すると判定したときはS310に遷移するが、文字領域が存在しないと判定した場合は、元の印刷データには文字が存在しないと判断して、この文字調整処理を終了する。S310でCPU208は、S308で抽出した文字領域の文字情報を取得する。具体的には、抽出した文字領域に含まれる文字情報を取得する。尚、OCRによる抽出の場合は、文字領域に加えて、フォント情報等の文字情報が取得できる場合もある。
On the other hand, if it is determined in S306 that the character attribute is not included, the process advances to S308, where the
そしてS311に進み文字画質調整装置109のCPU238は、画像読取部240により検査対象の印刷物の画像を読み取って検査画像データを取得する。この画像読取部240による印刷物の読取は600dpiの解像度で行われ、600dpiの解像度の画像データとして保存される。
The process then proceeds to S311, and the
次にS312に進みCPU238は、検査画像データから文字領域の文字情報を抽出する。ここでは、外部コントローラ102がS307或いはS310で取得した文字領域と文字情報を外部コントローラ102から受け取り、それに基づいて基準画像と検査画像データから、その文字領域に含まれる文字情報を切り出す。次にS313に進みCPU238は、S312で抽出した検査画像データの文字に対して、文字情報の変形(位置合わせ)を実施する。
Next, the process advances to S312, and the
図7は、文字のの切り出し処理と文字情報の変形処理を説明する模式図(A)~(D)と、アフィン変換の式を示す図(E)である。 FIG. 7 is a schematic diagram (A) to (D) illustrating character extraction processing and character information transformation processing, and a diagram (E) illustrating an affine transformation formula.
図7(A)は、元の印刷データの文字部を示し、破線矩形701はS306或いはS309で得られた文字領域を示しており、矩形の左上座標(x1,y1)と右下座標(x2,y2)で文字領域の座標が与えられている。図7(B)は、検査画像データの文字領域を示している。ここで、検査画像データは、読み取り時の位置ずれや拡縮等により、元の印刷データの文字位置情報から求めた矩形702内に文字が収まらない場合がある。そのため検査画像データから文字を切り出す際には、少し大きめの範囲(破線矩形703)で切り出すのが望ましい。
FIG. 7(A) shows the character part of the original print data, and a
図7(C)は、変形処理を説明する模式図である。実施形態1では、アフィン変換を用いた変形処理で説明するが、位置合わせ手法はこれに限定されるものでない。元の印刷データを破線矩形701で切り出した印刷元の文字画像704と、検査画像データを破線矩形702で切り出した検査文字画像705から画像変換パラメータを求める。印刷元の文字画像704と検査文字画像705から対応する特徴点706を検出する。一点鎖線で結ばれた特徴点がそれぞれ対応する特徴点である。これら特徴点の検出には、例えばAKAZEなどの公知の手法を用いることができる。得られた特徴点の座標が一致するように、変形補正パラメータを算出する。(x’,y’)の座標位置を(x,y)に変形補正させる処理に際して、図7(E)に示すアフィン変換のa~fが補正パラメータとなる。
FIG. 7C is a schematic diagram illustrating the deformation process. In the first embodiment, a deformation process using affine transformation will be described, but the alignment method is not limited to this. Image conversion parameters are determined from a printing
こうして算出したパラメータを用いて検査画像データの文字の変形(位置合わせ)を行う。図7(D)は、印刷元の基準文字画像707と、位置合わせ後の検査文字画像708を示している。
The characters in the inspection image data are transformed (aligned) using the parameters thus calculated. FIG. 7(D) shows a
次にS314でCPU238は文字特性の定量化を行う。ここではまずS313で位置合わせした基準画像の文字707と検査画像の文字708とを比較し、その比較結果に基づいて差分データを取得する。具体的には、基準文字画像707と検査文字画像708の同じ位置の画素ごとに、画素値の差分値を計算する。この差分値は次式により算出する。
Next, in S314, the
差分値=(検査画像の文字の画素値)-(基準画像の文字の画素値)
図8は、文字特性の定量化を説明するための模式図である。
Difference value = (pixel value of text in test image) - (pixel value of text in reference image)
FIG. 8 is a schematic diagram for explaining the quantification of character characteristics.
図8(A)は、図7(D)の基準画像の文字の一部709を、図8(B)は、図7(D)の検査画像の文字の一部910をそれぞれ拡大した図である。真黒の画素が文字部を表している。ここでは、説明を簡略化するため2値化(真白255、真黒0)した画像を用いているが、RGB各色8ビットのカラー画像をそのまま用いてもかまわない。
FIG. 8(A) is an enlarged view of a portion of the
図8(C)は、図8(A)と図8(B)から求めた差分データである。真黒の画素が差分値(0)、真白の画素が差分値(255)、斜線網掛けの画素が差分値(-255)である。 FIG. 8(C) is difference data obtained from FIG. 8(A) and FIG. 8(B). A pure black pixel has a difference value (0), a pure white pixel has a difference value (255), and a diagonally shaded pixel has a difference value (-255).
次に、この差分データをもとに印刷物の文字太り量を算出する。まず、差分データの中で負の差分値が予め定めた負の閾値(th1)以下の画素数N1を計算する。続いて、正の差分値が予め定めた正の閾値(th2)以上の画素数N2を計算する。そして、N1とN2の画素数の差(N1-N2)の、検査画像の文字部の画素数に対する割合から文字太り度αを算出する。 Next, based on this difference data, the amount of text thickening on the printed matter is calculated. First, the number N1 of pixels whose negative difference value is less than or equal to a predetermined negative threshold (th1) in the difference data is calculated. Subsequently, the number N2 of pixels whose positive difference value is greater than or equal to a predetermined positive threshold (th2) is calculated. Then, the character thickness α is calculated from the ratio of the difference in the number of pixels between N1 and N2 (N1-N2) to the number of pixels in the character portion of the inspection image.
α=(N1-N2)/(検査画像の文字部の画素数)
差分データは、図8(C)の場合、簡単のためth1、th2ともに0とすると、N1は1、N2は8となる。よって、図8(B)の文字太り度αの値は上述した式を用いて、α=(1-8)/30=-0.23と求められる。ここでは説明のため文字の一部を用いたが、実際は同様の計算を文字全体に対して実施する。以上の処理により、文字特性を文字太り度αにより定量化できる。
α=(N1-N2)/(number of pixels in the text part of the inspection image)
For the difference data, in the case of FIG. 8C, if th1 and th2 are both set to 0 for simplicity, N1 becomes 1 and N2 becomes 8. Therefore, the value of the character fatness α in FIG. 8(B) is determined as α=(1-8)/30=−0.23 using the above-mentioned formula. Although a part of a character is used here for explanation, in reality, similar calculations are performed for the entire character. Through the above processing, the character characteristics can be quantified by the character thickness α.
ここでαが正値をとる場合、文字太りと判断されるため、調整量を変更して文字を細らせるように制御する。一方、αが負値をとる場合、文字細りと判断されるため、調整量を変更して文字を太らせるように制御する。具体的な文字調整処理については詳述する。 If α takes a positive value, it is determined that the characters are thick, and the adjustment amount is changed to make the characters thinner. On the other hand, if α takes a negative value, it is determined that the characters are thin, and the adjustment amount is changed to make the characters thicker. The specific character adjustment process will be described in detail.
次にS315に進みCPU238は、文字調整が必要かどうかを判定する。ここでは文字太り度αが許容値内かどうか判定し、許容値内であれば文字調整を実施せずに、この処理を終了する。一方、文字太り度αが許容値内でない場合はS316に進んで文字調整制御を実施する。ここでは、S314で求めた文字太り度αに基づいて文字調整制御を実施する。まず文字太り度αをもとに調整レベルLcを決定する。この調整レベルLcは、例えば、文字太り度αと調整量を対応付けたテーブルを予め用意しておき、それを参照して決定する。
Next, the process advances to S315, and the
図9は、文字太り度αと調整レベルLcとの関係を示すテーブルの一例を示す図である。 FIG. 9 is a diagram showing an example of a table showing the relationship between character thickness α and adjustment level Lc.
例えば図8(C)の場合、求めた文字太り度αはα=0.23であったため、図9のテーブルを参照すると、調整レベルLcは+1と決定できる。こうして調整レベルLcを決定すると、文字画質調整装置109は、その求めた調整レベルLcを印刷装置107にフィードバックする。これにより印刷装置107は、次にレンダリングから画像処理部224により調整レベルLcを用いて文字調整処理を行うことにより、文字調整制御を実施することができる。
For example, in the case of FIG. 8C, the obtained character thickness α is α=0.23, so referring to the table of FIG. 9, the adjustment level Lc can be determined to be +1. After determining the adjustment level Lc in this manner, the character image
ここで、調整レベルLcを用いた画像処理部224での文字調整の一例について、図10を用いて説明する。
Here, an example of character adjustment in the
図10(A)、(B)、(D)、(E)は、順に、図10(C)の画像に対して、調整レベルLcの値に応じて調整を行った画像を示す。ここでは図10(A)、(B)、(D)、(E)の順に、調整レベル-2で1(=0.5×2)画素細らせた線、調整レベル-1で0.5(=0.5×1)画素細らせた線、調整レベル+1で0.5(=0.5×1)画素太らせた線、調整レベル+2で1(=0.5×2)画素太らせた線の画像を示している。 10(A), (B), (D), and (E) show images in which the image in FIG. 10(C) is adjusted in accordance with the value of the adjustment level Lc. Here, in the order of FIGS. 10(A), (B), (D), and (E), a line thinned by 1 (=0.5×2) pixel at adjustment level -2, 0. Line made thinner by 5 (=0.5×1) pixels, line made thicker by 0.5 (=0.5×1) pixels at adjustment level +1, 1 (=0.5×2) at adjustment level +2 It shows an image of lines with thicker pixels.
1画素幅細らせる或いは太らせる調整は、図10(A)、(E)に示すように、入力画像である図10(C)の線の画像に対して、線を示す画像部分の片側の全ての画素に対して、1画素分、間引く或いは付加することで行われる。次に0.5画素幅細らせる或いは太らせる調整は、図10(B)、(D)に示すように、入力画像である図10(C)の線の画像に対して、線を示す画像部分の片側の画素を1画素置きに、間引く或いは付加することで行われる。 As shown in FIGS. 10(A) and 10(E), the adjustment to make the width thinner or thicker by 1 pixel is performed on one side of the image portion showing the line for the line image in FIG. 10(C), which is the input image. This is done by thinning out or adding one pixel to all pixels. Next, as shown in FIGS. 10(B) and 10(D), the adjustment to make the width thinner or thicker by 0.5 pixel shows the line for the line image in FIG. 10(C), which is the input image. This is done by thinning out or adding pixels on one side of the image part every other pixel.
尚、図3のS306の判定では、PDLデータを解釈して得られた文字属性情報を含む文字の量が、後続の文字の太り度等の特性を求めるのに十分な数でない場合は、レンダリングで得られたRIP画像データから文字情報を抽出するようにしても良い。 In addition, in the determination in S306 of FIG. 3, if the amount of characters including character attribute information obtained by interpreting the PDL data is not a sufficient number to determine the characteristics such as the thickness of the subsequent characters, rendering is performed. Text information may also be extracted from the RIP image data obtained in .
以上説明したように実施形態1によれば、PDLデータの解析結果から文字情報が得られる場合はPDLデータの解析結果を利用し、PDLデータの解析結果から文字情報が得られない場合は、レンダリングされた画像データの解析により文字情報を取得する。これにより、元の印刷データが文字属性情報を含まない場合でも、精度の良い文字の定量化、調整処理を行うことができる。 As explained above, according to the first embodiment, when character information can be obtained from the analysis result of PDL data, the analysis result of PDL data is used, and when character information cannot be obtained from the analysis result of PDL data, rendering Character information is obtained by analyzing the image data. Thereby, even if the original print data does not include character attribute information, highly accurate character quantification and adjustment processing can be performed.
[実施形態2]
上述の実施形態1では、PDLデータの解析結果に文字情報が含まれない場合は、RIPにより得られた画像データを解析することにより文字情報を取得して文字調整を行う例で説明した。
[Embodiment 2]
In the above-described first embodiment, an example has been described in which, when character information is not included in the analysis result of PDL data, character information is acquired by analyzing image data obtained by RIP and character adjustment is performed.
しかしながら、ロゴ文字などの特殊なフォントは、PDLデータの解析やRIP画像データの解析では、文字情報が取得できない場合がある。実施形態2は、印刷データに含まれる文字情報に加え、ユーザが指定した文字情報を用いて文字調整を行う例で説明する。尚、実施形態2において、前述の実施形態1と同じ装置及び構成は同じ番号を付与して、その説明を省略する。
However, for special fonts such as logo characters, character information may not be obtained by analyzing PDL data or RIP image data.
図11は、本発明の実施形態2に係る検査及び文字画質調整システムにおける文字調整処理を説明するフローチャートである。尚、図11において、前述の図3のフローチャートで示す処理と同じ処理は同じ参照番号を付与して、それらの説明を省略する。
FIG. 11 is a flowchart illustrating character adjustment processing in the inspection and character image quality adjustment system according to
S1101で文字画質調整装置109のCPU238は、ジョブの実行前に、ユーザから指定される文字位置を受け付ける。
In step S1101, the
図12は、実施形態2に係る文字画質調整装置109のUI表示部242に表示される、ユーザが文字位置を指定するための画面の一例を示す図である。
FIG. 12 is a diagram showing an example of a screen displayed on the UI display unit 242 of the character image
このUI画面でユーザは、表示された元の印刷データのプレビュー画像1201を参照して、その画像内の文字領域1202を指定することができる。文字領域1202は、複数指定しても良い。ユーザは文字領域1202を指定した後、決定ボタン1203を押下することでユーザが指定した文字領域が設定される。
On this UI screen, the user can refer to the displayed
そしてS301でジョブを開始し、S305でプリントが完了したら、S1102で文字情報の取得と保存を実施する。CPU238は、元の印刷データの文字領域の文字情報を取得し、文字画質調整装置109のメモリ239に一時的に保存する。
Then, a job is started in S301, and when printing is completed in S305, character information is acquired and saved in S1102. The
図13は、図12のS1102の文字情報の取得及び保存処理を説明するフローチャートである。尚、図13において、前述の図3のS306、S308、S309と同じ処理は同じ参照番号を付して、それらの説明を省略する。 FIG. 13 is a flowchart illustrating the character information acquisition and storage processing in S1102 of FIG. 12. In FIG. 13, the same processes as S306, S308, and S309 in FIG. 3 described above are given the same reference numerals, and their explanations will be omitted.
まずS1302において、ユーザが設定した文字領域があるかどうか判定する。図11のS1101でユーザが文字領域を設定していた場合、S1302でCPU238は、その設定されている文字領域の文字情報を取得してメモリ239に保存する。
First, in S1302, it is determined whether there is a character area set by the user. If the user has set a character area in S1101 of FIG. 11, the
S306で元の印刷データに文字属性情報があるかを判定し、文字属性情報が含まれている場合はS1303に遷移し、PDLデータの解析結果に基づいて文字情報を取得してメモリ239に保存する。一方、S306でCPU238は、元の印刷データに文字属性情報が無い場合はS308に進み、レンダリングされた画像データから文字領域の抽出を行う。そしてS309に進みCPU238は、S308により文字領域が検出されたかどうかを判定する。ここで文字領域が存在する場合はS1304に進み、CPU238は、その文字領域からで文字情報を取得してメモリ239に保存してS1103に進む。一方、文字領域が存在しない場合はS1304をスキップしてS1103に進む。
In S306, it is determined whether the original print data has character attribute information, and if character attribute information is included, the process moves to S1303, where character information is acquired based on the analysis result of the PDL data and stored in the
図11に戻りS1103でCPU238は、メモリ239を参照して、その検査画像データに文字情報があるかどうかを判定する。ここで文字情報が存在しないと判定すると、この処理を終了する。一方、文字情報があると判定するとS1104に遷移し、CPU238は、S1102でメモリ239に保存した文字情報を読み出してS311以降の文字調整制御を実施する。
Returning to FIG. 11, in S1103, the
尚、この実施形態2では、ユーザが設定した文字領域がある場合は、そのユーザが設定した文字領域における文字情報の定量化結果を、PDL解釈或いはレンダリング画像から得られた文字領域の文字情報定量化結果よりも重視するように重みづけを行っても良い。 In this second embodiment, if there is a character area set by the user, the quantification result of character information in the character area set by the user is used as the quantification result of character information in the character area obtained from PDL interpretation or a rendered image. Weighting may be performed so as to give more importance than the results of the analysis.
以上説明したように実施形態2によれば、ユーザが指定した文字領域を参照することにより、PDLデータの解析やレンダリングされた画像データの解析により文字領域が抽出されない場合でも、ユーザが所望する文字に対しても定量化、調整処理が可能となる。 As described above, according to the second embodiment, by referring to the character area specified by the user, even if the character area is not extracted by analysis of PDL data or rendered image data, the character desired by the user can be extracted. It is also possible to quantify and adjust the
(その他の実施形態)
本発明は、上述の実施形態の1以上の機能を実現するプログラムを、ネットワーク又は記憶媒体を介してシステム又は装置に供給し、そのシステム又は装置のコンピュータにおける1つ以上のプロセッサがプログラムを読出し実行する処理でも実現可能である。また、1以上の機能を実現する回路(例えば、ASIC)によっても実現可能である。
(項目1)
印刷装置に印刷データを出力して印刷させる情報処理装置と、当該印刷装置で印刷された印刷物を読み取って、前記印刷装置で印刷される印刷物の文字画質を調整する文字画質調整装置とを含む文字画質調整システムであって、
前記情報処理装置は、
前記印刷物を印刷した印刷データのPDLデータを解析して文字属性を含むか否か判定し、前記文字属性を含む場合は前記文字属性に対応する文字領域を抽出する第1抽出手段と、
前記第1抽出手段が前記文字属性を含まないと判定すると、前記印刷データをレンダリングして得られた画像データを解析して文字属性を含むか否か判定し、前記文字属性を含む場合は前記文字属性に対応する文字領域を抽出する第2抽出手段と、を有し、
前記文字画質調整装置は、
前記印刷物を読取って検査用画像データを取得する読取手段と、
前記第1抽出手段或いは前記第2抽出手段により抽出された前記文字領域に対応する、基準画像の文字情報と前記検査用画像データの文字情報とを比較する比較手段と、
前記比較手段の比較結果に応じて、前記印刷装置に対して印刷プロセスのパラメータを調整するよう指示する指示手段と、を有し、
前記印刷装置は、
前記指示手段による指示に応じて、前記情報処理装置から受信した印刷データに含まれる文字画質を調整する調整手段と、
前記調整手段により文字画質が調整された印刷データに従って印刷する印刷手段と、
を有することを特徴とする文字画質調整システム。
(項目2)
前記基準画像は、前記印刷データをレンダリングして得られた画像データから生成されることを特徴とする項目1に記載の文字画質調整システム。
(項目3)
前記第2抽出手段は、文字画質を調整するのに十分な文字属性を前記第1抽出手段が抽出できない場合にも、前記印刷データをレンダリングして得られた画像データを解析して前記文字属性に対応する文字領域を抽出することを特徴とする項目1又は2に記載の文字画質調整システム。
(項目4)
前記第2抽出手段は、輪郭検出により得られた物体の位置を比較する方法、MSER(Maximally Stable Extremal Regions)特徴検出器により画素値の近しい連結領域を検出する方法、OCR(Optical Character Recognition)により文字領域を抽出する方法のいずれかを使用して前記文字領域を抽出することを特徴とする項目1乃至3のいずれか一項目に記載の文字画質調整システム。
(項目5)
前記比較手段は、前記基準画像の文字情報と前記検査用画像データの文字情報とに基づいて、前記文字情報の同じ位置の画素ごとに画素値の差分値を取得することを特徴とする項目1乃至4のいずれか一項目に記載の文字画質調整システム。
(項目6)
前記指示手段は、前記差分値に基づいて文字の太り度を求め、当該太り度に対応する調整レベルを決定して前記印刷装置に対して指示することを特徴とする項目5に記載の文字画質調整システム。
(項目7)
前記調整手段は、前記調整レベルに応じて文字の線を太らせるか、或いは細らせるように前記印刷データを変更することを特徴とする項目6に記載の文字画質調整システム。
(項目8)
前記文字画質調整装置は、
ユーザの指定に応じて、前記印刷物を印刷した印刷データに含まれる文字領域を指定する指定手段を、更に有し、
前記比較手段は、更に、前記指定手段により指定された前記文字領域に対応する、前記基準画像の文字情報と前記検査用画像データの文字情報とを比較することを特徴とする項目1乃至7のいずれか一項目に記載の文字画質調整システム。
(項目9)
前記指示手段は、前記指定手段により指定された前記文字領域に対応する、前記基準画像の文字情報と前記検査用画像データの文字情報との比較結果を、前記第1抽出手段或いは前記第2抽出手段により抽出された前記文字領域に対応する、前記基準画像の文字情報と前記検査用画像データの文字情報との比較結果よりも重視して前記パラメータを調整するように指示することを特徴とする項目8に記載の文字画質調整システム。
(項目10)
印刷装置で印刷された印刷物を読み取って、当該印刷装置で印刷される印刷物の文字画質を調整する文字画質調整装置であって、
前記印刷物を読取って検査用画像データを取得する読取手段と、
前記印刷物を印刷した印刷データのPDLデータを解析して文字属性を含むか否か判定し、前記文字属性を含む場合は前記文字属性に対応する文字領域を抽出する第1抽出手段と、
前記第1抽出手段が前記文字属性を含まないと判定すると、前記印刷データをレンダリングして得られた画像データを解析して文字属性を含むか否か判定し、前記文字属性を含む場合は前記文字属性に対応する文字領域を抽出する第2抽出手段と、
前記第1抽出手段或いは前記第2抽出手段により抽出された前記文字領域に対応する、基準画像の文字情報と前記検査用画像データの文字情報とを比較する比較手段と、
前記比較手段の比較結果に応じて、前記印刷装置に対して印刷プロセスのパラメータを調整するよう指示する指示手段と、
を有することを特徴とする文字画質調整装置。
(項目11)
前記基準画像は、前記印刷データをレンダリングして得られた画像データから生成されることを特徴とする項目10に記載の文字画質調整装置。
(項目12)
前記第2抽出手段は、文字画質を調整するのに十分な文字属性を前記第1抽出手段が抽出できない場合にも、前記印刷データをレンダリングして得られた画像データを解析して前記文字属性に対応する文字領域を抽出することを特徴とする項目10又は11に記載の文字画質調整装置。
(項目13)
前記第2抽出手段は、輪郭検出により得られた物体の位置を比較する方法、MSER(Maximally Stable Extremal Regions)特徴検出器により画素値の近しい連結領域を検出する方法、OCR(Optical Character Recognition)により文字領域を抽出する方法のいずれかを使用して前記文字領域を抽出することを特徴とする項目10乃至12のいずれか一項目に記載の文字画質調整装置。
(項目14)
前記比較手段は、前記基準画像の文字情報と前記検査用画像データの文字情報とに基づいて、前記文字情報の同じ位置の画素ごとに画素値の差分値を取得することを特徴とする項目10乃至のいずれか一項目に記載の文字画質調整装置。
(項目15)
前記指示手段は、前記差分値に基づいて文字の太り度を求め、当該太り度に対応する調整レベルを決定して前記印刷装置に対して指示することを特徴とする項目14に記載の文字画質調整装置。
(項目16)
ユーザの指定に応じて、前記印刷物を印刷した印刷データに含まれる文字領域を指定する指定手段を、更に有し、
前記比較手段は、更に、前記指定手段により指定された前記文字領域に対応する、前記基準画像の文字情報と前記検査用画像データの文字情報とを比較することを特徴とする項目10乃至15のいずれか一項目に記載の文字画質調整装置。
(項目17)
前記指示手段は、前記指定手段により指定された前記文字領域に対応する、前記基準画像の文字情報と前記検査用画像データの文字情報との比較結果を、前記第1抽出手段或いは前記第2抽出手段により抽出された前記文字領域に対応する、前記基準画像の文字情報と前記検査用画像データの文字情報との比較結果よりも重視して前記パラメータを調整するように指示することを特徴とする項目16に記載の文字画質調整装置。
(項目18)
印刷装置で印刷された印刷物を読み取って、当該印刷装置で印刷される印刷物の文字画質を調整する文字画質調整装置を制御する制御方法であって、
前記印刷物を読取って検査用画像データを取得する読取工程と、
前記印刷物を印刷した印刷データのPDLデータを解析して文字属性を含むか否か判定し、前記文字属性を含む場合は前記文字属性に対応する文字領域を抽出する第1抽出工程と、
前記第1抽出工程が前記文字属性を含まないと判定すると、前記印刷データをレンダリングして得られた画像データを解析して文字属性を含むか否か判定し、前記文字属性を含む場合は前記文字属性に対応する文字領域を抽出する第2抽出工程と、
前記第1抽出工程或いは前記第2抽出工程により抽出された前記文字領域に対応する、基準画像の文字情報と前記検査用画像データの文字情報とを比較する比較工程と、
前記比較工程の比較結果に応じて、前記印刷装置に対して印刷プロセスのパラメータを調整するよう指示する指示工程と、
を有することを特徴とする制御方法。
(項目19)
コンピュータに、項目18に記載の制御方法の各工程を実行させるためのプログラム。
(Other embodiments)
The present invention provides a system or device with a program that implements one or more functions of the embodiments described above via a network or a storage medium, and one or more processors in a computer of the system or device reads and executes the program. This can also be achieved by processing. It can also be realized by a circuit (for example, ASIC) that realizes one or more functions.
(Item 1)
A character that includes an information processing device that outputs print data to a printing device and causes it to be printed, and a character image quality adjustment device that reads the printed material printed by the printing device and adjusts the character image quality of the printed material printed by the printing device. An image quality adjustment system,
The information processing device includes:
a first extraction means for analyzing PDL data of print data for printing the printed material to determine whether or not it includes a character attribute, and if the character attribute is included, extracting a character area corresponding to the character attribute;
When the first extraction means determines that the character attribute is not included, the image data obtained by rendering the print data is analyzed to determine whether or not the character attribute is included, and if the character attribute is included, the image data is a second extraction means for extracting a character area corresponding to a character attribute;
The character image quality adjustment device includes:
reading means for reading the printed matter to obtain inspection image data;
Comparing means for comparing the character information of the reference image and the character information of the inspection image data corresponding to the character area extracted by the first extraction means or the second extraction means;
and instruction means for instructing the printing apparatus to adjust parameters of the printing process according to the comparison result of the comparison means,
The printing device includes:
Adjustment means for adjusting character image quality included in print data received from the information processing device in accordance with instructions from the instruction means;
printing means for printing according to print data whose character image quality has been adjusted by the adjusting means;
A character image quality adjustment system characterized by having.
(Item 2)
The character image quality adjustment system according to
(Item 3)
The second extracting means analyzes the image data obtained by rendering the print data to extract the character attributes even when the first extracting means cannot extract enough character attributes to adjust the character image quality. 2. The character image quality adjustment system according to
(Item 4)
The second extraction means includes a method of comparing the positions of objects obtained by contour detection, a method of detecting connected regions with close pixel values using an MSER (Maximally Stable Extremal Regions) feature detector, and a method of using OCR (Optical Character Recognition). 4. The character image quality adjustment system according to any one of
(Item 5)
(Item 6)
Character image quality according to
(Item 7)
7. The character image quality adjustment system according to
(Item 8)
The character image quality adjustment device includes:
further comprising specifying means for specifying a character area included in print data for printing the printed matter according to a user's specification;
(Item 9)
The instruction means extracts a comparison result between the character information of the reference image and the character information of the inspection image data corresponding to the character area designated by the designation means to the first extraction means or the second extraction means. The method is characterized in that the parameter is instructed to be adjusted with more emphasis placed on a comparison result between the character information of the reference image and the character information of the inspection image data corresponding to the character area extracted by the means. Character image quality adjustment system described in item 8.
(Item 10)
A character image quality adjustment device that reads a printed matter printed by a printing device and adjusts the character image quality of the printed matter printed by the printing device,
reading means for reading the printed matter to obtain inspection image data;
a first extraction means for analyzing PDL data of print data for printing the printed material to determine whether or not it includes a character attribute, and if the character attribute is included, extracting a character area corresponding to the character attribute;
When the first extraction means determines that the character attribute is not included, the image data obtained by rendering the print data is analyzed to determine whether or not the character attribute is included, and if the character attribute is included, the image data is a second extraction means for extracting a character area corresponding to a character attribute;
Comparing means for comparing the character information of the reference image and the character information of the inspection image data corresponding to the character area extracted by the first extraction means or the second extraction means;
Instructing means for instructing the printing apparatus to adjust parameters of the printing process according to the comparison result of the comparison means;
A character image quality adjustment device comprising:
(Item 11)
11. The character image quality adjustment device according to
(Item 12)
The second extracting means analyzes the image data obtained by rendering the print data to extract the character attributes even when the first extracting means cannot extract enough character attributes to adjust the character image quality. The character image quality adjustment device according to
(Item 13)
The second extraction means includes a method of comparing the positions of objects obtained by contour detection, a method of detecting connected regions with close pixel values using an MSER (Maximally Stable Extremal Regions) feature detector, and a method of using OCR (Optical Character Recognition). 13. The character image quality adjustment device according to any one of
(Item 14)
(Item 15)
Character image quality according to item 14, wherein the instruction means determines the degree of thickness of the character based on the difference value, determines an adjustment level corresponding to the degree of thickness, and instructs the printing device. Adjustment device.
(Item 16)
further comprising specifying means for specifying a character area included in print data for printing the printed matter according to a user's specification;
(Item 17)
The instruction means extracts a comparison result between the character information of the reference image and the character information of the inspection image data corresponding to the character area designated by the designation means to the first extraction means or the second extraction means. The method is characterized in that the parameter is instructed to be adjusted with more emphasis placed on a comparison result between the character information of the reference image and the character information of the inspection image data corresponding to the character area extracted by the means. The character image quality adjustment device according to item 16.
(Item 18)
A control method for controlling a character image quality adjustment device that reads a printed matter printed by a printing device and adjusts the character image quality of the printed matter printed by the printing device, the method comprising:
a reading step of reading the printed matter to obtain inspection image data;
A first extraction step of analyzing PDL data of print data for printing the printed material to determine whether or not it includes a character attribute, and if the character attribute is included, extracting a character area corresponding to the character attribute;
If the first extraction step determines that the character attribute is not included, the image data obtained by rendering the print data is analyzed to determine whether the character attribute is included, and if the character attribute is included, the image data obtained by rendering the print data is analyzed. a second extraction step of extracting a character region corresponding to the character attribute;
a comparison step of comparing the character information of the reference image and the character information of the test image data corresponding to the character area extracted in the first extraction step or the second extraction step;
an instructing step of instructing the printing device to adjust parameters of a printing process according to the comparison result of the comparison step;
A control method characterized by having the following.
(Item 19)
A program for causing a computer to execute each step of the control method described in item 18.
本発明は上記実施形態に制限されるものではなく、本発明の精神及び範囲から逸脱することなく、様々な変更及び変形が可能である。従って、本発明の範囲を公にするために、以下の請求項を添付する。 The present invention is not limited to the above-described embodiments, and various changes and modifications can be made without departing from the spirit and scope of the present invention. Therefore, to set out the scope of the invention, the following claims are hereby appended.
102…外部コントローラ、103…PC,107…印刷装置、109…文字画質調整装置、224…画像処理部、240…画像読取部、241…UI表示部(文字画質調整装置) 102...External controller, 103...PC, 107...Printing device, 109...Text image quality adjustment device, 224...Image processing section, 240...Image reading section, 241...UI display section (Text image quality adjustment device)
Claims (19)
前記情報処理装置は、
前記印刷物を印刷した印刷データのPDLデータを解析して文字属性を含むか否か判定し、前記文字属性を含む場合は前記文字属性に対応する文字領域を抽出する第1抽出手段と、
前記第1抽出手段が前記文字属性を含まないと判定すると、前記印刷データをレンダリングして得られた画像データを解析して文字属性を含むか否か判定し、前記文字属性を含む場合は前記文字属性に対応する文字領域を抽出する第2抽出手段と、を有し、
前記文字画質調整装置は、
前記印刷物を読取って検査用画像データを取得する読取手段と、
前記第1抽出手段或いは前記第2抽出手段により抽出された前記文字領域に対応する、基準画像の文字情報と前記検査用画像データの文字情報とを比較する比較手段と、
前記比較手段の比較結果に応じて、前記印刷装置に対して印刷プロセスのパラメータを調整するよう指示する指示手段と、を有し、
前記印刷装置は、
前記指示手段による指示に応じて、前記情報処理装置から受信した印刷データに含まれる文字画質を調整する調整手段と、
前記調整手段により文字画質が調整された印刷データに従って印刷する印刷手段と、
を有することを特徴とする文字画質調整システム。 A character that includes an information processing device that outputs print data to a printing device and causes it to be printed, and a character image quality adjustment device that reads the printed material printed by the printing device and adjusts the character image quality of the printed material printed by the printing device. An image quality adjustment system,
The information processing device includes:
a first extraction means for analyzing PDL data of print data for printing the printed material to determine whether or not it includes a character attribute, and if the character attribute is included, extracting a character area corresponding to the character attribute;
When the first extraction means determines that the character attribute is not included, the image data obtained by rendering the print data is analyzed to determine whether or not the character attribute is included, and if the character attribute is included, the image data is a second extraction means for extracting a character area corresponding to a character attribute;
The character image quality adjustment device includes:
reading means for reading the printed matter to obtain inspection image data;
Comparing means for comparing the character information of the reference image and the character information of the inspection image data corresponding to the character area extracted by the first extraction means or the second extraction means;
and instruction means for instructing the printing apparatus to adjust parameters of the printing process according to the comparison result of the comparison means,
The printing device includes:
Adjustment means for adjusting character image quality included in print data received from the information processing device in accordance with instructions from the instruction means;
printing means for printing according to print data whose character image quality has been adjusted by the adjusting means;
A character image quality adjustment system characterized by having.
ユーザの指定に応じて、前記印刷物を印刷した印刷データに含まれる文字領域を指定する指定手段を、更に有し、
前記比較手段は、更に、前記指定手段により指定された前記文字領域に対応する、前記基準画像の文字情報と前記検査用画像データの文字情報とを比較することを特徴とする請求項1乃至7のいずれか一項に記載の文字画質調整システム。 The character image quality adjustment device includes:
further comprising specifying means for specifying a character area included in print data for printing the printed matter according to a user's specification;
Claims 1 to 7, wherein the comparing means further compares character information of the reference image and character information of the inspection image data corresponding to the character area specified by the specifying means. The character image quality adjustment system according to any one of the above.
前記印刷物を読取って検査用画像データを取得する読取手段と、
前記印刷物を印刷した印刷データのPDLデータを解析して文字属性を含むか否か判定し、前記文字属性を含む場合は前記文字属性に対応する文字領域を抽出する第1抽出手段と、
前記第1抽出手段が前記文字属性を含まないと判定すると、前記印刷データをレンダリングして得られた画像データを解析して文字属性を含むか否か判定し、前記文字属性を含む場合は前記文字属性に対応する文字領域を抽出する第2抽出手段と、
前記第1抽出手段或いは前記第2抽出手段により抽出された前記文字領域に対応する、基準画像の文字情報と前記検査用画像データの文字情報とを比較する比較手段と、
前記比較手段の比較結果に応じて、前記印刷装置に対して印刷プロセスのパラメータを調整するよう指示する指示手段と、
を有することを特徴とする文字画質調整装置。 A character image quality adjustment device that reads a printed matter printed by a printing device and adjusts the character image quality of the printed matter printed by the printing device,
reading means for reading the printed matter to obtain inspection image data;
a first extraction means for analyzing PDL data of print data for printing the printed material to determine whether or not it includes a character attribute, and if the character attribute is included, extracting a character area corresponding to the character attribute;
When the first extraction means determines that the character attribute is not included, the image data obtained by rendering the print data is analyzed to determine whether or not the character attribute is included, and if the character attribute is included, the image data is a second extraction means for extracting a character area corresponding to a character attribute;
Comparing means for comparing the character information of the reference image and the character information of the inspection image data corresponding to the character area extracted by the first extraction means or the second extraction means;
Instructing means for instructing the printing apparatus to adjust parameters of the printing process according to the comparison result of the comparison means;
A character image quality adjustment device comprising:
前記比較手段は、更に、前記指定手段により指定された前記文字領域に対応する、前記基準画像の文字情報と前記検査用画像データの文字情報とを比較することを特徴とする請求項10乃至15のいずれか一項に記載の文字画質調整装置。 further comprising specifying means for specifying a character area included in print data for printing the printed matter according to a user's specification;
Claims 10 to 15, wherein the comparing means further compares character information of the reference image and character information of the inspection image data corresponding to the character area specified by the specifying means. The character image quality adjustment device according to any one of the above.
前記印刷物を読取って検査用画像データを取得する読取工程と、
前記印刷物を印刷した印刷データのPDLデータを解析して文字属性を含むか否か判定し、前記文字属性を含む場合は前記文字属性に対応する文字領域を抽出する第1抽出工程と、
前記第1抽出工程が前記文字属性を含まないと判定すると、前記印刷データをレンダリングして得られた画像データを解析して文字属性を含むか否か判定し、前記文字属性を含む場合は前記文字属性に対応する文字領域を抽出する第2抽出工程と、
前記第1抽出工程或いは前記第2抽出工程により抽出された前記文字領域に対応する、基準画像の文字情報と前記検査用画像データの文字情報とを比較する比較工程と、
前記比較工程の比較結果に応じて、前記印刷装置に対して印刷プロセスのパラメータを調整するよう指示する指示工程と、
を有することを特徴とする制御方法。 A control method for controlling a character image quality adjustment device that reads a printed matter printed by a printing device and adjusts the character image quality of the printed matter printed by the printing device, the method comprising:
a reading step of reading the printed matter to obtain inspection image data;
A first extraction step of analyzing PDL data of print data for printing the printed material to determine whether or not it includes a character attribute, and if the character attribute is included, extracting a character area corresponding to the character attribute;
If the first extraction step determines that the character attribute is not included, the image data obtained by rendering the print data is analyzed to determine whether the character attribute is included, and if the character attribute is included, the image data obtained by rendering the print data is analyzed. a second extraction step of extracting a character region corresponding to the character attribute;
a comparison step of comparing the character information of the reference image and the character information of the test image data corresponding to the character area extracted in the first extraction step or the second extraction step;
an instructing step of instructing the printing device to adjust parameters of a printing process according to the comparison result of the comparison step;
A control method characterized by having the following.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2022068468A JP2023158554A (en) | 2022-04-18 | 2022-04-18 | Character image quality adjustment system, character image quality adjustment device, and control method and program therefor |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2022068468A JP2023158554A (en) | 2022-04-18 | 2022-04-18 | Character image quality adjustment system, character image quality adjustment device, and control method and program therefor |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2023158554A true JP2023158554A (en) | 2023-10-30 |
Family
ID=88509412
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2022068468A Pending JP2023158554A (en) | 2022-04-18 | 2022-04-18 | Character image quality adjustment system, character image quality adjustment device, and control method and program therefor |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2023158554A (en) |
-
2022
- 2022-04-18 JP JP2022068468A patent/JP2023158554A/en active Pending
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US7961321B2 (en) | Applications, systems and methods for identifying and monitoring critical colors in a print job and using an embedded color sensing device to measure critical color test patterns inserted in the print job | |
US8958116B2 (en) | Inspection apparatus, inspection system, inspection method, and storage medium | |
US8810847B2 (en) | Information processing apparatus, information processing method, and storage medium storing program thereof | |
JP2017107455A (en) | Information processing apparatus, control method, and program | |
US8266146B2 (en) | Information processing apparatus, information processing method and medium storing program thereof | |
US8179558B2 (en) | Image processing apparatus, image processing method, program and storage medium constructed to generate print data including a bitmap image and attribute data of each pixel of the bitmap image | |
US8199967B2 (en) | Image processing apparatus, image processing method, and storage medium | |
US9256813B2 (en) | Automatic print job ticket settings based on raster images of previously printed document | |
US11379962B2 (en) | Image inspection device and image forming system | |
US20160086063A1 (en) | Image forming device and method and non-transitory computer readable medium | |
US8531717B2 (en) | Image processing enabling reduction of processing time for data conversion | |
JP2005223381A (en) | Image forming system | |
JP6917285B2 (en) | Image forming device | |
US20090284777A1 (en) | Image processing apparatus, method, and computer-readable medium storing the program thereof | |
US8804141B2 (en) | Character output device, character output method and computer readable medium | |
JP2023158554A (en) | Character image quality adjustment system, character image quality adjustment device, and control method and program therefor | |
US8059296B2 (en) | Image forming apparatus that synthesizes fiber information extracted from pages of a paper medium having a plurality of pages, and an image forming apparatus control method, a program, and a storage medium relating thereto | |
JP4165408B2 (en) | Image forming apparatus and image forming program | |
JP2005215621A (en) | Image processor | |
JP4906488B2 (en) | Image forming apparatus, image forming method, and program | |
JP2008148263A (en) | Image forming apparatus, and its control method | |
US20230245298A1 (en) | Inspection apparatus, method of controlling the same, printing system, and storage medium | |
JP2023110836A (en) | Inspection apparatus, method of controlling the same, printing system, and program | |
CN116527817A (en) | Inspection apparatus, control method thereof, printing system, and storage medium | |
US11797804B2 (en) | Printing system, image processing apparatus, and comparison method |