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 PDF

Info

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
Application number
JP2013169835A
Other languages
Japanese (ja)
Other versions
JP2015039140A (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.)
Ricoh Co Ltd
Original Assignee
Ricoh Co Ltd
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 Ricoh Co Ltd filed Critical Ricoh Co Ltd
Priority to JP2013169835A priority Critical patent/JP6197473B2/en
Publication of JP2015039140A publication Critical patent/JP2015039140A/en
Application granted granted Critical
Publication of JP6197473B2 publication Critical patent/JP6197473B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

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 Patent Document 1, a character recognizing unit is mounted on an image forming apparatus having a stapling unit in order to staple the output recording paper to an appropriate position, and the system control unit determines the direction of characters in received image data. A configuration for controlling the staple unit based on the recognition result is described.

しかしながら、このテストツールの自動化を実現するためには、印刷結果の画像の評価を自動化させる必要がある。具体的には、ステープルなどの後処理加工をテストする場合、加工位置が画像に対して正しい位置であるか否かを判別する必要がある。例えば、ステープルを左斜め綴じと指定した場合、ステープルが画像に対して左上に打たれている必要がある。   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 Patent Document 1, although the direction of the print image is detected, it can be handled only when the characters are all in the same direction, and cannot be detected when there are characters in different directions. For this reason, it is not possible to deal with a case where an image is printed in a plurality of directions, such as a combined print of a document in which a portrait image and a landscape image are mixed. Since such a case also exists in the DFE test items, the test automation cannot be realized by the image orientation determination by character recognition as described in Patent Document 1.

本発明は、上記に鑑みてなされたものであって、その目的は、印刷結果の画像の確認作業を自動化することができる画像方向判別装置、画像方向判別方法、画像形成システム、およびプログラムを提供することにある。   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.

図1は、一実施形態による画像方向判別装置を含むDFEの自動テストシステムの全体構成を示す構成図である。FIG. 1 is a configuration diagram showing an overall configuration of a DFE automatic test system including an image direction discrimination device according to an embodiment. 図2は、一実施形態による画像方向判別モジュールの機能構成を示す図である。FIG. 2 is a diagram illustrating a functional configuration of the image direction determination module according to the embodiment. 図3Aは、一実施形態によるポートレート画像の評価用パターン画像を示す図である。FIG. 3A is a diagram illustrating a pattern image for evaluation of a portrait image according to an embodiment. 図3Bは、一実施形態によるランドスケープ画像の評価用パターン画像を示す図である。FIG. 3B is a diagram illustrating an evaluation pattern image of a landscape image according to an embodiment. 図4は、一実施形態による方向判別処理の方法を説明するためのフローチャートである。FIG. 4 is a flowchart for explaining a method of direction discrimination processing according to an embodiment. 図5Aは、一実施形態による評価パターン判定を説明するための評価用パターン画像を示す図である。FIG. 5A is a diagram illustrating an evaluation pattern image for explaining evaluation pattern determination according to an embodiment. 図5Bは、一実施形態による画像方向判別を説明するための評価用パターン画像を示す図である。FIG. 5B is a diagram illustrating an evaluation pattern image for explaining image orientation determination according to an embodiment. 図5Cは、一実施形態によるポートレート/ランドスケープ判別を説明するための評価用パターン画像を示す図である。FIG. 5C is a diagram illustrating an evaluation pattern image for explaining portrait / landscape discrimination according to an embodiment. 図5Dは、一実施形態によるページ番号判別を説明するための評価用パターン画像を示す図である。FIG. 5D is a diagram illustrating an evaluation pattern image for explaining page number determination according to an embodiment. 図6は、一実施形態による面付位置判定処理の方法を説明するためのフローチャートである。FIG. 6 is a flowchart for explaining a method of imposition position determination processing according to an embodiment. 図7は、一実施形態による複数の評価用パターン画像を集約させた状態を説明するための評価用パターン画像を示す図である。FIG. 7 is a diagram illustrating an evaluation pattern image for explaining a state in which a plurality of evaluation pattern images according to an embodiment are aggregated. 図8は、一実施形態における少なくとも1枚の画像を1つの画像データに集約した場合における中心座標の配列パターンを示す図である。FIG. 8 is a diagram illustrating an array pattern of center coordinates when at least one image is aggregated into one image data according to an embodiment. 図9は、画像形成装置の構成を示すブロック図である。FIG. 9 is a block diagram illustrating a configuration of the image forming apparatus.

以下に添付図面を参照して、画像方向判別装置、画像方向判別方法、画像形成システム、およびプログラムの実施の形態を詳細に説明する。   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 automatic test system 1 of a printer control apparatus (DFE: Digital Front End) according to an embodiment.

図1に示すように、この一実施形態によるDFEの自動テストシステム1は、DFE11とPC12とを備える。PC12は、プリンタエンジンのシミュレータの機能を有するとともに、このプリンタエンジンのシミュレータとDFE11を自動操作するアプリケーションとから構成される自動テストツール13、記録部14、および画像方向を判別する画像方向判別モジュール15を備える。なお、図1においては、説明のため、自動テストツール13、記録部14、および画像方向判別モジュール15をPC12の外部に記載しているが、これらは実際にはPC12内に備えられている。   As shown in FIG. 1, the DFE automatic test system 1 according to this embodiment includes a DFE 11 and a PC 12. The PC 12 has a function of a printer engine simulator, and includes an automatic test tool 13 including a printer engine simulator and an application that automatically operates the DFE 11, a recording unit 14, and an image direction determination module 15 that determines an image direction. Is provided. In FIG. 1, for the sake of explanation, the automatic test tool 13, the recording unit 14, and the image direction determination module 15 are illustrated outside the PC 12, but these are actually provided in the PC 12.

そして、この自動テストシステム1において、PC12の自動テストツール13に、例えばステープル左斜め綴じなどのテスト用のジョブ、およびテストのシナリオファイルSが入力されると、自動テストツール13は、シナリオファイルSに従ってDFE11を自動で操作し、プリンタエンジンのシミュレータとして機能するPC12に対してジョブを実行する。   In the automatic test system 1, when a test job such as a staple left diagonal binding and a test scenario file S are input to the automatic test tool 13 of the PC 12, the automatic test tool 13 reads the scenario file S. The DFE 11 is automatically operated according to the above and a job is executed on the PC 12 functioning as a printer engine simulator.

そして、PC12は、シミュレータにおいて得られた実行結果(画像データ)を、ハードディスクなどからなる所定の記録部14に記録した後、この画像データを、PC12において画像方向判別手段として機能する画像方向判別モジュール15に入力する。これにより、PC12は、画像データにおける各画像の排紙時の画像の方向を算出する画像方向判別装置として機能する。   Then, the PC 12 records the execution result (image data) obtained in the simulator in a predetermined recording unit 14 formed of a hard disk or the like, and then uses this image data as an image direction determination module in the PC 12. 15 As a result, the PC 12 functions as an image direction determination device that calculates the image direction when each image is ejected in the image data.

最終的に、自動テストツール13は、画像データにおける画像の方向と、後処理加工の位置などといった画像の方向以外の実行結果に基づいて、テストの合否を自動で判別する。なお、シミュレータに関しては、PC12の代わりにプリンタなどの装置でも代用可能である。すなわち、プリンタエンジンの排出口に画像のスキャン装置を装着し、このスキャン装置がスキャンした画像データをPC12に供給して画像方向判別モジュール15に入力することによって、画像データの方向を取得することも可能である。   Finally, the automatic test tool 13 automatically determines the pass / fail of the test based on the execution result other than the image direction such as the image direction in the image data and the post-processing position. As for the simulator, a device such as a printer can be substituted for the PC 12. That is, the direction of the image data can be acquired by mounting an image scanning device at the discharge port of the printer engine, supplying the image data scanned by the scanning device to the PC 12 and inputting it to the image direction determination module 15. Is possible.

次に、この一実施形態による画像方向判別モジュール15のアルゴリズムと、画像方向を判別するための評価パターン画像の構成について説明する。すなわち、あらかじめ用意した評価用パターン画像をテスト用の画像として用い、PC12のシミュレータがテスト用の画像に対してシミュレートした実行結果、すなわちテストの結果を、PC12が、画像方向判別モジュール15に入力する。そして、画像方向判別モジュール15が、画像を印刷したときの排紙時の方向などの情報を生成して、PC12の自動テストツール13に供給することによって、自動テストツール13は、テスト結果を自動で取得する。   Next, the algorithm of the image direction determination module 15 according to this embodiment and the configuration of the evaluation pattern image for determining the image direction will be described. That is, the evaluation pattern image prepared in advance is used as a test image, and the PC 12 inputs the execution result simulated by the simulator of the PC 12 with respect to the test image, that is, the test result, to the image direction determination module 15. To do. Then, the image direction determination module 15 generates information such as the paper discharge direction when the image is printed, and supplies the information to the automatic test tool 13 of the PC 12, so that the automatic test tool 13 automatically outputs the test result. Get in.

図2は、この一実施形態による画像方向判別モジュール15の機能構成を示す。図2に示すように、PC12における画像方向判別モジュール15は、画像読取手段としての画像読取部21と、画像方向判別手段としての画像方向判別部22と、面付位置判定手段としての面付位置判定部23とを有する。画像読取部21は、PC12のシミュレータがシミュレートした画像データを読み取る。画像方向判別部22は、画像読取部21が取得した画像データから、画像の方向、ページ番号、および記録媒体の向きの情報としてのポートレート/ランドスケープ(Portrait/Landscape)の情報を自動で判別する。面付位置判定部23は、シミュレータが有する集約機能によって複数の画像が一枚の紙に印刷された場合、すなわち集約印刷が行われた場合に、それぞれの画像がどの面付け位置に配置されているかを自動で認識する機能を有する。   FIG. 2 shows a functional configuration of the image direction discrimination module 15 according to this embodiment. As shown in FIG. 2, the image direction determining module 15 in the PC 12 includes an image reading unit 21 as an image reading unit, an image direction determining unit 22 as an image direction determining unit, and an imposition position as an imposition position determining unit. And a determination unit 23. The image reading unit 21 reads image data simulated by the simulator of the PC 12. The image direction determination unit 22 automatically determines portrait / landscape information as image direction, page number, and recording medium orientation information from the image data acquired by the image reading unit 21. . The imposition position determination unit 23 determines the imposition position of each image when a plurality of images are printed on one sheet of paper by the aggregation function of the simulator, that is, when aggregation printing is performed. It has a function to recognize automatically.

(画像方向判別機能)
次に上述した画像方向判別モジュール15における画像方向判別部22の機能の実現方法について説明する。図3Aおよび図3Bはそれぞれ、画像方向の判別に使用する評価用パターン画像であるポートレート画像(Portrait画像)およびランドスケープ画像(Landscape画像)を示す図である。
(Image orientation discrimination function)
Next, a method for realizing the function of the image direction determination unit 22 in the image direction determination module 15 described above will be described. FIG. 3A and FIG. 3B are diagrams showing a portrait image (Portrait image) and a landscape image (Landscape image), which are evaluation pattern images used for discriminating the image direction, respectively.

図3Aおよび図3Bに示すように、評価用パターン画像31,32はそれぞれ、外周側の正方形状のパターン31a,32aと、内周側の正方形状のパターン31b,32bとを有する。すなわち、パターンの特徴として内側と外側に正方形を有するパターンである。また、内側の正方形の各辺におけるそれぞれの辺から、外側の正方形のそれぞれに対応する平行な辺までの距離の比率は、例えば上辺:左辺:下辺:右辺=2:2:1:1となっている。このように比率を変えておくことにより、画像方向判別モジュール15は画像の方向を算出することが可能となる。   As shown in FIGS. 3A and 3B, the evaluation pattern images 31 and 32 have square patterns 31a and 32a on the outer peripheral side and square patterns 31b and 32b on the inner peripheral side, respectively. That is, the pattern has a square on the inside and outside as a feature of the pattern. The ratio of the distance from each side of each side of the inner square to the parallel side corresponding to each of the outer squares is, for example, upper side: left side: lower side: right side = 2: 2: 1: 1. ing. By changing the ratio in this way, the image direction determination module 15 can calculate the direction of the image.

また、これらの評価用パターン画像31,32において、内側の正方形状のパターン31b,32b中の図中上半分の領域が、1ビット情報領域31c,32cとなっている。1ビット情報領域31c,32cにおいては、画像のポートレート/ランドスケープ(Portrait/Landscape)の情報が1ビット(bit)形式で格納されている。そして、図3Aに示すように、ポートレート画像においては1ビット情報領域31cが白として表されるのに対し、図3Bに示すように、ランドスケープ画像においては、1ビット情報領域32cが黒として表される。   In these evaluation pattern images 31 and 32, the upper half regions in the figure in the inner square patterns 31b and 32b are 1-bit information regions 31c and 32c. In the 1-bit information areas 31c and 32c, portrait / landscape information of an image is stored in a 1-bit format. As shown in FIG. 3A, the 1-bit information area 31c is represented as white in the portrait image, whereas the 1-bit information area 32c is represented as black in the landscape image as shown in FIG. 3B. Is done.

さらに、これらの評価用パターン画像31,32において、内側の正方形状のパターン31b,32b中の図中下半分の領域がそれぞれ、ページ番号情報領域31d,32dとなっている。これらのページ番号情報領域31d,32dにおいては、画像のジョブ内でのページ番号の情報を8ビット(bit)形式で格納されている。そして、図3A,図3Bに示すように、白および黒がそれぞれ0および1を示し、ページ番号情報領域31d,32dの右端は、必要に応じて使用する予約領域となっている。   Further, in these evaluation pattern images 31 and 32, the lower half regions in the figure in the inner square patterns 31b and 32b are page number information regions 31d and 32d, respectively. In these page number information areas 31d and 32d, page number information in an image job is stored in an 8-bit format. As shown in FIGS. 3A and 3B, white and black indicate 0 and 1, respectively, and the right ends of the page number information areas 31d and 32d are reserved areas used as necessary.

そして、画像方向判別モジュール15は、画像処理によって、上述した評価用パターン画像31,32を印刷した結果を読み込む。これによって、画像方向判別モジュール15は、それぞれの画像の方向、ページ番号、およびポートレート/ランドスケープといった情報を同時に取得できる。そこで、印刷結果の画像の評価を行う場合は、あらかじめ作成した評価用パターン画像31,32をテスト用のドキュメントとして指定する。   Then, the image direction determination module 15 reads the result of printing the above-described evaluation pattern images 31 and 32 by image processing. As a result, the image direction determination module 15 can simultaneously acquire information such as the direction, page number, and portrait / landscape of each image. Therefore, when evaluating the print result image, the previously created evaluation pattern images 31 and 32 are designated as test documents.

次に、画像方向判別モジュール15の各構成部が実行する、以上の評価用パターン画像31,32を用いた画像方向を判別するアルゴリズムについて説明する。図4は、方向を判別するアルゴリズムを説明するためのフローチャートである。   Next, an algorithm for discriminating an image direction using the above-described evaluation pattern images 31 and 32 executed by each component of the image direction discrimination module 15 will be described. FIG. 4 is a flowchart for explaining an algorithm for determining a direction.

なお、この一実施形態による画像方向判別モジュール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 PC 12 storing the image orientation determination module 15 according to this embodiment includes a control device such as a CPU, a storage device such as a ROM and a RAM, an external storage device such as an HDD and a CD drive device, a display device, and the like. Display device and an input device such as a keyboard and a mouse. That is, the image direction determination module 15 is realized by a hardware configuration using a computer. The program executed as the image orientation determination module 15 is provided in a form that can be installed or executable and recorded on a computer-readable recording medium such as a CD-ROM, CD-R, or DVD. it can. In addition, the program executed in the image orientation determination device of this embodiment can be provided by storing it on a computer connected to a network such as the Internet and downloading it via the network. Further, this program may be provided or distributed via a network such as the Internet. Further, the program of this embodiment may be configured to be provided by being incorporated in advance in a ROM or the like. The program executed in the image direction determination module 15 according to this embodiment may have a module configuration including the above-described units. That is, as actual hardware, a CPU (processor) reads out the program from the above-described storage medium and executes the program to read out the above-described units to the main storage device, thereby reading the image reading unit 21, the image direction determining unit 22, and the surface. It is good also as a module structure which produces | generates the attached position determination part 23. FIG. Note that the image reading unit 21, the image orientation determination unit 22, and the imposition position determination unit 23 are each realized only by so-called software that causes a processing device such as a CPU to execute a program independently or in conjunction with each other. Alternatively, it may be realized by hardware such as an IC (Integrated Circuit). Further, the image reading unit 21, the image direction determination unit 22, and the imposition position determination unit 23 may be realized by using software and hardware, respectively.

また、図4に示すように、この一実施形態においては、画像方向判別モジュール15の画像読取部21は、画像データを、画像のデータ形式(画像形式)の一種である例えばビットマップ(Bitmap)形式で取得する画像入力ステップを行う(ステップST1)。   As shown in FIG. 4, in this embodiment, the image reading unit 21 of the image direction determination module 15 converts the image data into a kind of image data format (image format), for example, a bitmap. An image input step for obtaining in a format is performed (step ST1).

次に、ステップST2に移行して、画像読取部21は、画像処理における輪郭抽出処理によって、評価用パターン画像31,32において、内側に正方形状のパターン31b,32bを有する状態の外側の正方形状のパターン31a,32aの輪郭を取得する輪郭抽出ステップを行う。その後、ステップST3に移行する。   Next, the process proceeds to step ST <b> 2, and the image reading unit 21 uses the contour extraction process in the image processing to form the outer square shape having the square patterns 31 b and 32 b on the inner side in the evaluation pattern images 31 and 32. The contour extraction step for acquiring the contours of the patterns 31a and 32a is performed. Thereafter, the process proceeds to step ST3.

ステップST3においては、画像方向判別モジュール15の画像方向判別部22が、抽出した外側の正方形状のパターン31a,32aの各辺と、これらの各辺に平行で、かつ対応した内側の正方形状のパターン31b,32bの各辺までの距離を求める。そして、画像方向判別部22は、これらの距離の比率、すなわちそれぞれの辺における距離の比率が2:2:1:1であるか否かを判定することによって、評価用パターン画像31,32における比率と一致しているか否かを判定する、評価用パターン判定ステップを行う。   In step ST3, the image direction discrimination unit 22 of the image direction discrimination module 15 extracts the sides of the extracted outer square patterns 31a and 32a and the inner square shape parallel to and corresponding to these sides. The distance to each side of the patterns 31b and 32b is obtained. Then, the image direction determination unit 22 determines whether the ratio of these distances, that is, the ratio of the distances on the respective sides is 2: 2: 1: 1. An evaluation pattern determination step is performed to determine whether or not the ratio matches.

ステップ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 direction determination unit 22 determines that the ratio of the distances at each side in the acquired image data matches the ratio in the evaluation pattern images 31 and 32 (step ST3: Yes), The process proceeds to step ST4. Here, in this step ST3, there is a possibility that the image of the print result that is the input image data is rotated. Therefore, depending on the rotation of the image, upper side: left side: lower side: right side = 2: 2: 1. : 1 may not be. Therefore, in the determination in step ST3, whether or not the ratio of each side is a ratio of 2: 2: 1: 1 is used for the determination. In other words, the image direction determination unit 22 determines that the pattern images for evaluation 31 and 32 are the same if the ratios are the same even if the pattern is other than the pattern of upper side: left side: lower side: right side (step ST3: Yes).

ステップST4においては、画像方向判別部22が、取得した画像データの方向を判別する方向判別ステップを行う。次に、ステップST5に移行して、画像方向判別部22は、取得した画像データにおいて、ポートレート(縦長)/ランドスケープ(横長)の情報を取得して記録媒体である用紙の向きを判別する、用紙向き判別ステップを行う。その後、ステップST6に移行して、画像方向判別部22が、取得した画像データにおけるジョブ内でのページ番号の情報を取得して、ページ番号を判別する、ページ番号判別ステップを行う。なお、これらのステップST3〜ST6は必ずしもこれらの順序に限定されるものではなく、他の順序で行っても、それぞれのステップを同時に行ってもよい。また、これらのステップST3〜ST6における、評価用パターン判定ステップ、方向判別ステップ、用紙向き判別ステップ、およびページ番号判別ステップの詳細については後述する。   In step ST4, the image direction determination unit 22 performs a direction determination step of determining the direction of the acquired image data. Next, the process proceeds to step ST5, in which the image orientation determination unit 22 acquires portrait (vertically long) / landscape (landscape) information in the acquired image data to determine the orientation of the sheet as a recording medium. A paper orientation discrimination step is performed. Thereafter, the process proceeds to step ST6, where the image direction determination unit 22 performs page number determination step of acquiring page number information in the job in the acquired image data and determining the page number. Note that these steps ST3 to ST6 are not necessarily limited to these orders, and may be performed in other orders or may be performed simultaneously. Details of the evaluation pattern determination step, the direction determination step, the paper orientation determination step, and the page number determination step in these steps ST3 to ST6 will be described later.

その後、画像方向判別部22が、取得した画像データに対してステップST4〜ST6による判別を行ったテスト結果を例えばPC12の自動テストツール13に供給する、処理結果出力ステップを行う(ステップST7)。ステップST7の処理結果出力ステップが終了するとステップST8に移行して、面付位置判定部23が面付位置判定処理を実行し、一連のテスト処理が終了する。なお、面付位置判定処理の詳細については後述する。   Thereafter, the image direction determination unit 22 performs a processing result output step of supplying the test result obtained by performing the determination in steps ST4 to ST6 to the obtained image data to, for example, the automatic test tool 13 of the PC 12 (step ST7). When the processing result output step in step ST7 is completed, the process proceeds to step ST8, where the imposition position determination unit 23 executes imposition position determination processing, and a series of test processes ends. The details of the imposition position determination process will be described later.

他方、ステップ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 evaluation pattern images 31 and 32 in step ST3, that is, when the evaluation pattern images 31 and 32 are not detected (step ST3: No), the process proceeds to step ST9.

ステップST9においては、画像方向判別部22が、画像データが白紙のデータであるか否かを判定する白紙判定ステップを行う。すなわち、画像方向判別部22が、入力された画像データが評価用パターン画像ではないと判定した場合、画像読取部21が画像データ内の輝度値を読み取る。そして、画像方向判別部22が、画像読取部21により読み取られた輝度値に基づいて画像データが白紙のデータであるか否かを判定する。   In step ST9, the image direction determination unit 22 performs a blank page determination step for determining whether or not the image data is blank page data. That is, when the image direction determination unit 22 determines that the input image data is not an evaluation pattern image, the image reading unit 21 reads the luminance value in the image data. Then, the image direction determination unit 22 determines whether the image data is blank data based on the luminance value read by the image reading unit 21.

画像方向判別部22が、画像データが白紙のデータであると判定した場合(ステップST9:Yes)、ステップST10に移行する。ステップST10においては、画像方向判別部22が、画像データが白紙のデータであることを処理結果として自動テストツール13に出力する、処理結果出力ステップを実行し、一連のテスト処理が終了する。   When the image direction determination unit 22 determines that the image data is blank data (step ST9: Yes), the process proceeds to step ST10. In step ST10, the image direction determination unit 22 executes a processing result output step of outputting to the automatic test tool 13 as a processing result that the image data is blank data, and a series of test processing ends.

他方、画像方向判別部22が、画像データが白紙のデータではないと判定した場合(ステップST9:No)、ステップST11に移行する。ステップST11においては、画像方向判別部22が、画像データが評価用パターン画像のデータではないことを処理結果として自動テストツール13に出力する、処理結果出力ステップを実行し、一連のテスト処理が終了する。   On the other hand, when the image direction determination unit 22 determines that the image data is not blank data (step ST9: No), the process proceeds to step ST11. In step ST11, the image direction determination unit 22 executes a processing result output step of outputting to the automatic test tool 13 as a processing result that the image data is not the data of the pattern image for evaluation, and a series of test processing ends. To do.

このように、取得した画像データが白紙のデータである場合、および白紙のデータでない場合のいずれの場合においても、テスト処理の処理結果はエラーになる。しかしながら、画像方向判別モジュール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 direction discrimination module 15 can distinguish between the case where the acquired image data is blank and the case where an image other than the evaluation pattern is input. As a result, even if the result of the test processing is an error, the automatic test tool 13 distinguishes the information that the acquired image data is blank from the information that is input with an image other than the evaluation pattern, and the PC 12 By displaying the test result on the display unit or the like, it is possible to notify the user of the test result whether or not the page is blank.

(画像方向判別処理)
次に、上述したステップ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 pattern image 31. FIG.

まず、ステップ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 evaluation pattern image 31 shown in FIG. 5A is printed is targeted. Then, as shown in FIG. 5B, the image direction determination unit 22 determines the distance between vertices at each corner between the inner square pattern 31b and the outer square pattern 31a (both directions in FIG. 5B). Arrow). In FIG. 5B, “Top” is the printing direction. In the evaluation pattern image 31 shown in FIG. 5B, the ratio of the distance intervals between the sides of the inner square pattern 31b and the outer square pattern 31a is 2: 2: 1: 1 (FIG. 3B). reference). Thereby, the ratios of the distances between the vertices on the diagonal lines of the square patterns 31a and 31b are respectively the upper left in FIG. 5B: lower right = 2: 1 and the lower left in FIG. 5B: upper right = 1: 1.

そこで、画像方向判別部22は、これらの対角線上の頂点間距離を比較して、一方の対角線上における頂点間距離の比率が2:1、かつ他方の対角線上における頂点間距離の比率が1:1になっていることを確認することによって、画像方向を判別する。すなわち、頂点間距離の比率が2:1になっている正方形状のパターン31a,31bのそれぞれの対角の2つの頂点のうちの長い方、すなわち比率が2:1となっている頂点のうちの距離が2となっている頂点の側を、画像データの左上と判別する。これによって、取得した画像データの方向が判別可能となる。図5Bにおいては、取得した画像データの方向は上方向と判定される(図4中、ステップST4)。   Therefore, the image direction discriminating unit 22 compares the distances between the vertices on the diagonal, the ratio of the distance between the vertices on one diagonal is 2: 1, and the ratio of the distance between the vertices on the other diagonal is 1. The image direction is determined by confirming that the ratio is 1. That is, the longer one of the two diagonal vertices of the square patterns 31a and 31b having a ratio of the distance between vertices of 2: 1, that is, of the vertices having a ratio of 2: 1. Is determined to be the upper left of the image data. This makes it possible to determine the direction of the acquired image data. In FIG. 5B, the direction of the acquired image data is determined to be upward (step ST4 in FIG. 4).

このようにして取得した画像データの方向が判別された後、画像読取部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 image reading unit 21 reads the 1-bit information area 31c in the upper half of the inner square pattern 31b in the evaluation pattern image 31 shown in FIG. 5C. Get the pixel value. If the pixel value acquired by the image reading unit 21 is 255, the image direction determination unit 22 determines that the acquired image data is a portrait image, and if the acquired pixel value is 0, It is determined that the acquired image data is a landscape image (step ST5 in FIG. 4).

次に、図5Dに示すように、内側の正方形状のパターン31bの下半分のページ番号情報領域31dに対して、判別された画像データの方向に対して例えば右端から左端に向かった輝度走査を行う。これにより、ページ番号の情報をビット形式で取得する。図5Dに示す評価用パターン画像31の例においては、ページ番号情報領域31dが8つの領域に分割された8ビット情報領域となっているため、それぞれの領域の画素値を判定することによって、8ビット、すなわち255ページまでのページ番号を判別できる。   Next, as shown in FIG. 5D, for the lower half of the page number information area 31d of the inner square pattern 31b, for example, a luminance scan from the right end to the left end is performed with respect to the determined image data direction. Do. As a result, the page number information is acquired in bit format. In the example of the evaluation pattern image 31 shown in FIG. 5D, the page number information area 31d is an 8-bit information area divided into eight areas. Bits, that is, page numbers up to 255 pages can be discriminated.

以上のステップ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 position determination unit 23 executes a center coordinate calculation step of calculating the center coordinates of the evaluation pattern images 33, 34, 35, and 36 as shown in FIG. To do. That is, the center coordinates of the evaluation pattern images 33 to 36 are calculated from the contours of the plurality of evaluation pattern images 33 to 36 extracted by the image reading unit 21 in the contour extraction step of step ST2 shown in FIG. . Specifically, in the case of performing so-called aggregate printing in which the evaluation pattern images 33 to 36 of a plurality of pages are aggregated into one sheet, the imposition position determination unit 23 of the image direction determination module 15 uses the aggregated image data. The number and the central coordinates from each contour of the evaluation pattern images 33 to 36 are calculated.

次に、図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 position determination unit 23 determines how many evaluation patterns based on the center coordinates of the evaluation pattern images 33 to 36 calculated in the center coordinate calculation step. An aggregation determination step is performed to determine whether images are printed on one sheet, that is, the number of images to be aggregated. FIG. 8 is a schematic diagram showing the center point pattern used for the aggregation determination step. From the 2in1 that prints an image for two pages on one sheet to 16in1 that prints an image for 16 pages on one sheet. And the center point pattern up to. Then, the imposition position determination unit 23 compares the center point pattern of the image data calculated in advance in each aggregate printing as shown in FIG. 8 with the input image data, and determines the closest center point pattern as the image. It is determined that the data is imposition. For example, in the example of collective printing (Nup printing) shown in FIG. 7, the center point pattern in a so-called 4in1 image that aggregates four images into one sheet is the closest, so the image data shown in FIG. 7 is 4in1. Can be determined.

その後、図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 evaluation pattern images 33 to 36 is impositioned based on the number of specified image data. Do step. In this imposition position determination step, the imposition position determination unit 23 determines which position of each evaluation pattern image from the information on the number of specified image data and the calculated center coordinates of each evaluation pattern image. Determine whether it is impositioned. In addition, since the information such as the direction and page number of each image can be acquired by the image direction determination process by the image direction determination unit 22 in the previous stage, the imposition function determination unit 23 uses the aggregation function to order a plurality of images in the correct order. It is possible to automatically determine whether or not it is printed on one sheet of paper.

そして、ステップST24に移行して、面付位置判定部23が、取得した画像データ内における全ての評価用パターン画像33〜36の面付け位置の算出結果を出力する、処理結果出力ステップを実行する。すなわち、処理結果出力ステップにおいては、面付位置判定部23が算出した全ての評価用パターン画像33〜36の面付け位置の算出結果が、PC12の表示部等に表示されて使用者に通知される。   And it transfers to step ST24 and the imposition position determination part 23 performs the process result output step which outputs the calculation result of the imposition position of all the pattern images 33-36 for evaluation in the acquired image data. . That is, in the processing result output step, the calculation results of the imposition positions of all the evaluation pattern images 33 to 36 calculated by the imposition position determination unit 23 are displayed on the display unit of the PC 12 and notified to the user. The

図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 image forming apparatus 100 has a configuration in which a controller 110 and an engine unit (Engine) 160 are connected by a PCI (Peripheral Component Interface) bus. The controller 110 is a controller that controls the entire image forming apparatus 100 and controls drawing, communication, and input from an operation unit (not shown). The engine unit 160 is a printer engine that can be connected to a PCI bus, and is, for example, a monochrome plotter, a 1-drum color plotter, a 4-drum color plotter, a scanner, or a fax unit. The engine unit 160 includes an image processing unit such as error diffusion and gamma conversion in addition to a so-called engine unit such as a plotter.

コントローラ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 controller 110 includes a CPU 111, a north bridge (NB) 113, and a system memory (MEM-P) 112. The controller 110 further includes a south bridge (SB) 114, an application specific integrated circuit (ASIC) 116, a local memory (MEM-C) 117, and a hard disk drive (HDD) 118. The north bridge (NB) 113 and the ASIC 116 are connected by an AGP (Accelerated Graphics Port) 115. The MEM-P 112 further includes a ROM (Read Only Memory) 112a and a RAM (Random Access Memory) 112b.

CPU111は、画像形成装置100の全体制御を行い、NB113、MEM−P112およびSB114からなるチップセットを有する。そして、CPU111は、このチップセットを介して他の機器と接続される。   The CPU 111 performs overall control of the image forming apparatus 100 and includes a chip set including the NB 113, the MEM-P 112, and the SB 114. The CPU 111 is connected to other devices via this chipset.

NB113は、CPU111とMEM−P112、SB114、AGP115とを接続するためのブリッジである。このNB113は、MEM−P112に対する読み書きなどを制御するメモリコントローラと、PCIマスタおよびAGPターゲットとを有する。   The NB 113 is a bridge for connecting the CPU 111 to the MEM-P 112, SB 114, and AGP 115. The NB 113 includes a memory controller that controls reading and writing to the MEM-P 112, a PCI master, and an AGP target.

MEM−P112は、プログラムやデータの格納用メモリ、プログラムやデータの展開用メモリ、プリンタの描画用メモリなどとして用いるシステムメモリであり、ROM112aとRAM112bとからなる。ROM112aは、プログラムやデータの格納用メモリとして用いる読み出し専用のメモリであり、RAM112bは、プログラムやデータの展開用メモリ、プリンタの描画用メモリなどとして用いる書き込みおよび読み出し可能なメモリである。   The MEM-P 112 is a system memory used as a memory for storing programs and data, a memory for developing programs and data, a printer drawing memory, and the like, and includes a ROM 112a and a RAM 112b. The ROM 112a is a read-only memory used as a memory for storing programs and data, and the RAM 112b is a writable and readable memory used as a program and data development memory, a printer drawing memory, and the like.

SB114は、NB113とPCIデバイス、周辺デバイスとを接続するためのブリッジである。このSB114は、PCIバスを介してNB113と接続されており、このPCIバスには、ネットワークインターフェース(I/F)部なども接続される。   The SB 114 is a bridge for connecting the NB 113 to a PCI device and peripheral devices. The SB 114 is connected to the NB 113 via a PCI bus, and a network interface (I / F) unit and the like are also connected to the PCI bus.

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 ASIC 116 is an IC (Integrated Circuit) for image processing having hardware elements for image processing, and has a role of a bridge for connecting the AGP 115, the PCI bus, the HDD 118, and the MEM-C 117. The ASIC 116 includes a PCI target and an AGP master, an arbiter (ARB) that forms the core of the ASIC 116, a memory controller that controls the MEM-C 117, and a plurality of DMACs (Direct Memory) that rotate image data using hardware logic. Access Controller) and a PCI unit that transfers data between the engine unit 160 via the PCI bus. An FCU (Facsimile Control Unit) 130, a USB (Universal Serial Bus) 140, and an IEEE 1394 (the Institute of Electrical and Electronics Engineers 1394) interface 150 are connected to the ASIC 116 via a PCI bus. The operation display unit 120 is directly connected to the ASIC 116.

MEM−C117は、コピー用画像バッファ、符号バッファとして用いるローカルメモリである。また、HDD(Hard Disk Drive)118は、画像データの蓄積、プログラムの蓄積、フォントデータの蓄積、およびフォームの蓄積を行うためのストレージである。さらに、AGP115は、グラフィック処理を高速化するために提案されたグラフィックスアクセラレーターカード用のバスインターフェースである。このAGP115は、MEM−P112に高スループットで直接アクセスすることにより、グラフィックスアクセラレーターカードを高速化できる。   The MEM-C 117 is a local memory used as a copy image buffer and a code buffer. An HDD (Hard Disk Drive) 118 is a storage for storing image data, programs, font data, and forms. Furthermore, the AGP 115 is a bus interface for a graphics accelerator card that has been proposed to speed up graphic processing. The AGP 115 can speed up the graphics accelerator card by directly accessing the MEM-P 112 with high throughput.

以上説明した一実施形態による画像方向判別装置によれば、あらかじめ用意した評価用パターン画像31〜36をテスト用のドキュメントとして指定する。そして、DFE11によってジョブの印刷設定が指定されて印刷を行った場合の印刷結果画像をシミュレータとして機能するPC12が画像データとして取得する。さらに、この取得した画像データをPC12の画像方向判別モジュール15に入力することによって、画像データにおけるそれぞれのページの方向を判別することができ、さらに、集約印刷されて面付けされた場合においても、ジョブの何ページ目の画像がどの位置に配置されているかという情報をPC12が自動で取得することができるので、DFE11によるステープルなどの後処理加工などのテスト処理なども自動化することができる。   According to the image orientation determination apparatus according to the embodiment described above, the evaluation pattern images 31 to 36 prepared in advance are designated as test documents. Then, the PC 12 that functions as a simulator obtains the print result image when the print setting of the job is designated by the DFE 11 and is printed as image data. Further, by inputting the acquired image data to the image direction determination module 15 of the PC 12, the direction of each page in the image data can be determined. Further, even when the pages are consolidated and impositioned, Since the PC 12 can automatically acquire information indicating which page image of the job is located at which position, test processing such as post-processing such as stapling by the DFE 11 can be automated.

以上、一実施形態について具体的に説明したが、本発明は、上述の一実施形態に限定されるものではなく、本発明の技術的思想に基づく各種の変形が可能である。例えば、上述の実施形態において挙げた数値はあくまでも例に過ぎず、必要に応じてこれと異なる数値を用いても良い。   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 automatic test tool 13 and the image orientation determination module 15 and the application for automatically operating the simulator and the DFE 11 are executed by the single PC 12. However, the present invention is not limited to this, and each of the functions and processes may be executed by a plurality of PCs and control circuits. The functions and processes may be executed by communicating with each other through a network. Also good.

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 Automatic test system 11 DFE
12 PC
DESCRIPTION OF SYMBOLS 13 Automatic test tool 14 Recording part 15 Image direction discrimination module 21 Image reading part 22 Image direction discrimination part 23 Imposition position determination part 31, 32, 33, 34, 35, 36 Pattern image for evaluation 31a, 31b, 32a, 32b Pattern 31c, 32c 1-bit information area 31d, 32d Page number information area 100 Image forming apparatus

特開2001-268289号公報JP 2001-268289 A

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枚の画像に面付けされていた場合に、正方形状の前記複数の評価用パターン画像のそれぞれの中心座標を算出し、前記画像から前記評価用パターン画像の面付けされている数を判定する面付位置判定手段をさらに備えることを特徴とする請求項1に記載の画像方向判別装置。 When the plurality of evaluation pattern images are imposed on one image, the center coordinates of the plurality of square evaluation pattern images are calculated, and the surface of the evaluation pattern image is calculated from the images. The image orientation determining apparatus according to claim 1, further comprising an imposition position determining unit that determines the number of the attached images. 前記画像方向判別手段は、前記画像読取手段により読み取られた画像が前記評価用パターン画像であるか否かを判定し、
前記評価用パターン画像であると判定した場合に、前記画像の方向と、前記画像のジョブ内におけるページ番号と、前記画像が記録された前記記録媒体の排紙時における当該記録媒体の向きの情報とを含む情報を判別する、
ことを特徴とする請求項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.
JP2013169835A 2013-08-19 2013-08-19 Image direction discriminating apparatus, image direction discriminating method, image forming system, and program Expired - Fee Related JP6197473B2 (en)

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)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP7034614B2 (en) 2017-06-30 2022-03-14 ピジョン株式会社 Check valve

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4457700B2 (en) * 2004-03-08 2010-04-28 富士ゼロックス株式会社 Page error inspection device

Cited By (1)

* Cited by examiner, † Cited by third party
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