JP2005286423A - Image processing method and image processing program - Google Patents
Image processing method and image processing program Download PDFInfo
- Publication number
- JP2005286423A JP2005286423A JP2004093634A JP2004093634A JP2005286423A JP 2005286423 A JP2005286423 A JP 2005286423A JP 2004093634 A JP2004093634 A JP 2004093634A JP 2004093634 A JP2004093634 A JP 2004093634A JP 2005286423 A JP2005286423 A JP 2005286423A
- Authority
- JP
- Japan
- Prior art keywords
- image
- image data
- original image
- correction
- display
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Images
Landscapes
- Television Signal Processing For Recording (AREA)
- Editing Of Facsimile Originals (AREA)
- Facsimile Image Signal Circuits (AREA)
Abstract
Description
本発明は、例えばデジタルカメラ等の撮影装置から送られる原画像データ(CCD−RAWデータ)に基づいてデジタル画像を再生表示しながら、各種の画像処理を行う画像処理方法及び画像処理プログラムに関する。 The present invention relates to an image processing method and an image processing program for performing various types of image processing while reproducing and displaying a digital image based on original image data (CCD-RAW data) sent from a photographing device such as a digital camera.
デジタル画像の画質を向上させる上で、パーソナルコンピュータ(PC)等の情報処理端末を用いて、デジタル画像のカラーバランス、ホワイトバランスやトーンカーブといった各種の補正を行うことが有効である。例えば、写真スタジオなどでデジタルカメラを用いて撮影を行った場合では、デジタルカメラからプレゼンテーション用PCや検定用PCなどに画像データが送られる。そして、撮影終了後プレゼンテーション用PCにて、撮影により得られた画像のおおよその仕上がり状態を示す画像の提示が行われる。写真スタジオの利用者は、提示された画像を観察して、必要な画像のプリント注文や、例えば画像の明るさや色味など変更する画像補正を依頼することができる。オペレータは、検定用PCにて、各種の補正パラメータを変更する検定作業を行うことで、意図した仕上がりの画像を得ることができる。 In order to improve the image quality of a digital image, it is effective to perform various corrections such as color balance, white balance, and tone curve of the digital image using an information processing terminal such as a personal computer (PC). For example, when photographing is performed using a digital camera in a photo studio or the like, image data is sent from the digital camera to a presentation PC, an examination PC, or the like. Then, after the shooting is finished, the presentation PC presents an image indicating an approximate finished state of the image obtained by shooting. The user of the photo studio can observe the presented image and request a print order for the required image, or request image correction to change the brightness or color of the image, for example. The operator can obtain an image with an intended finish by performing a verification operation for changing various correction parameters on the verification PC.
検定や提示の際には、ホワイトバランス処理や露出補正等がなされていない原画像データ(RAWデータ)を出力可能なデジタルカメラを用いることにより、デジタルカメラ側で色情報を落とすことなく高品位の画像を表示できる。原画像データはデジタルカメラの撮像デバイスから出力されたままのデータであり、モニタに表示するために、ホワイトバランス補正や露出補正のパラメータ(以下、現像パラメータと称する)に基づいて画像補正を行い、例えばTIFF(Tagged Image File Format)形式の表示用画像データに変換する(以下、現像処理と称する)必要がある。 By using a digital camera that can output original image data (RAW data) that has not been subjected to white balance processing or exposure correction, etc., at the time of verification and presentation, it is possible to achieve high quality without dropping color information on the digital camera side. An image can be displayed. Original image data is data that has been output from the imaging device of the digital camera, and is displayed on a monitor for image correction based on white balance correction and exposure correction parameters (hereinafter referred to as development parameters). For example, it is necessary to convert to display image data in TIFF (Tagged Image File Format) format (hereinafter referred to as development processing).
しかし、原画像データは、各色毎に例えば12ビットあるいは16ビットの階調値で表される複数の画素データから構成されるため、データサイズが非常に大きく、現像処理に長時間を要する。そして、検定作業においては、各種現像パラメータが変更される毎に、変更後のパラメータにて再び現像処理が行われるため、原画像データのサイズが大きいと作業に要する時間が非常に長くなるという問題があった。同様にして、利用者に画像を提示する際にも、現像処理に時間がかかり、スムーズな提示を行えないという問題がある。 However, since the original image data is composed of a plurality of pixel data represented by, for example, 12-bit or 16-bit gradation values for each color, the data size is very large and a long time is required for development processing. In the verification work, every time various development parameters are changed, the development process is performed again with the changed parameters. Therefore, if the size of the original image data is large, the time required for the work becomes very long. was there. Similarly, when presenting an image to a user, there is a problem that development processing takes time and smooth presentation cannot be performed.
この問題に対処するために、例えば、JPEG(Joint Photographic Coding Expert Group)形式で圧縮したものを検定や提示の際に用いたりするといったことが考えられる。しかし、JPEG形式の画像データは、原画像データを現像処理して得られる表示用画像データと色空間やビット数が異なるため、表示用画像と色合いが異なってしまうといった問題がある。 In order to cope with this problem, for example, it is conceivable to use a compressed JPEG (Joint Photographic Coding Expert Group) format for the test or presentation. However, the image data in JPEG format has a problem in that the color tone and the number of bits are different from the display image data obtained by developing the original image data, so that the color differs from the display image.
本発明は上記事情を鑑みてなされたものであり、検定や提示の際に要する時間を短縮することができるとともに、検定や提示などの用途や装置に合わせた最適な画像を出力できる画像処理方法及び画像処理プログラムを提供することを目的とする。 The present invention has been made in view of the above circumstances, and can reduce the time required for verification and presentation, and can output an optimal image suitable for the application and apparatus such as verification and presentation. An object of the present invention is to provide an image processing program.
上記目的を達成するために、本発明の画像処理方法は、原画像データを可変の間引き率にて間引くことで簡易原画像データを生成し、簡易原画像データに対し補正パラメータに基づき画像補正を行い、補正後の簡易原画像データに基づき生成された簡易表示用画像を再生表示することを特徴としている。簡易表示用画像に対して、前記補正パラメータの調整を可能とし、決定された前記補正パラメータに基づき前記原画像データに画像補正を施すようにしてもよい。 In order to achieve the above object, the image processing method of the present invention generates simple original image data by thinning out original image data at a variable thinning rate, and performs image correction on the simple original image data based on correction parameters. And the simple display image generated based on the corrected simple original image data is reproduced and displayed. The correction parameter may be adjusted for the simple display image, and the original image data may be corrected based on the determined correction parameter.
また、本発明の画像処理プログラムは、撮影により得られた原画像データを間引くことで簡易原画像データを生成する手段と、前記原画像データを間引く際の間引き率を可変させる手段と、前記簡易原画像データに対し補正パラメータに基づき画像補正を行う手段と、補正後の前記簡易原画像データに基づき生成された簡易表示用画像を再生表示して前記補正パラメータの調整を可能とする手段と、決定された前記補正パラメータに基づき前記原画像データに画像補正を施す手段ととして、コンピュータ装置を機能させることを特徴としている。 Further, the image processing program of the present invention includes means for generating simple original image data by thinning out original image data obtained by photographing, means for varying a thinning rate when thinning out the original image data, and the simple Means for performing image correction on original image data based on correction parameters, means for reproducing and displaying a simple display image generated based on the corrected simple original image data, and enabling adjustment of the correction parameters; A computer device is made to function as means for performing image correction on the original image data based on the determined correction parameter.
以下の要因に基づいて間引き率を決定することが好ましい。
(1)画像補正、画像提示、プリントなど簡易表示画像の使用用途。
(2)簡易表示画像を表示する装置のモニタサイズ。
(3)簡易表示画像がプリント出力されるプリンタの解像度。
(4)画像補正を行う装置の処理能力。
(5)画像提示を行う装置の処理能力。
(6)上記(1)〜(5)のうち2つ以上の組み合わせ。
It is preferable to determine the thinning rate based on the following factors.
(1) Use of simple display images such as image correction, image presentation, and printing.
(2) Monitor size of a device that displays a simple display image.
(3) The resolution of the printer that prints out the simple display image.
(4) Processing capability of a device that performs image correction.
(5) Processing capability of a device that performs image presentation.
(6) A combination of two or more of the above (1) to (5).
本発明によれば、原画像データを間引いた、データサイズの小さな簡易原画像データを用いて、検定や提示を行うようにしたので、検定や提示の作業に要する時間を短縮することができる。また、検定や提示などの用途や、検定や提示を行う際に画像を表示したり画像処理を行う装置の能力、また、画像が出力されるプリンタの解像度に応じて、間引き率を可変させるようにしたので、処理に要する時間を効果的に短縮できるだけでなく、用途や装置の能力に応じた最適な画像を出力することができる。 According to the present invention, verification and presentation are performed using simple original image data having a small data size obtained by thinning out the original image data, so that the time required for verification and presentation can be shortened. In addition, the decimation rate can be varied according to the purpose of verification and presentation, the ability of the device to display and process images when performing verification and presentation, and the resolution of the printer that outputs the images. Therefore, not only can the time required for processing be effectively reduced, but also an optimal image can be output according to the application and the capability of the apparatus.
図1は、デジタルカメラ1と画像検定用PC13とプレゼンテーション用PC21とプリンタ23とで構成される撮影システムのブロック図である。画像検定用PC13、プレゼンテーション用PC21としては、市販タイプのパーソナルコンピュータを用いることができる。また、プリンタ23としては、公知のインクジェットプリンタやレーザープリンタなど各種プリンタを用いることができる。
FIG. 1 is a block diagram of an imaging system including a digital camera 1, an image verification PC 13, a presentation PC 21, and a
プレゼンテーション用PC21は、写真スタジオの顧客(利用者)に、撮影で得られたデジタル画像のおよその仕上がり状態をモニタ22により確認させ、プリントの注文を受け付けるために用いられる。一方、画像検定用PC13は、写真スタジオのスタッフ(オペレータ)が、撮影で得られたデジタル画像に各種補正処理を施したり、補正処理後の画像のプリントを行うために用いられる。画像補正用PC13には、画像処理プログラム及びプリンタ23を駆動させるプリンタドライバがインストールされている。プリンタ23は、画像検定用PC13によって駆動制御され、画像検定用PC13から送信される画像データに基づく画像を、例えば写真用記録紙などに印画する。
The presentation PC 21 is used to allow a photograph studio customer (user) to check the approximate finish state of a digital image obtained by photographing on the monitor 22 and accept a print order. On the other hand, the image verification PC 13 is used by a photograph studio staff (operator) to perform various correction processes on a digital image obtained by photographing, and to print an image after the correction process. An image processing program and a printer driver for driving the
デジタルカメラ1と画像検定用PC13、また、画像検定用PC13とプレゼンテーション用PC21、及び、プリンタ23とは、通信ケーブル2を介して互いに接続され、撮影制御データや画像データを送受信することができる。通信ケーブル2は、例えばUSB(Universal Serial Bus)やIEEE1394に準拠したものが用いられる。通信ケーブル2の代わりに、無線通信手段を用いてデータの接受を行ってもよい。
The digital camera 1 and the image verification PC 13, and the image verification PC 13, the presentation PC 21, and the
デジタルカメラ1の各部は、データバス3を介して互いに接続され、CPU4によってその動作が総括的に制御される。ROM5には、デジタルカメラ1を動作するためのプログラムが記録されており、デジタルカメラ1の起動時にRAM6にロードされる。撮像部7には、周知の撮影レンズやCCD等が備えられ、被写体の光学像を光電変換してデジタルの画像データを生成する。絞りやシャッタ速度などの撮影条件は、操作部8に設けられた各種の設定ボタンを操作することで設定される。画像検定用PC13において撮影条件を決定し、通信ケーブル2を介して設定情報をデジタルカメラ1に送ることで、撮影条件を設定しても良い。さらに、撮影制御用の別のPCをデジタルカメラ1に接続することもできる。
Each part of the digital camera 1 is connected to each other via a
撮像部7から出力された画像データは、RAM6にバッファされる。この画像データは、ホワイトバランス処理等の画像補正がなされていない原画像データ(RAWデータ)であり、例えば各色毎に16ビットで表される階調値を持った4256×2848画素分の画素データから構成される。原画像データは、入出力I/F9を介して画像検定用PC13に送られる。また、LCD10には、撮影モード時には被写体像が連続的に表示され、再生モード時には、記録メディア11内の画像が再生表示される。なお、本実施形態では、入出力I/F9を介して原画像データを画像検定用PC13に直接送信しているが、原画像データを記録メディア11に記録しておき、この記録メディア11を画像検定用PC13にセットすることで、原画像データを送るようにしても良い。
The image data output from the
画像検定用PC13は、デジタルカメラ1から送られた原画像データに基づいて画像をモニタ14に再生表示するとともに、キーボード15やマウス16などの入力デバイスからの操作信号に応答して種々の画像補正を行う。画像検定用PC13の各部は、データバス17を介して互いに接続され、CPU18によってその動作が総括的に制御される。デジタルカメラ1から送られた原画像データは、入出力I/F19、データバス17を介してハードディスク等の外部記憶装置20に記録される。キーボード15やマウス16などの入力デバイスは、デジタルカメラ1の撮影条件を設定する際、及び、後述の検定や提示を行う際に操作される。
The image verification PC 13 reproduces and displays an image on the
画像処理プログラムは、CD−ROMやDVD−ROM等の記録媒体やインターネット等を介して画像検定用PC13の外部記憶装置20にインストールされる。キーボード15やマウス16を操作して画像処理プログラムを実行すると、画像処理プログラムがRAM25に読み出されて実行される。
The image processing program is installed in the
画像処理プログラムは、プレゼンテーションモードと、検定モードとを備えている。プレゼンテーションモードにおいては、図2に示す提示画面30が、画像検定用PC13のモニタ14、及び、プレゼンテーション用PC21のモニタ22に表示される。検定モードにおいては、図3、または、図4に示す検定画面50が、画像検定用PC13のモニタ14に表示される。
The image processing program has a presentation mode and a verification mode. In the presentation mode, the
各画面30、50において、キーボード15を操作したり、マウス16を操作してカーソル47を移動させ、クリック操作やドラッグ操作を行うことで、プレゼンテーションモードにおいては、撮影された画像のおよその仕上がり状態を利用者に確認してもらう提示作業の後、プリント注文の受け付けが行われ、検定モードにおいては、オペレータが撮影された画像を補正する検定作業が行われる。各モード間の切り替えは、各画面30,50の右下に表示される「モード切り替え」のタグ88を選択することで行われる。
In each of the
プレゼンテーションモードが選択された場合について説明する。提示画面30(図2参照)には、提示対象画像31を表示する提示対象画像表示領域32,複数のサムネイル画像33a〜33iを表示するサムネイル画像表示領域33が設けられている。また、提示対象画像表示領域32の上側には、提示対象画像31のタイトル(ファイル名)が表示されたタイトルバー36が表示される。
A case where the presentation mode is selected will be described. The presentation screen 30 (see FIG. 2) is provided with a presentation target
提示対象画像31、及び、サムネイル画像33a〜33iは、後述する簡易原画像データ生成処理(図5参照)により、原画像データを間引いて生成される簡易原画像データに基づくものである。この簡易原画像データは、画像処理プログラムで予め定められた初期パラメータにて画像補正が施されるとともに、例えば16ビットの階調値を持ったTiff形式に変換された簡易表示用画像データとしてモニタ14、22に出力される。そして、提示対象画像31は提示対象画像表示領域32に、サムネイル画像33a〜33iはサムネイル画像表示領域33にそれぞれ表示される。以下、簡易原画像データに画像補正を行い、簡易表示用画像データとして出力する処理を「仮現像処理」と称する。また、原画像データに画像補正を行い、表示用画像データとして出力する処理を「本現像処理」と称する。
The
提示対象画像31に対応するサムネイル画像33cの周囲には、選択カーソル37がハイライト表示され、提示対象画像31とサムネイル画像33cとが対応付けられる。サムネイル画像表示領域33の右側には、上下方向にスクロール移動可能なスクロールバー38が設けられる。サムネイル画像が9コマ以上ある場合には、スクロールバー38を上下にスライドすることにより、9コマ目以降のサムネイル画像を表示することができる。なお、図2に示す例では、9コマ分のサムネイル画像が表示されているが、同時に表示するコマ数は適宜増減することができる。
A
各サムネイル画像33a〜33iの下方には、プリント注文枚数を入力する入力ボックス40が表示される。プリント注文枚数の入力は、入力ボックス40に数値を直接入力する、あるいは増減ボタン42の上下をクリックことによって行うことができる。所望する画像のプリント枚数を入力した後、サムネイル画像表示領域33の下方に設けられた、「プリント枚数記憶」のタブ44が選択されると、画像処理プログラムは、入力ボックス40に入力されたプリント枚数と、これに対応する原画像データとを関連付けして記憶する。
An
続いて、検定モードが選択された場合について説明する。検定画面50(図3、図4参照)には、検定対象画像51を表示する検定対象画像表示領域52,複数のサムネイル画像53a〜53dを並べて表示するサムネイル画像表示領域53,及びパラメータ調整領域54が設けられている。また、検定対象画像表示領域52の上側には、検定対象画像51のタイトル(ファイル名)が表示されたタイトルバー56が表示される。
Next, a case where the verification mode is selected will be described. The test screen 50 (see FIGS. 3 and 4) includes a test target
検定対象画像51、及び、サムネイル画像53a〜53dもまた、提示対象画像31やサムネイル画像33a〜33i(図2参照)と同様に、後述する簡易原画像データ生成処理(図5参照)により、原画像データを間引いて生成される簡易原画像データに基づくものである。この簡易原画像データは、仮現像処理されて簡易表示用画像データとしてモニタ14に出力される。そして、検定対象画像51は検定対象画像表示領域52に、サムネイル画像53a〜53dはサムネイル画像表示領域53にそれぞれ表示される。
Similarly to the
検定対象画像51に対応するサムネイル画像53cの周囲には、選択カーソル64がハイライト表示され、検定対象画像51とサムネイル画像53cとが対応付けられる。サムネイル画像表示領域53の右側には、上下方向にスクロール移動可能なスクロールバー65が設けられる。サムネイル画像が5コマ以上ある場合には、スクロールバー65を上下にスライドすることにより、5コマ目以降のサムネイル画像を表示することができる。なお、図4、及び、図5に示す例では、4コマ分のサムネイル画像が表示されているが、同時に表示するコマ数は適宜増減することができる。
A
パラメータ調整領域54には、現像処理時のパラメータ(現像パラメータ)を変更する「現像条件」と、画像調整時のパラメータ(調整パラメータ)を変更する「画像調整」の2タイプの変更画面が設けられ、上部に表示される切り替えタブ70を選択することで、各々の変更画面に切り替えられる。「現像条件変更」のタブが選択されると、図3に示す現像条件変更画面71が表示される。現像条件変更画面71には、例えば、トーンカーブを補正するトーンカーブ補正部72,ホワイトバランスを補正するホワイトバランス補正部73,露出補正ボックス74及び増感補正ボックス75が表示され、マウス16を操作してカーソル47を調整を行うべき箇所に移動させ、クリック操作やドラッグ操作を行うことで、各現像パラメータを変更することができる。現像パラメータが変更されると、変更後の現像パラメータに基づき仮現像処理が行われ、新たに生成された簡易表示画像データに基づく簡易表示用画像が検定対象画像51として更新表示される。
The
「画像調整」のタブが選択されると、図4に示す画像調整画面80が表示される。画像調整画面80においては、カラーバランスやブライトネス、コントラストといった調整パラメータを変更することができる。各々の調整パラメータの値は、対応して表示される入力ボックス81に数値を直接入力する、あるいはインジケータ82を図中左右に移動することで、変更することが可能である。各々の調整パラメータが変更されると、検定対象画像51に対応する簡易表示用画像に対して画像補正が施され、補正後の画像が検定対象画像表示領域52に更新表示される。
When the “image adjustment” tab is selected, an
なお、現像パラメータとしては、図3に示すトーンカーブやホワイトバランスのパラメータのみに限定されることはなく、例えばシャープネス補正のパラメータも含めても良い。また、調整パラメータとしては、図4に示したものの他に、例えばトリミング補正のパラメータも含めることができる。さらに、現像パラメータ及び調整パラメータの組み合わせは、本実施形態に列挙されたものに限定されることはなく、その組み合わせは適宜定めることができる。例えば、カラーバランス補正用のパラメータを、現像パラメータとして含めても良い。 The development parameters are not limited to the tone curve and white balance parameters shown in FIG. 3, but may include, for example, sharpness correction parameters. In addition to the parameters shown in FIG. 4, for example, trimming correction parameters can be included as adjustment parameters. Further, combinations of development parameters and adjustment parameters are not limited to those listed in the present embodiment, and the combinations can be determined as appropriate. For example, a color balance correction parameter may be included as a development parameter.
検定作業が終了した後、パラメータ調整領域54の下方に設けられた「プリント実行」のタブ100が選択されると、プリント処理が実行される。プリント処理においては、プリント注文された画像の原画像データに対して、検定モードにて決定された変更済みの現像パラメータ、及び、調整パラメータを用いた本現像処理が行われ、生成された表示用画像データが入出力I/F19を介してプリンタ23に出力される。プリンタ23は、入力された表示用画像データに基づく画像の印画を行う。
When the “print execution”
このように、検定や提示の際に、原画像データを間引くことによって生成されたデータサイズの小さな簡易画像データを用いることによって、検定や提示の作業に要する時間を短縮することができる。しかし、検定は、写真の雰囲気や見栄えを決定する作業であり、原画像データを必要以上に大きく間引いてしまうと、原画像データのイメージを把握しづらくなり的確な画像補正を行えなくなる恐れがある。一方、提示は、プリント注文時におおよその仕上がり状態を確認するための作業であり、原画像データを大きく間引いた簡易画像データを用いてのスムーズな進行が求められる。このため、本実施形態においては、原画像データを間引く際の間引き率を簡易表示用画像の用途に応じて可変させるようにしている。 As described above, by using simple image data having a small data size generated by thinning out original image data at the time of verification or presentation, the time required for verification or presentation can be shortened. However, the certification is a work to determine the atmosphere and appearance of the photo. If the original image data is thinned out more than necessary, it may be difficult to grasp the image of the original image data and correct image correction may not be performed. . On the other hand, the presentation is an operation for confirming an approximate finished state at the time of ordering a print, and smooth progress using simple image data obtained by thinning out the original image data is required. For this reason, in the present embodiment, the thinning rate when thinning the original image data is varied according to the application of the simple display image.
以下、原画像データを間引いて、簡易原画像データを生成する簡易画像データ生成処理について、図5に示すフローチャートをもとに説明を行う。画像処理プログラムは、実行に伴って、簡易原画像データに基づく簡易表示用画像が、検定対象画像、提示対象画像、サムネイル画像のうちいずれとして表示されるものであるかを判定する、用途判定を行う(S1)。 Hereinafter, simple image data generation processing for thinning out original image data to generate simple original image data will be described with reference to the flowchart shown in FIG. When the image processing program is executed, the image processing program determines whether the simple display image based on the simple original image data is displayed as a test target image, a presentation target image, or a thumbnail image. Perform (S1).
図6に示すように、画像処理プログラムは、簡易表示用画像の用途と間引き率とが対応付けされたデーターテーブル116を備えており、このデータテーブル116に基づいて間引き率を決定する。データテーブル116には、間引き率として、原画像データを構成する縦方向の画素及び横方向の画素数(本実施例では、縦2848画素、横4256画素)に対して、簡易原画像データを構成する縦方向の画素及び横方向の画素数がそれぞれ約1/3(本実施例では、縦946画素、横1419画素)になる間引き率小と、簡易原画像データを構成する縦方向の画素及び横方向の画素数がそれぞれ約1/5(本実施例では、縦564画素、横846画素)になる間引き率中と、簡易原画像データを構成する縦方向の画素及び横方向の画素数がそれぞれ約1/7(本実施例では、縦402画素、横603画素)になる間引き率大の3つの間引き率が設定されている。 As shown in FIG. 6, the image processing program includes a data table 116 in which the usage of the simple display image and the thinning rate are associated, and the thinning rate is determined based on the data table 116. In the data table 116, as the thinning rate, simple original image data is configured for the vertical pixels and the number of horizontal pixels (in the present embodiment, vertical 2848 pixels and horizontal 4256 pixels) constituting the original image data. The thinning rate is small so that the number of pixels in the vertical direction and the number of pixels in the horizontal direction are about 1/3 (in this embodiment, vertical 946 pixels, horizontal 1419 pixels), and the vertical pixels constituting the simple original image data and During the decimation rate in which the number of pixels in the horizontal direction is about 1/5 (in this embodiment, vertical 564 pixels, horizontal 846 pixels), the vertical pixels and the horizontal pixels constituting the simple original image data are Three decimation rates with a large decimation rate, each of which is approximately 1/7 (in this embodiment, 402 pixels vertically and 603 pixels horizontally) are set.
用途判定の結果、検定対象画像51として表示されるものである場合には間引き率小が選択される。同様に、提示対象画像31として表示されるものである場合には間引き率中が選択され、サムネイル画像33a〜33i、53a〜53dとして表示されるものである場合には間引き率大が選択される(S2)。そして、選択された間引き率にて原画像データを間引くことによって、用途に応じたデータサイズの簡易原画像データが生成される(S3)。なお、本実施形態では3つの用途に対応する3つの間引き率を設定する例で説明をしたが、用途の数や種類、及び、対応する間引き率の設定は、適宜変更することができる。
As a result of the use determination, if the image is displayed as the
このようにして生成されたデータサイズの異なる各簡易画像データを、画像検定用PCにて仮現像処理を行ったところ、検定対象画像は約5秒で表示され、提示対象画像は約2.5秒で表示され、サムネイル画像は約1.5秒で表示された。一方、原画像データを本現像処理した画像の表示には約20秒かかった。なお、このとき画像検定用PCのCPUのクロック周波数は2.4GHZであり、仮現像処理、及び、本現像処理では、16ビットの階調値を持ったTiff形式に変換してモニタ出力した。 When each simple image data having different data sizes generated in this way is subjected to provisional development processing by the image verification PC, the verification target image is displayed in about 5 seconds, and the presentation target image is about 2.5. The thumbnail image was displayed in about 1.5 seconds. On the other hand, it took about 20 seconds to display an image obtained by subjecting the original image data to the main development processing. At this time, the clock frequency of the CPU of the image verification PC is 2.4 GHZ, and in the temporary development process and the main development process, it is converted into a Tiff format having a 16-bit gradation value and output to the monitor.
図7に示すフローチャートをもとに、提示と検定の手順について説明をする。画像検定用PC13あるいは外部接続されたPCを操作して、デジタルカメラ1の撮影条件を設定する。設定された撮影条件に基づき、デジタルカメラ1で撮影が行われ、原画像データが生成される。原画像データは、通信ケーブル2を介してデジタルカメラ1から画像検定用PC13に送られる。 The procedure of presentation and verification will be described based on the flowchart shown in FIG. The imaging condition of the digital camera 1 is set by operating the image verification PC 13 or an externally connected PC. Based on the set photographing conditions, photographing is performed with the digital camera 1, and original image data is generated. The original image data is sent from the digital camera 1 to the image verification PC 13 via the communication cable 2.
画像検定用PC13では、提示対象画像31及びサムネイル画像33a〜33i(図2参照)を参照しながらプリント注文を受け付けるプレゼンテーションモードと、検定画面50に表示された検定対象画像51及びサムネイル画像53a〜53d(図3,図4参照)を参照しながら撮影された画像の補正を行う検定モードのいずれかを選択することができる(S10)。
In the image verification PC 13, a presentation mode in which a print order is received while referring to the
モードの選択がなされると、原画像データを間引いた簡易原画像データを生成する、簡易原画像データ生成処理(図5参照)が行われる(S11)。簡易原画像データ生成処理では、簡易画像データに基づく簡易表示画像の表示用途に応じて間引き率が決定される。そして、原画像データを小さく間引くことで、検定対象画像51として表示される簡易原画像データが生成される。一方、原画像データを大きく間引くことで、提示対象画像31として表示される簡易原画像データが生成される。また、原画像データをさらに大きく間引くことで、サムネイル画像33a〜33i、53a〜53dとして表示される簡易原画像データが生成される。
When the mode is selected, simple original image data generation processing (see FIG. 5) for generating simple original image data obtained by thinning the original image data is performed (S11). In the simple original image data generation process, the thinning rate is determined according to the display application of the simple display image based on the simple image data. Then, simple original image data displayed as the
プレゼンテーションモードにおいて画像検定用PC13は、簡易画像データに対して初期ラメータにて仮現像処理を行う。この仮現像処理により生成された簡易表示用画像は、提示対象画像31、及び、サムネイル画像33a〜33iとして提示画面30に表示される(S12)。利用者は撮影によって得られた画像のおおよその仕上がり状態を提示画面30を観察することによって確認し、所望の画像のプリント枚数を入力してプリント注文を行うことができる(S13)。また、利用者は、仕上がり状態に不満を感じた際には、例えばもう少し明るい画像を希望するといったように、オペレーターに対して画像補正を依頼することができる。
In the presentation mode, the image verification PC 13 performs temporary development processing on the simplified image data with initial parameters. The simple display image generated by the temporary development processing is displayed on the
オペレーターは、検定モードにおいて撮影された画像を補正することができる。検定モードにおいて画像検定用PC13は、簡易原画像データに対して初期現像パラメータにて仮現像処理を行い、生成された簡易表示用画像を検定対象画像51として検定対象画像表示領域52内に表示する(S14)。オペレータは検定対象画像51を観察して、トーンカーブや色温度といった現像パラメータを変更する(S15)。現像パラメータが変更されると、簡易原画像データに対して変更後の現像パラメータにて仮現像処理が行われ、検定対象画像51が更新表示される。そして、オペレータの所望する仕上がりの画像が得られたときに、現像条件の補正が終了し、現像パラメータが決定される(S16)。
The operator can correct the image taken in the verification mode. In the verification mode, the image verification PC 13 performs temporary development processing on the simplified original image data with the initial development parameters, and displays the generated simple display image as the
現像パラメータの確定後、検定画面50には、確定された現像パラメータにて仮現像処理がなされ、初期の調整パラメータにてカラーバランスやコントラスト、トリミング等の処理がなされた簡易表示用画像が、検定対象画像51として表示される(S17)。オペレータはこの検定対象画像51を観察して、調整パラメータを変更する(S18)。調整パラメータが変更されると、簡易原画像データから得られる簡易表示用画像に対して色調整やトリミングなどの画像調整が行われ、検定対象画像51が更新表示される。これを繰り返し、オペレータの所望する仕上がりの画像が得られたときに、画像調整が終了し、調整パラメータが決定される(S19)。
After the development parameters are determined, a temporary display image that has undergone provisional development processing with the determined development parameters and has undergone processing such as color balance, contrast, and trimming with the initial adjustment parameters is displayed on the
検定が終了した後、「プリント実行」のタブ100を選択することで(S20)、プリント注文された画像の原画像データに対して、変更済みパラメータを用いた本現像処理が行われ、表示用画像データが生成される(S21)。生成された表示用画像データは、入出力I/F19を介してプリンタ23に出力され印画が行われる(S22)。
After the verification is completed, by selecting the “print execution” tab 100 (S20), the original development process using the changed parameters is performed on the original image data of the image for which the print order has been placed, for display. Image data is generated (S21). The generated display image data is output to the
このように、原画像データを間引いて生成された簡易原画像データに基づく簡易表示画像を用いて、検定や提示を行うようにしたので、扱うデータサイズを小さくして、検定や提示に要する時間を短縮することができる。また、簡易表示画像の用途に応じて、原画像データの間引き率を可変させ、検定対象画として表示される際は間引き率を小さくし、提示用画像として表示される際は間引き率を大きくし、サムネイル画像として表示される際は間引き率をさらに大きくした。これにより、検定作業の際は、検定に必要な画像の品位を保ち、適正な検定を行うことができる。また、提示の際は、提示用画像を速やかに表示して、スムーズな提示を行うことができる。さらに、サムネイル画像は最も大きな間引き率によって原画像データを間引くことによって生成されるので、検定や提示をスムーズに行うことができる。 In this way, since the simplified display image based on the simplified original image data generated by thinning out the original image data is used for verification and presentation, the data size to be handled is reduced, and the time required for verification and presentation Can be shortened. Also, depending on the application of the simple display image, the thinning rate of the original image data can be varied to reduce the thinning rate when displayed as a test target image and to increase the thinning rate when displayed as a presentation image. When displayed as thumbnail images, the decimation rate was further increased. Thereby, at the time of the verification work, the quality of the image necessary for the verification can be maintained and an appropriate verification can be performed. Further, when presenting, it is possible to promptly display the presentation image and perform smooth presentation. Further, since the thumbnail image is generated by thinning out the original image data with the largest thinning rate, it is possible to smoothly perform verification and presentation.
なお、上記実施形態では、画像検定用PC側で簡易原画像データを生成しているが、デジタルカメラやプレゼンテーション用PCにて原画像データを間引いて簡易原画像データを生成してもよい。また、簡易原画像データを生成するタイミングは、自由に設定することができる。例えば、原画像データの生成直後に簡易原画像データを生成するといったことも考えられる。この場合、検定や提示を開始する前に、予め原画像データを複数の異なった間引き率にて間引いたデータサイズの異なる複数種類の簡易原画像データを用意しておく。そして、検定や提示の際には、用意された簡易画像データの中から用途に適したデータサイズの簡易画像データを用いるようにすればよい。こうすることで、検定や提示をよりスムーズに行える。 In the above embodiment, the simple original image data is generated on the image verification PC side. However, the original image data may be generated by thinning out the original image data with a digital camera or a presentation PC. In addition, the timing for generating the simple original image data can be freely set. For example, it may be possible to generate simple original image data immediately after generating the original image data. In this case, before starting the verification and presentation, a plurality of types of simplified original image data having different data sizes prepared by thinning the original image data at a plurality of different thinning rates are prepared in advance. Then, in the examination and presentation, simple image data having a data size suitable for the application may be used from the prepared simple image data. By doing so, the examination and presentation can be performed more smoothly.
また、上記実施形態では、プリンタは原画像データを本現像処理することによって得られる画像を印画する例で説明をしたが、原画像データの大きさに対してプリンタの解像度が低いと、記録紙中のプリント予定エリア内に画像が収まらない場合が考えられる。このような場合には、簡易原画像データを仮現像処理することによって得られる画像をプリンタによって印画させるようにしてもよい。 In the above-described embodiment, the printer is described as an example of printing an image obtained by performing the main development processing on the original image data. However, if the resolution of the printer is low with respect to the size of the original image data, the recording paper There may be a case where the image does not fit within the print scheduled area. In such a case, an image obtained by temporarily developing the simple original image data may be printed by a printer.
この場合、例えば図8に示すように、簡易原画像データ生成処理において、検定用PCにインストールされているプリンタドライバにアクセスしてプリンタの解像度を調べる(S31)。記録紙中のプリント予定エリア内に画像が過不足なく収まるように、プリンタの解像度に応じた間引き率を決定する(S32)。そして、決定された間引き率にて原画像データを間引くことによって、簡易原画像データを生成する(S33)。 In this case, for example, as shown in FIG. 8, in the simple original image data generation process, the printer driver installed in the verification PC is accessed to check the resolution of the printer (S31). A thinning rate corresponding to the resolution of the printer is determined so that the image fits in the print scheduled area in the recording paper without excess or deficiency (S32). Then, simple original image data is generated by thinning the original image data at the determined thinning rate (S33).
同様に、原画像データの大きさに対して、検定対象画像や提示対象画像など簡易表示画像を表示するモニタの解像度が低いと、モニタ中の表示予定エリア内に簡易表示画像が収まらない場合が考えられる。この場合、例えば図9に示すように、簡易原画像データ生成処理において、検定用PCのOS(オペレーティングシステム)や検定用PCにインストールされているモニタドライバにアクセスしてモニタの解像度を調べる(S41)。モニタ中の表示予定エリア内に簡易表示画像が過不足なく収まるように、モニタの解像度に応じた間引き率を決定する(S42)。そして、決定された間引き率にて原画像データを間引くことによって、簡易原画像データを生成する(S43)。 Similarly, if the resolution of a monitor that displays a simple display image such as a test target image or a presentation target image is lower than the size of the original image data, the simple display image may not fit within the display scheduled area in the monitor. Conceivable. In this case, for example, as shown in FIG. 9, in the simple original image data generation process, the monitor resolution is checked by accessing the OS (operating system) of the verification PC or the monitor driver installed in the verification PC (S41). ). A thinning rate according to the resolution of the monitor is determined so that the simple display image can be accommodated in the display scheduled area in the monitor without excess or deficiency (S42). Then, simple original image data is generated by thinning the original image data at the determined thinning rate (S43).
さらに、原画像データの大きさに対して、検定や提示を行う装置の画像処理能力が低いにもかかわらず、簡易原画像データを生成する際の間引き率が小さいと検定や提示がスムーズに行えず、また、検定や提示を行う装置の画像処理能力が高いにもかかわらず、簡易原画像データを生成する際の間引き率が大きいと検定や提示を行う装置の画像処理能力を活用しきれない場合が考えられる。 Furthermore, even if the image processing capability of the device that performs verification and presentation is low with respect to the size of the original image data, the verification and presentation can be performed smoothly if the thinning rate when generating simple original image data is small. In addition, even if the image processing capability of the device that performs verification and presentation is high, the image processing capability of the device that performs verification and presentation cannot be fully utilized if the thinning-out rate when generating simple original image data is large. There are cases.
この場合、例えば図10に示すように、簡易原画像データ生成処理において、検定や提示を行う装置のOS(オペレーティングシステム)にアクセスし、画像処理能力として例えばCPUのクロック周波数を調べる(S51)。画像処理能力が高い場合には間引き率を小さくするように、また、画像処理能力が低い場合には間引き率を大きくするように、画像処理能力に応じた間引き率を決定する(S52)。そして、決定された間引き率にて原画像データを間引くことによって、簡易原画像データを生成する(S53)。 In this case, for example, as shown in FIG. 10, in the simple original image data generation process, the OS (operating system) of the apparatus that performs verification and presentation is accessed, and the CPU clock frequency, for example, is examined as the image processing capability (S51). The thinning rate is determined according to the image processing capability so as to decrease the thinning rate when the image processing capability is high, and to increase the thinning rate when the image processing capability is low (S52). Then, simplified original image data is generated by thinning the original image data at the determined thinning rate (S53).
このように、本発明は、用途、プリンタやモニタの解像度、検定や提示を行う装置の画像処理能力などの各種要因に応じて、簡易画像データを生成する際の間引き率を可変させることができる。さらに、これ以外の要因に基づいて間引き率を可変させることも可能である。また、複数の要因を総合的に判断して、間引き率を可変させるようにしてもよい。この場合、例えば例えば図11に示すように、簡易原画像データ生成処理において、簡易表示画像の用途に応じた基本間引き率を決定する(S61)。続いて、検定や提示を行う装置のモニタサイズや画像処理能力に応じた補正係数を算出する(S62)。基本間引き率と補正係数とをかけあわせることによって最終的な間引き率を決定する(S63)。そして、決定された間引き率にて原画像データを間引くことによって、簡易原画像データを生成する(S64)。 As described above, according to the present invention, the thinning rate when generating the simple image data can be varied according to various factors such as the application, the resolution of the printer and the monitor, and the image processing capability of the apparatus that performs the verification and presentation. . Furthermore, the thinning rate can be varied based on other factors. Further, the thinning rate may be varied by comprehensively determining a plurality of factors. In this case, for example, as shown in FIG. 11, for example, in the simple original image data generation process, a basic thinning rate corresponding to the use of the simple display image is determined (S61). Subsequently, a correction coefficient corresponding to the monitor size and image processing capability of the apparatus that performs the verification or presentation is calculated (S62). The final thinning rate is determined by multiplying the basic thinning rate and the correction coefficient (S63). Then, simple original image data is generated by thinning the original image data at the determined thinning rate (S64).
1 デジタルカメラ
13 画像検定用PC
14、22 モニタ
21 プレゼンテーション用PC
23 プリンタ
30 提示画面
31 提示対象画像
33a〜33i、53a〜53d サムネイル画像
50 検定画面
51 検定対象画像
116 データテーブル
1 Digital camera 13 Image verification PC
14, 22
23
Claims (8)
前記原画像データを可変の間引き率にて間引くことで簡易原画像データを生成し、前記簡易原画像データに対し補正パラメータに基づき画像補正を行い、補正後の前記簡易原画像データに基づき生成された簡易表示用画像を再生表示することを特徴とする画像処理方法。 In an image processing method for performing image correction on original image data of an image obtained by shooting, converting to display image data, and outputting it,
Simple original image data is generated by thinning out the original image data at a variable thinning rate, image correction is performed on the simple original image data based on correction parameters, and generated based on the corrected simple original image data. An image processing method characterized by reproducing and displaying a simple display image.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2004093634A JP2005286423A (en) | 2004-03-26 | 2004-03-26 | Image processing method and image processing program |
US11/083,985 US7551205B2 (en) | 2004-03-22 | 2005-03-21 | Image processing method, image processing system, image processing apparatus and image processing program |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2004093634A JP2005286423A (en) | 2004-03-26 | 2004-03-26 | Image processing method and image processing program |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2005286423A true JP2005286423A (en) | 2005-10-13 |
Family
ID=35184380
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2004093634A Pending JP2005286423A (en) | 2004-03-22 | 2004-03-26 | Image processing method and image processing program |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2005286423A (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2008105383A (en) * | 2006-09-25 | 2008-05-08 | Seiko Epson Corp | Image processing using undeveloped image data |
US8125533B2 (en) | 2007-05-08 | 2012-02-28 | Seiko Epson Corporation | Undeveloped image data developing apparatus, method for developing undeveloped image data, and computer program for developing undeveloped image data |
CN105739868A (en) * | 2016-02-01 | 2016-07-06 | 宇龙计算机通信科技(深圳)有限公司 | Method and device for identifying mistaken touch of terminal |
-
2004
- 2004-03-26 JP JP2004093634A patent/JP2005286423A/en active Pending
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2008105383A (en) * | 2006-09-25 | 2008-05-08 | Seiko Epson Corp | Image processing using undeveloped image data |
US8125533B2 (en) | 2007-05-08 | 2012-02-28 | Seiko Epson Corporation | Undeveloped image data developing apparatus, method for developing undeveloped image data, and computer program for developing undeveloped image data |
CN105739868A (en) * | 2016-02-01 | 2016-07-06 | 宇龙计算机通信科技(深圳)有限公司 | Method and device for identifying mistaken touch of terminal |
CN105739868B (en) * | 2016-02-01 | 2019-05-14 | 宇龙计算机通信科技(深圳)有限公司 | A kind of method and device that identification terminal is accidentally touched |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP4338551B2 (en) | Image reproduction method, image reproduction apparatus, and image reproduction program | |
US7551205B2 (en) | Image processing method, image processing system, image processing apparatus and image processing program | |
JP2005275977A (en) | Image display method, image display device, and image display program | |
JP2005227897A (en) | Method, device, and program for image display | |
US20050219580A1 (en) | Image processing method, image processing system, image processing apparatus and image processing program | |
CN100534134C (en) | Apparatus, method and program for information processing | |
JP2008042474A (en) | Digital camera | |
JP7363770B2 (en) | Computing device, computing method and program | |
JP2007188238A (en) | Print order system, order accepting server and image processing method | |
US8421817B2 (en) | Color processing apparatus and method thereof | |
JP2007096904A (en) | Print order receving apparatus, method, index image forming apparatus and method | |
JP4725452B2 (en) | Digital camera and image processing program | |
JP2007141152A (en) | Digital camera, printing device, and image supply device | |
JP2005286423A (en) | Image processing method and image processing program | |
JP4338563B2 (en) | Image processing apparatus, image processing system, image processing method, and image processing program | |
JP4115416B2 (en) | Image processing method, image processing apparatus, image processing system, and image processing program | |
JP2006309462A (en) | Image forming system and method | |
JP2005151091A (en) | Image processing employing image correction parameter | |
JP2005284411A (en) | Method, apparatus, system and program for image processing | |
JP2007036314A (en) | Photographing apparatus and method, image region extract apparatus and method, and program | |
JP2005151089A (en) | Generation of parameter for image correction for image generation apparatus | |
JP2006178348A (en) | Information processing apparatus | |
JP2018137580A (en) | Image processor, image processing method, and program | |
JP2006279459A (en) | Device, method and program for image photography, and recording medium | |
JP2024067178A (en) | Image processing device, imaging device, and method and program for controlling the image processing device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20060417 |
|
A711 | Notification of change in applicant |
Free format text: JAPANESE INTERMEDIATE CODE: A712 Effective date: 20061221 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20070925 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20071024 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20071204 |
|
A02 | Decision of refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A02 Effective date: 20080402 |