JP2009071782A - Image processor, image processing method and program thereof - Google Patents

Image processor, image processing method and program thereof Download PDF

Info

Publication number
JP2009071782A
JP2009071782A JP2007240978A JP2007240978A JP2009071782A JP 2009071782 A JP2009071782 A JP 2009071782A JP 2007240978 A JP2007240978 A JP 2007240978A JP 2007240978 A JP2007240978 A JP 2007240978A JP 2009071782 A JP2009071782 A JP 2009071782A
Authority
JP
Japan
Prior art keywords
image
display
data
image data
display screen
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2007240978A
Other languages
Japanese (ja)
Inventor
Tsutomu Otani
勤 大谷
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 JP2007240978A priority Critical patent/JP2009071782A/en
Publication of JP2009071782A publication Critical patent/JP2009071782A/en
Pending legal-status Critical Current

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To suppress a storage capacity to be used and to more surely correct image data. <P>SOLUTION: When image data instructed to be printed is input, a viewer 20 acquires display screen data from a VRAM 32 storing the display screen data which include a display image associated with image data to be used for printing and are displayed in a LCD panel 28, extracts the display image included in the acquired display screen data, generates APF (Auto Photo Fine) information for adjusting image quality of the image data associated with the display image by using the extracted display image, and corrects the image data by using the generated APF information. Thus, the display image whose data amount is smaller than the image data is used to generate APF information. In addition, the display screen data are acquired, the display image included in the display screen data is extracted to generate APF information. <P>COPYRIGHT: (C)2009,JPO&INPIT

Description

本発明は、画像処理装置、画像処理方法及びそのプログラムに関する。   The present invention relates to an image processing apparatus, an image processing method, and a program thereof.

従来、画像処理装置としては、画像データにサムネイル画像が添付されているときには、このサムネイル画像を解析して画像データの特徴情報を取得し、取得した特徴情報に基づいて画像データの補正を行うことにより、画像データそのものを解析するよりも利用するメモリ容量を抑えて画像データの補正を実行するものが提案されている(例えば、特許文献1参照)。
特開2001−218048号公報
Conventionally, when a thumbnail image is attached to image data, the image processing apparatus analyzes the thumbnail image to acquire feature information of the image data, and corrects the image data based on the acquired feature information. Therefore, there has been proposed a method of correcting image data while suppressing a memory capacity to be used rather than analyzing the image data itself (see, for example, Patent Document 1).
Japanese Patent Laid-Open No. 2001-218048

ところで、この特許文献1に記載されたような画像処理装置では、画像処理を実行するアプリケーションと、印刷に関する処理を実行する印刷ドライバとを別々に備え、アプリケーションから印刷ドライバへ画像データと印刷条件とが出力される場合がある。このような場合、印刷ドライバ側では利用可能なメモリ容量が限られていることがあり、取得した画像データのすべてを保持しこの画像データを解析して特徴情報を求めることや、取得した画像データのすべてを保持しつつその画像データを縮小し縮小した画像を解析して画像データの特徴情報を求めることなどが困難であり、特徴情報を用いて画像データを補正するという処理を実行することができないことがあった。   By the way, in the image processing apparatus as described in Patent Document 1, an application that executes image processing and a print driver that executes processing related to printing are separately provided, and image data and printing conditions are transmitted from the application to the print driver. May be output. In such a case, the available memory capacity may be limited on the print driver side, and all of the acquired image data is retained and the image data is analyzed to obtain feature information, or the acquired image data It is difficult to determine the feature information of the image data by analyzing the reduced image and reducing the image data while retaining all of the image data, and executing the process of correcting the image data using the feature information There was something I couldn't do.

本発明は、このような課題に鑑みなされたものであり、利用する記憶容量を抑えると共に、より確実に画像データの補正処理を実行することができる画像処理装置、画像処理方法及びそのプログラムを提供することを目的とする。   The present invention has been made in view of such a problem, and provides an image processing apparatus, an image processing method, and a program thereof capable of suppressing the storage capacity to be used and executing the correction processing of image data more reliably. The purpose is to do.

本発明は、上述の目的を達成するために以下の手段を採った。   The present invention adopts the following means in order to achieve the above-mentioned object.

本発明の画像処理方法は、
画像を表示する表示手段を備えた画像処理装置を利用し、印刷に用いる画像データを処理する画像処理方法であって、
(a)前記印刷に用いる画像データに対応付けられた表示画像を含み前記表示手段に表示される表示画面データを記憶した画面記憶手段から該表示画面データを取得するステップと、
(b)前記ステップ(a)で取得した表示画面データに含まれる前記表示画像を抽出するステップと、
(c)前記ステップ(b)で抽出した表示画像を用いて、該表示画像に対応付けられた画像データの画質を調整する画質調整情報を生成するステップと、
を含むものである。
The image processing method of the present invention includes:
An image processing method for processing image data used for printing by using an image processing apparatus having a display means for displaying an image,
(A) acquiring the display screen data from a screen storage unit that stores display screen data that includes a display image associated with the image data used for printing and is displayed on the display unit;
(B) extracting the display image included in the display screen data acquired in step (a);
(C) using the display image extracted in step (b) to generate image quality adjustment information for adjusting the image quality of the image data associated with the display image;
Is included.

この画像処理方法では、印刷に用いる画像データに対応付けられた表示画像を含み、表示される表示画面データを記憶した画面記憶手段からこの表示画面データを取得し、取得した表示画面データに含まれる表示画像を抽出し、この抽出した表示画像を用いてこの表示画像に対応付けられた画像データの画質を調整する画質調整情報を生成する。その後、例えば生成した画質調整情報を利用して、画像データの補正処理を実行するのである。このように、画像データよりもデータ量の小さい表示画像を用いて画質調整情報を生成するから、利用する記憶容量を抑えて画質調整情報を生成することができる。また、例えば画像表示処理と印刷処理とを統括して実行していない場合であっても、画面記憶手段から表示画面データを取得し、この表示画面データに含まれる表示画像を抽出するから、より確実に画像データの補正処理を実行することができる。   In this image processing method, a display image associated with image data used for printing is included, the display screen data is acquired from a screen storage unit that stores display screen data to be displayed, and is included in the acquired display screen data. A display image is extracted, and image quality adjustment information for adjusting the image quality of image data associated with the display image is generated using the extracted display image. Thereafter, for example, image data correction processing is executed using the generated image quality adjustment information. As described above, the image quality adjustment information is generated using a display image having a data amount smaller than that of the image data. Therefore, the image quality adjustment information can be generated while suppressing the storage capacity to be used. Further, for example, even when the image display process and the print process are not performed in an integrated manner, the display screen data is acquired from the screen storage means, and the display image included in the display screen data is extracted. Image data correction processing can be executed reliably.

本発明の画像処理方法において、前記ステップ(b)では、前回取得した表示画面データと今回取得した表示画面データと画像が異なっている領域を前記表示画像の領域として検出し該検出した表示画像の領域にある画像を前記表示画像として抽出するものとしてもよい。こうすれば、表示画面データの表示画像が含まれている領域を予め設定していなくても、より確実に表示画像を抽出することができる。   In the image processing method of the present invention, in the step (b), an area where the image is different from the previously acquired display screen data and the currently acquired display screen data is detected as an area of the display image. An image in the area may be extracted as the display image. In this way, it is possible to extract the display image more reliably even if the area including the display image of the display screen data is not set in advance.

本発明の画像処理方法は、
(d)ユーザの入力に基づいて選択された前記表示画面データに含まれる表示画像に対応する画像データを取得するステップ、を更に含み、前記ステップ(c)では、前記ステップ(d)で前記画像データを取得したときには、該取得時に前記表示手段に表示されている前記表示画面データから抽出した該画像データに対応する表示画像を用いて該取得した画像データに対応する画質調整情報を生成するものとしてもよい。こうすれば、画像表示処理と印刷処理とを統括して実行していない場合であっても、ユーザが選択した画像を抽出しやすい。このとき、前記ステップ(c)では、前記ステップ(d)で前記画像データを取得すると、該取得した画像データの少なくとも一部と前記抽出した表示画像とを用いて前記表示画面データに含まれるユーザの入力に基づいて選択された表示画像を特定し、該特定した表示画像を用いて該取得した画像データに対応する画質調整情報を生成するものとしてもよい。こうすれば、画像表示処理と印刷処理とを統括して実行していない場合であっても、表示画面に含まれるいずれの画像が印刷指示されたかを特定しやすく、ひいては、より確実に画像データの補正処理を実行することができる。
The image processing method of the present invention includes:
(D) further including a step of acquiring image data corresponding to a display image included in the display screen data selected based on a user input, and in the step (c), the image is displayed in the step (d). When data is acquired, image quality adjustment information corresponding to the acquired image data is generated using a display image corresponding to the image data extracted from the display screen data displayed on the display means at the time of acquisition It is good. In this way, it is easy to extract the image selected by the user even when the image display process and the print process are not performed in an integrated manner. At this time, in the step (c), when the image data is acquired in the step (d), a user included in the display screen data using at least a part of the acquired image data and the extracted display image. The selected display image may be specified based on the input, and image quality adjustment information corresponding to the acquired image data may be generated using the specified display image. In this way, even if the image display process and the print process are not performed in an integrated manner, it is easy to specify which image included in the display screen is instructed to be printed, and as a result, the image data is more reliably detected. The correction process can be executed.

本発明の画像処理方法は、
(e)前記ステップ(c)で生成した画質調整情報を用いて該対応する画像データに補正処理を施すステップと、
(f)前記ステップ(e)で補正処理を施して生成した補正後データを出力するステップと、を更に含むものとしてもよい。こうすれば、画像データに補正処理を施した補正後データを利用することができる。ここで、「補正後データ」は、表示用のデータとして出力してもよいし、保存用のデータとして出力してもよい。このとき、前記ステップ(e)では、前記画像データに前記画質調整情報を用いて補正処理を施して、前記画像データに基づく画像を印刷媒体に印刷する印刷装置が用いる印刷データを前記補正後データとして生成するものとしてもよい。こうすれば、印刷装置側に画質調整情報を用いて画像データへ補正処理を施す機能がない場合でも、確実に補正処理を施した印刷データを用いて印刷装置が印刷処理を実行することができる。
The image processing method of the present invention includes:
(E) performing a correction process on the corresponding image data using the image quality adjustment information generated in step (c);
(F) The method may further include a step of outputting the corrected data generated by performing the correction process in the step (e). In this way, post-correction data obtained by performing correction processing on image data can be used. Here, “corrected data” may be output as display data or may be output as data for storage. At this time, in the step (e), the image data is subjected to correction processing using the image quality adjustment information, and print data used by a printing apparatus that prints an image based on the image data on a print medium is converted into the corrected data. It is good also as what produces | generates as. In this way, even when the printing apparatus does not have a function for performing correction processing on image data using image quality adjustment information, the printing apparatus can execute printing processing using print data that has been subjected to correction processing. .

あるいは、本発明の画像処理方法は、
(g)前記ステップ(c)で生成した画質調整情報と該画質調整情報に対応する画像データとを、前記画像データに基づく画像を印刷媒体に印刷する印刷装置へ出力するステップ、を含むものとしてもよい。こうすれば、画質調整情報と画像データとを用いて、印刷装置側でこの画像データに補正処理を実行することができる。
Alternatively, the image processing method of the present invention includes:
(G) including outputting the image quality adjustment information generated in step (c) and the image data corresponding to the image quality adjustment information to a printing apparatus that prints an image based on the image data on a print medium. Also good. By doing this, it is possible to execute correction processing on the image data on the printing apparatus side using the image quality adjustment information and the image data.

本発明のプログラムは、上述したいずれか1つの画像処理方法の各ステップを1又は複数のコンピュータに実現させるためのものである。このプログラムは、コンピュータが読み取り可能な記録媒体(例えばハードディスク、ROM、FD、CD、DVDなど)に記録されていてもよいし、伝送媒体(インターネットやLANなどの通信網)を介してあるコンピュータから別のコンピュータへ配信されてもよいし、その他どのような形で授受されてもよい。このプログラムを一つのコンピュータに実行させるか又は複数のコンピュータに各ステップを分担して実行させれば、上述した画像処理方法の各ステップが実行されるため、この方法と同様の作用効果が得られる。   The program of the present invention is for causing one or more computers to realize each step of any one of the above-described image processing methods. This program may be recorded on a computer-readable recording medium (for example, hard disk, ROM, FD, CD, DVD, etc.), or from a computer via a transmission medium (communication network such as the Internet or LAN). It may be distributed to another computer, or may be exchanged in any other form. If this program is executed by a single computer or if each step is shared and executed by a plurality of computers, each step of the above-described image processing method is executed, so that the same effect as this method can be obtained. .

本発明の画像処理装置は、
印刷に用いる画像データを処理する画像処理装置であって、
画像を表示する表示手段と、
前記印刷に用いる画像データに対応付けられた表示画像を含み前記表示手段に表示される表示画面データを記憶した画面記憶手段から該表示画面データを取得する画面取得手段と、
前記取得した表示画面データに含まれる前記表示画像を抽出する画像抽出手段と、
前記抽出した表示画像を用いて該表示画像に対応付けられた画像データの画質を調整する画質調整情報を生成する調整情報生成手段と、
を備えたものである。
The image processing apparatus of the present invention
An image processing apparatus for processing image data used for printing,
Display means for displaying an image;
Screen acquisition means for acquiring the display screen data from a screen storage means for storing display screen data to be displayed on the display means including a display image associated with the image data used for the printing;
Image extracting means for extracting the display image included in the acquired display screen data;
Adjustment information generating means for generating image quality adjustment information for adjusting the image quality of image data associated with the display image using the extracted display image;
It is equipped with.

この画像処理装置では、印刷に用いる画像データに対応付けられた表示画像を含み、表示される表示画面データを記憶した画面記憶手段からこの表示画面データを取得し、取得した表示画面データに含まれる表示画像を抽出し、この抽出した表示画像を用いてこの表示画像に対応付けられた画像データの画質を調整する画質調整情報を生成する。その後、例えば生成した画質調整情報を利用して、画像データの補正処理を実行するのである。このように、画像データよりもデータ量の小さい表示画像を用いて画質調整情報を生成するから、利用する記憶容量を抑えて画質調整情報を生成することができる。また、例えば画像表示処理と印刷処理とを統括して実行していない場合であっても、画面記憶手段から表示画面データを取得し、この表示画面データに含まれる表示画像を抽出するから、より確実に画像データの補正処理を実行することができる。   This image processing apparatus includes a display image associated with image data used for printing, acquires the display screen data from a screen storage unit that stores the display screen data to be displayed, and includes the display screen data. A display image is extracted, and image quality adjustment information for adjusting the image quality of image data associated with the display image is generated using the extracted display image. Thereafter, for example, image data correction processing is executed using the generated image quality adjustment information. As described above, the image quality adjustment information is generated using a display image having a data amount smaller than that of the image data. Therefore, the image quality adjustment information can be generated while suppressing the storage capacity to be used. Further, for example, even when the image display process and the print process are not performed in an integrated manner, the display screen data is acquired from the screen storage means, and the display image included in the display screen data is extracted. Image data correction processing can be executed reliably.

この画像処理装置において、前記画像抽出手段は、前回取得した表示画面データと今回取得した表示画面データと画像が異なっている領域を前記表示画像の領域として検出し該検出した表示画像の領域にある画像を前記表示画像として抽出するものとしてもよい。また、ユーザの入力に基づいて選択された前記表示画面データに含まれる表示画像に対応する画像データを取得する画像データ取得手段、を備え、前記調整情報生成手段は、前記画像データを取得したときには、該取得時に前記表示手段に表示されている前記表示画面データから抽出した該画像データに対応する表示画像を用いて該取得した画像データに対応する画質調整情報を生成するものとしてもよい。このとき、前記調整情報生成手段は、前記画像データ取得手段が前記画像データを取得すると、該取得した画像データの少なくとも一部と前記抽出した表示画像とを用いて前記表示画面データに含まれるユーザの入力に基づいて選択された表示画像を特定し、該特定した表示画像を用いて該取得した画像データに対応する画質調整情報を生成するものとしてもよい。また、前記出力された画質調整情報を用いて該画像データに補正処理を施す画質調整実行手段と、前記画質調整実行手段が補正処理を施して生成した補正後データを出力する情報出力手段と、を備えたものとしてもよい。このとき、前記画質調整実行手段は、前記画像データに前記画質調整情報を用いて補正処理を施して、前記画像データに基づく画像を印刷媒体に印刷する印刷装置が用いる印刷データを前記補正後データとして生成するものとしてもよい。あるいは、前記生成した画質調整情報と該画質調整情報に対応する画像データとを、前記画像データに基づく画像を印刷媒体に印刷する印刷装置へ出力する情報出力手段、を備えたものとしてもよい。   In this image processing apparatus, the image extracting means detects an area where the image is different from the previously acquired display screen data and the currently acquired display screen data as an area of the display image, and is in the area of the detected display image. An image may be extracted as the display image. In addition, the image processing apparatus includes an image data acquisition unit that acquires image data corresponding to a display image included in the display screen data selected based on a user input, and the adjustment information generation unit receives the image data. The image quality adjustment information corresponding to the acquired image data may be generated using a display image corresponding to the image data extracted from the display screen data displayed on the display means at the time of acquisition. At this time, when the image data acquisition unit acquires the image data, the adjustment information generation unit uses a user included in the display screen data using at least a part of the acquired image data and the extracted display image. The selected display image may be specified based on the input, and image quality adjustment information corresponding to the acquired image data may be generated using the specified display image. Further, image quality adjustment execution means for performing correction processing on the image data using the output image quality adjustment information; information output means for outputting corrected data generated by the image quality adjustment execution means performing correction processing; It is good also as a thing provided. At this time, the image quality adjustment execution means performs correction processing on the image data using the image quality adjustment information, and print data used by a printing apparatus that prints an image based on the image data on a print medium is used as the corrected data. It is good also as what produces | generates as. Alternatively, an information output unit that outputs the generated image quality adjustment information and image data corresponding to the image quality adjustment information to a printing apparatus that prints an image based on the image data on a print medium may be provided.

次に、本発明の実施の形態を図面に基づいて説明する。図1は、本発明の一実施形態である画像処理装置としてのビューワ20と印刷装置としてのプリンタ40の構成の概略を示す構成図であり、図2は、コントローラ21の機能構成を示すブロック図である。本実施形態のビューワ20は、いわゆるマルチメディアストレージビューワとして構成され、各種処理プログラムを記憶したフラッシュROM23と一時的にデータを記憶するメインRAM24とを備えたCPU22を中心とするマイクロプロセッサとしての装置全体の制御を司るコントローラ21と、データをハードディスクに記憶するHDD25と、USBポート26aに接続された外部機器との間でデータの入出力を行うUSBコントローラ26と、スロット27aに装着されたメモリカード12との間でデータの入出力を行うメモリカードコントローラ27と、VRAM32に記憶された画像データや動画データに基づいて画像や動画などを表示するようLCDパネル28を制御するLCDコントローラ30と、カーソルを上下左右に移動する際に押下されるカーソルキー34aや選択対象を決定する際に押下される決定キー34bなどを含みユーザの指示を入力する操作部34と、を備えている。コントローラ21やHDD25、USBコントローラ26、メモリカードコントローラ27、LCDコントローラ30、操作部34は、バス29によって電気的に接続され、各種制御信号やデータのやり取りができるよう構成されている。メモリカード12は、データの書き込み及び消去可能な不揮発性のメモリであり、デジタルカメラなどの撮影装置により撮影された複数の画像ファイルなどが保存されている。この画像ファイルには、所定形式(例えばJPEG形式)で圧縮された画像データとこの画像データの縮小画像であるサムネイル画像とこの画像データの付加情報(撮影日時や撮影モードなど)とが格納されている。   Next, embodiments of the present invention will be described with reference to the drawings. FIG. 1 is a block diagram showing an outline of the configuration of a viewer 20 as an image processing apparatus and a printer 40 as a printing apparatus according to an embodiment of the present invention, and FIG. It is. The viewer 20 of the present embodiment is configured as a so-called multimedia storage viewer, and the entire apparatus as a microprocessor centered on a CPU 22 having a flash ROM 23 storing various processing programs and a main RAM 24 temporarily storing data. A controller 21 for controlling the data, an HDD 25 for storing data in the hard disk, a USB controller 26 for inputting / outputting data to / from an external device connected to the USB port 26a, and a memory card 12 mounted in the slot 27a. A memory card controller 27 that inputs and outputs data, an LCD controller 30 that controls the LCD panel 28 to display images and moving images based on image data and moving image data stored in the VRAM 32, and a cursor Up down left right An operation unit 34 for inputting a user instruction and the like determination key 34b is pressed in determining the cursor key 34a or selection that is pressed when moving, and a. The controller 21, HDD 25, USB controller 26, memory card controller 27, LCD controller 30, and operation unit 34 are electrically connected via a bus 29 so that various control signals and data can be exchanged. The memory card 12 is a nonvolatile memory in which data can be written and erased, and stores a plurality of image files photographed by a photographing device such as a digital camera. This image file stores image data compressed in a predetermined format (for example, JPEG format), a thumbnail image that is a reduced image of this image data, and additional information (such as shooting date and time and shooting mode) of this image data. Yes.

また、コントローラ21には、図2に示すように、機能構成として、プリンタ40などUSBポート26aに接続された外部機器との間の情報の送受信を行うUSBドライバモジュール36と、記憶されている画像を表示する表示アプリケーションモジュール50と、表示アプリケーションモジュール50とは別にインストールされHDD25やメモリカード12に記憶された画像データの印刷に関するデータ処理を行う印刷ドライバモジュール60と、を備えている。USBドライバモジュール36は、受け取ったデータをUSBポート26aを介して外部機器へ出力するデータ送信部37を備えている。表示アプリケーションモジュール50は、操作部34からの指令などを入力するGUI(Graphical User Interface)入力部51と、メモリカード12などに圧縮されて記憶された元画像データを解凍して画像データに展開する画像展開部52と、フラッシュROM23に記憶された背景画像データ23aへ画像データに添付されたサムネイル画像(表示画像)などを組み込んでLCDパネル28に表示させる表示画面データ32aを生成する表示画面生成部54と、生成した表示画面データ32aをVRAM32の所定領域に記憶管理する画像保持部56と、画像保持部56で記憶された表示画面データ32aをLCDパネル28へ表示出力するGUI表示部58と、を備えている。GUI入力部51は、ユーザからの入力として、LCDパネル28に表示されている画像の選択指令や、選択した画像を印刷する印刷指令などユーザからの指令を操作部34を介して入力し、入力した情報を画像展開部52へ送る処理を行う。画像展開部52は、GUI入力部51からの指令に基づいて、メモリカード12などへアクセスし選択され圧縮保存されている画像データを展開(解凍)し、展開した画像データを表示画面生成部54や印刷ドライバモジュール60へ送る処理を行う。画像保持部56は、表示画面生成部54で生成した表示画面データ32aをメインRAM24の所定領域に保持する処理を行う。なお、メインRAM24やVRAM32では、予め定められた記憶領域に空きがなくなると、古い画像データから消去するよう設定されている。GUI表示部58は、表示画面データ32aをLCDパネル28へ出力する処理を行う。なお、LCDパネル28と異なる表示サイズの表示装置(例えばテレビなど)に画像を表示させる際には、GUI表示部58は、出力先の表示装置の大きさに合わせて表示画面データ32aをリサイズする処理も行う。   As shown in FIG. 2, the controller 21 has a USB driver module 36 that transmits and receives information to and from an external device connected to the USB port 26a, such as a printer 40, and a stored image. And a print driver module 60 that is installed separately from the display application module 50 and performs data processing relating to printing of image data stored in the HDD 25 or the memory card 12. The USB driver module 36 includes a data transmission unit 37 that outputs received data to an external device via the USB port 26a. The display application module 50 decompresses the original image data compressed and stored in the GUI (Graphical User Interface) input unit 51 for inputting a command or the like from the operation unit 34 and the memory card 12 or the like, and develops the image data. An image development unit 52 and a display screen generation unit that generates display screen data 32a to be displayed on the LCD panel 28 by incorporating a thumbnail image (display image) attached to the image data into the background image data 23a stored in the flash ROM 23. 54, an image holding unit 56 for storing and managing the generated display screen data 32a in a predetermined area of the VRAM 32, a GUI display unit 58 for displaying and outputting the display screen data 32a stored in the image holding unit 56 to the LCD panel 28, It has. The GUI input unit 51 inputs a command from the user such as a selection command for an image displayed on the LCD panel 28 or a print command for printing the selected image as an input from the user via the operation unit 34. A process for sending the processed information to the image development unit 52 is performed. The image development unit 52 accesses the memory card 12 or the like based on a command from the GUI input unit 51 and expands (decompresses) the selected and compressed image data, and displays the developed image data as a display screen generation unit 54. And processing to send to the print driver module 60. The image holding unit 56 performs processing for holding the display screen data 32 a generated by the display screen generating unit 54 in a predetermined area of the main RAM 24. Note that the main RAM 24 and VRAM 32 are set to delete old image data when there is no free space in a predetermined storage area. The GUI display unit 58 performs a process of outputting the display screen data 32a to the LCD panel 28. When an image is displayed on a display device (for example, a television) having a display size different from that of the LCD panel 28, the GUI display unit 58 resizes the display screen data 32a in accordance with the size of the output display device. Processing is also performed.

印刷ドライバモジュール60は、表示画面データ32aを定期的に取得し背景領域や印刷対象としての表示画像領域を検出し検出した表示画像領域にある表示画像を取得する表示画像解析取得部61と、表示画像解析取得部61が管理する表示画像情報24aの表示画像の内容を解析してAPF(Auto Photo Fine)情報24bを生成するAPF情報生成部62と、生成したAPF情報24bを記憶管理するAPF情報管理部63と、画像展開部52により展開され取得した画像データが表示画面データ32aに含まれるいずれの表示画像かを特定する印刷対象画像特定部64と、印刷対象画像特定部64が取得した画像データの画質をその画像データに対応するAPF情報24bを用いて調整しプリンタ40で印刷処理可能な印刷データを生成する印刷データ展開部66と、を備えている。表示画像解析取得部61は、表示画面データ32aの背景領域や表示画像領域に関する情報や、表示画像領域にある表示画像をメインRAM24の所定領域に表示画像情報24aとして記憶管理する。APF情報生成部62は、表示画像解析取得部61が取得した表示画像を解析してAPF情報24bを生成し、この生成したAPF情報24bをAPF情報管理部63へ送る処理を行う。APF情報24bには、蛍光灯下で撮影することにより青色側によった色合いになるなどの色かぶり状態、逆光で撮影した状態などを補正する、画像データ(又はサムネイル画像)の内容を解析して求めたパラメータなどが含まれている。このAPF情報24bには複数のパラメータが含まれることから、このAPF情報生成部62は、各々のパラメータに適した色空間などで表現されたサンプリング用画像データへ表示画像を変換する処理を行い、このサンプリング画像データの内容を解析することによりAPF情報24bのパラメータを求め、求めたパラメータを含むAPF情報24bを生成する。このAPF情報生成部62は、画像データの付加情報の内容を反映してAPF情報24bを生成することも可能である。例えば、APF情報生成部62は、画像データに付加されたユーザ指定補正情報に含まれる明るさ指定や彩度指定の内容を反映させたり、撮影モードなどを反映させたりしてAPF情報24bを生成する。APF情報管理部63は、APF情報生成部62で生成された画像データの画質調整に用いられる複数のパラメータを含むAPF情報24bを表示画像に対応付けて管理する機能を有している。印刷データ展開部66は、画像展開部52が展開した画像データにAPF情報24bを反映させ、この補正後の画像データをプリンタ40で印刷可能な印刷データへ展開し、データ送信部37へ送る処理を行う。   The print driver module 60 periodically obtains the display screen data 32a, detects a background image area and a display image area as a print target, and obtains a display image in the detected display image area, and a display An APF information generation unit 62 that generates the APF (Auto Photo Fine) information 24b by analyzing the contents of the display image information 24a managed by the image analysis acquisition unit 61, and the APF information that stores and manages the generated APF information 24b. The management unit 63, the print target image specifying unit 64 that specifies which display image the image data developed and acquired by the image development unit 52 is included in the display screen data 32a, and the image acquired by the print target image specification unit 64 The image quality of the data can be adjusted using the APF information 24b corresponding to the image data and can be printed by the printer 40. A print data expansion unit 66 that generates print data. The display image analysis acquisition unit 61 stores and manages information related to the background area and display image area of the display screen data 32 a and the display image in the display image area as display image information 24 a in a predetermined area of the main RAM 24. The APF information generation unit 62 analyzes the display image acquired by the display image analysis acquisition unit 61 to generate APF information 24b, and performs processing to send the generated APF information 24b to the APF information management unit 63. The APF information 24b analyzes the content of image data (or thumbnail images) that corrects a color cast state such as a hue on the blue side by photographing under a fluorescent lamp, a state photographed with backlight, and the like. The parameters obtained in the above are included. Since the APF information 24b includes a plurality of parameters, the APF information generation unit 62 performs processing for converting the display image into image data for sampling expressed in a color space suitable for each parameter, and the like. The parameters of the APF information 24b are obtained by analyzing the contents of the sampled image data, and the APF information 24b including the obtained parameters is generated. The APF information generation unit 62 can also generate the APF information 24b reflecting the content of the additional information of the image data. For example, the APF information generation unit 62 generates the APF information 24b by reflecting the contents of brightness designation and saturation designation included in the user-specified correction information added to the image data, reflecting the shooting mode, and the like. To do. The APF information management unit 63 has a function of managing the APF information 24b including a plurality of parameters used for image quality adjustment of the image data generated by the APF information generation unit 62 in association with the display image. The print data development unit 66 reflects the APF information 24 b in the image data developed by the image development unit 52, develops the corrected image data into print data that can be printed by the printer 40, and sends the print data to the data transmission unit 37. I do.

プリンタ40は、図1に示すように、各種処理プログラムを記憶したROM43と一時的にデータを記憶するRAM44とを備えたCPU42を中心とするマイクロプロセッサとして装置全体の制御を司るコントローラ41と、記録紙Sへ画像を印刷処理する印刷機構45と、USBポート46aに接続された外部機器との間で情報の入出力が可能なUSBコントローラ46と、ユーザへ情報を表示可能な表示部48aやユーザの指示を入力可能である操作部48bなどを有する操作パネル48と、を備えている。コントローラ21や印刷機構45、USBコントローラ46、操作パネル48は、図示しないバスによって電気的に接続されている。印刷機構45は、図示しないが、各色のインクに圧力をかけ、この加圧されたインクを記録紙Sに吐出して印刷処理を実行するインクジェット方式の機構である。なお、インクへ圧力をかける機構は、圧電素子の変形によるものとしてもよいしヒータの熱による気泡の発生によるものとしてもよい。   As shown in FIG. 1, the printer 40 includes a controller 41 that controls the entire apparatus as a microprocessor centered on a CPU 42 that includes a ROM 43 that stores various processing programs and a RAM 44 that temporarily stores data. A printing mechanism 45 that prints an image on paper S, a USB controller 46 that can input and output information between an external device connected to the USB port 46a, a display unit 48a that can display information to the user, and a user And an operation panel 48 having an operation unit 48b or the like capable of inputting the above instruction. The controller 21, the printing mechanism 45, the USB controller 46, and the operation panel 48 are electrically connected by a bus (not shown). Although not shown, the printing mechanism 45 is an ink jet mechanism that applies pressure to each color ink and discharges the pressurized ink onto the recording paper S to execute a printing process. The mechanism for applying pressure to the ink may be due to deformation of the piezoelectric element or due to generation of bubbles due to the heat of the heater.

次に、こうして構成された本実施形態のビューワ20の動作について説明する。ここでは、メモリカード12に保存された複数の画像ファイルをLCDパネル28に表示し、表示された画像のうち1つをユーザが選択して印刷指令する場合について主に説明する。図3は、ビューワ20のCPU22により実行される表示出力処理ルーチンの一例を示すフローチャートであり、図4は、ビューワ20のCPU22により実行される領域検出・印刷データ出力処理ルーチンの一例を示すフローチャートである。表示出力処理ルーチンは、スロット27aにメモリカード12が装着されたあと実行される。CPU22は、上述したGUI入力部51や画像展開部52、表示画面生成部54、画像保持部56、GUI表示部58などの表示アプリケーションモジュール50の各機能を利用してこのルーチンの処理を行う。このルーチンを開始すると、まず、CPU22は、メモリカード12に保存された画像データに付加されているサムネイル画像を読み出すと共に、フラッシュROM23に記憶されている背景画像データ23aを読み出す(ステップS100)。ここでは、メモリカード12に記憶された画像データの順番にサムネイル画像を読み出すものとした。   Next, the operation of the viewer 20 of the present embodiment configured as described above will be described. Here, a case will be mainly described where a plurality of image files stored in the memory card 12 are displayed on the LCD panel 28, and one of the displayed images is selected by the user to issue a print command. FIG. 3 is a flowchart showing an example of a display output processing routine executed by the CPU 22 of the viewer 20, and FIG. 4 is a flowchart showing an example of an area detection / print data output processing routine executed by the CPU 22 of the viewer 20. is there. The display output processing routine is executed after the memory card 12 is inserted into the slot 27a. The CPU 22 performs processing of this routine by using each function of the display application module 50 such as the GUI input unit 51, the image development unit 52, the display screen generation unit 54, the image holding unit 56, and the GUI display unit 58 described above. When this routine is started, first, the CPU 22 reads the thumbnail image added to the image data stored in the memory card 12, and also reads the background image data 23a stored in the flash ROM 23 (step S100). Here, the thumbnail images are read in the order of the image data stored in the memory card 12.

次に、CPU22は、読み出した背景画像データ23aにサムネイル画像を埋め込み、画像表示画面80を生成すると共に生成した画像表示画面80をVRAM32の所定領域に表示画面データ32aとして記憶する(ステップS110)。ここでは、表示画面生成部54が画像表示画面80の生成処理を実行し、画像保持部56が生成した画像表示画面80の記憶処理を実行する。図5は、LCDパネル28に表示した画像表示画面80の説明図であり、図5(a)が画像80a〜80fを含む画面であり、図5(b)が画像80g〜80lを含む画面の説明図である。ここでは、画像表示画面80は、図5に示すように、6個のサムネイル画像及びカーソル81を表示するようになっている。次に、CPU22は、生成した画像表示画面80をLCDパネル28に表示出力する(ステップS120)。ここでは、GUI表示部58及びLCDコントローラ30がこの処理を実行する。   Next, the CPU 22 embeds a thumbnail image in the read background image data 23a, generates an image display screen 80, and stores the generated image display screen 80 as display screen data 32a in a predetermined area of the VRAM 32 (step S110). Here, the display screen generation unit 54 executes the generation process of the image display screen 80 and the storage process of the image display screen 80 generated by the image holding unit 56. 5A and 5B are explanatory diagrams of the image display screen 80 displayed on the LCD panel 28. FIG. 5A is a screen including the images 80a to 80f, and FIG. 5B is a screen including the images 80g to 80l. It is explanatory drawing. Here, the image display screen 80 displays six thumbnail images and a cursor 81 as shown in FIG. Next, the CPU 22 displays and outputs the generated image display screen 80 on the LCD panel 28 (step S120). Here, the GUI display unit 58 and the LCD controller 30 execute this processing.

次に、CPU22は、カーソルキー34aがユーザに押下されるなどして表示切替指示が入力されたか否かを判定し(ステップS130)、表示切替指示が入力されたときには、ステップS100以降の処理を実行する。すなわち、図5(b)に示すように、次のサムネイル画像を含む画像表示画面80を生成して、LCDパネル28に表示させる。このとき、VRAM32に記憶されている表示画面データ32aも更新される。一方、表示切替指示が入力されていないときには、CPU22は、図示しない印刷指示ボタンが押下されるなどして印刷指示が入力されたか否かを判定し(ステップS140)、印刷指示入力されていないときには、ステップS130以降の処理を実行する。一方、印刷指示が入力されたときには、出力先である印刷ドライバモジュール60から出力待ち指令を入力したか否かを判定する(ステップS150)。この「出力待ち指令」とは、プリンタ40の印刷バッファに余裕がない場合や印刷ドライバモジュール60側での処理に余裕がない場合などに印刷ドライバモジュール60から出力される指令であるが、詳しくは後述する。   Next, the CPU 22 determines whether or not a display switching instruction is input by pressing the cursor key 34a by the user (step S130), and when the display switching instruction is input, the processing after step S100 is performed. Execute. That is, as shown in FIG. 5B, an image display screen 80 including the next thumbnail image is generated and displayed on the LCD panel 28. At this time, the display screen data 32a stored in the VRAM 32 is also updated. On the other hand, when the display switching instruction is not input, the CPU 22 determines whether or not the print instruction is input by pressing a print instruction button (not shown) (step S140), and when the print instruction is not input. Then, the processing after step S130 is executed. On the other hand, when a print instruction is input, it is determined whether an output wait command is input from the print driver module 60 that is the output destination (step S150). The “output waiting command” is a command output from the print driver module 60 when there is no room in the print buffer of the printer 40 or when there is no room in processing on the print driver module 60 side. It will be described later.

続いて、CPU22は、出力待ち指令が入力されているときにはそのまま待機し、出力待ち指令が入力されていないときには、ユーザによって印刷指示された画像データを展開処理して印刷ドライバモジュール60へ出力する(ステップS160)。ここでは、画像展開部52がこの印刷ドライバモジュール60への画像データの出力を実行する。続いて、CPU22は、画像データの出力が完了したか否かを判定し(ステップS170)、画像データの出力が完了していないときには、ステップS150以降の処理を実行する。即ち、出力待ち指令がないときに画像データを印刷ドライバモジュール60へ出力させる処理を繰り返す。一方、画像データの出力が完了したときには、CPU22は、図示しない電源キーが押下されたりメモリカード12が抜き取られたりなどにより処理終了指示が入力されたか否かを判定し、処理終了指示が入力されていないときにはステップS100以降の処理を繰り返し、処理終了指示が入力されたときにはこのルーチンを終了する。このように、ビューワ20に装着されたメモリカード12に含まれる画像を表示しユーザに印刷指示されるとその画像データを印刷ドライバモジュール60へ渡す処理を行うのである。   Subsequently, the CPU 22 waits as it is when the output wait command is input, and when the output wait command is not input, the CPU 22 develops the image data instructed to be printed by the user and outputs it to the print driver module 60 ( Step S160). Here, the image development unit 52 executes output of image data to the print driver module 60. Subsequently, the CPU 22 determines whether or not the output of the image data has been completed (step S170). When the output of the image data has not been completed, the CPU 22 executes the processes after step S150. That is, the process of outputting the image data to the print driver module 60 when there is no output waiting command is repeated. On the other hand, when the output of the image data is completed, the CPU 22 determines whether or not a processing end instruction is input by pressing a power key (not shown) or the memory card 12 is removed, and the processing end instruction is input. If not, the process from step S100 is repeated, and when a process end instruction is input, this routine ends. As described above, when the image contained in the memory card 12 mounted on the viewer 20 is displayed and the user gives a print instruction, the image data is transferred to the print driver module 60.

次に、印刷指示された画像データにAPFを施して印刷データを作成する処理について説明する。図4に示す領域検出・印刷データ出力処理ルーチンは、ビューワ20の電源がオンされ、印刷ドライバモジュール60の初期化が行われたあとCPU22により繰り返し実行される。CPU22は、上述した表示画像解析取得部61やAPF情報生成部62、APF情報管理部63、印刷対象画像特定部64、印刷データ展開部66などの印刷ドライバモジュール60の各機能を利用してこのルーチンの処理を行う。このルーチンを開始すると、まず、CPU22は、VRAM32に記憶された表示画面データ32aを取得する(ステップS200)。ここでは、表示画面データ32aがVRAM32の所定領域に記憶されるものと取り決められており、印刷ドライバモジュール60側がこの所定領域を読み出して表示画面データ32aを取得するものとし、この処理を表示画像解析取得部61が定期的に実行するものとした。   Next, processing for creating print data by applying APF to image data for which printing has been instructed will be described. The area detection / print data output processing routine shown in FIG. 4 is repeatedly executed by the CPU 22 after the power of the viewer 20 is turned on and the print driver module 60 is initialized. The CPU 22 uses the functions of the print driver module 60 such as the display image analysis acquisition unit 61, the APF information generation unit 62, the APF information management unit 63, the print target image specification unit 64, and the print data development unit 66 described above. Performs routine processing. When this routine is started, the CPU 22 first acquires the display screen data 32a stored in the VRAM 32 (step S200). Here, it is determined that the display screen data 32a is stored in a predetermined area of the VRAM 32, and the print driver module 60 reads out the predetermined area to acquire the display screen data 32a. The acquisition unit 61 is assumed to be periodically executed.

表示画面データ32aを取得すると、CPU22は、前回に取得した表示画面データ32aがあるか否かを判定する(ステップS210)。前回の表示画面データ32aがないときにはそのままこのルーチンを終了し、前回の表示画面データ32aがあるときには、CPU22は、前回の表示画面データ32aと今回取得した表示画面データ32aとの画像の差分をとり、背景領域90と表示画像領域92とを検出する(ステップS220)。図6は、背景領域90と表示画像領域92との検出及び画像80aの抽出の説明図である。背景領域90と表示画像領域92との検出は、図5(a),(b)に示すように、前回の表示画面データ32aと今回の表示画面データ32aとの差分をとり、前回から変化していない画像領域を背景領域90として検出し、前回から変化した画像領域を表示画像領域92として検出するものとした(図6)。次に、CPU22は、検出した背景領域90及び表示画像領域92の情報(例えば座標などの情報)をメインRAM24の所定領域に記憶し(ステップS230)、印刷指示された画像データを入力したか否かを判定する(ステップS240)。印刷指示された画像データを入力していないときには、CPU22は、そのままこのルーチンを終了する。   When the display screen data 32a is acquired, the CPU 22 determines whether or not there is display screen data 32a acquired last time (step S210). When there is no previous display screen data 32a, this routine is ended as it is, and when there is previous display screen data 32a, the CPU 22 takes an image difference between the previous display screen data 32a and the currently acquired display screen data 32a. Then, the background area 90 and the display image area 92 are detected (step S220). FIG. 6 is an explanatory diagram of detection of the background area 90 and the display image area 92 and extraction of the image 80a. As shown in FIGS. 5A and 5B, the detection of the background area 90 and the display image area 92 takes the difference between the previous display screen data 32a and the current display screen data 32a and changes from the previous time. An image area that has not been detected is detected as a background area 90, and an image area that has changed since the previous time is detected as a display image area 92 (FIG. 6). Next, the CPU 22 stores information (for example, information such as coordinates) of the detected background area 90 and display image area 92 in a predetermined area of the main RAM 24 (step S230), and whether or not image data instructed to be printed has been input. Is determined (step S240). When the image data instructed to be printed is not input, the CPU 22 ends this routine as it is.

一方、印刷指示された画像データを入力したときには、CPU22は、現在VRAM32に記憶されている表示画面データ32aを取得すると共に、背景領域90及び表示画像領域92の情報に基づいて表示画像を抽出する(ステップS250)。ここでは、表示画像解析取得部61が、画像表示画面80に含まれている6つの表示画像を抽出するものとした(図6の画像80a参照)。続いて、CPU22は、予め定められた所定量の画像データを入力すると表示アプリケーションモジュール50へ出力待ち指令を出力する(ステップS260)。このように、画像データの入力を一時停止した状態で、CPU22は、入力した印刷指示された画像データのリサイズ処理を実行し(ステップS270)、リサイズした画像データと、抽出した表示画像とのマッチングを実行することにより印刷指示された画像データに対応する表示画像を特定する処理を実行する(ステップS280)。図7は、入力した画像データと抽出した表示画像とのマッチングの概念図である。ここでは、表示画像領域のサイズになるよう画像データをリサイズするものとした。また、印刷対象画像特定部64が、入力した画像データと抽出した表示画像とのマッチングを実行し表示画像を特定する処理を実行する。   On the other hand, when the image data instructed to be printed is input, the CPU 22 acquires the display screen data 32a currently stored in the VRAM 32 and extracts the display image based on the information of the background area 90 and the display image area 92. (Step S250). Here, it is assumed that the display image analysis acquisition unit 61 extracts six display images included in the image display screen 80 (see an image 80a in FIG. 6). Subsequently, when inputting a predetermined amount of predetermined image data, the CPU 22 outputs an output waiting command to the display application module 50 (step S260). In this way, with the input of the image data suspended, the CPU 22 executes the resizing process on the input image data for which printing has been instructed (step S270), and matching between the resized image data and the extracted display image is performed. Is executed to specify a display image corresponding to the image data instructed to be printed (step S280). FIG. 7 is a conceptual diagram of matching between input image data and an extracted display image. Here, the image data is resized so as to be the size of the display image area. Further, the print target image specifying unit 64 executes a process of matching the input image data with the extracted display image to specify the display image.

ここで、印刷指示された画像データに対応する表示画像を特定する理由について説明する。印刷ドライバモジュール60が表示アプリケーションモジュール50よりもあとでインストールされたり、印刷ドライバモジュール60と表示アプリケーションモジュール50とのベンダーが異なるときなどには、画像表示処理と印刷処理とを1以上のモジュールが統括して実行できないことがある。このような場合には、印刷ドライバモジュール60側では、印刷指示された元画像データを特定できず、そのサムネイル画像を元画像データから取得することができないことがある。また、ビューワ20やプリンタ40などの機器では、メモリ量に限りがあることから、解凍された画像データの全体をメモリに保持しこの保持した画像を解析してAPF情報24bを生成することや、解凍された画像データの全体をメモリに保持しつつ、この画像データのサムネイル画像を生成し生成したサムネイル画像を解析してAPF情報24bを生成することなどが困難なこともある。ここでは、画像サイズの小さい画像表示画面80に含まれる表示画像をVRAM32から取得し、印刷指示されて画像データを入力したときに、入力した画像データの一部を用いて画像サイズの小さな表示画像を印刷ドライバモジュール60側で特定するのである。そして、画像サイズの小さな表示画像を解析してAPF情報24bを生成するのである。   Here, the reason for specifying the display image corresponding to the image data instructed to be printed will be described. When the print driver module 60 is installed after the display application module 50 or the vendors of the print driver module 60 and the display application module 50 are different, one or more modules control the image display process and the print process. May not be executed. In such a case, the print driver module 60 side cannot specify the original image data instructed to be printed, and may not be able to acquire the thumbnail image from the original image data. In addition, since the amount of memory is limited in devices such as the viewer 20 and the printer 40, the entire decompressed image data is stored in the memory, and the stored image is analyzed to generate the APF information 24b. It may be difficult to generate the APF information 24b by generating a thumbnail image of the image data and analyzing the generated thumbnail image while holding the entire decompressed image data in the memory. Here, when a display image included in the image display screen 80 with a small image size is acquired from the VRAM 32 and image data is input upon receiving a print instruction, a display image with a small image size is used by using a part of the input image data. Is specified on the print driver module 60 side. Then, the APF information 24b is generated by analyzing the display image having a small image size.

さて、ステップS280のあと、CPU22は、一部入力した画像データに対応する表示画像が特定できたか否かを判定し(ステップS290)、特定できていないときには、他の表示画像とのマッチングを行う処理を継続し、特定できたときには、特定された表示画像を用いてAPF情報24bを生成する(ステップS300)。ここでは、APF情報生成部62が、APF情報24bを生成する処理を行うものとした。続いて、CPU22は、出力待ちの解除指令を表示アプリケーションモジュール50へ出力し(ステップS310)、画像データの入力を再開すると共に、APF情報24bを用いて印刷指示された画像データに補正処理を実行しプリンタ40で印刷処理可能な印刷データを生成する処理を実行する(ステップS320)。ここでは、印刷データ展開部66がAPF情報24bを用いて印刷データを生成するものとした。   After step S280, the CPU 22 determines whether or not a display image corresponding to partly input image data has been specified (step S290). If the display image has not been specified, matching is performed with another display image. When the process is continued and identified, the APF information 24b is generated using the identified display image (step S300). Here, it is assumed that the APF information generation unit 62 performs processing for generating the APF information 24b. Subsequently, the CPU 22 outputs an output waiting cancel command to the display application module 50 (step S310), restarts input of image data, and executes correction processing on the image data instructed to be printed using the APF information 24b. Then, a process of generating print data that can be printed by the printer 40 is executed (step S320). Here, it is assumed that the print data development unit 66 generates print data using the APF information 24b.

続いて、CPU22は、印刷データをUSBドライバモジュール36へ出力する出力処理を実行し(ステップS330)、印刷データの出力処理が完了したか否かを判定し(ステップS340)、印刷データの出力処理が完了していないときには、ステップS320以降の処理を実行し、印刷データの出力処理が完了したときには、このルーチンを終了する。印刷データを入力したUSBドライバモジュール36は、データ送信部37を用いて印刷データをプリンタ40へ送信出力するものとした。なお、ここでは、メモリ量を勘案して、画像データの一部分ずつをAPF情報24bを用いて補正しつつ印刷データへ変換しこの一部分ずつをプリンタ40へ送信出力するものとした。この印刷データを受信したプリンタ40は、印刷処理を実行する。印刷処理では、CPU42は、印刷機構45の駆動モータを駆動して給紙ローラや搬送ローラなどを回転させて記録紙Sをプラテン上の印刷可能領域へ搬送し、キャリッジモータを駆動しキャリッジをキャリッジ移動方向に移動させながら着色剤としてのインクを印刷データに基づいて記録紙Sへ吐出する処理を行う。このように、例えば、色かぶり写真や逆光写真などの画像データに対してAPF情報24bを用いてよりきれいな画像となるように印刷処理を行うのである。   Subsequently, the CPU 22 executes output processing for outputting the print data to the USB driver module 36 (step S330), determines whether the print data output processing is completed (step S340), and print data output processing. Is not completed, the processing from step S320 is executed, and when the print data output processing is completed, this routine is terminated. The USB driver module 36 to which the print data is input is configured to transmit and output the print data to the printer 40 using the data transmission unit 37. Here, in consideration of the amount of memory, each part of the image data is converted into print data while being corrected using the APF information 24b, and each part is transmitted to the printer 40 and output. The printer 40 that has received this print data executes print processing. In the printing process, the CPU 42 drives the drive motor of the printing mechanism 45 to rotate the paper feed roller, the conveyance roller, etc., and conveys the recording paper S to the printable area on the platen, and drives the carriage motor to move the carriage to the carriage. A process of discharging ink as a colorant onto the recording paper S based on print data while moving in the moving direction is performed. In this way, for example, print processing is performed on image data such as a color cast photograph or a backlight photograph so that a clearer image is obtained using the APF information 24b.

ここで、本実施形態の構成要素と本発明の構成要素との対応関係を明らかにする。本実施形態のLCDパネル28が本発明の表示手段に相当し、表示画像解析取得部61が画面取得手段及び画像抽出手段に相当し、APF情報生成部62が調整情報生成手段に相当し、印刷対象画像特定部64が画像データ取得手段に相当し、印刷データ展開部66が画質調整実行手段及び情報出力手段に相当し、APF情報24bが画質調整情報に相当する。なお、本実施形態では、ビューワ20の動作を説明することにより本発明の画像処理方法の一例も明らかにしている。   Here, the correspondence between the components of the present embodiment and the components of the present invention will be clarified. The LCD panel 28 of this embodiment corresponds to the display unit of the present invention, the display image analysis acquisition unit 61 corresponds to the screen acquisition unit and the image extraction unit, the APF information generation unit 62 corresponds to the adjustment information generation unit, and printing The target image specifying unit 64 corresponds to the image data acquisition unit, the print data development unit 66 corresponds to the image quality adjustment execution unit and the information output unit, and the APF information 24b corresponds to the image quality adjustment information. In the present embodiment, an example of the image processing method of the present invention is also clarified by describing the operation of the viewer 20.

以上詳述した本実施形態のビューワ20によれば、印刷に用いる画像データに対応付けられた表示画像を含み、LCDパネル28に表示される表示画面データ32aを記憶したVRAM32からこの表示画面データ32aを取得し、取得した表示画面データ32aに含まれる表示画像を抽出し、この抽出した表示画像を用いてこの表示画像に対応付けられた画像データの画質を調整するAPF情報24bを生成し、生成したAPF情報24bを利用して、画像データの補正処理を実行する。このように、画像データよりもデータ量の小さい表示画像を用いてAPF情報24bを生成するから、利用する記憶容量を抑えてAPF情報24bを生成することができる。また、例えば画像表示処理と印刷処理とを統括して実行していない場合であっても、VRAM32から表示画面データ32aを取得し、この表示画面データ32aに含まれる表示画像を抽出するから、より確実に画像データのAPF情報24bによる補正処理を実行することができる。また、前回取得した表示画面データ32aと今回取得した表示画面データ32aと画像が異なっている領域を表示画像の領域として検出しこの検出した表示画像領域の画像を表示画像として抽出するため、表示画面データ32aの表示画像が含まれている領域を予め設定していなくても、より確実に表示画像を抽出することができる。更に、印刷指示された画像データを取得したときには、その取得時にLCDパネル28に表示されている表示画面データ32aから抽出したこの画像データに対応する表示画像を用いて取得した画像データに対応するAPF情報24bを生成するため、画像表示処理と印刷処理とを統括して実行していない場合であっても、ユーザが選択した表示画像を抽出しやすい。更にまた、取得した画像データの少なくとも一部と抽出した表示画像とを用いて表示画面データ32aに含まれる表示画像を特定し、この特定した表示画像を用いて画像データに対応するAPF情報24bを生成するため、画像表示処理と印刷処理とを統括して実行していない場合であっても、表示画面に含まれるいずれの画像が印刷指示されたかを特定しやすく、ひいては、より確実に画像データの補正処理を実行することができる。そして、生成したAPF情報24bを用いて、対応する画像データに補正処理を施し、プリンタ40が印刷に用いる印刷データを生成するため、プリンタ40側にAPF情報24bを用いて画像データへ補正処理を施す機能がない場合でも、確実に補正処理を施した印刷データをプリンタ40が印刷処理することができる。   According to the viewer 20 of the present embodiment described in detail above, the display screen data 32a is displayed from the VRAM 32 that stores the display image data 32a that is displayed on the LCD panel 28 and includes the display image associated with the image data used for printing. Is extracted, a display image included in the acquired display screen data 32a is extracted, APF information 24b for adjusting the image quality of the image data associated with the display image is generated using the extracted display image, and generated The image data correction process is executed using the APF information 24b. In this way, since the APF information 24b is generated using a display image having a data amount smaller than that of the image data, the APF information 24b can be generated while suppressing the storage capacity to be used. Further, for example, even when the image display process and the print process are not performed in an integrated manner, the display screen data 32a is acquired from the VRAM 32, and the display image included in the display screen data 32a is extracted. The correction process using the APF information 24b of the image data can be surely executed. Further, the display screen data 32a obtained in the previous time and the display screen data 32a acquired this time are detected as a display image area, and an image in the detected display image area is extracted as a display image. Even if the area including the display image of the data 32a is not set in advance, the display image can be extracted more reliably. Further, when the image data instructed to be printed is acquired, the APF corresponding to the image data acquired using the display image corresponding to the image data extracted from the display screen data 32a displayed on the LCD panel 28 at the time of acquisition. Since the information 24b is generated, it is easy to extract the display image selected by the user even when the image display process and the print process are not performed in an integrated manner. Furthermore, the display image included in the display screen data 32a is specified using at least a part of the acquired image data and the extracted display image, and the APF information 24b corresponding to the image data is obtained using the specified display image. Therefore, even if the image display process and the print process are not executed in an integrated manner, it is easy to specify which image included in the display screen has been instructed to print, and as a result, the image data can be more reliably detected. The correction process can be executed. Then, using the generated APF information 24b, the corresponding image data is corrected, and the printer 40 generates print data to be used for printing. Therefore, the printer 40 performs correction processing on the image data using the APF information 24b. Even if there is no function to be performed, the printer 40 can print the print data that has been reliably subjected to the correction process.

なお、本発明は上述した実施形態に何ら限定されることはなく、本発明の技術的範囲に属する限り種々の態様で実施し得ることはいうまでもない。   It should be noted that the present invention is not limited to the above-described embodiment, and it goes without saying that the present invention can be implemented in various modes as long as it belongs to the technical scope of the present invention.

例えば、上述した実施形態では、画像データにAPF情報24bを用いて補正し印刷データを生成するものとしたが、プリンタ40側で画像データとAPF情報24bとを用いて印刷データを生成可能であるときには、画像データとAPF情報24bとをプリンタ40へ送信出力するものとしてもよい。こうすれば、APF情報24bと画像データとを用いて、プリンタ40側でこの画像データに補正処理を実行することができる。あるいは、画像データにAPF情報24bを用いて補正し印刷データを生成するものとしたが、画像データにAPF情報24bを用いて補正した補正後の画像データを保存してもよいし、表示してもよい。   For example, in the above-described embodiment, the print data is generated by correcting the image data using the APF information 24b. However, the print data can be generated using the image data and the APF information 24b on the printer 40 side. In some cases, the image data and the APF information 24b may be transmitted and output to the printer 40. In this way, the correction process can be executed on the image data on the printer 40 side using the APF information 24b and the image data. Alternatively, the print data is generated by correcting the image data using the APF information 24b. However, the corrected image data corrected using the APF information 24b may be stored in the image data or displayed. Also good.

上述した実施形態では、前回と今回の表示画面データ32aで画像が異なっている領域を表示画像の領域として検出するものとしたが、表示画像の領域は、予め定められており、その予め定められた領域の画像を表示画像として抽出するものとしてもよい。なお、1回だけ、若しくは、所定期間を空けて前回と今回の表示画面データ32aで画像が異なっている領域を表示画像の領域として検出するものとし、1度検出した表示画像の領域をそれ以後、予め定められた領域として用いるものとしてもよい。   In the above-described embodiment, an area where the image is different between the previous display screen data 32a and the current display screen data 32a is detected as the display image area. However, the display image area is predetermined, and the predetermined area is determined in advance. An image of the selected area may be extracted as a display image. It should be noted that an area where the image is different between the previous and current display screen data 32a after a predetermined period is detected as the display image area, and the display image area detected once is thereafter Alternatively, it may be used as a predetermined area.

上述した実施形態では、印刷指示された画像データを入力したときにLCDパネル28に表示されている表示画面データ32aから表示画像を抽出するものとしたが、印刷指示された画像データの入力にかかわらず、表示画面データ32aから表示画像を抽出しておくものとしてもよい。また、印刷指示された画像データを入力したあとで表示画像を抽出してAPF情報24bを生成するものとしたが、印刷指示された画像データを入力する前に表示画像を抽出してAPF情報24bを生成して表示画像とAPF情報24bとを対応付けておき、印刷指示された画像データを入力したときにはその表示画像に対応するAPF情報24bを用いるものとしてもよい。こうすれば、画像データの印刷指示に備えてAPF情報24bを準備しておくため、より印刷処理時間を短縮することができる。   In the above-described embodiment, the display image is extracted from the display screen data 32a displayed on the LCD panel 28 when the image data instructed to be printed is input. However, regardless of the input of the image data instructed to be printed. Instead, the display image may be extracted from the display screen data 32a. Further, although the display image is extracted after inputting the image data instructed to print and the APF information 24b is generated, the display image is extracted and the APF information 24b is input before the image data instructed to be printed is input. And the display image and the APF information 24b are associated with each other, and when the image data instructed to be printed is input, the APF information 24b corresponding to the display image may be used. In this way, the APF information 24b is prepared in preparation for the image data print instruction, so that the print processing time can be further shortened.

上述した実施形態では、入力した画像データの一部を用いて表示画面データ32aに含まれる表示画像を特定するものとしたが、例えば、表示画面データ32aに表示画像が1つしか含まれていない場合などには、この処理を省略してもよい。   In the embodiment described above, the display image included in the display screen data 32a is specified using a part of the input image data. For example, the display screen data 32a includes only one display image. In some cases, this process may be omitted.

上述した実施形態では、本発明の画像処理装置としてのビューワ20として説明したが、表示画面から表示画像を選択して印刷処理させるものであれば特に限定されずに用いることができ、本発明の画像処理装置としての電子機器、例えば、デジタルカメラ、デジタルビデオ、携帯電話、テレビ、パソコン、携帯用ゲーム機、家庭用ゲーム機、録画機器(ビデオデッキやHDDデッキ)、PDA(Personal Digital Assistant)などとしてもよい。また、ビューワ20の態様で本発明を説明したが、画像処理方法の態様としてもよいし、この方法のプログラムの態様としてもよい。   In the above-described embodiment, the viewer 20 as the image processing apparatus of the present invention has been described. However, as long as the display image is selected from the display screen and subjected to print processing, the present invention can be used without any particular limitation. Electronic devices as image processing devices, such as digital cameras, digital videos, mobile phones, televisions, personal computers, portable game machines, home game machines, recording devices (video decks and HDD decks), PDA (Personal Digital Assistant), etc. It is good. Further, although the present invention has been described in the form of the viewer 20, it may be an aspect of an image processing method or a program aspect of this method.

ビューワ20とプリンタ40の構成の概略を示す構成図である。2 is a configuration diagram showing an outline of configurations of a viewer 20 and a printer 40. FIG. コントローラ21の機能構成を示すブロック図である。3 is a block diagram showing a functional configuration of a controller 21. FIG. 表示出力処理ルーチンの一例を示すフローチャートである。It is a flowchart which shows an example of a display output process routine. 領域検出・印刷データ出力処理ルーチンのフローチャートである。10 is a flowchart of a region detection / print data output processing routine. LCDパネル28に表示した画像表示画面80の説明図である。It is explanatory drawing of the image display screen 80 displayed on the LCD panel. 背景領域90と表示画像領域92との検出の説明図である。It is explanatory drawing of the detection of the background area | region 90 and the display image area | region 92. FIG. 入力した画像データと抽出した表示画像とのマッチングの概念図である。It is a conceptual diagram of matching with the input image data and the extracted display image.

符号の説明Explanation of symbols

12 メモリカード、20 ビューワ、21 コントローラ、22 CPU、23 フラッシュROM、23a 背景画像データ、24 メインRAM、24a 表示画像情報、24b APF情報、25 HDD、26 USBコントローラ、26a USBポート、27 メモリカードコントローラ、27a スロット、28 LCDパネル、29 バス、30 LCDコントローラ、32 VRAM、32a 表示画面データ、34 操作部、34a カーソルキー、34b 決定キー、36 USBドライバモジュール、37 データ送信部、40 プリンタ、41 コントローラ、42 CPU、43 ROM、44 RAM、45 印刷機構、46 USBコントローラ、46a USBポート、48 操作パネル、48a 表示部、48b 操作部、50 表示アプリケーションモジュール、51 GUI入力部、52 画像展開部、54 表示画面生成部、56 画像保持部、58 GUI表示部、60 印刷ドライバモジュール、61 表示画像解析取得部、62 APF情報生成部、63 APF情報管理部、64 印刷対象画像特定部、66 印刷データ展開部、80 画像表示画面、80a〜80l 画像、81 カーソル、90 背景領域、92 表示画像領域、S 記録紙。   12 memory card, 20 viewer, 21 controller, 22 CPU, 23 flash ROM, 23a background image data, 24 main RAM, 24a display image information, 24b APF information, 25 HDD, 26 USB controller, 26a USB port, 27 memory card controller 27a slot, 28 LCD panel, 29 bus, 30 LCD controller, 32 VRAM, 32a display screen data, 34 operation unit, 34a cursor key, 34b determination key, 36 USB driver module, 37 data transmission unit, 40 printer, 41 controller 42 CPU, 43 ROM, 44 RAM, 45 printing mechanism, 46 USB controller, 46a USB port, 48 operation panel, 48a display unit, 48b operation unit, 5 0 display application module, 51 GUI input unit, 52 image development unit, 54 display screen generation unit, 56 image holding unit, 58 GUI display unit, 60 print driver module, 61 display image analysis acquisition unit, 62 APF information generation unit, 63 APF information management unit, 64 print target image specifying unit, 66 print data development unit, 80 image display screen, 80a to 80l image, 81 cursor, 90 background region, 92 display image region, S recording paper.

Claims (9)

画像を表示する表示手段を備えた画像処理装置を利用し、印刷に用いる画像データを処理する画像処理方法であって、
(a)前記印刷に用いる画像データに対応付けられた表示画像を含み前記表示手段に表示される表示画面データを記憶した画面記憶手段から該表示画面データを取得するステップと、
(b)前記ステップ(a)で取得した表示画面データに含まれる前記表示画像を抽出するステップと、
(c)前記ステップ(b)で抽出した表示画像を用いて、該表示画像に対応付けられた画像データの画質を調整する画質調整情報を生成するステップと、
を含む画像処理方法。
An image processing method for processing image data used for printing by using an image processing apparatus having a display means for displaying an image,
(A) acquiring the display screen data from a screen storage unit that stores display screen data that includes a display image associated with the image data used for printing and is displayed on the display unit;
(B) extracting the display image included in the display screen data acquired in step (a);
(C) using the display image extracted in step (b) to generate image quality adjustment information for adjusting the image quality of the image data associated with the display image;
An image processing method including:
前記ステップ(b)では、前回取得した表示画面データと今回取得した表示画面データと画像が異なっている領域を前記表示画像の領域として検出し該検出した表示画像の領域にある画像を前記表示画像として抽出する、請求項1に記載の画像処理方法。   In the step (b), an area where an image is different from the previously acquired display screen data and the currently acquired display screen data is detected as an area of the display image, and an image in the detected display image area is displayed as the display image. The image processing method according to claim 1, wherein: 請求項1又は2に記載の画像処理方法であって、
(d)ユーザの入力に基づいて選択された前記表示画面データに含まれる表示画像に対応する画像データを取得するステップ、を更に含み、
前記ステップ(c)では、前記ステップ(d)で前記画像データを取得したときには、該取得時に前記表示手段に表示されている前記表示画面データから抽出した該画像データに対応する表示画像を用いて該取得した画像データに対応する画質調整情報を生成する、画像処理方法。
The image processing method according to claim 1 or 2,
(D) further including obtaining image data corresponding to a display image included in the display screen data selected based on a user input;
In the step (c), when the image data is acquired in the step (d), a display image corresponding to the image data extracted from the display screen data displayed on the display means at the time of acquisition is used. An image processing method for generating image quality adjustment information corresponding to the acquired image data.
前記ステップ(c)では、前記ステップ(d)で前記画像データを取得すると、該取得した画像データの少なくとも一部と前記抽出した表示画像とを用いて前記表示画面データに含まれるユーザの入力に基づいて選択された表示画像を特定し、該特定した表示画像を用いて該取得した画像データに対応する画質調整情報を生成する、請求項3に記載の画像処理方法。   In the step (c), when the image data is acquired in the step (d), at least a part of the acquired image data and the extracted display image are used for user input included in the display screen data. 4. The image processing method according to claim 3, wherein a display image selected based on the specified display image is specified, and image quality adjustment information corresponding to the acquired image data is generated using the specified display image. 請求項1〜4のいずれか1項に記載の画像処理方法であって、
(e)前記ステップ(c)で生成した画質調整情報を用いて該対応する画像データに補正処理を施すステップと、
(f)前記ステップ(e)で補正処理を施して生成した補正後データを出力するステップと、を更に含む画像処理方法。
The image processing method according to any one of claims 1 to 4,
(E) performing a correction process on the corresponding image data using the image quality adjustment information generated in step (c);
(F) An image processing method further comprising: outputting corrected data generated by performing the correction process in the step (e).
前記ステップ(e)では、前記画像データに前記画質調整情報を用いて補正処理を施して、前記画像データに基づく画像を印刷媒体に印刷する印刷装置が用いる印刷データを前記補正後データとして生成する、請求項5に記載の画像処理方法。   In the step (e), the image data is subjected to correction processing using the image quality adjustment information, and print data used by a printing apparatus that prints an image based on the image data on a print medium is generated as the corrected data. The image processing method according to claim 5. 請求項1〜5のいずれか1項に記載の画像処理方法であって、
(g)前記ステップ(c)で生成した画質調整情報と該画質調整情報に対応する画像データとを、前記画像データに基づく画像を印刷媒体に印刷する印刷装置へ出力するステップ、を含む画像処理方法。
An image processing method according to any one of claims 1 to 5,
(G) Image processing including outputting the image quality adjustment information generated in the step (c) and image data corresponding to the image quality adjustment information to a printing apparatus that prints an image based on the image data on a print medium. Method.
請求項1〜7のいずれか1項に記載の画像処理方法の各ステップを1以上のコンピュータに実行させるためのプログラム。   The program for making one or more computers perform each step of the image processing method of any one of Claims 1-7. 印刷に用いる画像データを処理する画像処理装置であって、
画像を表示する表示手段と、
前記印刷に用いる画像データに対応付けられた表示画像を含み前記表示手段に表示される表示画面データを記憶した画面記憶手段から該表示画面データを取得する画面取得手段と、
前記取得した表示画面データに含まれる前記表示画像を抽出する画像抽出手段と、
前記抽出した表示画像を用いて該表示画像に対応付けられた画像データの画質を調整する画質調整情報を生成する調整情報生成手段と、
を備えた画像処理装置。
An image processing apparatus for processing image data used for printing,
Display means for displaying an image;
Screen acquisition means for acquiring the display screen data from a screen storage means for storing display screen data to be displayed on the display means including a display image associated with the image data used for the printing;
Image extracting means for extracting the display image included in the acquired display screen data;
Adjustment information generating means for generating image quality adjustment information for adjusting the image quality of image data associated with the display image using the extracted display image;
An image processing apparatus.
JP2007240978A 2007-09-18 2007-09-18 Image processor, image processing method and program thereof Pending JP2009071782A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2007240978A JP2009071782A (en) 2007-09-18 2007-09-18 Image processor, image processing method and program thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2007240978A JP2009071782A (en) 2007-09-18 2007-09-18 Image processor, image processing method and program thereof

Publications (1)

Publication Number Publication Date
JP2009071782A true JP2009071782A (en) 2009-04-02

Family

ID=40607547

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2007240978A Pending JP2009071782A (en) 2007-09-18 2007-09-18 Image processor, image processing method and program thereof

Country Status (1)

Country Link
JP (1) JP2009071782A (en)

Similar Documents

Publication Publication Date Title
JP5554931B2 (en) Image processing system, image processing apparatus, image processing method, and program
JP2008136167A (en) Image output device, image processing apparatus, image output and image processing system, method therefor and program therefor
US8503005B2 (en) Image forming apparatus that prints combined image including image data and embedded information in image file, image printing system, image combining and outputting method, and computer product
JP4968888B2 (en) Printing system, imaging apparatus, control method therefor, program, and storage medium
JP2008036856A (en) Printer and method for printing
JP4743180B2 (en) Image display control device, photographing device, image display method and program thereof
JP5083180B2 (en) Image processing apparatus, program, and image processing method
JP2009071782A (en) Image processor, image processing method and program thereof
US20070013937A1 (en) Image forming device and user terminal device for providing guide information and method of providing guide information thereof
JP4747903B2 (en) Printing device
JP2004254294A (en) Active digital image capturing device
JP4605289B2 (en) RAW data processing apparatus, RAW data processing method and program thereof
JP4358057B2 (en) Computer apparatus and image processing program
JP2008105236A (en) Raw data processor, method for processing raw data, and program therefor
JP2008213406A (en) Printing processor, printing processing method, and its program
JP4821576B2 (en) Information processing apparatus and information processing method
JP4924274B2 (en) Image processing apparatus, image processing method, and program thereof
JP2001238156A (en) Picture print system and digital camera used for it
JP2009077437A (en) Raw data processor, raw data processing method and program thereof
JP2009040005A (en) Printer, its control method and program
KR20060112702A (en) Methods for providing data for printing operation, printing method, and apparatus for the same
JP2008122773A (en) Information processor, information processing method, and program thereof
JP5241933B2 (en) Imaging apparatus and control method thereof, printing system, program, and storage medium
JP2009023191A (en) Printer, its control method and program
KR20060023780A (en) Photo printer and method for setting pringing option thereof