JP6197473B2 - Image direction discriminating apparatus, image direction discriminating method, image forming system, and program - Google Patents
Image direction discriminating apparatus, image direction discriminating method, image forming system, and program Download PDFInfo
- Publication number
- JP6197473B2 JP6197473B2 JP2013169835A JP2013169835A JP6197473B2 JP 6197473 B2 JP6197473 B2 JP 6197473B2 JP 2013169835 A JP2013169835 A JP 2013169835A JP 2013169835 A JP2013169835 A JP 2013169835A JP 6197473 B2 JP6197473 B2 JP 6197473B2
- Authority
- JP
- Japan
- Prior art keywords
- image
- recording medium
- evaluation pattern
- page number
- orientation
- 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.)
- Expired - Fee Related
Links
Images
Description
本発明は、プリンタ制御装置(DFE:Digital Front End)における機能テストを行う画像方向判別装置、画像方向判別方法、画像形成システム、およびプログラムに関する。 The present invention relates to an image direction determining apparatus, an image direction determining method, an image forming system, and a program for performing a function test in a printer control apparatus (DFE: Digital Front End).
DFEとは、プリンタの内部コントローラの機能を拡張した外付けコントローラであり、高度な面付けやカラー調整機能に対応しているため、プロユース向けに高度な印刷物を提供することができる。 The DFE is an external controller that expands the functions of the internal controller of the printer, and supports advanced imposition and color adjustment functions, so that it can provide advanced printed materials for professional use.
このDFEの機能テストにおいては、まずプリンタ側の状態を設定しておき、DFEに接続したクライアントPC(Personal Computer)上において印刷オプションを指定した後、プリンタエンジンに対してジョブを実行する。また、このDFEの機能テストにおいては、DFEとプリンタエンジンのインターフェース(I/F)との間のコマンドのやりとり、およびプリンタの印刷結果などを目視することによって、DFEが正しく機能しているかを検査する。 In this DFE function test, first, the printer side state is set, a print option is designated on a client PC (Personal Computer) connected to the DFE, and then a job is executed on the printer engine. In this DFE function test, commands are exchanged between the DFE and the printer engine interface (I / F), and the printing results of the printer are visually checked to check whether the DFE is functioning correctly. To do.
ところで、現在、これらのワークフローを自動化するための自動テストツールの開発が進められている。この自動テストツールは、DFEに接続したクライアントPCを自動操作するアプリケーションと、プリンタエンジンのシミュレータとから構成されている。そして、自動テストツールは、テストのシナリオに沿ってクライアントPCを自動操作し、プリンタエンジンのシミュレータに対してジョブを実行し、シミュレータのパラメータや実行結果を取得することによって、テストの合否を自動で決定する。 By the way, an automatic test tool for automating these workflows is currently being developed. This automatic test tool includes an application for automatically operating a client PC connected to the DFE and a printer engine simulator. The automatic test tool automatically operates the client PC according to the test scenario, executes a job for the printer engine simulator, and acquires the simulator parameters and execution results. decide.
特許文献1においては、出力された記録紙の適切な位置にステープルさせるために、ステープル部を有する画像形成装置に文字認識部が搭載され、システム制御部は、受信された画像データの文字の方向の認識結果に基づいてステープル部を制御する構成が記載されている。
In
しかしながら、このテストツールの自動化を実現するためには、印刷結果の画像の評価を自動化させる必要がある。具体的には、ステープルなどの後処理加工をテストする場合、加工位置が画像に対して正しい位置であるか否かを判別する必要がある。例えば、ステープルを左斜め綴じと指定した場合、ステープルが画像に対して左上に打たれている必要がある。 However, in order to realize the automation of the test tool, it is necessary to automate the evaluation of the printed image. Specifically, when testing post-processing such as stapling, it is necessary to determine whether or not the processing position is the correct position with respect to the image. For example, when the staple is designated as the left diagonal binding, the staple needs to be applied to the upper left of the image.
そして、このテストツールの自動化のためには、後処理加工の位置と印刷結果の画像の方向という二つの情報が必要となる。現在、後処理加工の位置はエンジンシミュレータのパラメータとして取得することができるが、画像の方向という情報はシミュレータ上で取得することができない。これはDFEがエンジンに画像データを送る際に、用紙の向きや仕上げの位置に応じて、画像を適切な方向に回転させているからである。 In order to automate this test tool, two pieces of information are necessary: the position of post-processing and the direction of the image of the print result. Currently, the post-processing position can be acquired as a parameter of the engine simulator, but information such as the image direction cannot be acquired on the simulator. This is because when the image data is sent to the engine by the DFE, the image is rotated in an appropriate direction according to the orientation of the paper and the finishing position.
エンジン側は回転後の画像データを受け取るため、その画像がどのくらい回転しているか、どの方向を向いているかといった情報は、エンジン側から取得できない。そのため、現状においては、このようなテストにおいては、テスタが印刷物をひとつひとつ目視で確認している。すなわち、この画像の判定部分に関しては自動化に至っておらず、プリンタの機能テストの自動化が望まれていた。 Since the engine side receives the rotated image data, information such as how much the image is rotating and in what direction cannot be acquired from the engine side. Therefore, at present, in such a test, the tester visually confirms the printed matter one by one. That is, the determination part of the image has not been automated, and it has been desired to automate the printer function test.
特許文献1においては、印刷画像の方向を検出してはいるが、文字が全て同じ方向にある場合しか対応できず、異なる方向の文字がある場合は検出することができない。そのため、ポートレート画像とランドスケープ画像との混合のドキュメントの集約印刷などによる、画像が複数の方向で印刷されるようなケースに対応できない。DFEのテスト項目にはこのようなケースも存在するため、特許文献1に記載されたような文字認識による画像の方向判別では、テストの自動化を実現できない。
In
本発明は、上記に鑑みてなされたものであって、その目的は、印刷結果の画像の確認作業を自動化することができる画像方向判別装置、画像方向判別方法、画像形成システム、およびプログラムを提供することにある。 The present invention has been made in view of the above, and an object of the present invention is to provide an image direction discriminating apparatus, an image direction discriminating method, an image forming system, and a program capable of automating an operation for confirming an image of a print result. There is to do.
上述した課題を解決し、上記目的を達成するために、本発明に係る画像方向判別装置は、画像の方向、前記画像のジョブ内におけるページ番号、および前記画像が記録された記録媒体の排紙時における当該記録媒体の向きの情報を格納した評価用パターン画像を読み取る画像読取手段と、前記画像読取手段が読み取った前記評価用パターン画像から、前記画像の方向と、前記画像のジョブ内におけるページ番号と、前記画像が記録された前記記録媒体の排紙時における当該記録媒体の向きの情報とを含む情報を判別する画像方向判別手段と、を備えたことを特徴とする。 In order to solve the above-described problems and achieve the above object, an image direction determination device according to the present invention includes an image direction, a page number in the job of the image, and a discharge of a recording medium on which the image is recorded. An image reading unit for reading an evaluation pattern image storing information on the orientation of the recording medium at the time, a direction of the image from the evaluation pattern image read by the image reading unit, and a page in the job of the image Image direction discriminating means for discriminating information including a number and information on the orientation of the recording medium when the recording medium on which the image is recorded is discharged .
本発明によれば、印刷結果の画像の確認作業を自動化することが可能になる。 According to the present invention, it is possible to automate an operation for confirming an image of a print result.
以下に添付図面を参照して、画像方向判別装置、画像方向判別方法、画像形成システム、およびプログラムの実施の形態を詳細に説明する。 Exemplary embodiments of an image direction determining device, an image direction determining method, an image forming system, and a program will be described below in detail with reference to the accompanying drawings.
(一実施形態)
図1は、一実施形態に係るプリンタ制御装置(DFE:Digital Front End)の自動テストシステム1を示す構成図である。
(One embodiment)
FIG. 1 is a configuration diagram showing an
図1に示すように、この一実施形態によるDFEの自動テストシステム1は、DFE11とPC12とを備える。PC12は、プリンタエンジンのシミュレータの機能を有するとともに、このプリンタエンジンのシミュレータとDFE11を自動操作するアプリケーションとから構成される自動テストツール13、記録部14、および画像方向を判別する画像方向判別モジュール15を備える。なお、図1においては、説明のため、自動テストツール13、記録部14、および画像方向判別モジュール15をPC12の外部に記載しているが、これらは実際にはPC12内に備えられている。
As shown in FIG. 1, the DFE
そして、この自動テストシステム1において、PC12の自動テストツール13に、例えばステープル左斜め綴じなどのテスト用のジョブ、およびテストのシナリオファイルSが入力されると、自動テストツール13は、シナリオファイルSに従ってDFE11を自動で操作し、プリンタエンジンのシミュレータとして機能するPC12に対してジョブを実行する。
In the
そして、PC12は、シミュレータにおいて得られた実行結果(画像データ)を、ハードディスクなどからなる所定の記録部14に記録した後、この画像データを、PC12において画像方向判別手段として機能する画像方向判別モジュール15に入力する。これにより、PC12は、画像データにおける各画像の排紙時の画像の方向を算出する画像方向判別装置として機能する。
Then, the PC 12 records the execution result (image data) obtained in the simulator in a
最終的に、自動テストツール13は、画像データにおける画像の方向と、後処理加工の位置などといった画像の方向以外の実行結果に基づいて、テストの合否を自動で判別する。なお、シミュレータに関しては、PC12の代わりにプリンタなどの装置でも代用可能である。すなわち、プリンタエンジンの排出口に画像のスキャン装置を装着し、このスキャン装置がスキャンした画像データをPC12に供給して画像方向判別モジュール15に入力することによって、画像データの方向を取得することも可能である。
Finally, the
次に、この一実施形態による画像方向判別モジュール15のアルゴリズムと、画像方向を判別するための評価パターン画像の構成について説明する。すなわち、あらかじめ用意した評価用パターン画像をテスト用の画像として用い、PC12のシミュレータがテスト用の画像に対してシミュレートした実行結果、すなわちテストの結果を、PC12が、画像方向判別モジュール15に入力する。そして、画像方向判別モジュール15が、画像を印刷したときの排紙時の方向などの情報を生成して、PC12の自動テストツール13に供給することによって、自動テストツール13は、テスト結果を自動で取得する。
Next, the algorithm of the image
図2は、この一実施形態による画像方向判別モジュール15の機能構成を示す。図2に示すように、PC12における画像方向判別モジュール15は、画像読取手段としての画像読取部21と、画像方向判別手段としての画像方向判別部22と、面付位置判定手段としての面付位置判定部23とを有する。画像読取部21は、PC12のシミュレータがシミュレートした画像データを読み取る。画像方向判別部22は、画像読取部21が取得した画像データから、画像の方向、ページ番号、および記録媒体の向きの情報としてのポートレート/ランドスケープ(Portrait/Landscape)の情報を自動で判別する。面付位置判定部23は、シミュレータが有する集約機能によって複数の画像が一枚の紙に印刷された場合、すなわち集約印刷が行われた場合に、それぞれの画像がどの面付け位置に配置されているかを自動で認識する機能を有する。
FIG. 2 shows a functional configuration of the image
(画像方向判別機能)
次に上述した画像方向判別モジュール15における画像方向判別部22の機能の実現方法について説明する。図3Aおよび図3Bはそれぞれ、画像方向の判別に使用する評価用パターン画像であるポートレート画像(Portrait画像)およびランドスケープ画像(Landscape画像)を示す図である。
(Image orientation discrimination function)
Next, a method for realizing the function of the image
図3Aおよび図3Bに示すように、評価用パターン画像31,32はそれぞれ、外周側の正方形状のパターン31a,32aと、内周側の正方形状のパターン31b,32bとを有する。すなわち、パターンの特徴として内側と外側に正方形を有するパターンである。また、内側の正方形の各辺におけるそれぞれの辺から、外側の正方形のそれぞれに対応する平行な辺までの距離の比率は、例えば上辺:左辺:下辺:右辺=2:2:1:1となっている。このように比率を変えておくことにより、画像方向判別モジュール15は画像の方向を算出することが可能となる。
As shown in FIGS. 3A and 3B, the
また、これらの評価用パターン画像31,32において、内側の正方形状のパターン31b,32b中の図中上半分の領域が、1ビット情報領域31c,32cとなっている。1ビット情報領域31c,32cにおいては、画像のポートレート/ランドスケープ(Portrait/Landscape)の情報が1ビット(bit)形式で格納されている。そして、図3Aに示すように、ポートレート画像においては1ビット情報領域31cが白として表されるのに対し、図3Bに示すように、ランドスケープ画像においては、1ビット情報領域32cが黒として表される。
In these
さらに、これらの評価用パターン画像31,32において、内側の正方形状のパターン31b,32b中の図中下半分の領域がそれぞれ、ページ番号情報領域31d,32dとなっている。これらのページ番号情報領域31d,32dにおいては、画像のジョブ内でのページ番号の情報を8ビット(bit)形式で格納されている。そして、図3A,図3Bに示すように、白および黒がそれぞれ0および1を示し、ページ番号情報領域31d,32dの右端は、必要に応じて使用する予約領域となっている。
Further, in these
そして、画像方向判別モジュール15は、画像処理によって、上述した評価用パターン画像31,32を印刷した結果を読み込む。これによって、画像方向判別モジュール15は、それぞれの画像の方向、ページ番号、およびポートレート/ランドスケープといった情報を同時に取得できる。そこで、印刷結果の画像の評価を行う場合は、あらかじめ作成した評価用パターン画像31,32をテスト用のドキュメントとして指定する。
Then, the image
次に、画像方向判別モジュール15の各構成部が実行する、以上の評価用パターン画像31,32を用いた画像方向を判別するアルゴリズムについて説明する。図4は、方向を判別するアルゴリズムを説明するためのフローチャートである。
Next, an algorithm for discriminating an image direction using the above-described
なお、この一実施形態による画像方向判別モジュール15が格納されたPC12は、CPUなどの制御装置と、ROMやRAMなどの記憶装置と、HDD、CDドライブ装置などの外部記憶装置と、ディスプレイ装置などの表示装置と、キーボードやマウスなどの入力装置を備える。すなわち、画像方向判別モジュール15は、コンピュータを利用したハードウェア構成により実現される。そして、この画像方向判別モジュール15として実行されるプログラムは、インストール可能な形式又は実行可能な形式のファイルでCD−ROM、CD−R、DVD等のコンピュータで読み取り可能な記録媒体に記録されて提供できる。また、この一実施形態の画像方向判別装置において実行されるプログラムを、インターネット等のネットワークに接続されたコンピュータ上に格納し、ネットワーク経由でダウンロードさせることにより提供可能とすることもできる。また、このプログラムをインターネット等のネットワーク経由で提供または配布したりするように構成しても良い。また、この一実施形態のプログラムを、ROM等に予め組み込んで提供するように構成してもよい。この一実施形態による画像方向判別モジュール15において実行されるプログラムは、上述した各部を含むモジュール構成としてもよい。すなわち、実際のハードウェアとしてはCPU(プロセッサ)が、上述の記憶媒体からプログラムを読み出して実行することによって上述した各部を主記憶装置に読み出し、画像読取部21、画像方向判別部22、および面付位置判定部23を生成するモジュール構成としてもよい。なお、画像読取部21、画像方向判別部22、および面付位置判定部23はそれぞれ、互いに独立させたり連動させたりして、CPUなどの処理装置にプログラムを実行させる、いわゆるソフトウェアによって実現するのみならず、IC(Integrated Circuit)などのハードウェアにより実現してもよい。また、画像読取部21、画像方向判別部22、および面付位置判定部23はそれぞれ、ソフトウェアおよびハードウェアを併用することにより実現してもよい。
The
また、図4に示すように、この一実施形態においては、画像方向判別モジュール15の画像読取部21は、画像データを、画像のデータ形式(画像形式)の一種である例えばビットマップ(Bitmap)形式で取得する画像入力ステップを行う(ステップST1)。
As shown in FIG. 4, in this embodiment, the
次に、ステップST2に移行して、画像読取部21は、画像処理における輪郭抽出処理によって、評価用パターン画像31,32において、内側に正方形状のパターン31b,32bを有する状態の外側の正方形状のパターン31a,32aの輪郭を取得する輪郭抽出ステップを行う。その後、ステップST3に移行する。
Next, the process proceeds to step ST <b> 2, and the
ステップST3においては、画像方向判別モジュール15の画像方向判別部22が、抽出した外側の正方形状のパターン31a,32aの各辺と、これらの各辺に平行で、かつ対応した内側の正方形状のパターン31b,32bの各辺までの距離を求める。そして、画像方向判別部22は、これらの距離の比率、すなわちそれぞれの辺における距離の比率が2:2:1:1であるか否かを判定することによって、評価用パターン画像31,32における比率と一致しているか否かを判定する、評価用パターン判定ステップを行う。
In step ST3, the image
ステップST3において、画像方向判別部22は、取得した画像データにおける各辺での距離の比率が、評価用パターン画像31,32における比率と一致していると判定した場合(ステップST3:Yes)、ステップST4に移行する。ここで、このステップST3においては、入力される画像データである印刷結果の画像が回転している可能性もあることから、画像の回転によっては上辺:左辺:下辺:右辺=2:2:1:1にならない可能性もある。そこで、ステップST3における判定においては、それぞれの辺における比率が2:2:1:1という比率になっているか否かを判定に利用する。すなわち、画像方向判別部22は、上辺:左辺:下辺:右辺というパターン以外であっても比率自体が一致していれば評価用パターン画像31,32である(ステップST3:Yes)と判定する。
In step ST3, when the image
ステップST4においては、画像方向判別部22が、取得した画像データの方向を判別する方向判別ステップを行う。次に、ステップST5に移行して、画像方向判別部22は、取得した画像データにおいて、ポートレート(縦長)/ランドスケープ(横長)の情報を取得して記録媒体である用紙の向きを判別する、用紙向き判別ステップを行う。その後、ステップST6に移行して、画像方向判別部22が、取得した画像データにおけるジョブ内でのページ番号の情報を取得して、ページ番号を判別する、ページ番号判別ステップを行う。なお、これらのステップST3〜ST6は必ずしもこれらの順序に限定されるものではなく、他の順序で行っても、それぞれのステップを同時に行ってもよい。また、これらのステップST3〜ST6における、評価用パターン判定ステップ、方向判別ステップ、用紙向き判別ステップ、およびページ番号判別ステップの詳細については後述する。
In step ST4, the image
その後、画像方向判別部22が、取得した画像データに対してステップST4〜ST6による判別を行ったテスト結果を例えばPC12の自動テストツール13に供給する、処理結果出力ステップを行う(ステップST7)。ステップST7の処理結果出力ステップが終了するとステップST8に移行して、面付位置判定部23が面付位置判定処理を実行し、一連のテスト処理が終了する。なお、面付位置判定処理の詳細については後述する。
Thereafter, the image
他方、ステップST3において、取得した画像データにおける各辺での距離の比率が、評価用パターン画像31,32と一致していない場合、すなわち評価用パターン画像31,32が検知されない場合(ステップST3:No)、ステップST9に移行する。
On the other hand, when the ratio of the distances at each side in the acquired image data does not coincide with the
ステップST9においては、画像方向判別部22が、画像データが白紙のデータであるか否かを判定する白紙判定ステップを行う。すなわち、画像方向判別部22が、入力された画像データが評価用パターン画像ではないと判定した場合、画像読取部21が画像データ内の輝度値を読み取る。そして、画像方向判別部22が、画像読取部21により読み取られた輝度値に基づいて画像データが白紙のデータであるか否かを判定する。
In step ST9, the image
画像方向判別部22が、画像データが白紙のデータであると判定した場合(ステップST9:Yes)、ステップST10に移行する。ステップST10においては、画像方向判別部22が、画像データが白紙のデータであることを処理結果として自動テストツール13に出力する、処理結果出力ステップを実行し、一連のテスト処理が終了する。
When the image
他方、画像方向判別部22が、画像データが白紙のデータではないと判定した場合(ステップST9:No)、ステップST11に移行する。ステップST11においては、画像方向判別部22が、画像データが評価用パターン画像のデータではないことを処理結果として自動テストツール13に出力する、処理結果出力ステップを実行し、一連のテスト処理が終了する。
On the other hand, when the image
このように、取得した画像データが白紙のデータである場合、および白紙のデータでない場合のいずれの場合においても、テスト処理の処理結果はエラーになる。しかしながら、画像方向判別モジュール15は、取得した画像データが白紙の場合と評価用パターン以外の画像が入力されている場合とを区別することができる。これにより、テスト処理の結果がエラーである場合であっても、取得した画像データが白紙である情報と評価用パターン以外の画像が入力されている情報とを区別して、自動テストツール13によってPC12の表示部等にテスト結果を表示することで、白紙であるか否かのテスト結果を使用者に通知できる。
As described above, whether the acquired image data is blank data or not, the result of the test process results in an error. However, the image
(画像方向判別処理)
次に、上述したステップST3〜ST6において実行される処理ステップについて詳細に説明する。図5A,図5B,図5C,および図5Dはそれぞれ、評価パターン判定ステップ、画像方向判別ステップ、用紙向き判別ステップであるポートレート/ランドスケープ判別ステップ、およびページ番号判別ステップを説明するための評価用パターン画像31を示す図である。
(Image direction discrimination processing)
Next, the processing steps executed in steps ST3 to ST6 described above will be described in detail. 5A, FIG. 5B, FIG. 5C, and FIG. 5D are for evaluation to explain an evaluation pattern determination step, an image direction determination step, a portrait / landscape determination step that is a paper orientation determination step, and a page number determination step, respectively. It is a figure which shows the
まず、ステップST4における画像方向判別ステップにおいては、図5Aに示す評価用パターン画像31が印刷された画像データを対象とする。そして、図5Bに示すように、画像方向判別部22は、内側の正方形状のパターン31bと、外側の正方形状のパターン31aとの間のそれぞれの角における頂点間距離(図5B中、両向き矢印)を求める。なお、図5B中において、「Top」とは印刷方向である。図5Bに示す評価用パターン画像31は、内側の正方形状のパターン31bと外側の正方形状のパターン31aとにおける各辺の距離間隔の比率が2:2:1:1となっている(図3B参照)。これにより、正方形状のパターン31a,31bの対角線上にある各頂点間距離の比率はそれぞれ、図5B中左上:右下=2:1、および図5B中左下:右上=1:1となる。
First, in the image orientation determination step in step ST4, image data on which the
そこで、画像方向判別部22は、これらの対角線上の頂点間距離を比較して、一方の対角線上における頂点間距離の比率が2:1、かつ他方の対角線上における頂点間距離の比率が1:1になっていることを確認することによって、画像方向を判別する。すなわち、頂点間距離の比率が2:1になっている正方形状のパターン31a,31bのそれぞれの対角の2つの頂点のうちの長い方、すなわち比率が2:1となっている頂点のうちの距離が2となっている頂点の側を、画像データの左上と判別する。これによって、取得した画像データの方向が判別可能となる。図5Bにおいては、取得した画像データの方向は上方向と判定される(図4中、ステップST4)。
Therefore, the image
このようにして取得した画像データの方向が判別された後、画像読取部21は、図5Cに示す評価用パターン画像31における、内側の正方形状のパターン31bの上半分の1ビット情報領域31cの画素値を取得する。そして、画像方向判別部22は、画像読取部21により取得された画素値が255であれば、取得した画像データはポートレート画像であると判別し、取得された画素値が0であれば、取得した画像データはランドスケープ画像であると判別する(図4中、ステップST5)。
After the direction of the image data acquired in this way is determined, the
次に、図5Dに示すように、内側の正方形状のパターン31bの下半分のページ番号情報領域31dに対して、判別された画像データの方向に対して例えば右端から左端に向かった輝度走査を行う。これにより、ページ番号の情報をビット形式で取得する。図5Dに示す評価用パターン画像31の例においては、ページ番号情報領域31dが8つの領域に分割された8ビット情報領域となっているため、それぞれの領域の画素値を判定することによって、8ビット、すなわち255ページまでのページ番号を判別できる。
Next, as shown in FIG. 5D, for the lower half of the page
以上のステップST3〜ST6にそれぞれ対応する図5A〜図5Dに沿った一連の流れによって、印刷結果として取得した画像データから、画像の方向、ポートレート/ランドスケープ(Portrait/Landscape)、およびページ番号の情報を順次または同時に取得可能となる。 5A to 5D corresponding to the above steps ST3 to ST6, the image direction, portrait / landscape, and page number are obtained from the image data acquired as the print result by the series of flows according to FIGS. Information can be acquired sequentially or simultaneously.
(評価用パターン画像の集約)
次に、取得された画像データが、複数の評価用パターン画像を集約した画像データである場合について説明する。図6は、図4に示すステップST8における面付位置判定処理を説明するためのフローチャートである。また、図7は、集約機能によって複数の評価用パターン画像が1つの画像データとして集約印刷される場合を示す各評価用パターン画像を示す図であり、図8は、集約印刷における集約された画像データの中心座標パターンの例を示す図である。
(Aggregation of evaluation pattern images)
Next, a case where the acquired image data is image data obtained by collecting a plurality of evaluation pattern images will be described. FIG. 6 is a flowchart for explaining the imposition position determination processing in step ST8 shown in FIG. FIG. 7 is a diagram showing each evaluation pattern image showing a case where a plurality of evaluation pattern images are aggregated and printed as one image data by the aggregation function, and FIG. 8 is an aggregated image in aggregate printing. It is a figure which shows the example of the center coordinate pattern of data.
図6に示すように、ステップST21において、面付位置判定部23が、例えば図7に示すような評価用パターン画像33,34,35,36の中心座標を算出する、中心座標算出ステップを実行する。すなわち、上述した図4に示すステップST2の輪郭抽出ステップにおいて画像読取部21が抽出した複数の評価用パターン画像33〜36の輪郭から、それぞれの評価用パターン画像33〜36の中心座標を算出する。具体的には、複数のページの評価用パターン画像33〜36を1枚に集約させた、いわゆる集約印刷を行う場合、画像方向判別モジュール15の面付位置判定部23が、集約した画像データの数と、評価用パターン画像33〜36の各輪郭からの中心座標とを算出する。
As shown in FIG. 6, in step ST21, the imposition
次に、図6に示すステップST22に移行して、面付位置判定部23が、中心座標算出ステップにおいて算出した各評価用パターン画像33〜36の中心座標に基づいて、何枚の評価用パターン画像が1枚に印刷されるのか、すなわち集約する画像の数を判別する、集約判別ステップを実行する。図8は、集約判別ステップに用いる中心点パターンを示す略線図であり、集約無と、2ページ分の画像を1枚に印刷する2in1から、16ページ分の画像を1枚に印刷する16in1までの中心点パターンとを示す。そして、面付位置判定部23は、図8に示すようなあらかじめ算出した各集約印刷における画像データの中心点パターンと、入力された画像データとを比較し、最も近い中心点パターンを、その画像データの面付けであると判定する。例えば図7に示す集約印刷(Nup印刷)の例においては、4つの画像を1枚に集約させる、いわゆる4in1の画像における中心点パターンが最も近いため、図7に示す画像データは、4in1であると判定できる。
Next, the process proceeds to step ST22 shown in FIG. 6, and the imposition
その後、図6に示すステップST23に移行して、特定した画像データの数に基づいて、それぞれの評価用パターン画像33〜36がそれぞれ、どの位置に面付けされているかを判別する面付位置判別ステップを行う。この面付位置判別ステップにおいては、面付位置判定部23が、特定した画像データの数の情報と、算出されたそれぞれの評価用パターン画像における中心座標とから、各評価用パターン画像がどの位置に面付けされているかを判定する。なお、前段階の画像方向判別部22による画像方向判別処理によって、各画像の方向やページ番号という情報を取得できているので、面付位置判定部23は、集約機能によって複数の画像が正しい順序で一枚の紙に印刷されているかも自動で判定できる。
Thereafter, the process proceeds to step ST23 shown in FIG. 6, and the imposition position discrimination for discriminating at which position each of the
そして、ステップST24に移行して、面付位置判定部23が、取得した画像データ内における全ての評価用パターン画像33〜36の面付け位置の算出結果を出力する、処理結果出力ステップを実行する。すなわち、処理結果出力ステップにおいては、面付位置判定部23が算出した全ての評価用パターン画像33〜36の面付け位置の算出結果が、PC12の表示部等に表示されて使用者に通知される。
And it transfers to step ST24 and the imposition
図9は、上述した一実施形態における画像を印刷する画像形成装置のハードウェア構成の一例を示すブロック図である。図9に示すように、この画像形成装置100は、コントローラ110とエンジン部(Engine)160とをPCI(Peripheral Component Interface)バスで接続した構成となる。コントローラ110は、画像形成装置100の全体の制御と描画、通信、操作部(図示せず)からの入力を制御するコントローラである。エンジン部160は、PCIバスに接続可能なプリンタエンジンなどであり、たとえば白黒プロッタ、1ドラムカラープロッタ、4ドラムカラープロッタ、スキャナまたはファックスユニットなどである。なお、このエンジン部160には、プロッタなどのいわゆるエンジン部分に加えて、誤差拡散やガンマ変換などの画像処理部分が含まれる。
FIG. 9 is a block diagram illustrating an example of a hardware configuration of an image forming apparatus that prints an image according to the above-described embodiment. As shown in FIG. 9, the
コントローラ110は、CPU111と、ノースブリッジ(NB)113と、システムメモリ(MEM−P)112とを有する。また、コントローラ110はさらに、サウスブリッジ(SB)114と、ASIC(Application Specific Integrated Circuit)116と、ローカルメモリ(MEM−C)117と、ハードディスクドライブ(HDD)118とを有する。そして、ノースブリッジ(NB)113とASIC116との間がAGP(Accelerated Graphics Port)115によって接続される。また、MEM−P112は、ROM(Read Only Memory)112aと、RAM(Random Access Memory)112bとをさらに有する。
The
CPU111は、画像形成装置100の全体制御を行い、NB113、MEM−P112およびSB114からなるチップセットを有する。そして、CPU111は、このチップセットを介して他の機器と接続される。
The
NB113は、CPU111とMEM−P112、SB114、AGP115とを接続するためのブリッジである。このNB113は、MEM−P112に対する読み書きなどを制御するメモリコントローラと、PCIマスタおよびAGPターゲットとを有する。
The
MEM−P112は、プログラムやデータの格納用メモリ、プログラムやデータの展開用メモリ、プリンタの描画用メモリなどとして用いるシステムメモリであり、ROM112aとRAM112bとからなる。ROM112aは、プログラムやデータの格納用メモリとして用いる読み出し専用のメモリであり、RAM112bは、プログラムやデータの展開用メモリ、プリンタの描画用メモリなどとして用いる書き込みおよび読み出し可能なメモリである。
The MEM-
SB114は、NB113とPCIデバイス、周辺デバイスとを接続するためのブリッジである。このSB114は、PCIバスを介してNB113と接続されており、このPCIバスには、ネットワークインターフェース(I/F)部なども接続される。
The
ASIC116は、画像処理用のハードウェア要素を有する画像処理用途向けのIC(Integrated Circuit)であり、AGP115、PCIバス、HDD118およびMEM−C117をそれぞれ接続するブリッジの役割を有する。このASIC116は、PCIターゲットおよびAGPマスタと、ASIC116の中核をなすアービタ(ARB)と、MEM−C117を制御するメモリコントローラと、ハードウェアロジックなどにより画像データの回転などを行う複数のDMAC(Direct Memory Access Controller)と、エンジン部160との間でPCIバスを介したデータ転送を行うPCIユニットとからなる。このASIC116には、PCIバスを介してFCU(Facsimile Control Unit)130、USB(Universal Serial Bus)140、およびIEEE1394(the Institute of Electrical and Electronics Engineers 1394)インターフェース150が接続される。操作表示部120はASIC116に直接接続されている。
The
MEM−C117は、コピー用画像バッファ、符号バッファとして用いるローカルメモリである。また、HDD(Hard Disk Drive)118は、画像データの蓄積、プログラムの蓄積、フォントデータの蓄積、およびフォームの蓄積を行うためのストレージである。さらに、AGP115は、グラフィック処理を高速化するために提案されたグラフィックスアクセラレーターカード用のバスインターフェースである。このAGP115は、MEM−P112に高スループットで直接アクセスすることにより、グラフィックスアクセラレーターカードを高速化できる。
The MEM-
以上説明した一実施形態による画像方向判別装置によれば、あらかじめ用意した評価用パターン画像31〜36をテスト用のドキュメントとして指定する。そして、DFE11によってジョブの印刷設定が指定されて印刷を行った場合の印刷結果画像をシミュレータとして機能するPC12が画像データとして取得する。さらに、この取得した画像データをPC12の画像方向判別モジュール15に入力することによって、画像データにおけるそれぞれのページの方向を判別することができ、さらに、集約印刷されて面付けされた場合においても、ジョブの何ページ目の画像がどの位置に配置されているかという情報をPC12が自動で取得することができるので、DFE11によるステープルなどの後処理加工などのテスト処理なども自動化することができる。
According to the image orientation determination apparatus according to the embodiment described above, the
以上、一実施形態について具体的に説明したが、本発明は、上述の一実施形態に限定されるものではなく、本発明の技術的思想に基づく各種の変形が可能である。例えば、上述の実施形態において挙げた数値はあくまでも例に過ぎず、必要に応じてこれと異なる数値を用いても良い。 Although one embodiment has been specifically described above, the present invention is not limited to the above-described embodiment, and various modifications based on the technical idea of the present invention are possible. For example, the numerical values given in the above embodiment are merely examples, and different numerical values may be used as necessary.
例えば、上記一実施形態においては、画像形成装置を、プリンタ機能としているが、複写機、プリンタ、スキャナ装置、ファクシミリ装置等の画像形成装置であればいずれにも適用することができる。 For example, in the above-described embodiment, the image forming apparatus has a printer function. However, the image forming apparatus can be applied to any image forming apparatus such as a copying machine, a printer, a scanner device, and a facsimile machine.
また、上記一実施形態においては、自動テストツール13および画像方向判別モジュール15と、シミュレータやDFE11を自動操作するアプリケーションとを、単一のPC12によって実行しているが、必ずしも単一のPCによる実行に限定されるものではなく、複数のPCや制御回路においてそれぞれの機能や処理を実行させるように構成しても良く、それぞれの機能や処理をネットワークを通じて相互で通信することにより実行させるようにしても良い。
In the above embodiment, the
1 自動テストシステム
11 DFE
12 PC
13 自動テストツール
14 記録部
15 画像方向判別モジュール
21 画像読取部
22 画像方向判別部
23 面付位置判定部
31,32,33,34,35,36 評価用パターン画像
31a,31b,32a,32b パターン
31c,32c 1ビット情報領域
31d,32d ページ番号情報領域
100 画像形成装置
1
12 PC
DESCRIPTION OF
Claims (6)
前記画像読取手段が読み取った前記評価用パターン画像から、前記画像の方向と、前記画像のジョブ内におけるページ番号と、前記画像が記録された前記記録媒体の排紙時における当該記録媒体の向きの情報とを含む情報を判別する画像方向判別手段と、
を備えたことを特徴とする画像方向判別装置。 Image reading means for reading an evaluation pattern image storing information on the orientation of the image , the page number in the job of the image, and the orientation of the recording medium when the recording medium on which the image is recorded ;
From the evaluation pattern image read by the image reading means, the direction of the image, the page number in the job of the image, and the orientation of the recording medium when the recording medium on which the image is recorded are discharged . Image direction discriminating means for discriminating information including information;
An image direction discrimination device comprising:
前記評価用パターン画像であると判定した場合に、前記画像の方向と、前記画像のジョブ内におけるページ番号と、前記画像が記録された前記記録媒体の排紙時における当該記録媒体の向きの情報とを含む情報を判別する、
ことを特徴とする請求項1または2に記載の画像方向判別装置。 The image direction determining means determines whether the image read by the image reading means is the evaluation pattern image ;
When it is determined that the pattern image is for evaluation, information on the direction of the image, the page number in the job of the image, and the orientation of the recording medium when the recording medium on which the image is recorded is discharged To determine information including
The image direction discrimination device according to claim 1, wherein
前記画像読取ステップにおいて読み取った前記評価用パターン画像から、前記画像の方向と、前記画像のジョブ内におけるページ番号と、前記画像が記録された前記記録媒体の排紙時における当該記録媒体の向きの情報とを含む情報を判別する画像方向判別ステップと、
を含むことを特徴とする画像方向判別方法。 An image reading step of reading an evaluation pattern image storing information on the direction of the image , the page number in the job of the image, and the orientation of the recording medium when the recording medium on which the image is recorded ;
From the evaluation pattern image read in the image reading step, the direction of the image, a page number in the job of the image, the direction of the recording medium at the time of paper discharging the image recorded said recording medium An image direction determining step for determining information including information;
An image orientation determination method comprising:
前記画像の方向、前記画像のジョブ内におけるページ番号、および前記画像が記録された記録媒体の排紙時における当該記録媒体の向きの情報を格納した評価用パターン画像を読み取る画像読取手段と、
前記画像読取手段が読み取った前記評価用パターン画像から、前記画像の方向と、前記画像のジョブ内におけるページ番号と、前記画像が記録された前記記録媒体の排紙時における当該記録媒体の向きの情報とを含む情報を判別する画像方向判別手段と、
を備えることを特徴とする画像形成システム。 An image forming means for forming an image;
An image reading means for reading an evaluation pattern image storing information on the direction of the image , the page number in the job of the image, and the orientation of the recording medium when the recording medium on which the image is recorded ;
From said image reading means the evaluation pattern image read, the direction of the image, a page number in the job of the image, the direction of the recording medium at the time of paper discharging the image recorded said recording medium Image direction discriminating means for discriminating information including information;
An image forming system comprising:
前記画像読取ステップにおいて読み取った前記評価用パターン画像から、前記画像の方向と、前記画像のジョブ内におけるページ番号と、前記画像が記録された前記記録媒体の排紙時における当該記録媒体の向きの情報とを含む情報を判別する画像方向判別ステップと、
をコンピュータに実行させるプログラム。 An image reading step of reading an evaluation pattern image storing information on the direction of the image , the page number in the job of the image, and the orientation of the recording medium when the recording medium on which the image is recorded ;
From the evaluation pattern image read in the image reading step, the direction of the image, a page number in the job of the image, the direction of the recording medium at the time of paper discharging the image recorded said recording medium An image direction determining step for determining information including information;
A program that causes a computer to execute.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2013169835A JP6197473B2 (en) | 2013-08-19 | 2013-08-19 | Image direction discriminating apparatus, image direction discriminating method, image forming system, and program |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2013169835A JP6197473B2 (en) | 2013-08-19 | 2013-08-19 | Image direction discriminating apparatus, image direction discriminating method, image forming system, and program |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2015039140A JP2015039140A (en) | 2015-02-26 |
JP6197473B2 true JP6197473B2 (en) | 2017-09-20 |
Family
ID=52631969
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2013169835A Expired - Fee Related JP6197473B2 (en) | 2013-08-19 | 2013-08-19 | Image direction discriminating apparatus, image direction discriminating method, image forming system, and program |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP6197473B2 (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP7034614B2 (en) | 2017-06-30 | 2022-03-14 | ピジョン株式会社 | Check valve |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP4457700B2 (en) * | 2004-03-08 | 2010-04-28 | 富士ゼロックス株式会社 | Page error inspection device |
-
2013
- 2013-08-19 JP JP2013169835A patent/JP6197473B2/en not_active Expired - Fee Related
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP7034614B2 (en) | 2017-06-30 | 2022-03-14 | ピジョン株式会社 | Check valve |
Also Published As
Publication number | Publication date |
---|---|
JP2015039140A (en) | 2015-02-26 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US8792128B2 (en) | Apparatus, system, and method of inspecting image, and recording medium storing image inspection control program | |
US8619278B2 (en) | Printed matter examination apparatus, printed matter examination method, and printed matter examination system | |
EP1764739B1 (en) | Image processing apparatus and computer program product | |
JP2010034683A (en) | Image processing apparatus, and program | |
JP2010003087A (en) | Image processor and image processing method | |
US8913852B2 (en) | Band-based patch selection with a dynamic grid | |
JP6197473B2 (en) | Image direction discriminating apparatus, image direction discriminating method, image forming system, and program | |
US10924620B2 (en) | Document reading guidance for operator using feature amount acquired from image of partial area of document | |
JP5607296B2 (en) | Method for performing trapping, computer-readable medium and apparatus | |
JP7171269B2 (en) | Image matching system, image matching method, and program | |
JP6058042B2 (en) | Image processing device | |
CN106469034A (en) | Drawing command processing meanss and drawing command processing method | |
JP6330546B2 (en) | Image forming system | |
JP4958868B2 (en) | Document feature extraction apparatus and method | |
JP2013071432A (en) | Image forming apparatus, image forming method and image forming program | |
US20220207310A1 (en) | Printed-material check apparatus, image forming apparatus, non-transitory computer readable medium, and printed-material check system | |
JP2009060216A (en) | Image processor, and image processing program | |
US20200234093A1 (en) | Image forming apparatus, output state image generation method, and computer-readable medium | |
JP5233839B2 (en) | Information extraction apparatus, information extraction method, information extraction program, and storage medium | |
JP2001221612A (en) | Method and device for inspecting image for positional deviation and recording medium with thereon method programmed and recorded thereon | |
JP6372365B2 (en) | Printing instruction apparatus, printing system, and program | |
JP2024046417A (en) | Image processing device and image processing program | |
JP2022162474A (en) | Image processing system, image processing method, and program | |
JP2023140646A (en) | Information processing apparatus, information processing method, information processing program and information processing system | |
JP2001257897A (en) | Method and device for generating image misregistration inspection pattern and recording medium where same method is programmed |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20160722 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20170424 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20170509 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20170707 |
|
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: 20170725 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20170807 |
|
R151 | Written notification of patent or utility model registration |
Ref document number: 6197473 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R151 |
|
LAPS | Cancellation because of no payment of annual fees |