JP4752690B2 - Print control apparatus and print control method - Google Patents

Print control apparatus and print control method Download PDF

Info

Publication number
JP4752690B2
JP4752690B2 JP2006243616A JP2006243616A JP4752690B2 JP 4752690 B2 JP4752690 B2 JP 4752690B2 JP 2006243616 A JP2006243616 A JP 2006243616A JP 2006243616 A JP2006243616 A JP 2006243616A JP 4752690 B2 JP4752690 B2 JP 4752690B2
Authority
JP
Japan
Prior art keywords
processing
image
executed
preprocessing
print
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
JP2006243616A
Other languages
Japanese (ja)
Other versions
JP2008067126A (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.)
Seiko Epson Corp
Original Assignee
Seiko Epson Corp
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 Seiko Epson Corp filed Critical Seiko Epson Corp
Priority to JP2006243616A priority Critical patent/JP4752690B2/en
Priority to US11/899,480 priority patent/US7907315B2/en
Publication of JP2008067126A publication Critical patent/JP2008067126A/en
Application granted granted Critical
Publication of JP4752690B2 publication Critical patent/JP4752690B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Facsimile Image Signal Circuits (AREA)

Description

本発明は、ディジタルカメラ等の撮像装置によって撮像された画像を印刷するための画像処理に関する。   The present invention relates to image processing for printing an image captured by an imaging apparatus such as a digital camera.

近年、ディジタルカメラ等の撮像装置によって撮像されてメモリカード等の記憶媒体に格納されている画像データを、パーソナルコンピュータを介さずに直接プリンタに読み込んで、読み込んだ画像データの表す画像の印刷を行うことができるプリンタや、ディジタルカメラ等の撮像装置から画像データを直接プリンタに読み込んで、読み込んだ画像データの表す画像の印刷を行うことができるプリンタが普及しつつある。なお、以下では、このような撮像装置によって撮像された画像を「フォト画像」とも呼び、このフォト画像を表す画像データを「フォト画像データ」とも呼ぶ。また、上記のようなフォト画像を印刷することができるプリンタを、「フォトプリンタ」とも呼ぶ。さらに、また、記憶媒体に格納されている画像データを、パーソナルコンピュータを介さずに直接プリンタに読み込んで、読み込んだ画像データの表す画像を印刷するモードを「カード印刷」とも呼ぶ。   In recent years, image data captured by an imaging device such as a digital camera and stored in a storage medium such as a memory card is directly read into a printer without using a personal computer, and an image represented by the read image data is printed. Printers capable of reading image data directly from an imaging device such as a digital camera or the like and printing the image represented by the read image data are becoming widespread. Hereinafter, an image captured by such an imaging apparatus is also referred to as a “photo image”, and image data representing the photo image is also referred to as “photo image data”. A printer capable of printing a photo image as described above is also referred to as a “photo printer”. Furthermore, a mode in which image data stored in a storage medium is directly read into a printer without using a personal computer and an image represented by the read image data is printed is also referred to as “card printing”.

上記のようなフォトプリンタでは、フォト画像を印刷するために実行する画像処理の一つとして、適切な印刷結果が得られるように、あらかじめ、読み込んだフォト画像データに対して種々の補正処理を行っている。このようなフォト画像データに対する補正技術としては、例えば特許文献1に記載の技術が提案されている。   The photo printer as described above performs various correction processes on the read photo image data in advance so as to obtain an appropriate print result as one of the image processes executed for printing the photo image. ing. As a correction technique for such photo image data, for example, a technique described in Patent Document 1 has been proposed.

特開2001−165647号公報JP 2001-165647 A

ところで、上記のようなフォトプリンタでは、補正処理を行うための前処理として、まず、フォト画像データを読み込んで、読み込んだフォト画像データから所定の割合で画素データのサンプリングを行ってヒストグラムを作成し、作成したヒストグラムに基づいて統計処理を行って、画像の特徴を示す特徴量を求めることにより、補正パラメータを決定している。そして、フォト画像を印刷するために実行する画像処理において、決定した補正パラメータに基づいてフォト画像データに対する補正処理を行っている。また、顔認識処理を行って、フォト画像中に人物の顔の存在を認識し、これに応じた補正パラメータを決定して補正処理を行う場合もある。さらに、また、フォト画像中の人物の目が赤目になっている場合において、赤目解析処理を行って、これに応じた補正パラメータを決定して補正処理を行う場合もある。   By the way, in the photo printer as described above, as pre-processing for performing correction processing, first, photo image data is read, and pixel data is sampled at a predetermined rate from the read photo image data to create a histogram. The correction parameter is determined by performing statistical processing based on the created histogram and obtaining a feature amount indicating the feature of the image. Then, in the image processing executed for printing the photo image, correction processing is performed on the photo image data based on the determined correction parameter. Further, face recognition processing may be performed to recognize the presence of a human face in a photo image, and correction processing may be performed by determining a correction parameter corresponding to the presence. Furthermore, when the eyes of a person in the photo image are red eyes, a red eye analysis process is performed, and a correction parameter corresponding to the red eye analysis process is determined to perform the correction process.

従って、1枚のフォト画像を印刷する場合において、上記補正処理を含む画像処理の前に、補正パラメータを求めるための前処理を実行する必要がある。このため、印刷を希望するフォト画像を指定した後、印刷の実行を指示してから、実際に、その指定したフォト画像データに対する画像処理が開始されるまでに、前処理を開始してから前処理が終了するまでの待ち時間が発生し、結果として、実際の印刷処理が開始されるまでの待ち時間が長くなるという問題がある。   Therefore, in the case of printing one photo image, it is necessary to execute preprocessing for obtaining correction parameters before image processing including the correction processing. For this reason, after specifying a photo image to be printed, after instructing the execution of printing, until the actual image processing for the specified photo image data starts, There is a problem that a waiting time until the processing is completed occurs, and as a result, the waiting time until the actual printing process is started becomes long.

また、フォト画像データは、通常は、所定の圧縮形式、例えば、JPEG(Joint Photographic Coding Experts Group)形式により圧縮されている。このため、上記画像処理や前処理を実行する前に、JPEG形式で圧縮されているフォト画像データを展開処理する必要があり、これにより、さらに、いっそう待ち時間が長くなる。   The photo image data is usually compressed in a predetermined compression format, for example, JPEG (Joint Photographic Coding Experts Group) format. For this reason, it is necessary to develop the photo image data compressed in the JPEG format before executing the above image processing and preprocessing, which further increases the waiting time.

本発明は、上述の課題を解決するためになされたものであり、印刷を希望する画像として指定された印刷対象画像を印刷するための画像処理が開始されるまでの時間を短縮し、結果として実際の印刷処理が開始されるまでの待ち時間を短縮することが可能な技術を提供することを目的とする。   The present invention has been made to solve the above-described problems, and as a result, the time until image processing for printing a print target image designated as an image desired to be printed is shortened. An object of the present invention is to provide a technique capable of shortening the waiting time until the actual printing process is started.

上述の課題の少なくとも一部を解決するために、本発明の態様は、
印刷の開始が指示された印刷対象画像について、前記印刷対象画像の画質を補正するための補正パラメータを決定するための前処理と、前記前処理で決定された補正パラメータに基づく前記印刷対象画像を表す印刷対象画像データの補正処理を含み、前記印刷対象画像の印刷を実行するための画像処理と、を行う印刷制御装置であって、
印刷の開始を示す印刷実行指示が発生する前に、前記前処理を先行して実行するための先行処理部と、
前記印刷実行指示に従って、前記画像処理を実行するための画像処理部と、
を備え、
前記画像処理部は、
前記印刷実行指示に従って前記画像処理が指示された際に、指示された画像処理の対象である印刷対象画像についての前処理が、前記先行処理部で実行されている途中である場合において、
前記先行処理部で実行途中の前処理の処理量が所定量に達しているときには、前記先行処理部で実行されている前処理の終了を待ち、前記先行処理部で実行された前処理の処理結果を活用して、前記補正処理を実行し、
前記先行処理部で実行途中の前処理の処理量が前記所定量に達していないときには、前記先行処理部で実行されている前処理を中止させて、前記指示された画像処理の対象である印刷対象画像についての前処理を、前記先行処理部における処理よりも高速に実行し、実行した前処理の処理結果を活用して、前記補正処理を実行する、
ことを特徴とする。
In order to solve at least a part of the above-described problems, an aspect of the present invention provides:
For a print target image instructed to start printing, preprocessing for determining a correction parameter for correcting the image quality of the print target image, and the print target image based on the correction parameter determined in the preprocessing A printing control apparatus that includes a correction process of print target image data that represents, and performs image processing for executing printing of the print target image,
A pre-processing unit for performing the pre-processing in advance before a print execution instruction indicating the start of printing occurs;
An image processing unit for executing the image processing according to the print execution instruction;
With
The image processing unit
When the image processing is instructed according to the print execution instruction, when the preprocessing for the print target image that is the target of the instructed image processing is being executed in the preceding processing unit,
When the processing amount of the preprocessing being executed in the preceding processing unit reaches a predetermined amount, the processing of the preprocessing executed in the preceding processing unit is waited for completion of the preprocessing executed in the preceding processing unit. Using the result, execute the correction process,
When the processing amount of the preprocessing being executed in the preceding processing unit does not reach the predetermined amount, the preprocessing being executed in the preceding processing unit is stopped, and printing that is the target of the instructed image processing The preprocessing for the target image is executed at a higher speed than the processing in the preceding processing unit, and the correction process is executed by utilizing the processing result of the executed preprocessing.
It is characterized by that.

上記印刷制御装置によれば、先行処理部で実行途中の前処理の処理量が所定量に達しているときには、先行処理部で実行されている前処理の終了を待ち、先行処理部で実行された前処理の処理結果を活用して、画像処理に含まれる補正処理を実行することができ、先行処理部で実行途中の前処理の処理量が前記所定量に達していないときには、先行処理部で実行されている前処理を中止させて、指示された画像処理の対象である印刷対象画像についての前処理を、先行処理部における処理よりも高速に実行し、実行した前処理の処理結果を活用して、画像処理に含まれる補正処理を実行することができるので、前処理の先行処理の結果を効果的に活用し、前処理の先行処理の実施によって、印刷対象画像についての画像処理の開始までの時間が長くなって、実際の印刷処理が開始されるまでの時間が長くなってしまうのを抑制することが可能である。従って、従来のように印刷実行指示後に、所定の前処理が実行される場合に比べて、指定した印刷対象画像を印刷するための画像処理が開始されるまでの時間を短縮し、結果として実際の印刷処理が開始されるまでの待ち時間を短縮することが可能となる。   According to the print control apparatus, when the amount of preprocessing being executed in the preceding processing unit reaches a predetermined amount, the preceding processing unit waits for the end of the preprocessing being executed in the preceding processing unit, and is executed in the preceding processing unit. The correction processing included in the image processing can be executed by utilizing the processing result of the preprocessing, and when the processing amount of the preprocessing being executed in the preceding processing unit does not reach the predetermined amount, the preceding processing unit The pre-processing executed in step S1 is canceled, and the pre-processing for the print target image that is the target of the instructed image processing is executed at a higher speed than the processing in the preceding processing unit, and the processing result of the executed pre-processing is obtained. Since the correction process included in the image processing can be executed, the result of the preceding process of the pre-processing can be effectively used, and the execution of the preceding process of the pre-processing can be performed to perform the image processing for the image to be printed. Time to start Longer, it is possible to suppress the becomes longer to the actual printing process is started. Therefore, compared to the case where a predetermined pre-process is executed after a print execution instruction as in the prior art, the time until image processing for printing the specified print target image is shortened, and as a result It is possible to reduce the waiting time until the printing process is started.

上記印刷制御装置において、前記画像処理部は、
前記印刷実行指示に従って前記画像処理が指示された際に、指示された画像処理の対象でない画像についての前処理が、前記先行処理部で実行されている途中である場合においては、
前記先行処理部で実行されている前処理を中止させて、前記指示された画像処理の対象である印刷対象画像についての前処理を、前記先行処理部における処理よりも高速に実行し、実行した前処理の処理結果を活用して、前記補正処理を実行する、
ことも好ましい。
In the print control apparatus, the image processing unit includes:
When the image processing is instructed according to the print execution instruction, pre-processing for an image that is not the target of the instructed image processing is in the middle of being executed by the preceding processing unit.
The preprocessing being executed in the preceding processing unit is stopped, and the preprocessing for the print target image that is the target of the instructed image processing is executed at a higher speed than the processing in the preceding processing unit, and is executed. Utilizing the processing result of the preprocessing, the correction processing is executed.
It is also preferable.

上記印刷制御装置によれば、指示された画像処理の対象でない画像についての前処理の終了を待たずに、指示された画像処理の対象である印刷対象画像についての前処理を開始することができるので、無駄な先行処理が終了するのを待つ時間を省くことができ、印刷対象画像についての画像処理の開始までの時間が長くなって、実際の印刷処理が開始されるまでの時間が長くなってしまうのを抑制することが可能である。   According to the print control apparatus, it is possible to start the preprocessing for the print target image that is the target of the instructed image processing without waiting for the end of the preprocessing for the image that is not the target of the instructed image processing. Therefore, it is possible to save time for waiting for the useless preceding process to be completed, and to increase the time until the start of the image processing for the image to be printed and the time until the actual printing process is started. Can be suppressed.

本発明は、上記印刷制御装置としての構成のほか、画像処理装置として構成することもできる。また、これら装置発明の態様に限ることなく、印刷制御方法、画像処理方法といった方法発明の態様で実現することも可能である。なお、方法発明の態様においても、先に示した種々の付加的要素を適用することが可能である。さらには、それら方法や装置を実現するコンピュータプログラム、およびそのプログラムを記録した記録媒体、そのプログラムを含み搬送波内に具現化されたデータ信号など種々の態様で実現することが可能である。なお、それぞれの態様において、先に示した種々の付加的要素を適用することが可能である。   The present invention can be configured as an image processing apparatus in addition to the configuration as the print control apparatus. Further, the present invention is not limited to the aspects of the device invention, and may be realized by aspects of a method invention such as a print control method and an image processing method. Note that the various additional elements described above can also be applied to the method invention. Furthermore, the present invention can be realized in various modes such as a computer program that implements the method and apparatus, a recording medium that records the program, and a data signal that includes the program and is embodied in a carrier wave. In addition, in each aspect, it is possible to apply the various additional elements shown above.

本発明をコンピュータプログラムまたはそのプログラムを記録した記録媒体等として構成する場合には、印刷制御装置や画像処理装置の動作を制御するプログラム全体として構成するものとしてもよいし、本発明の機能を果たす部分のみを構成するものとしてもよい。また、記録媒体としては、フレキシブルディスクやCD−ROM、DVD−ROM、光磁気ディスク、ICカード、ROMカートリッジ、パンチカード、バーコードなどの符号が印刷された印刷物、コンピュータの内部記憶装置(RAMやROMなどのメモリ)および外部記憶装置などコンピュータが読み取り可能な種々の媒体を利用できる。   When the present invention is configured as a computer program or a recording medium on which the program is recorded, it may be configured as an entire program for controlling the operation of the print control apparatus or the image processing apparatus, and fulfills the functions of the present invention. It is good also as what comprises only a part. The recording medium includes a flexible disk, a CD-ROM, a DVD-ROM, a magneto-optical disk, an IC card, a ROM cartridge, a punch card, a printed matter on which a code such as a barcode is printed, a computer internal storage device (RAM or Various types of computer-readable media such as a memory such as a ROM and an external storage device can be used.

以下、本発明の実施の形態について、実施例に基づき以下の順序で説明する。
A.印刷制御装置の構成および動作概要:
B.前処理の先行処理動作:
C.画像処理実行時における先行処理待ち判断動作:
D.変形例:
Hereinafter, embodiments of the present invention will be described in the following order based on examples.
A. Overview of print control device configuration and operation:
B. Pre-processing operation of pre-processing:
C. Predecessor waiting judgment operation when executing image processing:
D. Variations:

A.印刷制御装置の構成および動作概要:
図1は、本発明の一実施例としての印刷制御装置10の構成例を示す機能ブロック図である。この印刷制御装置10は、複数のプロセッサを備えるマルチプロセッサシステムを、1つの半導体基板上に集積化したマイクロプロセッサである。各プロセッサは、それぞれ、CPUや、メモリ、バスコントローラ等の周辺回路を含むユニットを意味している。なお、本実施例では、図1に示すように、1つのメインプロセッサ100と、4つのサブプロセッサ200A〜200D(図中、「サブプロセッサ1」〜「サブプロセッサ4」と表記されている。)と、を備える場合を例に示している。また、印刷制御装置10は、複数のプロセッサの他、印刷機構部20の動作を制御する回路である機構制御部300や、操作部30による入力動作を制御する回路である入力I/F部400、表示装置である液晶パネル(LCD)40による表示動作を制御するLCDコントローラ500、カードスロット50に装着されるメモリカード52からのデータの読み取り動作を制御する回路であるカードI/F部600、専用メモリ60に対するメインプロセッサ100からのアクセスを制御する専用メモリコントローラ700、共有メモリ70に対する各プロセッサ100,200A〜200Dからのアクセスを制御する共有メモリコントローラ800等の種々の周辺回路を備えている。なお、本発明に特に関係のない周辺回路については図示を省略している。
A. Overview of print control device configuration and operation:
FIG. 1 is a functional block diagram showing a configuration example of a print control apparatus 10 as an embodiment of the present invention. The print control apparatus 10 is a microprocessor in which a multiprocessor system including a plurality of processors is integrated on a single semiconductor substrate. Each processor means a unit including peripheral circuits such as a CPU, a memory, and a bus controller. In the present embodiment, as shown in FIG. 1, one main processor 100 and four sub processors 200A to 200D (indicated as “sub processor 1” to “sub processor 4” in the figure). As an example, a case is provided. The print control apparatus 10 includes a plurality of processors, a mechanism control unit 300 that is a circuit that controls the operation of the printing mechanism unit 20, and an input I / F unit 400 that is a circuit that controls an input operation by the operation unit 30. An LCD controller 500 that controls a display operation by a liquid crystal panel (LCD) 40 that is a display device, a card I / F unit 600 that is a circuit that controls a data reading operation from a memory card 52 mounted in the card slot 50, Various peripheral circuits such as a dedicated memory controller 700 that controls access from the main processor 100 to the dedicated memory 60 and a shared memory controller 800 that controls access from the processors 100 and 200A to 200D to the shared memory 70 are provided. Note that illustration of peripheral circuits not particularly related to the present invention is omitted.

印刷制御装置10を構成する各プロセッサは、専用メモリ60に格納されている各プロセッサ用の所定のプログラムを読み出して実行することにより、それぞれ対応する各機能ブロックとして動作する。具体的には、メインプロセッサ100は、専用メモリ60に格納されているメインプロセッサ100のためのプログラムを読み出して実行することにより、以下で説明する機能ブロックとして動作する。また、各サブプロセッサ200A〜200Dは、メインプロセッサ100のためのプログラムが読み出される際に、専用メモリ60から読み出されて共有メモリ70に格納されているプログラムを、共有メモリ70から読み出して実行することにより、それぞれ、以下で説明する機能ブロックとして動作する。   Each processor constituting the print control apparatus 10 operates as a corresponding functional block by reading and executing a predetermined program for each processor stored in the dedicated memory 60. Specifically, the main processor 100 operates as a functional block described below by reading and executing a program for the main processor 100 stored in the dedicated memory 60. Further, each of the sub processors 200 </ b> A to 200 </ b> D reads the program read from the dedicated memory 60 and stored in the shared memory 70 and executes it when the program for the main processor 100 is read. Accordingly, each operates as a functional block described below.

メインプロセッサ100は、印刷処理動作を全体として制御する機能ブロック(以下、「印刷制御部」と呼ぶ。)として動作する。なお、以下では、メインプロセッサ100を、「印刷制御部100」とも呼ぶ。   The main processor 100 operates as a functional block (hereinafter referred to as a “print control unit”) that controls the print processing operation as a whole. Hereinafter, the main processor 100 is also referred to as a “print control unit 100”.

印刷制御部100は、具体的には、ファイルアクセス部110、ユーザインタフェース部(「UI部」とも呼ぶ。)120、先行処理管理部130、先行処理実行部140、カード印刷制御部150、画像処理管理部160、画像処理部170、印刷イメージ処理部180、および、印刷処理部190の各機能ブロックに区分される。   Specifically, the print control unit 100 includes a file access unit 110, a user interface unit (also referred to as “UI unit”) 120, a preceding process management unit 130, a preceding process execution unit 140, a card print control unit 150, an image process, and the like. The functional block is divided into a management unit 160, an image processing unit 170, a print image processing unit 180, and a print processing unit 190.

ファイルアクセス部110は、メモリカード52に格納されているフォト画像データの読み出しを制御する。   The file access unit 110 controls reading of photo image data stored in the memory card 52.

UI部120は、印刷を希望するフォト画像を印刷対象画像として選択するための選択画面をLCD40に表示する。   The UI unit 120 displays on the LCD 40 a selection screen for selecting a photo image desired to be printed as a print target image.

図2は、LCD40に表示される選択画面の一例を示す説明図である。図2に示すように、LCD40には、印刷対象となるフォト画像(写真)を選択するための選択画面500Mが表示されており、この選択画面500M中のプレビュー表示欄502に、プレビュー処理された印刷候補画像データの表す印刷候補画像がプレビュー表示される。なお、プレビュー表示される印刷候補画像の変更は、図2に示す選択ボタン506P,506N(操作部30の所定のボタンに対応する。また、選択ボタン506Pは前側の選択に対応し、選択ボタン506Nは後側の選択に対応する。)が操作されて、現在表示されている印刷候補画像としてのフォト画像よりも前あるいは後のフォト画像の選択がなされることにより、実行される。このとき、UI部120は、印刷候補画像として選択したフォト画像に対する前処理を先行して実行するための依頼(以下、「前処理先行処理依頼」あるいは「先行処理依頼」とも呼ぶ。)を先行処理管理部130に指示する。また、UI部120は、フォト画像データとしてメモリカード52に格納されているフォト画像を印刷候補画像としてLCD40の選択画面中に表示するための画像処理の依頼を画像処理管理部160に指示し、LCD40の選択画面中に表示する。   FIG. 2 is an explanatory diagram illustrating an example of a selection screen displayed on the LCD 40. As shown in FIG. 2, a selection screen 500M for selecting a photo image (photograph) to be printed is displayed on the LCD 40, and the preview display field 502 in the selection screen 500M has undergone preview processing. A print candidate image represented by the print candidate image data is previewed. The change of the print candidate image displayed in the preview corresponds to the selection buttons 506P and 506N (predetermined buttons on the operation unit 30 shown in FIG. 2. The selection button 506P corresponds to the selection on the front side, and the selection button 506N. Corresponds to the selection on the rear side), and is executed by selecting a photo image before or after the photo image as the currently displayed print candidate image. At this time, the UI unit 120 precedes a request (hereinafter, also referred to as “pre-processing pre-processing request” or “pre-processing request”) for performing pre-processing on the photo image selected as the print candidate image in advance. The process management unit 130 is instructed. In addition, the UI unit 120 instructs the image processing management unit 160 to perform an image processing request for displaying a photo image stored in the memory card 52 as photo image data as a print candidate image on the selection screen of the LCD 40, and Displayed on the selection screen of the LCD 40.

次に、UI部120は、ユーザが操作部30を操作して、選択画面中に表示したフォト画像の印刷枚数を設定することにより、印刷対象画像として指定し、印刷候補画像が印刷対象画像として設定されたことを先行処理管理部130に通知する。なお、印刷対象画像としての指定は、具体的には、図2に示す枚数指定ボタン508U,508D(操作部30の所定のボタンに対応し、枚数指定ボタン508Uが枚数増加指定ボタンであり、枚数指定ボタン508Dが枚数減少指定ボタンである。)のうち、枚数指定ボタン508Dを操作して、印刷枚数が0枚から1枚以上に設定されることにより、実行される。   Next, the UI unit 120 is designated as a print target image by setting the number of printed photo images displayed on the selection screen by the user operating the operation unit 30, and the print candidate image is set as the print target image. The advance processing management unit 130 is notified of the setting. Specifically, the designation as an image to be printed is specifically the number designation buttons 508U and 508D shown in FIG. 2 (corresponding to predetermined buttons on the operation unit 30, the number designation button 508U is a number increment designation button, The designation button 508D is a number reduction designation button), and is executed by operating the number designation button 508D to set the number of prints from 0 to 1 or more.

そして、UI部120は、ユーザが操作部30を操作することによって印刷の実行を指示すると、具体的には、図2に示す印刷開始ボタンを操作して印刷開始を指示すると、これに従って、印刷の実行をカード印刷制御部150に指示する。   Then, when the user instructs execution of printing by operating the operation unit 30, specifically, when the user instructs the start of printing by operating the print start button illustrated in FIG. 2, the UI unit 120 performs printing. Is executed to the card print control unit 150.

先行処理管理部130は、後述するように、UI部120からの前処理先行処理依頼を受けて、先行処理実行部140に前処理の実行を指示するとともに、前処理の先行処理結果を管理する。   As will be described later, the preceding process management unit 130 receives a preprocessing preceding process request from the UI unit 120, instructs the preceding process execution unit 140 to execute the preprocessing, and manages the preceding process result of the preprocessing. .

先行処理実行部140は、先行処理管理部130からの前処理の実行指示に従って、後述する画像処理における補正処理で利用される補正パラメータを求めるための前処理を実行する。なお、前処理には、印刷対象画像の特徴を示す特徴量としての最大輝度、最小輝度、平均輝度、中央輝度等を求めるための統計処理や、顔の存在を調べる顔認識処理、赤目を補正するための赤目解析処理等の少なくとも一つが含まれている。本例では、統計処理、顔認識処理、赤目解析処理の全てを行うこととする。また、通常の前処理では、統計処理や顔認識処理において、印刷対象画像データを所定の割合でサンプリングすることにより作成したヒストグラムに基づいて実行するため、本例の前処理は、このサンプリング処理も含むものとして説明する。   The preceding process execution unit 140 executes preprocessing for obtaining correction parameters used in correction processing in image processing, which will be described later, in accordance with a preprocessing execution instruction from the preceding process management unit 130. The pre-processing includes statistical processing for determining the maximum luminance, minimum luminance, average luminance, central luminance, etc. as feature quantities indicating the characteristics of the image to be printed, face recognition processing for examining the presence of a face, and red-eye correction. Includes at least one of red-eye analysis processing and the like. In this example, all of statistical processing, face recognition processing, and red-eye analysis processing are performed. Further, in normal preprocessing, statistical processing and face recognition processing are executed based on a histogram created by sampling print target image data at a predetermined rate. It will be described as including.

カード印刷制御部150は、UI部120からの印刷実行の指示を受けると、画像処理管理部160の管理の下で実行される画像処理部170による画像処理、印刷イメージ処理部170による印刷イメージデータの生成処理、および、印刷処理部190による印刷処理を制御し、印刷を実行する。   Upon receiving a print execution instruction from the UI unit 120, the card print control unit 150 performs image processing by the image processing unit 170 executed under the management of the image processing management unit 160, and print image data by the print image processing unit 170. Generation processing and print processing by the print processing unit 190 are controlled, and printing is executed.

画像処理管理部160は、画像処理部170に画像処理の実行を指示し、画像処理部170で実行する画像処理の動作を制御する。   The image processing management unit 160 instructs the image processing unit 170 to execute image processing, and controls the image processing operation performed by the image processing unit 170.

画像処理部170は、先行処理の処理待ちをしない場合には、先行処理実行部140において実行中の先行処理を中止し、前処理を実行した後、実際に印刷のための画像処理(以下、「本処理」とも呼ぶ)を実行する。一方、先行処理の処理待ちをする場合には、先行処理実行部140からの先行処理終了通知を待って、本処理を実行する。   If the image processing unit 170 does not wait for the preceding process, the image processing unit 170 cancels the preceding process being executed in the preceding process execution unit 140 and executes the pre-process. (Also called “main processing”). On the other hand, when waiting for the preceding process, the process is executed after waiting for the preceding process end notification from the preceding process executing unit 140.

なお、メモリカード52に格納されているフォト画像データは、例えば、JPEG形式の圧縮データである。そこで、画像処理部170は、本処理の一つとして、メモリカード52から読み出した印刷対象画像データを、RGB形式の画像データに展開処理するデコード処理を実行する。   The photo image data stored in the memory card 52 is, for example, compressed data in JPEG format. Therefore, as one of the processes, the image processing unit 170 executes a decoding process for expanding the print target image data read from the memory card 52 into RGB format image data.

また、画像処理部170は、上記デコード処理のほか、印刷対象画像データを展開処理することにより得られた画像データ(「原画像データ」あるいは「展開画像データ」とも呼ぶ)に対して、前処理により求められた補正パラメータに基づいて、色補正、明るさ補正、コントラスト補正、彩度補正、ノイズ除去、平滑化、輪郭補正等の種々の補正処理うち、少なくとも一つを施す画像補正処理を実行する。さらに、また、画像処理部170は、印刷対象画像データの解像度を変換する解像度変換処理、印刷対象画像データの表す画像を印刷媒体上の実際の印刷位置に配置した画像データ(「レイアウト画像データ」とも呼ぶ。)を生成するレイアウト処理実行する。   In addition to the decoding process, the image processing unit 170 performs preprocessing on image data (also referred to as “original image data” or “development image data”) obtained by developing the print target image data. Based on the correction parameters obtained by the above, an image correction process is performed that applies at least one of various correction processes such as color correction, brightness correction, contrast correction, saturation correction, noise removal, smoothing, and contour correction. To do. Furthermore, the image processing unit 170 also performs resolution conversion processing for converting the resolution of the print target image data, image data in which an image represented by the print target image data is arranged at an actual print position on the print medium (“layout image data”). (Also referred to as a layout process).

なお、画像処理部170は、実際には、上記画像処理を実行せず、後述するように、画像処理制御部として動作する第1のサブプロセッサ200Aに対して、具体的な処理を指示し、指示のあった処理に対応する機能ブロックとして動作する第1のサブプロセッサ200A〜第3のサブプロセッサ200Cが、その処理を実行する。   Note that the image processing unit 170 does not actually execute the image processing, but instructs the first sub-processor 200A operating as the image processing control unit to perform specific processing, as will be described later. The first sub processor 200A to the third sub processor 200C that operate as functional blocks corresponding to the instructed process execute the process.

印刷イメージ処理部180は、カード印刷制御部150の制御下で、画像処理部170において画像処理(本処理)が施された画像データに基づいて、印刷イメージデータを生成する。印刷イメージデータとは、印刷媒体上に実際に画像を印刷するために用いられるデータであり、例えば、インクジェット形式の印刷装置の場合には、印刷媒体上のドットの配置を表す2値データを意味している。ただし、印刷イメージ処理部180は、画像処理部170と同様に、自身が実際に印刷イメージデータの生成を実行するのではなく、印刷イメージ処理実行部として動作する第4のサブプロセッサ200Dに対して、印刷イメージデータの生成処理を指示することにより、第4のサブプロセッサ200Dが印刷イメージデータの生成を実行する。   The print image processing unit 180 generates print image data based on the image data subjected to image processing (main processing) in the image processing unit 170 under the control of the card print control unit 150. The print image data is data used to actually print an image on a print medium. For example, in the case of an ink jet type printing apparatus, it means binary data representing the arrangement of dots on the print medium. is doing. However, as with the image processing unit 170, the print image processing unit 180 does not actually generate print image data, but instead performs the fourth sub-processor 200D that operates as a print image processing execution unit. The fourth sub-processor 200D generates print image data by instructing print image data generation processing.

印刷処理部190は、カード印刷制御部150の制御下で、印刷イメージ処理部180で生成された印刷イメージデータに基づいて、機構制御部300を介して印刷機構部20を制御することにより、実際の印刷を実行する。   The print processing unit 190 actually controls the print mechanism unit 20 via the mechanism control unit 300 based on the print image data generated by the print image processing unit 180 under the control of the card print control unit 150. Execute printing.

第1のサブプロセッサ200Aは、画像処理部170からの指示に従って画像処理動作を制御する機能ブロック(画像処理制御部)として動作する。なお、以下では、第1のサブプロセッサ200Aを、「画像処理制御部200A」とも呼ぶ。   The first sub-processor 200A operates as a functional block (image processing control unit) that controls an image processing operation in accordance with an instruction from the image processing unit 170. Hereinafter, the first sub-processor 200A is also referred to as “image processing control unit 200A”.

第2のサブプロセッサ200Bは、画像処理制御部200Aからの指示に従って、JPEG形式の画像データのデコード処理(「画像展開処理」とも呼ぶ。)を実行する機能ブロック(以下、「デコード処理実行部」あるいは「画像展開部」と呼ぶ。)として動作する。なお、以下では、第2のサブプロセッサ200Bを、「デコード処理実行部200B」と呼ぶ場合もある。   The second sub-processor 200B executes a functional block (hereinafter referred to as “decode processing execution unit”) that executes JPEG format image data decoding processing (also referred to as “image development processing”) in accordance with an instruction from the image processing control unit 200A. Alternatively, it is called an “image development unit”). Hereinafter, the second sub-processor 200B may be referred to as a “decoding process execution unit 200B”.

デコード処理実行部200Bは、画像処理部170から画像処理制御部200Aを介してデコード処理が指示された場合に、実際に画像デコード処理を実行する。   The decoding process execution unit 200B actually executes the image decoding process when the decoding process is instructed from the image processing unit 170 via the image processing control unit 200A.

第3のサブプロセッサ200Cは、後述するように、画像処理制御部200Aからの指示に従って、画像補正処理を実行する機能ブロック(以下、「補正処理実行部」と呼ぶ。)として動作する。なお、以下では、第3のサブプロセッサ200Cを、「補正処理実行部200C」とも呼ぶ。   As will be described later, the third sub-processor 200C operates as a functional block that executes image correction processing (hereinafter referred to as “correction processing execution unit”) in accordance with an instruction from the image processing control unit 200A. Hereinafter, the third sub-processor 200C is also referred to as a “correction processing execution unit 200C”.

第4のサブプロセッサ200Dは、上述したように、画像処理部170において画像処理が施された画像データに基づいて、印刷イメージデータを生成する処理を実行する機能ブロック(印刷イメージ処理実行部)として動作する。なお、以下では、第4のサブプロセッサ200Dを、「印刷イメージ処理実行部200D」とも呼ぶ。   As described above, the fourth sub-processor 200D serves as a functional block (print image processing execution unit) that executes processing for generating print image data based on the image data subjected to the image processing in the image processing unit 170. Operate. Hereinafter, the fourth sub processor 200D is also referred to as a “print image processing execution unit 200D”.

ところで、本発明の特徴は、印刷の実行が指示されたときに、先行処理実行部140において前処理の先行処理が実行されている場合において、その実行中の前処理が、画像処理部170に対して指示がなされた印刷対象画像についての前処理である場合には、その実行中の前処理が終了するのを待つか、あるいは、その先行処理を中止して、画像処理部170で新たに前処理を実行するか、先行処理の処理済量に応じて判断し、その判断結果に応じた処理を実行する点にある。そこで、以下では、先行処理の処理待ち判断動作に関係する、先行処理実行部140における前処理の先行処理動作、および、画像処理部170における先行処理待ち判断動作について説明する。   By the way, when the execution of printing is instructed, the feature of the present invention is that when the preceding process is executed in the preceding process executing unit 140, the preprocessing being executed is sent to the image processing unit 170. In the case of pre-processing for an image to be printed for which an instruction has been given, the image processing unit 170 newly waits for the pre-processing being executed to end or cancels the preceding processing and starts a new process. Whether pre-processing is executed or not is determined according to the processed amount of the preceding processing, and processing according to the determination result is executed. Therefore, in the following, the preceding processing preceding processing operation in the preceding processing execution unit 140 and the preceding processing waiting determination operation in the image processing unit 170 related to the processing waiting determination operation in the preceding processing will be described.

B.前処理の先行処理動作:
図3は、先行処理実行部140で実行される前処理の先行処理動作について示す説明図である。先行処理管理部130から前処理の先行処理依頼がなされると、先行処理実行部140では、以下の処理が実行される。
B. Pre-processing operation of pre-processing:
FIG. 3 is an explanatory diagram showing the pre-processing operation of the pre-processing executed by the pre-processing execution unit 140. When a preceding process request for preprocessing is made from the preceding process management unit 130, the preceding process execution unit 140 executes the following process.

まず、専用メモリ60に前処理のためのワーク用メモリ領域を確保する(ステップS110)。   First, a work memory area for preprocessing is secured in the dedicated memory 60 (step S110).

次に、画像処理部170から先行処理の中止指示が有ったか否か判断する(ステップS120)。先行処理の中止指示がない場合には(ステップS120:NO)、後述するステップS170における判断処理によって、次のステップS180の処理が開始される(ステップS170:YES)のではなく、ステップS120の処理へ戻ってステップS10〜ステップS160の処理が場合(ステップS170:NO)には、ステップS130〜ステップS160の処理を繰り返し実行する。一方、先行処理の中止指示が有った場合には(ステップS120:YES)、この先行処理動作を終了する。   Next, it is determined whether or not there is an instruction to cancel the preceding process from the image processing unit 170 (step S120). If there is no instruction to stop the preceding process (step S120: NO), the process of the next step S180 is not started (step S170: YES) by the determination process in step S170 described later, but the process of step S120. If the process returns to step S10 to step S160 (step S170: NO), the process from step S130 to step S160 is repeated. On the other hand, when there is an instruction to cancel the preceding process (step S120: YES), the preceding process operation is terminated.

ステップS130では、先行処理の指示があった印刷候補画像について画像デコード処理を実行し、ステップS140では、画像デコード処理により得られた印刷候補画像データを所定の割合でサンプリングし、ヒストグラムを作成する。   In step S130, an image decoding process is executed for the print candidate image for which an instruction for the preceding process has been issued. In step S140, the print candidate image data obtained by the image decoding process is sampled at a predetermined rate to create a histogram.

そして、ステップS150では、印刷候補画像データの全体のうちの1/2以上についてサンプリング処理が終了しているか否か判断する。1/2以上についてサンプリング処理が終了している場合には(ステップS150:YES)、ステップS160において、先行処理の終了を待つべきと判断し、処理待ちフラグをセットし、ステップS170の処理を実行する。一方、1/2以上についてのサンプリング処理が終了していない場合には(ステップS150:NO)、そのまま、ステップS170の処理を実行する。   In step S150, it is determined whether or not the sampling process has been completed for ½ or more of the entire print candidate image data. If the sampling process has been completed for ½ or more (step S150: YES), it is determined in step S160 that the preceding process should be completed, a process waiting flag is set, and the process of step S170 is executed. To do. On the other hand, if the sampling process for 1/2 or more has not been completed (step S150: NO), the process of step S170 is executed as it is.

ステップS170では、印刷候補画像データの全体についてデコード処理およびサンプリング処理が終了したか否か判断する。印刷候補画像データの全体についてデコード処理およびサンプリング処理が終了していない場合には(ステップS170:NO)、ステップS120に戻って、印刷候補画像データの全体についてデコード処理およびサンプリング処理が終了する(ステップS170:YES)まで、ステップS120〜ステップS160の処理を繰り返す。一方、印刷候補画像データの全体についてデコード処理およびサンプリング処理が終了した場合には(ステップS170:YES)、ステップS180の処理を実行する。   In step S170, it is determined whether the decoding process and the sampling process have been completed for the entire print candidate image data. If the decoding process and the sampling process are not completed for the entire print candidate image data (step S170: NO), the process returns to step S120, and the decoding process and the sampling process are completed for the entire print candidate image data (step S170). Steps S120 to S160 are repeated until S170: YES). On the other hand, when the decoding process and the sampling process are completed for the entire print candidate image data (step S170: YES), the process of step S180 is executed.

ステップS180では補正パラメータ決定処理を実行する。なお、補正パラメータ決定処理としては、上記したように、作成したヒストグラムに基づいて印刷対象画像の特徴を示す特徴量としての最大輝度、最小輝度、平均輝度、中央輝度等を求めるための統計処理や、顔の存在を調べる顔認識処理、赤目を補正するための赤目解析処理等が実行される。   In step S180, correction parameter determination processing is executed. As described above, the correction parameter determination processing includes statistical processing for obtaining the maximum luminance, the minimum luminance, the average luminance, the central luminance, and the like as the feature amount indicating the characteristics of the print target image based on the created histogram. Then, face recognition processing for examining the presence of a face, red-eye analysis processing for correcting red eyes, and the like are executed.

そして、補正パラメータ決定処理の実行後、ステップS190において、印刷候補画像の先行処理終了を先行処理管理部130に通知するとともに、印刷候補画像が印刷対象画像である場合には、画像処理部170にも、先行処理の終了を通知する。そして、ステップS200において、確保していたワーク用メモリ領域を開放して、この先行処理を終了する。   After executing the correction parameter determination process, in step S190, the preceding process management unit 130 is notified of the completion of the preceding process of the print candidate image, and if the print candidate image is a print target image, the image processing unit 170 is notified. Also notifies the end of the preceding process. In step S200, the secured work memory area is released, and the preceding process is terminated.

C.画像処理実行時における先行処理待ち判断動作:
図4は、画像処理部170で実行される画像処理動作について示す説明図である。画像処理管理部160から印刷対象画像について画像処理の実行が指示されると、画像処理部170では、以下の処理が実行される。
C. Predecessor waiting judgment operation when executing image processing:
FIG. 4 is an explanatory diagram showing an image processing operation executed by the image processing unit 170. When the image processing management unit 160 instructs execution of image processing on the print target image, the image processing unit 170 performs the following processing.

まず、ステップS310では、実行が指示された印刷対象画像についての前処理が先行処理実行部140によって先行処理中であるか否か判断し、ステップS320では、実行が指示された印刷対象画像についての前処理が先行処理済であるか否か判断する。   First, in step S310, it is determined whether or not preprocessing for a print target image for which execution has been instructed is being performed in advance by the preceding process execution unit 140. In step S320, for the print target image for which execution has been instructed. It is determined whether or not the preprocessing has been performed in advance.

まず、指示された印刷対象画像についての前処理が先行処理中である場合には(ステップS310:YES)、先行処理実行部140によって設定される処理待ちフラグを参照し(ステップS330)、フラグがセットされているか否か判断する(ステップS330)。このとき、フラグがセットされている場合には(ステップS330:YES)、先行処理の終了を待つために、先行処理実行部140から先行処理の終了の通知があるまで待機する(ステップS350:NO)。先行処理の終了通知が有った場合には(ステップS350:YES)、本処理を実行する(ステップS380)。一方、フラグがセットされていない場合には(ステップS330:NO)、先行処理実行部140に対して先行処理の中止を指示し(ステップS360)、前処理を実行(ステップS370)した後で、本処理を実行する(ステップS380)。   First, when the preprocessing for the instructed print target image is in the preceding process (step S310: YES), the process waiting flag set by the preceding process execution unit 140 is referred to (step S330), and the flag is set. It is determined whether it is set (step S330). At this time, if the flag is set (step S330: YES), in order to wait for the end of the preceding process, the process waits until a notice of the end of the preceding process is received from the preceding process execution unit 140 (step S350: NO). ). When there is a notice of completion of the preceding process (step S350: YES), this process is executed (step S380). On the other hand, when the flag is not set (step S330: NO), the preceding process execution unit 140 is instructed to stop the preceding process (step S360), and after executing the preprocess (step S370), This process is executed (step S380).

図5は、ステップS370で実行される前処理を示す説明図である。前処理が開始されると、まず、専用メモリ60に前処理のためのワーク用メモリ領域を確保する(ステップS410)。   FIG. 5 is an explanatory diagram showing the preprocessing executed in step S370. When preprocessing is started, first, a work memory area for preprocessing is secured in the dedicated memory 60 (step S410).

次に、後述するステップS440における判断処理によって、ステップS450の処理が開始される(ステップS440:YES)までの間、ステップS420,S430の処理を繰り返し実行する。   Next, the processing in steps S420 and S430 is repeatedly executed until the processing in step S450 is started (step S440: YES) by the determination processing in step S440 described later.

ステップS420では、印刷対象画像について画像デコード処理を実行し、ステップS430では、画像デコード処理により得られた印刷対象画像データを所定の割合でサンプリングし、ヒストグラムを作成する。なお、ステップS420における画像デコード処理は、画像処理部170が実際に実行するのではなく、画像処理制御部200Aの制御下でデコード処理実行部200Bが実行する。   In step S420, an image decoding process is executed for the print target image, and in step S430, the print target image data obtained by the image decoding process is sampled at a predetermined rate to create a histogram. Note that the image decoding process in step S420 is not actually executed by the image processing unit 170, but is executed by the decoding process execution unit 200B under the control of the image processing control unit 200A.

ステップS440では、デコード処理およびサンプリング処理が印刷対象画像の全体について行われて処理が終了したか否か判断する。処理が終了していない場合には(ステップS440:NO)、ステップS420に戻って、ステップS420,S430の処理を繰り返す。一方、処理が終了した場合には(ステップS440:YES)、ステップS450で補正パラメータ決定処理を実行する。そして、補正パラメータ決定処理の実行後、ステップS460では、確保していたワーク用メモリ領域を開放し、この前処理を終了する。   In step S440, it is determined whether the decoding process and the sampling process are performed on the entire print target image and the process is completed. If the process has not been completed (step S440: NO), the process returns to step S420, and the processes of steps S420 and S430 are repeated. On the other hand, when the process is completed (step S440: YES), a correction parameter determination process is executed in step S450. After execution of the correction parameter determination process, in step S460, the secured work memory area is released, and the preprocess is terminated.

なお、上記ステップS410〜ステップS460の処理は、図3のステップS110,S130,S140,S160,S180,S200と同様の処理である。   Note that the processes in steps S410 to S460 are the same as steps S110, S130, S140, S160, S180, and S200 in FIG.

次に、指示された印刷対象画像についての前処理が先行処理ではなく(ステップS310:NO)、かつ、既に実行されて処理済でもない場合には(ステップS320:NO)、上記したステップS360において、先行処理実行部140に対して先行処理の中止を指示し、ステップS370で前処理を実行した後で、ステップS380で本処理を実行する。   Next, when the pre-processing for the instructed print target image is not the preceding process (step S310: NO) and has not been executed yet (step S320: NO), the above-described step S360 is performed. Then, the preceding process execution unit 140 is instructed to cancel the preceding process, and after executing the preprocess in step S370, the process is executed in step S380.

また、指示された印刷対象画像についての前処理が先行処理ではなく、かつ、既に実行されて処理済である場合には(ステップS320:YES)、そのまま、上記したステップS380の0の本処理を実行する。   If the preprocessing for the instructed print target image is not the preceding process and has already been executed and processed (step S320: YES), the main process of 0 in step S380 described above is performed as it is. Execute.

以上説明したように、上記実施例の印刷制御装置10では、画像処理部170に対して印刷対象画像についての画像処理の実行が指示された際に、指示された印刷対象画像についての前処理が先行処理実行部140によって先行処理中であるか否か判断し、指示された印刷対象画像についての前処理が先行処理中であった場合には、その先行処理の中で実行されているサンプリング処理が全体の1/2以上終了している場合には、先行処理の終了を待ち、その先行処理結果を利用して本処理を実行することができる。また、サンプリング処理が全体の1/2未満しか終了していない場合には、実行中の先行処理を中止して、新たに画像処理部170によって、先行処理実行部140に比べて高速に前処理を実行し、本処理を実行することができる。   As described above, in the print control apparatus 10 of the above-described embodiment, when the image processing unit 170 is instructed to execute image processing on the print target image, the preprocessing for the instructed print target image is performed. It is determined whether or not the preceding process is being performed by the preceding process execution unit 140, and if the preprocessing for the instructed print target image is in the preceding process, the sampling process that is being performed in the preceding process Can be executed by using the result of the preceding process after waiting for the preceding process to end. Also, if the sampling process has finished less than half of the whole, the preceding process being executed is stopped, and a new preprocessing is performed by the image processing unit 170 faster than the preceding process executing unit 140. To execute this processing.

また、指示された印刷対象画像についての前処理が先行処理中でなく、処理済でもなかった場合には、実行中の先行処理を中止して、画像処理部170によって、印刷対象画像についての前処理を、先行処理実行部140に比べて高速に実行し、本処理を実行することができる。   If the preprocessing for the instructed print target image is not in the preceding process and has not been processed, the preceding process being executed is stopped and the image processing unit 170 causes the previous processing for the print target image to be performed. The process can be executed at a higher speed than the preceding process execution unit 140 to execute this process.

ところで、例えば、印刷の実行が指示された際に、先行処理が実行されている途中である場合に、この先行処理を終了するまで、次ぎの処理の実行を待ち合わせるとすると、例えば、この実行途中の先行処理が、印刷対象画像とは関係ない画像についてのものである場合には、その先行処理の終了後、画像処理部170によって、印刷対対象画像についての前処理を実行することとなり、先行処理の終了を待っていた時間が無駄な待ち時間となり、印刷が指示された印刷対象画像を印刷するための画像処理が開始されるまでの時間が遅くなってしまう。   By the way, for example, when the execution of printing is instructed and the preceding process is being executed, if the next process is waited until the preceding process is terminated, for example, If the preceding process is for an image that is not related to the print target image, the preprocessing for the print target image is executed by the image processing unit 170 after the preceding process ends. The time waiting for the end of the processing becomes a useless waiting time, and the time until image processing for printing the print target image instructed to print is delayed.

また、印刷の実行が指示された際に、実行途中の先行処理を中止して、画像処理部170によって、印刷対象画像についての前処理を実行することとすると、終了直前の先行処理であっても、その先行処理が中止されてしまうため、先行処理の時間が無駄となってしまい、結果として、印刷が指示された印刷対象画像を印刷するための画像処理が開始されるまでの時間が遅くなってしまう。   Further, when the execution of printing is instructed, the preceding process in the middle of execution is stopped, and the image processing unit 170 executes the preprocessing for the print target image. However, since the preceding process is canceled, the time for the preceding process is wasted, and as a result, the time until the image process for printing the print target image instructed for printing is started is delayed. turn into.

しかしながら、上記したように、実施例の印刷制御装置10では、印刷の実行が指示された際に、実行途中の先行処理が、印刷対象画像とは関係ない画像についての前処理である場合には、その先行処理を中止して、画像処理部170によって、印刷対象画像についての前処理を高速に実行することができるので、実行が指示された印刷対象画像とは関係のない画像についての先行処理の処理待ちによる無駄な時間を省ことが可能である。これにより、印刷を希望する画像として指定された印刷対象画像を印刷するための画像処理が開始されるまでの時間を短縮し、結果として実際の印刷処理が開始されるまでの待ち時間を短縮することが可能となる。   However, as described above, in the print control apparatus 10 according to the embodiment, when the execution of printing is instructed, the preceding process in the middle of execution is a preprocess for an image that is not related to the print target image. Since the preceding process is canceled and the image processing unit 170 can execute the pre-processing for the print target image at high speed, the pre-processing for the image that is not related to the print target image for which execution has been instructed. It is possible to save useless time due to waiting for processing. As a result, the time until image processing for printing the image to be printed designated as the image desired to be printed is shortened, and as a result, the waiting time until actual printing processing is started is shortened. It becomes possible.

また、実施例の印刷制御装置10では、印刷の実行が指示された際に実行途中の先行処理が、印刷対象画像についての前処理の先行処理であった場合に、その前処理中のサンプリング処理が全体の1/2以上終了している場合には、その先行処理の終了を待ち、1/2以上終了していない場合には、その先行処理を中止して、画像処理部170によって、高速に新たに前処理を実行することができるので、先行処理の時間が無駄となってしまうことを抑制することが可能である。すなわち、画像処理部170によって新たに前処理を実行するよりも、先行処理の終了を待ったほうが効果的な場合には、先行処理の終了を待ち、先行処理の終了を待つよりも、画像処理部170によって前処理を高速に実行したほうが効果的な場合には、先行処理を中止して、画像処理部170によって前処理を実行することができる。この結果、印刷を希望する画像として指定された印刷対象画像を印刷するための画像処理が開始されるまでの時間を短縮し、結果として実際の印刷処理が開始されるまでの待ち時間を短縮することが可能となる。   In the printing control apparatus 10 according to the embodiment, when the preceding process in the middle of execution when printing is instructed is the preceding process of the preprocess for the print target image, the sampling process during the preprocess is performed. Is finished at a half or more of the whole, waits for the completion of the preceding process, and when not finished at a half or more, the preceding process is stopped and the image processing unit 170 In addition, since the pre-processing can be newly executed, it is possible to prevent the time for the pre-processing from being wasted. That is, when it is more effective to wait for the end of the preceding process than to newly perform the preprocessing by the image processing unit 170, the image processing unit waits for the end of the preceding process and waits for the end of the preceding process. When it is more effective to execute the preprocessing at 170 at a high speed, the preceding process can be stopped and the preprocessing can be executed by the image processing unit 170. As a result, the time until image processing for printing a print target image designated as an image desired to be printed is shortened, and as a result, the waiting time until actual printing processing is started is shortened. It becomes possible.

以上説明したように、実施例の印刷制御装置10では、前処理の先行処理の結果を効果的に活用し、前処理の先行処理の実施によって、印刷対象画像についての画像処理(本処理)の開始までの時間が長くなって、実際の印刷処理が開始されるまでの時間が長くなってしまうのを抑制することが可能である。   As described above, the print control apparatus 10 according to the embodiment effectively uses the result of the preceding process of the preprocessing and performs the image processing (main process) on the print target image by performing the preceding process of the preprocessing. It is possible to suppress an increase in the time until the start and an increase in the time until the actual printing process is started.

D.変形例:
以上、本発明の実施の形態について説明したが、本発明はこのような実施の形態になんら限定されるものではなく、その要旨を逸脱しない範囲において種々の態様にて実施することが可能であり、例えば次のような変形も可能である。
D. Variations:
As mentioned above, although embodiment of this invention was described, this invention is not limited to such embodiment at all, In the range which does not deviate from the summary, it is possible to implement in various aspects. For example, the following modifications are possible.

上記実施例では、サンプリング処理の処理量(サンプリング処理量)が、全体の1/2以上終了したか否かで処理待ちフラグをセットするか否か判断する場合を例に説明しているが、このサンプリング処理量は、これに限定されるものではなく、以下の観点から決定することができる。すなわち、先行処理実行部140において実行される先行処理の終了を待つほうが、先行処理を中止して、画像処理部170によって新たに前処理を実行するよりも、本処理を開始するまでの時間が短縮可能な値を、画像処理部170による前処理に要する時間と、先行処理実行部140による前処理に要する時間とから、決定すればよい。   In the above-described embodiment, a case has been described as an example in which it is determined whether or not to set the processing wait flag based on whether or not the processing amount of the sampling processing (sampling processing amount) has been finished by more than half of the whole. This sampling processing amount is not limited to this, and can be determined from the following viewpoints. In other words, waiting for the end of the preceding process executed in the preceding process execution unit 140 is more time to start this process than stopping the preceding process and newly executing the preprocess by the image processing unit 170. A shortenable value may be determined from the time required for the preprocessing by the image processing unit 170 and the time required for the preprocessing by the preceding process execution unit 140.

また、サンプリング処理量ではなく、デコード処理の処理量、パラメータ決定処理に含まれる統計処理、顔認識処理、赤目解析処理等の処理量や処理時間等に基づいて判断するようにしてもよい。   Further, instead of the sampling processing amount, the determination may be made based on the processing amount of decoding processing, statistical processing included in the parameter determination processing, processing amount of face recognition processing, red-eye analysis processing, processing time, and the like.

また、上記実施例では、印刷制御装置10は、画像処理制御部200A、デコード処理実行部200B,補正処理実行部200C、および、印刷イメージ処理実行部200Dを、それぞれ、CPUや、メモリ、バスコントローラ等の周辺回路を含むプロセッサユニットにより構成し、それぞれ、対応するプロセッサ用のプログラム(ソフトウェア)を読み出して実行することにより実現する場合を例に説明したが、それぞれを、ハードウェアにより構成するようにしてもよい。   In the above-described embodiment, the print control apparatus 10 includes the image processing control unit 200A, the decode processing execution unit 200B, the correction processing execution unit 200C, and the print image processing execution unit 200D, respectively, a CPU, a memory, and a bus controller. In the above description, an example has been described in which each is realized by reading and executing a program (software) for a corresponding processor, but each is configured by hardware. May be.

本発明の一実施例としての印刷制御装置10の構成例を示す機能ブロック図である。1 is a functional block diagram illustrating a configuration example of a print control apparatus 10 as an embodiment of the present invention. LCD40に表示される選択画面の一例を示す説明図である。4 is an explanatory diagram illustrating an example of a selection screen displayed on an LCD 40. FIG. 先行処理実行部140で実行される前処理の先行処理動作について示す説明図である。It is explanatory drawing shown about the predecessor operation | movement of the preprocess performed by the predecessor process execution part 140. 画像処理部170で実行される画像処理動作について示す説明図である。FIG. 10 is an explanatory diagram showing an image processing operation executed by an image processing unit 170. ステップS370で実行される前処理を示す説明図である。It is explanatory drawing which shows the pre-processing performed by step S370.

符号の説明Explanation of symbols

10…印刷制御装置
20…印刷機構部
30…操作部
40…液晶パネル(LCD)
50…カードスロット
52…メモリカード
60…専用メモリ
70…共有メモリ
100…メインプロセッサ(印刷制御部)
110…ファイルアクセス部
120…ユーザインタフェース部(UI部)
130…先行処理管理部
140…先行処理実行部
150…カード印刷制御部
160…画像処理管理部
170…画像処理部
180…印刷イメージ処理部
190…印刷処理部
200A…第1のサブプロセッサ(画像処理制御部)
200B…第2のサブプロセッサ(デコード処理実行部)
200C…第3のサブプロセッサ(補正処理実行部)
200D…第4のサブプロセッサ(印刷イメージ処理実行部)
300…機構制御部
500M…選択画面
502…プレビュー表示欄
504…印刷枚数表示部
506N…選択ボタン
506P…選択ボタン
508D…枚数指定ボタン
508U…枚数指定ボタン
510…印刷開始ボタン
400…入力I/F部
600…カードI/F部
700…専用メモリコントローラ
800…共有メモリコントローラ
DESCRIPTION OF SYMBOLS 10 ... Print control apparatus 20 ... Printing mechanism part 30 ... Operation part 40 ... Liquid crystal panel (LCD)
50 ... Card slot 52 ... Memory card 60 ... Dedicated memory 70 ... Shared memory 100 ... Main processor (printing control unit)
110: File access unit 120 ... User interface unit (UI unit)
DESCRIPTION OF SYMBOLS 130 ... Advance process management part 140 ... Advance process execution part 150 ... Card print control part 160 ... Image process management part 170 ... Image process part 180 ... Print image process part 190 ... Print process part 200A ... 1st sub processor (image process) Control part)
200B 2nd sub-processor (decoding processing execution unit)
200C ... Third sub-processor (correction processing execution unit)
200D: Fourth sub-processor (print image processing execution unit)
DESCRIPTION OF SYMBOLS 300 ... Mechanism control part 500M ... Selection screen 502 ... Preview display column 504 ... Print number display part 506N ... Selection button 506P ... Selection button 508D ... Number specification button 508U ... Number specification button 510 ... Print start button 400 ... Input I / F part 600: Card I / F unit 700: Dedicated memory controller 800 ... Shared memory controller

Claims (3)

印刷の開始が指示された印刷対象画像について、前記印刷対象画像の画質を補正するための補正パラメータを決定するための前処理と、前記前処理で決定された補正パラメータに基づく前記印刷対象画像を表す印刷対象画像データの補正処理を含み、前記印刷対象画像の印刷を実行するための画像処理と、を行う印刷制御装置であって、
印刷の開始を示す印刷実行指示が発生する前に、前記前処理を先行して実行するための先行処理実行部と、
前記印刷実行指示に従って、前記画像処理を実行するための画像処理部と、
を備え、
前記画像処理部は、
前記印刷実行指示に従って前記画像処理が指示された際に、指示された画像処理の対象である印刷対象画像についての前処理が、前記先行処理実行部で実行されている途中である場合において、
前記先行処理部で実行途中の前処理の処理量が所定量に達しているときには、前記先行処理部で実行されている前処理の終了を待ち、前記先行処理部で実行された前処理の処理結果を活用して、前記補正処理を実行し、
前記先行処理部で実行途中の前処理の処理量が前記所定量に達していないときには、前記先行処理部で実行されている前処理を中止させて、前記指示された画像処理の対象である印刷対象画像についての前処理を、前記先行処理部における処理よりも高速に実行し、実行した前処理の処理結果を活用して、前記補正処理を実行する、
ことを特徴とする印刷制御装置。
For a print target image instructed to start printing, preprocessing for determining a correction parameter for correcting the image quality of the print target image, and the print target image based on the correction parameter determined in the preprocessing A printing control apparatus that includes a correction process of print target image data that represents, and performs image processing for executing printing of the print target image,
A pre-processing execution unit for executing the pre-processing in advance before a print execution instruction indicating the start of printing occurs;
An image processing unit for executing the image processing according to the print execution instruction;
With
The image processing unit
When the image processing is instructed according to the print execution instruction, the preprocessing for the print target image that is the target of the instructed image processing is in the middle of being executed by the preceding process execution unit.
When the processing amount of the preprocessing being executed in the preceding processing unit reaches a predetermined amount, the processing of the preprocessing executed in the preceding processing unit is waited for completion of the preprocessing executed in the preceding processing unit. Using the result, execute the correction process,
When the processing amount of the preprocessing being executed in the preceding processing unit does not reach the predetermined amount, the preprocessing being executed in the preceding processing unit is stopped, and printing that is the target of the instructed image processing The preprocessing for the target image is executed at a higher speed than the processing in the preceding processing unit, and the correction process is executed by utilizing the processing result of the executed preprocessing.
A printing control apparatus characterized by that.
請求項1記載の印刷制御装置であって、
前記画像処理部は、
前記印刷実行指示に従って前記画像処理が指示された際に、指示された画像処理の対象でない画像についての前処理が、前記先行処理部で実行されている途中である場合においては、
前記先行処理部で実行されている前処理を中止させて、前記指示された画像処理の対象である印刷対象画像についての前処理を、前記先行処理部における処理よりも高速に実行し、実行した前処理の処理結果を活用して、前記補正処理を実行する、
ことを特徴とする印刷制御装置。
The print control apparatus according to claim 1,
The image processing unit
When the image processing is instructed according to the print execution instruction, pre-processing for an image that is not the target of the instructed image processing is in the middle of being executed by the preceding processing unit.
The preprocessing being executed in the preceding processing unit is stopped, and the preprocessing for the print target image that is the target of the instructed image processing is executed at a higher speed than the processing in the preceding processing unit, and is executed. Utilizing the processing result of the preprocessing, the correction processing is executed.
A printing control apparatus characterized by that.
印刷の開始が指示された印刷対象画像について、前記印刷対象画像の画質を補正するための補正パラメータを決定するための前処理と、前記前処理で決定された補正パラメータに基づく前記印刷対象画像を表す印刷対象画像データの補正処理を含み、前記印刷対象画像の印刷を実行するための画像処理と、を行う印刷制御方法であって、
印刷の開始を示す印刷実行指示が発生する前に、前記前処理を先行して実行するための先行処理工程と、
前記印刷実行指示に従って、前記画像処理を実行するための画像処理工程と、
を備え、
前記画像処理工程は、
前記印刷実行指示に従って前記画像処理が指示された際に、指示された画像処理の対象である印刷対象画像についての前処理が、前記先行処理工程で実行されている途中である場合において、
前記先行処理工程で実行途中の前処理の処理量が所定量に達しているときには、前記先行処理部で実行されている前処理の終了を待ち、前記先行処理工程で実行された前処理の処理結果を活用して、前記補正処理を実行し、
前記先行処理工程で実行途中の前処理の処理量が前記所定量に達していないときには、前記先行処理工程で実行されている前処理を中止させて、前記指示された画像処理の対象である印刷対象画像についての前処理を、前記先行処理工程における処理よりも高速に実行し、実行した前処理の処理結果を活用して、前記補正処理を実行する、
ことを特徴とする印刷制御方法。
For a print target image instructed to start printing, preprocessing for determining a correction parameter for correcting the image quality of the print target image, and the print target image based on the correction parameter determined in the preprocessing A print control method for performing printing of the print target image, including correction processing of print target image data to be represented,
Before a print execution instruction indicating the start of printing occurs, a preceding process step for executing the pre-process in advance,
An image processing step for executing the image processing in accordance with the print execution instruction;
With
The image processing step includes
When the image processing is instructed according to the print execution instruction, when the preprocessing for the print target image that is the target of the instructed image processing is being executed in the preceding processing step,
When the processing amount of the preprocessing being executed in the preceding processing step reaches a predetermined amount, the processing of the preprocessing executed in the preceding processing step is waited for completion of the preprocessing executed in the preceding processing unit. Using the result, execute the correction process,
When the processing amount of the preprocessing being executed in the preceding processing step does not reach the predetermined amount, the preprocessing being executed in the preceding processing step is stopped, and printing that is the target of the instructed image processing The preprocessing for the target image is executed at a higher speed than the processing in the preceding processing step, and the correction processing is executed by utilizing the processing result of the executed preprocessing.
And a printing control method.
JP2006243616A 2006-09-07 2006-09-08 Print control apparatus and print control method Expired - Fee Related JP4752690B2 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP2006243616A JP4752690B2 (en) 2006-09-08 2006-09-08 Print control apparatus and print control method
US11/899,480 US7907315B2 (en) 2006-09-07 2007-09-06 Print control apparatus and print control method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2006243616A JP4752690B2 (en) 2006-09-08 2006-09-08 Print control apparatus and print control method

Publications (2)

Publication Number Publication Date
JP2008067126A JP2008067126A (en) 2008-03-21
JP4752690B2 true JP4752690B2 (en) 2011-08-17

Family

ID=39289419

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2006243616A Expired - Fee Related JP4752690B2 (en) 2006-09-07 2006-09-08 Print control apparatus and print control method

Country Status (1)

Country Link
JP (1) JP4752690B2 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008093842A (en) * 2006-10-06 2008-04-24 Seiko Epson Corp Printing controlling apparatus and printing controlling method
US8427660B2 (en) * 2010-03-23 2013-04-23 Fuji Xerox Co., Ltd. Image processing apparatus, image forming apparatus, and computer readable medium storing program
JP6786408B2 (en) * 2017-01-24 2020-11-18 キヤノン株式会社 Image forming apparatus, control method of image forming apparatus, and program

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4296804B2 (en) * 2003-03-12 2009-07-15 富士ゼロックス株式会社 Photo printing device
JP2005111945A (en) * 2003-10-10 2005-04-28 Konica Minolta Photo Imaging Inc Photographic method and photographic printer
JP2005169650A (en) * 2003-12-08 2005-06-30 Canon Inc Information inputting/printing apparatus
JP2005287015A (en) * 2004-03-03 2005-10-13 Seiko Epson Corp Image printing system and method
JP2006171085A (en) * 2004-12-13 2006-06-29 Fuji Photo Film Co Ltd Printer

Also Published As

Publication number Publication date
JP2008067126A (en) 2008-03-21

Similar Documents

Publication Publication Date Title
JP4367418B2 (en) Print control device
JP2001275082A (en) Digital photographic processor
JP2008036856A (en) Printer and method for printing
JP4752690B2 (en) Print control apparatus and print control method
JP4844307B2 (en) Print control apparatus and print control method
US7907315B2 (en) Print control apparatus and print control method
US11301975B2 (en) Apparatus, control method, and storage medium
JP4941157B2 (en) Coloring production apparatus, coloring production method and program thereof
JP2007168156A (en) Printer and its display method
JP2008093842A (en) Printing controlling apparatus and printing controlling method
JP5906648B2 (en) Image processing apparatus and image processing method
JP3673675B2 (en) Image processing method, image processing apparatus, and recording medium
JP2004070661A (en) Print control method, information processor and image processor
JP4770451B2 (en) Print control device
JP4135081B2 (en) Image data processing system
JP4821576B2 (en) Information processing apparatus and information processing method
JP6003042B2 (en) Image processing apparatus and image processing method
JP2009027425A (en) Image processing device, image processing method, and program thereof
JP2004253909A (en) Image processing method
JP2009237660A (en) Image processor, printer, image processing method and program for image processing
JP2009023199A (en) Image processor, image processing method, and its program
JP2007094973A (en) Print processing system
JP2008213406A (en) Printing processor, printing processing method, and its program
JP2006347012A (en) Printing device
JP4692169B2 (en) Image processing apparatus, image processing method, program, and recording medium

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20090722

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20110421

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20110509

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20140603

Year of fee payment: 3

R150 Certificate of patent or registration of utility model

Ref document number: 4752690

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150

S531 Written request for registration of change of domicile

Free format text: JAPANESE INTERMEDIATE CODE: R313531

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

LAPS Cancellation because of no payment of annual fees