JP2007241772A - Image output device, image output method, and program - Google Patents
Image output device, image output method, and program Download PDFInfo
- Publication number
- JP2007241772A JP2007241772A JP2006064926A JP2006064926A JP2007241772A JP 2007241772 A JP2007241772 A JP 2007241772A JP 2006064926 A JP2006064926 A JP 2006064926A JP 2006064926 A JP2006064926 A JP 2006064926A JP 2007241772 A JP2007241772 A JP 2007241772A
- Authority
- JP
- Japan
- Prior art keywords
- image processing
- parameter
- image
- unit
- procedure
- 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
- Image Processing (AREA)
- Storing Facsimile Image Data (AREA)
Abstract
Description
本発明は、画像出力装置、画像出力方法およびプログラムに関する。特に、本発明は、画像処理した表示用の画像データを出力する画像出力装置、画像出力方法、および、プログラムに関する。 The present invention relates to an image output apparatus, an image output method, and a program. In particular, the present invention relates to an image output apparatus, an image output method, and a program that output image data for display after image processing.
ウィンドウ表示システムにおいて、ウィンドウを消去または移動する場合、表示画面の表示速度を改善するシステムが知られている(例えば、特許文献1参照。)。特許文献1に記載のシステムによれば、表示画面に表示中のウィンドウのビットマップをキャッシュエリアに待避することにより表示画面の表示速度を改善する。
しかしながら、特許文献1に記載のシステムによれば、既に生成されたウィンドウのビットマップを切り替えることにより表示画面の表示速度を改善するので、ウィンドウのビットマップを新たに生成する場合には、表示画面の表示速度を改善することができないという課題がある。例えば、ウィンドウ内に表示される画像が変化する画像処理ソフトなどのウィンドウにおいては、表示画面の表示速度を改善することができないという課題がある。
However, according to the system described in
上記課題を解決するために、本発明の第1の形態においては、画像データに対する画像処理の順序が設定された、画像処理後の画像データを出力する複数の画像処理部と、複数の画像処理部の各々の画像処理に用いられる複数のパラメータの値を外部から取得するパラメータ取得部と、パラメータ取得部により取得された複数のパラメータの値を格納するパラメータ格納部と、パラメータ取得部により新たにパラメータの値が取得された場合に、複数の画像処理部のうち、新たに変更されたパラメータを用いる画像処理部を特定する処理特定部とを備える画像出力装置であって、複数の画像処理部の各々は、画像処理後の画像データをキャッシュし、パラメータ取得部により新たにパラメータの値が取得された場合に、処理特定部により特定された画像処理部よりも順序が一つ前の画像処理部は、キャッシュした画像データを処理特定部により特定された画像処理部に受け渡し、処理特定部により特定された画像処理部および順序がそれ以降の画像処理部は、順序に従って、画像データおよびパラメータ格納部に格納されたパラメータの値に基づいて、画像処理した出力用の画像データを出力する。これにより、画像処理に要する計算量を減少させ、画像を迅速に表示または印刷等させることができる。 In order to solve the above problems, in the first embodiment of the present invention, a plurality of image processing units for outputting image data after image processing, in which the order of image processing for image data is set, and a plurality of image processing A parameter acquisition unit for acquiring a plurality of parameter values used for image processing of each unit from the outside, a parameter storage unit for storing a plurality of parameter values acquired by the parameter acquisition unit, and a parameter acquisition unit When a parameter value is acquired, an image output apparatus comprising: a process specifying unit that specifies an image processing unit that uses a newly changed parameter among a plurality of image processing units, wherein the plurality of image processing units Each of these caches the image data after image processing, and is specified by the processing specifying unit when a new parameter value is acquired by the parameter acquiring unit. The image processing unit whose order is one order earlier than the image processing unit delivers the cached image data to the image processing unit specified by the processing specifying unit, and the image processing unit and order specified by the processing specifying unit are the same. Subsequent image processing units output image data for output that has undergone image processing, based on the image data and the parameter values stored in the parameter storage unit, in the order. Thereby, the amount of calculation required for image processing can be reduced, and an image can be displayed or printed quickly.
複数のパラメータを識別するパラメータ識別情報を、複数の画像処理部を識別する画像処理識別情報に対応付けて格納する識別情報格納部をさらに備え、処理特定部は、識別情報格納部を参照することにより、画像処理を特定してもよい。これにより、画像処理に要する計算量を減少させ、画像を迅速に表示または印刷等させることができる。 Further comprising an identification information storage unit for storing parameter identification information for identifying a plurality of parameters in association with image processing identification information for identifying a plurality of image processing units, and the process specifying unit refers to the identification information storage unit Thus, the image processing may be specified. Thereby, the amount of calculation required for image processing can be reduced, and an image can be displayed or printed quickly.
処理特定部は、パラメータ取得部により新たに取得されたパラメータの値と、パラメータ取得部により前回、取得されパラメータ格納部に格納されていたパラメータの値とを比較して新たに変更されたパラメータを用いる画像処理を特定してもよい。これにより、画像処理に要する計算量を減少させ、画像を迅速に表示または印刷等させることができる。 The process identification unit compares the parameter value newly acquired by the parameter acquisition unit with the parameter value previously acquired by the parameter acquisition unit and stored in the parameter storage unit, and determines the newly changed parameter. The image processing to be used may be specified. Thereby, the amount of calculation required for image processing can be reduced, and an image can be displayed or printed quickly.
パラメータ取得部により新たにパラメータが取得された場合に、処理特定部により特定された画像処理部およびそれよりも順序が後の画像処理部は、キャッシュした画像データを破棄してもよい。これにより、計算量の減少に貢献しない画像データをキャッシュしたメモリ領域を開放するので、メモリ領域を節約することができる。 When a parameter is newly acquired by the parameter acquisition unit, the image processing unit specified by the process specifying unit and the image processing unit after the order may discard the cached image data. As a result, the memory area cached with the image data that does not contribute to the reduction in the calculation amount is released, so that the memory area can be saved.
複数の画像処理部の各々は、パラメータ毎に画像処理後の画像データをキャッシュしてもよい。これにより、画像処理に要する計算量をさらに減少させ、画像を迅速に表示または印刷等させることができる。 Each of the plurality of image processing units may cache image data after image processing for each parameter. Thereby, the calculation amount required for image processing can be further reduced, and the image can be displayed or printed quickly.
上記課題を解決するために、本発明の第2の形態においては、画像データに対する画像処理の順序が設定された、画像処理後の画像データを出力する複数の画像処理手順と、複数の画像処理部の各々の画像処理に用いられる複数のパラメータの値を外部から取得するパラメータ取得手順と、パラメータ取得手段により取得された複数のパラメータの値を格納するパラメータ格納手順と、パラメータ取得手段により新たにパラメータの値が取得された場合に、複数の画像処理手順のうち、新たに変更されたパラメータを用いる画像処理手順を特定する処理特定手順とを備える画像出力方法であって、複数の画像処理手順の各々は、画像処理後の画像データをキャッシュし、パラメータ取得手順により新たにパラメータの値が取得された場合に、処理特定手順により特定された画像処理手順よりも順序が一つ前の画像処理手順は、キャッシュした画像データを処理特定手順により特定された画像処理手順に受け渡し、処理特定手順により特定された画像処理手順および順序がそれ以降の画像処理手順は、順序に従って、画像データおよびパラメータ格納手順に格納されたパラメータの値に基づいて、画像処理した出力用の画像データを出力する。これにより、第1の実施形態と同様の効果を得ることができる。 In order to solve the above problems, in the second embodiment of the present invention, a plurality of image processing procedures for outputting image data after image processing, in which the order of image processing for image data is set, and a plurality of image processing A parameter acquisition procedure for acquiring the values of a plurality of parameters used for image processing of each part from the outside, a parameter storage procedure for storing the values of a plurality of parameters acquired by the parameter acquisition means, and a parameter acquisition means newly An image output method comprising: a process specifying procedure for specifying an image processing procedure that uses a newly changed parameter among a plurality of image processing procedures when a parameter value is acquired, the plurality of image processing procedures Each of the image data after image processing is cached, and when the parameter value is newly acquired by the parameter acquisition procedure, The image processing procedure that is one order earlier than the image processing procedure specified by the physical specification procedure passes the cached image data to the image processing procedure specified by the processing specification procedure, and the image processing specified by the processing specification procedure In the image processing procedure after the procedure and the sequence, the image data for output subjected to the image processing is output based on the values of the parameters stored in the image data and the parameter storing procedure according to the sequence. Thereby, the effect similar to 1st Embodiment can be acquired.
上記課題を解決するために、本発明の第3の形態においては、画像処理した表示用の画像データを出力する画像出力装置を制御するプログラムであって、画像表示装置に、画像データに対する画像処理の順序が設定された、画像処理後の画像データを出力する複数の画像処理手順、複数の画像処理手段の各々の画像処理に用いられる複数のパラメータの値を外部から取得するパラメータ取得手順、パラメータ取得手段により取得された複数のパラメータの値を格納するパラメータ格納手順、および、パラメータ取得部により新たにパラメータの値が取得された場合に、複数の画像処理手順のうち、新たに変更されたパラメータを用いる画像処理手順を特定する処理特定手順を実行させるプログラムであって、複数の画像処理手順の各々は、画像処理後の画像データをキャッシュし、パラメータ取得手順により新たにパラメータの値が取得された場合に、処理特定手順により特定された画像処理手順よりも順序が一つ前の画像処理手順は、キャッシュした画像データを処理特定手順により特定された画像処理手順に受け渡し、処理特定手順により特定された画像処理手順および順序がそれ以降の画像処理手順は、順序に従って、画像データおよびパラメータ格納手順に格納されたパラメータの値に基づいて、画像処理した出力用の画像データを出力する。これにより、第1の実施形態と同様の効果を得ることができる。 In order to solve the above-described problem, in a third embodiment of the present invention, there is provided a program for controlling an image output device that outputs image data for display subjected to image processing. A plurality of image processing procedures for outputting image data after image processing, a parameter acquisition procedure for acquiring values of a plurality of parameters used for image processing of each of a plurality of image processing means from the outside, and parameters A parameter storage procedure for storing a plurality of parameter values acquired by the acquisition means, and a newly changed parameter among the plurality of image processing procedures when a new parameter value is acquired by the parameter acquisition unit A program for executing a process specifying procedure for specifying an image processing procedure using the image processing procedure. When the processed image data is cached and a new parameter value is acquired by the parameter acquisition procedure, the image processing procedure that is one order earlier than the image processing procedure specified by the process specifying procedure is cached. The image data is transferred to the image processing procedure specified by the process specifying procedure, and the image processing procedure and order specified by the process specifying procedure are stored in the image data and parameter storing procedure according to the order. Based on the parameter value, output image data subjected to image processing is output. Thereby, the effect similar to 1st Embodiment can be acquired.
なお、上記の発明の概要は、本発明の必要な特徴の全てを列挙したものではなく、これらの特徴群のサブコンビネーションもまた、発明となりうる。 The above summary of the invention does not enumerate all the necessary features of the present invention, and sub-combinations of these feature groups can also be the invention.
以下、発明の実施の形態を通じて本発明を説明するが、以下の実施形態は特許請求の範囲にかかる発明を限定するものではなく、また実施形態の中で説明されている特徴の組み合わせの全てが発明の解決手段に必須であるとは限らない。 Hereinafter, the present invention will be described through embodiments of the invention. However, the following embodiments do not limit the invention according to the scope of claims, and all combinations of features described in the embodiments are included. It is not necessarily essential for the solution of the invention.
図1は、画像出力装置10の一例を示す。画像出力装置10は、画像処理した表示用の画像データを出力するプログラムを実行する本体12、ユーザに対して本体12からの出力に基づく表示をするディスプレイ14と、ユーザから本体12に対する入力手段の一例としてのキーボード16およびマウス18とを備える。デジタルカメラ22は、画像を読み込む手段の一例として、本体12と接続される。プリンタ24は、本体12からの出力に基づいて印刷用紙上に印刷をする。画像出力装置10は、画像データが画像処理された場合に、画像処理後の画像を高速に再描画することを目的とする。
FIG. 1 shows an example of the
図2は、本体12のブロック図の一例である。図3は、パラメータ格納部130に格納された情報を模式的に示す。図4は、識別情報格納部150に格納された情報を模式的に示す。図2に示すように、本体12は、画像処理に関する画面をディスプレイ14に出力し、ユーザからの入力を受け付けて画像データをディスプレイ14に出力する画面入出力部110と、デジタルカメラ22等により撮像等された画像データを格納する画像格納部160と、画像データを処理する画像処理部190と、画像処理部190により処理された画像データをキャッシュするキャッシュ部210と、画像処理部190に用いられる複数のパラメータの値を画面入出力部110から取得するパラメータ取得部120と、パラメータ取得部120により取得された複数のパラメータの値を格納するパラメータ格納部130と、パラメータ取得部120により新たにパラメータの値が取得された場合に、画像処理部190のうちの画像処理を特定する処理特定部140と、複数のパラメータを、画像処理部190におけるそれぞれのパラメータを用いる画像処理に対応付けて格納する識別情報格納部150と、画像処理部190が処理した画像データから印刷データを生成してプリンタ24に出力する印刷出力部170とを備える。
FIG. 2 is an example of a block diagram of the
パラメータ格納部130は、図3に示すように、パラメータ取得部120により新たに取得された複数のパラメータの値、および、パラメータ取得部120により前回、取得されたパラメータの値をパラメータIDに対応付けて格納する。前回、取得されたパラメータの値は、例えば、現在、ディスプレイ14に表示している画像データに係るパラメータの値である。
As shown in FIG. 3, the
識別情報格納部150は、図4に示すように、パラメータを識別するパラメータ識別情報(以下、「パラメータID」という。)を、画像処理部を識別する画像処理識別情報(以下、「画像処理ID」という。)に対応付けて格納する。
As shown in FIG. 4, the identification
画像処理部190は、画像格納部160に格納された画像データを読み込む読込処理をする読込処理部100と、画像データにリサイズ処理を施すリサイズ処理部102、画像データに色補正処理を施す色補正処理部104と、画像データにトリミング処理を施すトリミング処理部106とを有する。また、これらに対応して、キャッシュ部210は、読込処理部100により読み込まれた画像データをキャッシュ(記憶)する読込キャッシュ部200と、リサイズ処理部102によりリサイズ処理を施された画像データをキャッシュするリサイズキャッシュ部202と、色補正処理部104により色補正処理を施された画像データをキャッシュする色補正キャッシュ部204と、トリミング処理部106によりトリミング処理を施された画像データをキャッシュするトリミングキャッシュ部206とを有する。なお、色補正処理部104は、画像データの色相、彩度、明度などを補正する処理に加え、画像データの画素値を補正する平滑化、鮮鋭化などの処理を施してもよい。
The
画像処理部190において、画像データに対する画像処理の順序が設定されている。図2に示す形態において、読込処理部100、リサイズ処理部102、色補正処理部104およびトリミング処理部106は、この順序で画像処理する。この場合に、画像処理部190は、後述する各画像処理IDに対応付けて設定された画像処理の順序に関する情報を保持し、これらの情報により特定の画像処理の前に実行された画像処理および次に実行すべき画像処理を特定する。
In the
処理特定部140は、パラメータ格納部130を参照し、新たに変更されたパラメータのパラメータIDを特定する。そして処理特定部140は、識別情報格納部150を参照して、上記パラメータIDに対応付けられた画像処理IDを特定する。また、処理特定部140は、画像処理IDに対応付けて設定された画像処理の順序に関する情報を保持し、特定した画像処理部について設定された画像処理の順序に関する情報を取得する。
The
記憶媒体40は、読込処理部100、リサイズ処理部102、色補正処理部104、トリミング処理部106、画面入出力部110、パラメータ取得部120、パラメータ格納部130、処理特定部140、識別情報格納部150、画像格納部160、読込キャッシュ部200、リサイズキャッシュ部202、色補正キャッシュ部204と、トリミングキャッシュ部206および印刷出力部170の動作を行わせるプログラムを格納する。本体12は記憶媒体40に格納された上記プログラムをインストールすることにより、読込処理部100等の動作を行わせてもよい。さらに、他の方法として、本体12は、そのようなプログラムを、通信回線を介して取得してもよい。
The
図5は、画像出力装置10の動作の一例をフローチャートで示す。まず、新規に画像をディスプレイ14に表示する場合または現在表示している画像と異なる別の画像をディスプレイ14に表示する場合の動作を説明する。本フローチャートは、具体例として、画面入出力部110が画像ID「G001」で識別される画像を表示すべき旨のユーザからの入力を受け付けることにより開始する。また、本フローチャートの開始時点において、識別情報格納部150は図4に示す情報を格納しているものとする。
FIG. 5 is a flowchart showing an example of the operation of the
パラメータ取得部120は、パラメータID「P001」およびパラメータの値「G001」を画面入出力部110から取得する(S100)。ここでパラメータ取得部120は、パラメータID「P001」以外の他のパラメータIDおよびそのパラメータの値(初期値)も取得する(同ステップ)。
The
パラメータ格納部130は、パラメータ取得部120により取得されたパラメータの値「G001」をパラメータID「P001」に対応付けて格納する(S110)。ここでパラメータ格納部130は、パラメータID「P001」以外の他のパラメータIDのパラメータの値もそれぞれのパラメータIDに対応付けて格納する(同ステップ)。
The
処理特定部140は、新たに変更されたパラメータを用いる画像処理部を特定する(S300)。具体的には、処理特定部140は、パラメータID「P001」を用いる読込処理部100を特定する(同ステップ)。なお、本ステップは、図6において詳細に説明する。
The
処理特定部140は、特定した画像処理部が読込処理部100か否かを判断する(S120)。この場合に、処理特定部140は、保持する画像処理IDに対応付けて設定された画像処理の順序に関する情報を参照して、特定した画像処理部は順序が最初である読込処理部100であるか否かを判断する。本具体例において、処理特定部140は順序が最初である読込処理部100を特定したと判断する(S120:Yes)。この場合に、処理特定部140は画像処理すべき旨の指示をパラメータ格納部130に格納されているパラメータと共に読込処理部100に伝える。当該指示およびパラメータに基づいて、読込処理部100は、画像格納部160に格納された画像ID「G001」で識別される画像データを読み込む(S130)。読込処理部100は、読み込んだ画像データを読込キャッシュ部200にキャッシュする(S140)。そして読込処理部100は、自らが有する順序の情報に基づいて、順序が次であるリサイズ処理部102に処理を指示する(S190)。
The
リサイズ処理部102は、読込処理部100から指示があった場合に、読込処理部100を介して、読込キャッシュ部200にキャッシュされている画像データを取得する(S150)。リサイズ処理部102は、取得した画像データおよびパラメータ格納部130に格納された新たに取得された複数のパラメータの値に基づいてリサイズ処理を施す(S160)。リサイズ処理部102は、リサイズ処理を施した画像データをリサイズキャッシュ部202にキャッシュする(S170)。次に、リサイズ処理部102は画像処理部190における最後の処理であるか否かを判断する(S180)。この場合に、リサイズ処理部102は、自らが有する順序の情報に基づいて、順序が次である色補正処理部104を特定することができるので、自らの処理が最後の処理でないと判断する(S180:No)。そしてリサイズ処理部102は、順序が次である色補正処理部104に処理を指示する(S190)。
When receiving an instruction from the
色補正処理部104は、リサイズ処理部102から指示があった場合に、リサイズ処理部102を介して、リサイズキャッシュ部202にキャッシュされている画像データを取得する(S150)。色補正処理部104は、取得した画像データおよびパラメータ格納部130に格納された新たに取得された複数のパラメータの値に基づいて色補正処理を施す(S160)。色補正処理部104は、色補正処理を施した画像データを色補正キャッシュ部204にキャッシュする(S170)。次に、色補正処理部104は画像処理部190における最後の処理であるか否かを判断する(S180)。この場合に、色補正処理部104は、自らが有する順序の情報に基づいて、順序が次であるトリミング処理部106を特定することができるので、自らの処理が最後の処理でないと判断する(S180:No)。そして色補正処理部104は、順序が次であるトリミング処理部106に処理を指示する(S190)。
When receiving an instruction from the
トリミング処理部106は、色補正処理部104から指示があった場合に、色補正処理部104を介して、色補正キャッシュ部204にキャッシュされている画像データを取得する(S150)。トリミング処理部106は、取得した画像データおよびパラメータ格納部130に格納された新たに取得された複数のパラメータの値に基づいてトリミング処理を施す(S160)。トリミング処理部106は、トリミング処理を施した画像データをトリミングキャッシュ部206にキャッシュする(S170)。次に、トリミング処理部106は画像処理部190における最後の処理であるか否かを判断する(S180)。この場合に、トリミング処理部106は、自らが有する順序の情報に基づいて、自らの処理が最後の処理であると判断する(S180:Yes)。そしてトリミング処理部106は、トリミングキャッシュ部206にキャッシュされている画像データを画面入出力部110に受け渡す(S200)。また、パラメータ格納部130は、今回取得したパラメータの値を、前回、取得されたパラメータの値に転記する。画面入出力部110は、ディスプレイ14にトリミング処理部106から受け取った画像データを表示する。そして本フローチャートは終了する。
When receiving an instruction from the color
次に、ディスプレイ14に表示されている画像に画像処理を施す場合の動作を説明する。本フローチャートは、具体例として、上記フローの終了時点(画像ID「G001」で識別される画像データの表示中)において、画面入出力部110が色補正処理、例えばホワイトバランスを施すべき旨のユーザからの入力を受け付けることにより開始する。なお、ホワイトバランスは、パラメータID「P020」であって、ユーザからのホワイトバランス「1(ON)」とする旨の入力を受け付けたものとする。
Next, an operation when image processing is performed on an image displayed on the
パラメータ取得部120は、パラメータID「P020」およびパラメータの値「1」を画面入出力部110から取得する(S100)。ここでパラメータ取得部120は、パラメータID「P020」以外の他のパラメータID(例えば、パラメータID「P001」等)およびそのパラメータの値(例えば、パラメータの値「G001」等)も取得する(同ステップ)。
The
パラメータ格納部130は、パラメータ取得部120により取得されたパラメータの値「1」をパラメータID「P020」に対応付けて格納する(S110)。ここでパラメータ格納部130は、パラメータID「P001」以外の他のパラメータIDのパラメータの値もそれぞれのパラメータIDに対応付けて格納する(同ステップ)。
The
処理特定部140は、新たに変更されたパラメータを用いる画像処理部を特定する(S300)。具体的には、処理特定部140は、パラメータID「P020」を用いる色補正処理部104を特定する(同ステップ)。なお、本ステップは、図6において詳細に説明する。
The
処理特定部140は、特定した画像処理部が読込処理部100であるか否かを判断する(S120)。上記具体例において、処理特定部140は特定した画像処理部が読込処理部100でないと判断する(S120:No)。この場合に、処理特定部140は、ステップS300において特定した画像処理である色補正処理部104に画像処理をすべき旨の指示をする。
The
上記指示を受けた場合に、色補正処理部104は、自らが有する順序の情報に基づいて、一つ前の画像処理部としてリサイズ処理部102を特定し、当該リサイズ処理部102を介して、リサイズキャッシュ部202にキャッシュされている画像データを取得する(S150)。色補正処理部104は、取得した画像データおよびパラメータ格納部130に格納された新たに取得された複数のパラメータの値に基づいて色補正処理を施す(S160)。色補正処理部104は、色補正処理を施した画像データを色補正キャッシュ部204にキャッシュする(S170)。色補正処理部104は、自らの処理が最後の処理でないと判断し(S180:No)、順序が次であるトリミング処理部106に処理を指示する(S190)。以下、ディスプレイ14に表示する画像を選択する場合の動作と同様なので説明を省略する。これにより、画像処理に要する計算量を減少させ、画像を迅速に表示させることができる。
When receiving the above instruction, the color
なお、ステップS300において処理特定部140により画像処理部が特定された場合に、処理特定部140により特定された画像処理部およびそれよりも順序が後の画像処理部は、現在、それぞれがキャッシュしている画像データを、ステップS150の動作に先立って破棄してもよい。これにより、計算量の減少に貢献しない画像データをキャッシュしたメモリ領域を開放するので、メモリ領域を節約することができる。
When the image processing unit is specified by the
図6は、処理特定部140におけるステップS300の動作のフローチャートの一例である。なお、処理特定部140は、画像処理IDに対応付けて設定された画像処理の順序に関する情報を保持しているものとする。
FIG. 6 is an example of a flowchart of the operation in step S300 in the
まず、処理特定部140は、新たに取得された複数のパラメータの値と、前回、取得されたパラメータの値とを取得して、これらを比較し、新たに変更されたパラメータのパラメータIDを特定する(S310)。例えば、新規に画像をディスプレイ14に表示する場合または現在表示している画像と異なる別の画像をディスプレイ14に表示する場合には、少なくとも画像IDに係るパラメータID(パラメータID「P001」)について、パラメータ格納部130に格納されている前回取得したパラメータの値と、図5に示すステップS110においてパラメータ格納部130に格納されたパラメータの値とは一致しないので、新たに変更されたパラメータのパラメータIDとして少なくともパラメータID「P001」を特定する。同様に、例えば、ディスプレイ14に表示されている画像に色補正処理(ホワイトバランス)を施す場合には、図3に示すように、少なくともホワイトバランスに係るパラメータID(パラメータID「P020」)について、パラメータ格納部130に格納されている前回取得したパラメータの値と、図5に示すステップS110においてパラメータ格納部130に格納されたパラメータの値とは一致しないので、新たに変更されたパラメータのパラメータIDとして少なくともパラメータID「P020」を特定する。なお、処理特定部140は、パラメータ取得部120またはパラメータ格納部130からの通知を受けることにより、または、自らパラメータ格納部130を監視(短周期で参照)することにより、パラメータ取得部120により新たにパラメータの値が取得された場合に、新たに変更されたパラメータのパラメータIDを特定する。
First, the
処理特定部140は、識別情報格納部150を参照し新たに変更されたパラメータを用いる画像処理IDを特定する(S320)。ステップS310において処理特定部140は、少なくともパラメータID「P001」を特定した場合には、識別情報格納部150を参照し、新たに変更されたパラメータを用いる画像処理IDとして、少なくとも画像処理ID「S01」を特定する。
The
次に、処理特定部140は、複数の画像処理IDを特定したか否かを判断する(S330)。ステップS330において、処理特定部140は、複数の画像処理IDを特定していないと判断した場合に(S330:No)、特定した画像処理IDにより識別される画像処理部を特定する(S340)。一方、ステップS330において、処理特定部140は、複数の画像処理IDを取得したと判断した場合に(S330:Yes)、取得した複数の画像処理IDのうち、設定された画像処理の順序が最も前である画像処理IDにより識別される画像処理部を特定する(S350)。処理特定部140は、ステップS340またはステップS350において特定した画像処理部に処理を指示する(S360)。そして本フローチャートは終了する。
Next, the
なお、図5および図6に示すフローチャートにおいて、ディスプレイ14に表示する場合について説明したが、プリンタ24に出力する場合も同様である。すなわち、読込処理部100、リサイズ処理部102、色補正処理部104およびトリミング処理部106は、表示用の画像データに対する処理に加えて、印刷用の画像データに対する処理も施す。例えば、読込処理部100、リサイズ処理部102、色補正処理部104およびトリミング処理部106のそれぞれは、表示用の画像データに対する処理部と印刷用の画像データに対する処理部とを有していてもよい。同様に、読込キャッシュ部200、リサイズキャッシュ部202、色補正キャッシュ部204およびトリミングキャッシュ部206は、表示用の画像データをキャッシュすることに加えて、印刷用の画像データをキャッシュする。例えば、読込キャッシュ部200、リサイズキャッシュ部202、色補正キャッシュ部204およびトリミングキャッシュ部206のそれぞれは、表示用の画像データに対するキャッシュ部と印刷用の画像データに対するキャッシュ部とを有していてもよい。
In the flowcharts shown in FIGS. 5 and 6, the case of displaying on the
これにより、印刷用の画像データに関する新たなパラメータが取得された場合、処理特定部140は、新たなパラメータを用いて印刷用の画像データに対して処理を施す画像処理部を特定する。特定された画像処理部よりも順序が一つ前の画像処理部は、キャッシュした印刷用の画像データを処理特定部140により特定された画像処理部に受け渡す。処理特定部140により特定された画像処理部および順序がそれ以降の画像処理部は、その順序に従って、受け渡された印刷用の画像データ等およびパラメータ格納部130に格納されたパラメータの値に基づいて、画像処理した印刷用の画像データを出力する。特に、前回と同じパラメータの値に基づいて印刷する場合には、印刷出力部170は、トリミング処理部106を介して、トリミングキャッシュ部206にキャッシュされている印刷用の画像データを取得して印刷データを生成する。この場合には、印刷用の画像データに対して、読込処理部100、リサイズ処理部102および色補正処理部104は、読込処理、リサイズ処理および色補正処理を行わない。よって、画像を迅速に表示させる場合と同様に、画像処理に要する計算量をさらに減少させ、画像を迅速に印刷させることができる。
As a result, when a new parameter relating to the printing image data is acquired, the
以上、本実施例によれば、画像処理に要する計算量を減少させ、画像を迅速に表示または印刷等させることができる。なお、リサイズキャッシュ部202をリサイズ処理部102に係るパラメータ毎に分割してもよい。リサイズキャッシュ部202をリサイズ処理部102に係るパラメータ毎に分割した場合には、リサイズ処理部102は、リサイズ処理部102に係るパラメータ毎にリサイズ処理を施した画像データを分割したリサイズキャッシュ部202にキャッシュする。これにより、リサイズ処理部102に係るパラメータ毎の処理の順序が設定されている場合には、画像処理に要する計算量をさらに減少させ、画像を迅速に表示または印刷等させることができる。色補正処理部104およびトリミング処理部106も同様であってもよい。
As described above, according to the present embodiment, the amount of calculation required for image processing can be reduced, and an image can be displayed or printed quickly. Note that the
なお、本実施例において、識別情報格納部150は、図4に示すように、設定された画像処理の順序に応じて画像処理IDの値を昇順としているが、処理特定部140は、画像処理IDに対応付けて設定された画像処理の順序に関する情報を保持することなく、昇順である画像処理IDの値を参照して、特定した画像処理部について設定された画像処理の順序を取得してもよい。
In this embodiment, the identification
また、本実施例において、処理特定部140は、新たに取得された複数のパラメータの値と、前回、取得されたパラメータの値とを比較して新たに変更されたパラメータのパラメータIDを取得することにより、新たに変更されたパラメータを用いる画像処理IDを取得しているが、これに限定されない。他の一例として、パラメータ取得部120は、新たに変更されたパラメータのパラメータIDおよびそのパラメータIDの値だけを取得する。パラメータ格納部130は、パラメータ取得部120により取得された新たに変更されたパラメータの値をパラメータIDに対応付けて格納するとともに、当該パラメータIDにフラグをセットする。処理特定部140は、パラメータ格納部130のフラグを参照することにより、新たに変更されたパラメータを用いる画像処理IDを取得してもよい。
Further, in the present embodiment, the
また、本実施例において、一のパラメータと当該パラメータを用いる画像処理部との対応は識別情報格納部150に格納されているが、これに限定されない。他の一例として、画像処理IDの値をパラメータIDの値に含めてもよい。具体的には例えば、パラメータID「P001」の値を、当該パラメータを用いる画像処理部「S01」を含めたパラメータID「S01_P001」としてもよい。
In the present embodiment, the correspondence between one parameter and the image processing unit using the parameter is stored in the identification
また、パラメータ取得部120が画面入出力部110から取得するパラメータの分類等と、パラメータ格納部130に格納すべきパラメータの分類等とが異なっていてもよい。この場合には、パラメータ取得部120は、画面入出力部110から取得するパラメータの分類等とパラメータ格納部130に格納すべきパラメータの分類等とを対応付けた情報を保持し、画面入出力部110からパラメータを取得した場合に、上記対応付けた情報を参照することによりパラメータ格納部130に格納すべきパラメータの分類等によるパラメータを取得してもよい。例えば、画像枠に外接し表示している画像データを画像枠に内接して表示すべき旨の入力を画面入出力部110が受け付けた場合には、パラメータ取得部120は、当該画像枠に関するパラメータおよび画像データを当該画像枠に内接して表示させる旨のパラメータを画面入出力部110から取得する。パラメータ取得部120は、画面入出力部110から取得したパラメータと上記対応付けた情報に基づいて、パラメータ格納部130に格納すべきパラメータの分類等として、リサイズ処理部102の処理に用いられるパラメータIDを取得する。そしてパラメータ取得部120は、画面入出力部110から取得したパラメータに基づいて当該パラメータIDのパラメータの値を算出することにより取得する。
In addition, the parameter classification acquired by the
以上、本発明を実施の形態を用いて説明したが、本発明の技術的範囲は上記実施の形態に記載の範囲には限定されない。上記実施の形態に、多様な変更または改良を加えることが可能であることが当業者に明らかである。その様な変更または改良を加えた形態も本発明の技術的範囲に含まれ得ることが、特許請求の範囲の記載から明らかである。 As mentioned above, although this invention was demonstrated using embodiment, the technical scope of this invention is not limited to the range as described in the said embodiment. It will be apparent to those skilled in the art that various modifications or improvements can be added to the above-described embodiment. It is apparent from the scope of the claims that the embodiments added with such changes or improvements can be included in the technical scope of the present invention.
10 画像出力装置、12 本体、14 ディスプレイ、16 キーボード、18 マウス、22 デジタルカメラ、24 プリンタ、40 記憶媒体、100 読込処理部、102 リサイズ処理部、104 色補正処理部、106 トリミング処理部、110 画面入出力部、120 パラメータ取得部、130 パラメータ格納部、140 処理特定部、150 識別情報格納部、160 画像格納部、170 印刷出力部、190 画像処理部、200 読込キャッシュ部、202 リサイズキャッシュ部、204 色補正キャッシュ部、206 トリミングキャッシュ部、210 キャッシュ部
DESCRIPTION OF
Claims (7)
前記複数の画像処理部の各々の画像処理に用いられる複数のパラメータの値を外部から取得するパラメータ取得部と、
前記パラメータ取得部により取得された前記複数のパラメータの値を格納するパラメータ格納部と、
前記パラメータ取得部により新たにパラメータの値が取得された場合に、前記複数の画像処理部のうち、新たに変更されたパラメータを用いる画像処理部を特定する処理特定部と
を備え、
前記複数の画像処理部の各々は、画像処理後の画像データをキャッシュし、
前記パラメータ取得部により新たにパラメータの値が取得された場合に、前記処理特定部により特定された前記画像処理部よりも前記順序が一つ前の画像処理部は、キャッシュした前記画像データを前記処理特定部により特定された前記画像処理部に受け渡し、前記処理特定部により特定された前記画像処理部および前記順序がそれ以降の画像処理部は、前記順序に従って、前記画像データおよび前記パラメータ格納部に格納されたパラメータの値に基づいて、画像処理した出力用の画像データを出力する画像出力装置。 A plurality of image processing units configured to output image data after image processing, in which the order of image processing for the image data is set;
A parameter acquisition unit for acquiring the values of a plurality of parameters used for image processing of each of the plurality of image processing units;
A parameter storage unit for storing values of the plurality of parameters acquired by the parameter acquisition unit;
A processing specifying unit that specifies an image processing unit that uses a newly changed parameter among the plurality of image processing units when a new parameter value is acquired by the parameter acquisition unit;
Each of the plurality of image processing units caches image data after image processing,
When a parameter value is newly acquired by the parameter acquisition unit, the image processing unit that is one order earlier than the image processing unit specified by the processing specifying unit stores the cached image data in the image processing unit. The image processing unit specified by the process specifying unit is passed to the image processing unit, and the image processing unit specified by the process specifying unit and the image processing unit after the order are the image data and the parameter storage unit according to the order. An image output device that outputs image data for output that has undergone image processing based on the value of the parameter stored in.
前記処理特定部は、前記識別情報格納部を参照することにより、前記画像処理を特定する請求項1に記載の画像出力装置。 An identification information storage unit for storing the parameter identification information for identifying the plurality of parameters in association with the image processing identification information for identifying the plurality of image processing units;
The image output apparatus according to claim 1, wherein the processing specifying unit specifies the image processing by referring to the identification information storage unit.
前記複数の画像処理手順の各々の画像処理に用いられる複数のパラメータの値を外部から取得するパラメータ取得手順と、
前記パラメータ取得手順により取得された前記複数のパラメータの値を格納するパラメータ格納手順と、
前記パラメータ取得手順により新たにパラメータの値が取得された場合に、前記複数の画像処理手順のうち、新たに変更されたパラメータを用いる画像処理手順を特定する処理特定手順と
を備える画像出力方法であって、
前記複数の画像処理手順の各々は、画像処理後の画像データをキャッシュし、
前記パラメータ取得手順により新たにパラメータの値が取得された場合に、前記処理特定手順により特定された前記画像処理手順よりも前記順序が一つ前の画像処理手順は、キャッシュした前記画像データを前記処理特定手順により特定された前記画像処理手順に受け渡し、前記処理特定手順により特定された前記画像処理手順および前記順序がそれ以降の画像処理手順は、前記順序に従って、前記画像データおよび前記パラメータ格納手順に格納されたパラメータの値に基づいて、画像処理した出力用の画像データを出力する画像出力方法。 A plurality of image processing procedures for outputting image data after image processing in which the order of image processing for image data is set;
A parameter acquisition procedure for acquiring values of a plurality of parameters used for image processing of each of the plurality of image processing procedures from the outside;
A parameter storage procedure for storing values of the plurality of parameters acquired by the parameter acquisition procedure;
An image output method comprising: a process specifying procedure for specifying an image processing procedure using a newly changed parameter among the plurality of image processing procedures when a parameter value is newly acquired by the parameter acquiring procedure. There,
Each of the plurality of image processing procedures caches image data after image processing,
When a parameter value is newly acquired by the parameter acquisition procedure, the image processing procedure that is one order earlier than the image processing procedure specified by the processing specifying procedure is configured to store the cached image data as the image processing procedure. The image processing procedure specified by the process specifying procedure and the image processing procedure specified by the process specifying procedure and the image processing procedure subsequent to the order follow the image data and the parameter storing procedure according to the order. An image output method for outputting output image data that has undergone image processing based on the parameter values stored in.
画像データに対する画像処理の順序が設定された、画像処理後の画像データを出力する複数の画像処理手順、
前記複数の画像処理手順の各々の画像処理に用いられる複数のパラメータの値を外部から取得するパラメータ取得手順、
前記パラメータ取得手順により取得された前記複数のパラメータの値を格納するパラメータ格納手順、および、
前記パラメータ取得手順により新たにパラメータの値が取得された場合に、前記複数の画像処理手順のうち、新たに変更されたパラメータを用いる画像処理手順を特定する処理特定手順
を実行させるプログラムであって、
前記複数の画像処理手順の各々は、画像処理後の画像データをキャッシュし、
前記パラメータ取得手順により新たにパラメータの値が取得された場合に、前記処理特定手順により特定された前記画像処理手順よりも前記順序が一つ前の画像処理手順は、キャッシュした前記画像データを前記処理特定手順により特定された前記画像処理手順に受け渡し、前記処理特定手順により特定された前記画像処理手順および前記順序がそれ以降の画像処理手順は、前記順序に従って、前記画像データおよび前記パラメータ格納手順に格納されたパラメータの値に基づいて、画像処理した出力用の画像データを出力するプログラム。 A program for controlling an image output device that outputs image data for display subjected to image processing, the image output device,
A plurality of image processing procedures for outputting image data after image processing, in which the order of image processing for image data is set;
A parameter acquisition procedure for acquiring the values of a plurality of parameters used for image processing of each of the plurality of image processing procedures from the outside;
A parameter storage procedure for storing values of the plurality of parameters acquired by the parameter acquisition procedure; and
A program for executing a process specifying procedure for specifying an image processing procedure using a newly changed parameter among the plurality of image processing procedures when a new parameter value is acquired by the parameter acquiring procedure. ,
Each of the plurality of image processing procedures caches image data after image processing,
When a parameter value is newly acquired by the parameter acquisition procedure, the image processing procedure that is one order earlier than the image processing procedure specified by the processing specifying procedure is configured to store the cached image data as the image processing procedure. The image processing procedure specified by the process specifying procedure and the image processing procedure specified by the process specifying procedure and the image processing procedure subsequent to the order follow the image data and the parameter storing procedure according to the order. A program that outputs image data for output that has undergone image processing based on the value of the parameter stored in.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2006064926A JP2007241772A (en) | 2006-03-09 | 2006-03-09 | Image output device, image output method, and program |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2006064926A JP2007241772A (en) | 2006-03-09 | 2006-03-09 | Image output device, image output method, and program |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2007241772A true JP2007241772A (en) | 2007-09-20 |
Family
ID=38587236
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2006064926A Pending JP2007241772A (en) | 2006-03-09 | 2006-03-09 | Image output device, image output method, and program |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2007241772A (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US10881272B2 (en) | 2013-03-15 | 2021-01-05 | DePuy Synthes Products, Inc. | Minimize image sensor I/O and conductor counts in endoscope applications |
US11344189B2 (en) | 2013-03-15 | 2022-05-31 | DePuy Synthes Products, Inc. | Image sensor synchronization without input clock and data transmission clock |
US11432715B2 (en) | 2011-05-12 | 2022-09-06 | DePuy Synthes Products, Inc. | System and method for sub-column parallel digitizers for hybrid stacked image sensor using vertical interconnects |
US11766175B2 (en) | 2012-07-26 | 2023-09-26 | DePuy Synthes Products, Inc. | Camera system with minimal area monolithic CMOS image sensor |
-
2006
- 2006-03-09 JP JP2006064926A patent/JP2007241772A/en active Pending
Cited By (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US11432715B2 (en) | 2011-05-12 | 2022-09-06 | DePuy Synthes Products, Inc. | System and method for sub-column parallel digitizers for hybrid stacked image sensor using vertical interconnects |
US11682682B2 (en) | 2011-05-12 | 2023-06-20 | DePuy Synthes Products, Inc. | Pixel array area optimization using stacking scheme for hybrid image sensor with minimal vertical interconnects |
US11848337B2 (en) | 2011-05-12 | 2023-12-19 | DePuy Synthes Products, Inc. | Image sensor |
US11766175B2 (en) | 2012-07-26 | 2023-09-26 | DePuy Synthes Products, Inc. | Camera system with minimal area monolithic CMOS image sensor |
US10881272B2 (en) | 2013-03-15 | 2021-01-05 | DePuy Synthes Products, Inc. | Minimize image sensor I/O and conductor counts in endoscope applications |
US11253139B2 (en) | 2013-03-15 | 2022-02-22 | DePuy Synthes Products, Inc. | Minimize image sensor I/O and conductor counts in endoscope applications |
US11344189B2 (en) | 2013-03-15 | 2022-05-31 | DePuy Synthes Products, Inc. | Image sensor synchronization without input clock and data transmission clock |
US11903564B2 (en) | 2013-03-15 | 2024-02-20 | DePuy Synthes Products, Inc. | Image sensor synchronization without input clock and data transmission clock |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US9704221B2 (en) | Image processing apparatus and image processing method | |
JP2007274525A (en) | Apparatus, method, program, and system for image processing, and image processing management apparatus | |
JP5653104B2 (en) | Image processing apparatus, image processing method, and program | |
JP2007074414A5 (en) | ||
JP2007241772A (en) | Image output device, image output method, and program | |
JP2008035010A (en) | Data correction method, apparatus and program | |
JP2007158536A (en) | Method, apparatus, and program for outputting image | |
US20080130987A1 (en) | Color Management of RAW Content from Digital Capture Devices | |
US20060055984A1 (en) | Image processing apparatus, image processing method and program | |
US8064634B2 (en) | History image generating system, history image generating method, and recording medium in which is recorded a computer program | |
JP2004054898A (en) | Printing data generating device, printing data generating method and program | |
US8125680B2 (en) | Image processing apparatus and control method thereof | |
JP5325744B2 (en) | Image processing apparatus and image processing program | |
JP2008276732A (en) | Image processor, image processing method, image managing device, image management method, program, and image order sheet | |
JP2007272878A (en) | Image processing program and image processing device | |
US20180183956A1 (en) | Information processing device that facilitates setting of image processing and recording medium | |
JP2003241983A (en) | Information processor and information processing method | |
JP2013218539A (en) | Histogram creation device | |
JP2007253355A (en) | Image forming apparatus, image forming system, and information processor | |
JP5033746B2 (en) | Image processing apparatus, image processing method, and image processing program | |
JP2010161571A5 (en) | ||
JP2008134930A (en) | Print processing system | |
JP3937662B2 (en) | Image correction apparatus and image correction method | |
JP2001043360A (en) | Method and device for processing image | |
JP2007221383A (en) | Image processing device for printing, image processing method for printing, and program |