JP6156635B2 - Image processing apparatus and control program - Google Patents
Image processing apparatus and control program Download PDFInfo
- Publication number
- JP6156635B2 JP6156635B2 JP2013144423A JP2013144423A JP6156635B2 JP 6156635 B2 JP6156635 B2 JP 6156635B2 JP 2013144423 A JP2013144423 A JP 2013144423A JP 2013144423 A JP2013144423 A JP 2013144423A JP 6156635 B2 JP6156635 B2 JP 6156635B2
- Authority
- JP
- Japan
- Prior art keywords
- calculation
- setting information
- image processing
- program
- storage
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Expired - Fee Related
Links
Images
Description
本発明は、画像処理装置及び制御プログラムに関する。 The present invention relates to an image processing apparatus and a control program.
特許文献1は、他のメモリと独立にアドレスを指定してアクセスすることができる複数のメモリ・エレメントから成り、隣接する所定領域内の画素データが同一の前記メモリ・エレメントに割付けられ、前記所定領域上で同一位置に対応する画素データが同一番地に割付けられる画像メモリと、前記メモリ・エレメントに対応する複数のプロセッサ・エレメントから成り、前記画像メモリ内の複数画素を同時に処理するプロセッサ・ユニットとを備えることを特徴とする画像処理装置について開示している。 Patent Document 1 is composed of a plurality of memory elements that can be accessed by designating addresses independently from other memories, and pixel data in adjacent predetermined areas are allocated to the same memory element, and the predetermined An image memory in which pixel data corresponding to the same position in the region is allocated to the same address, and a processor unit that includes a plurality of processor elements corresponding to the memory elements and simultaneously processes a plurality of pixels in the image memory; An image processing apparatus comprising: is disclosed.
特許文献2は、処理すべき仕事をその処理順序に従って各々の処理時間がほぼ等しくなるように複数個に分割し、この分割した複数個の仕事をそれぞれ別々の処理手段に割り当てることを特徴とする信号処理装置について開示している。 Patent Document 2 is characterized in that the work to be processed is divided into a plurality of pieces so that the respective processing times are substantially equal to each other according to the processing order, and the plurality of divided works are respectively assigned to different processing means. A signal processing apparatus is disclosed.
本発明の目的は、演算装置を用いた画像処理を効率的に行うことができる画像処理装置及び制御プログラムを提供することである。 An object of the present invention is to provide an image processing apparatus and a control program capable of efficiently performing image processing using an arithmetic device.
請求項1に係る本発明は、
演算装置の種類に応じた設定情報を記憶する記憶手段と、
前記記憶手段により記憶された設定情報に従って前記演算装置による演算を行うよう制御する演算制御手段と、
を有し、
前記記憶手段は、設定情報として、予め定められた画像処理を行う異なる複数のプログラムのうちいずれのプログラムに従って前記演算装置による演算を行うかを指定する情報を記憶し、
前記演算制御手段は、前記記憶手段により記憶された設定情報で指定されたプログラムに基づいて演算を行うよう制御し、
前記複数のプログラムごとの前記演算装置による演算速度について測定する測定手段をさらに有し、
前記記憶手段は、前記測定手段により測定された演算速度に基づいて選択されたプログラムを前記演算装置に対して用いるプログラムとして指定する情報を記憶し、
前記測定手段は、使用者による使用の用に供していない環境下において、予め定められた時期に自動的に前記演算装置による演算速度について測定する
画像処理装置である。
The present invention according to claim 1
Storage means for storing setting information in accordance with the type of arithmetic device;
Calculation control means for controlling the calculation by the calculation device according to the setting information stored by the storage means;
Have
The storage means stores, as setting information, information that specifies which of the different programs that perform predetermined image processing is to be operated by the arithmetic device according to which program,
The calculation control means controls to perform calculation based on a program specified by setting information stored by the storage means,
A measuring means for measuring the calculation speed by the calculation device for each of the plurality of programs;
Wherein the storage unit, information specifying remembers the program selected based on the calculated speed measured by said measuring means as a program used to the arithmetic unit,
The measurement means is an image processing device that automatically measures the calculation speed of the calculation device at a predetermined time in an environment not used for use by a user.
請求項2に係る本発明は、前記複数のプログラムは、画像処理の際に使用する前記演算装置における記憶領域の大きさ又は画像処理の処理手順が異なる請求項1記載の画像処理装置である。 The present invention according to claim 2 is the image processing apparatus according to claim 1, wherein the plurality of programs differ in the size of the storage area or the processing procedure of the image processing in the arithmetic device used in the image processing.
請求項3に係る本発明は、前記測定手段は、複数種の画像入力により測定するもので、前記記憶手段は、測定された演算速度に基づいて選択されたプログラムを前記演算装置に対して用いるプログラムとして指定する情報を画像入力の種類ごとに記憶する請求項1又は2記載の画像処理装置である。
According to a third aspect of the present invention, the measurement unit measures a plurality of types of image input, and the storage unit uses a program selected based on the measured calculation speed for the calculation device. an image processing apparatus according to claim 1 or 2, wherein storing information specifying a program for each type of image input.
請求項4に係る本発明は、前記記憶手段は、演算の実施時期に応じた設定情報を記憶し、前記演算制御手段は、前記記憶手段により記憶された設定情報のうち演算の実施時期に応じた設定情報に従って前記演算装置による演算を行うよう制御する請求項1又は2記載の画像処理装置である。
According to a fourth aspect of the present invention, the storage means stores setting information according to the execution time of the calculation, and the calculation control means corresponds to the execution time of the calculation among the setting information stored by the storage means. and an image processing apparatus according to claim 1 or 2, wherein the control to perform the calculation by the computing device in accordance with the setting information.
請求項5に係る本発明は、前記記憶手段は、さらに、前記演算装置における処理条件を定めた設定値を設定情報として記憶する請求項1乃至4いずれか記載の画像処理装置である。
The present invention according to claim 5 is the image processing apparatus according to any one of claims 1 to 4 , wherein the storage unit further stores, as setting information, a setting value that defines a processing condition in the arithmetic device.
請求項6に係る本発明は、
演算装置の種類に応じた設定情報を記憶する記憶ステップと、
記憶された設定情報に従って前記演算装置による演算を行うよう制御する演算制御ステップと、
をコンピュータに実行させ、
前記記憶ステップは、設定情報として、予め定められた画像処理を行う異なる複数のプログラムのうちいずれのプログラムに従って前記演算装置による演算を行うかを指定する情報を記憶し、
前記演算制御ステップは、記憶された設定情報で指定されたプログラムに基づいて演算を行うよう制御し、
前記複数のプログラムごとの前記演算装置による演算速度について測定する測定ステップをコンピュータにさらに実行させ、
前記記憶ステップは、前記測定ステップにより測定された演算速度に基づいて選択されたプログラムを前記演算装置に対して用いるプログラムとして指定する情報を記憶し、
前記測定ステップは、使用者による使用の用に供していない環境下において、予め定められた時期に自動的に前記演算装置による演算速度について測定する
制御プログラムである。
請求項7に係る本発明は、
演算装置の種類に応じた設定情報を記憶する記憶手段と、
前記記憶手段により記憶された設定情報に従って前記演算装置による演算を行うよう制御する演算制御手段と、
を有し、
前記記憶手段は、設定情報として、予め定められた画像処理を行う異なる複数のプログラムのうちいずれのプログラムに従って前記演算装置による演算を行うかを指定する情報を記憶し、
前記演算制御手段は、前記記憶手段により記憶された設定情報で指定されたプログラムに基づいて演算を行うよう制御し、
前記複数のプログラムごとの前記演算装置による演算速度について測定する測定手段をさらに有し、
前記記憶手段は、前記測定手段により測定された演算速度に基づいて選択されたプログラムを前記演算装置に対して用いるプログラムとして指定する情報を記憶し、
前記測定手段は、通常のジョブで画像処理が指定された画像に対して、前記演算装置による演算速度について測定する
画像処理装置である。
請求項8に係る本発明は、
演算装置の種類に応じた設定情報を記憶する記憶ステップと、
前記記憶ステップにより記憶された設定情報に従って前記演算装置による演算を行うよう制御する演算制御ステップと、
をコンピュータに実行させ、
前記記憶ステップは、設定情報として、予め定められた画像処理を行う異なる複数のプログラムのうちいずれのプログラムに従って前記演算装置による演算を行うかを指定する情報を記憶し、
前記演算制御ステップは、前記記憶ステップにより記憶された設定情報で指定されたプログラムに基づいて演算を行うよう制御し、
前記複数のプログラムごとの前記演算装置による演算速度について測定する測定ステップをコンピュータにさらに実行させ、
前記記憶ステップは、前記測定ステップにより測定された演算速度に基づいて選択されたプログラムを前記演算装置に対して用いるプログラムとして指定する情報を記憶し、
前記測定ステップは、通常のジョブで画像処理が指定された画像に対して、前記演算装置による演算速度について測定する
制御プログラムである。
The present invention according to
A storage step for storing setting information according to the type of the computing device;
A calculation control step for controlling the calculation by the calculation device according to the stored setting information;
To the computer,
The storage step stores, as setting information, information that designates which of the different programs that perform predetermined image processing is to be used by the arithmetic device according to which program,
The calculation control step controls to perform calculation based on a program specified by stored setting information,
Causing the computer to further execute a measurement step of measuring the calculation speed by the calculation device for each of the plurality of programs,
Said storage step, remembers the information specifying the program selected based on the calculated speed measured by the measuring step as a program used to the arithmetic unit,
The measurement step is a control program that automatically measures the calculation speed of the calculation device at a predetermined time in an environment not provided for use by a user.
The present invention according to claim 7 provides:
Storage means for storing setting information in accordance with the type of arithmetic device;
Calculation control means for controlling the calculation by the calculation device according to the setting information stored by the storage means;
Have
The storage means stores, as setting information, information that specifies which of the different programs that perform predetermined image processing is to be operated by the arithmetic device according to which program,
The calculation control means controls to perform calculation based on a program specified by setting information stored by the storage means,
A measuring means for measuring the calculation speed by the calculation device for each of the plurality of programs;
Wherein the storage unit, information specifying remembers the program selected based on the calculated speed measured by said measuring means as a program used to the arithmetic unit,
The measurement unit is an image processing apparatus that measures the calculation speed of the calculation apparatus for an image for which image processing is designated in a normal job.
The present invention according to claim 8 provides:
A storage step for storing setting information according to the type of the computing device;
A calculation control step for controlling the calculation by the calculation device according to the setting information stored in the storage step ;
To the computer,
The storage step stores, as setting information, information that designates which of the different programs that perform predetermined image processing is to be used by the arithmetic device according to which program,
The calculation control step controls the calculation based on the program specified by the setting information stored in the storage step,
Causing the computer to further execute a measurement step of measuring the calculation speed by the calculation device for each of the plurality of programs,
Said storage step, remembers the information specifying the program selected based on the calculated speed measured by the measuring step as a program used to the arithmetic unit,
The measurement step is a control program that measures the calculation speed of the calculation device for an image for which image processing is designated in a normal job.
請求項1に係る本発明によれば、演算装置を用いた画像処理を、本構成を有しない場合に比較して効率的に行うことができ、使用する演算装置が変更された場合であっても、変更後の演算装置において本構成を有しない場合に比較して効率的に画像処理を行うことができ、使用者の使用に供する環境下において測定を実行する技術と比較して、使用者が画像処理装置を使用する際の装置の負荷を低減することができ、使用者による指示があった場合に測定を行う技術とは異なり、使用者による指示を不要にすることができる画像処理装置を提供することができる。
According to the first aspect of the present invention, image processing using an arithmetic device can be performed more efficiently than when the present configuration is not provided, and the arithmetic device to be used is changed. In addition, the modified arithmetic device can perform image processing more efficiently compared to the case where the present configuration is not provided, and the user compared with the technology that performs measurement in an environment for use by the user. Can reduce the load on the apparatus when using the image processing apparatus, and unlike the technique of performing measurement in response to an instruction from the user, the image processing apparatus can eliminate the instruction from the user Can be provided.
請求項2に係る本発明によれば、請求項1に係る本発明の効果に加え、画像処理の際に使用する記憶領域の大きさ又は画像処理の処理手順によって処理速度が変化する場合であっても、当該演算装置に適した設定により処理の効率化を行うことができる画像処理装置を提供することができる。 According to the second aspect of the present invention, in addition to the effect of the first aspect of the present invention, the processing speed varies depending on the size of the storage area used in the image processing or the processing procedure of the image processing. However, it is possible to provide an image processing apparatus capable of improving the processing efficiency by setting suitable for the arithmetic device.
請求項3に係る本発明によれば、請求項1又は2に係る本発明の効果に加え、処理する画像入力の種類により効果が異なる場合でも、効率的に画像処理を行うことができる画像処理装置を提供することができる。
According to the third aspect of the present invention, in addition to the effect of the present invention according to the first or second aspect , even when the effect varies depending on the type of image input to be processed, the image processing can be performed efficiently. An apparatus can be provided.
請求項4に係る本発明によれば、請求項1又は2に係る本発明の効果に加え、本構成を有しない場合に比較して、実際の使用環境下において時期に応じて適した設定条件が異なる場合であっても、本構成を有しない場合に比較して効率的に画像処理を行うことができる画像処理装置を提供することができる。
According to the present invention according to
請求項5に係る本発明によれば、請求項1乃至4いずれかに係る本発明の効果に加え、画像処理の際の処理条件を定めるパラメータに応じて処理速度が変化する場合であっても、本構成を有しない場合に比較して効率的に画像処理を行うことができる画像処理装置を提供することができる。
According to the fifth aspect of the present invention , in addition to the effect of the present invention according to any one of the first to fourth aspects, even when the processing speed changes according to a parameter that defines processing conditions for image processing. Therefore, it is possible to provide an image processing apparatus capable of performing image processing more efficiently than when the present configuration is not provided.
請求項6に係る本発明によれば、演算装置を用いた画像処理を、本構成を有しない場合に比較して効率的に行うことができ、使用する演算装置が変更された場合であっても、変更後の演算装置において本構成を有しない場合に比較して効率的に画像処理を行うことができ、使用者の使用に供する環境下において測定を実行する技術と比較して、使用者が画像形成処理装置を使用する際の装置の負荷を低減することができ、使用者による指示があった場合に測定を行う技術とは異なり、使用者による指示を不要にすることができる制御プログラムを提供することができる。
請求項7に係る本発明によれば、演算装置を用いた画像処理を、本構成を有しない場合に比較して効率的に行うことができ、使用する演算装置が変更された場合であっても、変更後の演算装置において本構成を有しない場合に比較して効率的に画像処理を行うことができる。
請求項8に係る本発明によれば、演算装置を用いた画像処理を、本構成を有しない場合に比較して効率的に行うことができ、使用する演算装置が変更された場合であっても、変更後の演算装置において本構成を有しない場合に比較して効率的に画像処理を行うことができる。
According to the sixth aspect of the present invention, image processing using the arithmetic device can be performed more efficiently than when the present configuration is not provided, and the arithmetic device to be used is changed. In addition, the modified arithmetic device can perform image processing more efficiently compared to the case where the present configuration is not provided, and the user compared with the technology that performs measurement in an environment for use by the user. Can reduce the load on the apparatus when using the image forming processing apparatus, and unlike a technique for performing measurement when instructed by the user, a control program that can eliminate the instruction from the user Can be provided.
According to the seventh aspect of the present invention, image processing using an arithmetic device can be performed more efficiently than when the present configuration is not provided, and the arithmetic device to be used is changed. also, Ru can be performed efficiently image processing as compared with the case not having the present structure in the arithmetic unit after the change.
According to the present invention of claim 8, image processing using an arithmetic device can be performed more efficiently than when the present configuration is not provided, and the arithmetic device to be used is changed. also, Ru can be performed efficiently image processing as compared with the case not having the present structure in the arithmetic unit after the change.
以下、本発明の実施形態について図面を参照して詳細に説明する。
図1は、本発明の実施形態に係る画像処理装置2のハードウェアの構成の一例を示すブロック図である。画像処理装置2は、図1に示されるように、制御装置4、演算装置6、ハードディスクドライブ(HDD)等の記憶装置8、ネットワークを介して外部の装置等との間でデータの送信及び受信を行う通信インタフェース(IF)10、入出力装置12を有する。これらの構成要素は、制御バス14を介して互いに接続されている。
Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings.
FIG. 1 is a block diagram illustrating an example of a hardware configuration of an image processing apparatus 2 according to an embodiment of the present invention. As shown in FIG. 1, the image processing apparatus 2 transmits and receives data to and from a
制御装置(ホスト)4は、CPU(Central Processing Unit)16及びメモリ18を含み、メモリ18又は記憶装置8に格納されたプログラムに基づいて処理を実行して、画像処理装置2の動作を制御する。本実施形態では、後述の制御プログラムに従った制御のもと、画像処理用のプログラムを実施して画像データに対して画像処理を行う。ここで、制御装置4は、演算装置6を用いて画像処理における演算を行なう。演算装置6は、GPU(Graphics Processing Unit)20、メモリ22を含み、並列演算により画像処理を行う。
The control device (host) 4 includes a CPU (Central Processing Unit) 16 and a
入出力装置12は、情報を表示する表示手段としてのディスプレイ装置などの表示装置、及び操作者によってなされる入力を受付けるキーボードなどの入力受付装置を備えた装置である。 The input / output device 12 is a device that includes a display device such as a display device as a display means for displaying information, and an input reception device such as a keyboard that receives an input made by an operator.
以上、画像処理装置2のハードウェア構成について説明したが、上記の制御プログラム等のプログラムは、CD−ROM等の記憶媒体に格納して画像処理装置2に提供することも可能である。 The hardware configuration of the image processing apparatus 2 has been described above, but the above-described control program and the like can be stored in a storage medium such as a CD-ROM and provided to the image processing apparatus 2.
画像処理装置2は、例えば、通信IF10を介して図示しない端末装置から受信した画像データに対し、画像処理を行い、図示しない画像形成装置に対して画像処理後の画像データを送信する。 For example, the image processing device 2 performs image processing on image data received from a terminal device (not shown) via the communication IF 10 and transmits the image data after image processing to an image forming device (not shown).
図2は、制御プログラムが実行されることにより実現される画像処理装置2の機能構成を示すブロック図である。 FIG. 2 is a block diagram showing a functional configuration of the image processing apparatus 2 realized by executing the control program.
図2に示すように、画像処理装置2は、画像データ受付部30と、画像データ出力部32と、演算制御部34と、設定情報記憶部36と、測定部38と、測定用情報記憶部40とを有する。
As shown in FIG. 2, the image processing apparatus 2 includes an image
画像データ受付部30は、画像処理対象の画像データの入力を受付ける。画像データ受付部30は、例えば、図示しない端末装置から送信された画像データの入力を受付ける。また、画像データ出力部32は、予め定められた画像処理が行われた処理後の画像データを出力する。画像データ出力部32は、例えば、図示しない印刷装置に対し画像処理後の画像データを送信する。
The image
演算制御部34は、画像データ受付部30が受付けた画像データに対し、演算装置6を用いて予め定められた画像処理を行うよう制御する。ここで、演算制御部34は、後述する設定情報記憶部36が記憶する設定情報に従って演算装置6による演算を行うよう制御する。
The
設定情報記憶部36は、演算装置6の種類に応じた設定情報を記憶する。ここで、演算装置の種類とは、演算装置が備えるハードウェア又は動作条件からなる仕様による分類をいう。
The setting
例えば、製造メーカが異なる演算装置、製造メーカが同じであっても製品シリーズが異なる演算装置、又は製品シリーズが同じであっても製品の世代が異なる演算装置などにおいては、演算装置の仕様が異なっている。例えば、GPUカードの名称、計算ユニット数、キャッシュのサイズ、定数メモリのサイズ、ローカルメモリのサイズ、グローバルメモリのサイズ、最大ワークグループのサイズ、最大ワークグループの次元数などが異なっている。なお、ワークグループとは、演算処理の実行単位をいい、例えば、2次元のワークグループのサイズをn×mとした場合、画像のn画素(X方向)×m画素(Y方向)の部分画像を単位とした画像処理が行われる。 For example, computing devices with different manufacturers, computing devices with the same manufacturer, but different product series, or computing devices with the same product series, but with different product generations, have different specifications. ing. For example, the name of the GPU card, the number of calculation units, the size of the cache, the size of the constant memory, the size of the local memory, the size of the global memory, the size of the maximum work group, the number of dimensions of the maximum work group, and the like are different. Note that a work group refers to an execution unit of arithmetic processing. For example, when the size of a two-dimensional work group is n × m, a partial image of n pixels (X direction) × m pixels (Y direction) of the image. Image processing is performed in units of.
ここで、演算装置を用いて画像処理を行なう場合、上記のように仕様の異なる演算装置間においては、演算する際の設定により処理速度が異なる。本実施形態における設定情報記憶部36は、設定情報の違いによる処理速度の差異を測定した結果、他の設定よりも処理速度が速いと認められる設定情報を演算装置6に対する設定情報として記憶している。
Here, when image processing is performed using an arithmetic device, the processing speed differs among arithmetic devices having different specifications as described above depending on the settings for the arithmetic operation. The setting
本実施形態では、演算装置6の種類に応じた設定情報として、具体的には、例えば、2次元のワークグループにおけるX方向(主走査方向)のサイズ及びY方向(副走査方向)のサイズ、ホスト側である制御装置4から演算装置6への画像データの転送単位のサイズ、演算装置6に対し複数の画像処理用プログラムに基づいて並行して処理させてもよいか、などといった処理条件を定めた設定値であるパラメータを記憶している。
In the present embodiment, as the setting information according to the type of the
また、本実施形態では、演算装置6の種類に応じた設定情報として、上記パラメータのほかに、予め定められた画像処理を行う異なる複数のプログラムのうちいずれのプログラムに従って演算装置6による演算を行うかを指定する情報を記憶している。例えば、画像処理結果としては同じ結果をもたらすものの画像処理の際に使用する演算装置6における記憶領域のサイズ又は画像処理の処理手順(アルゴリズム)が異なる等、処理過程が異なる複数の画像処理用プログラムのうち、当該演算装置6に適用した場合に処理速度が他の画像処理用プログラムよりも速い画像処理用プログラムを指定する情報を記憶している。なお、画像処理の際に使用する演算装置6における記憶領域のサイズの一例としては、ワークグループで共有できる高速メモリであるローカルメモリの使用サイズ、計算ユニット毎に有する高速メモリであるプライベートメモリの使用サイズが挙げられる。
In the present embodiment, the setting information according to the type of the
測定部38は、演算装置6の種類に応じた設定情報を探索するために、設定情報ごとの演算装置6における処理速度を測定する。本実施形態では、測定部38は、測定用情報記憶部40によって記憶されている測定用の設定情報ごとに、演算装置6における画像処理速度を測定し、測定用の設定情報のうち処理速度が他の測定用の設定情報よりも速いと判定された設定情報を、当該演算装置6に対する設定情報として設定情報記憶部36に出力する。
The
具体的には、測定部38は、測定用の設定情報である、パラメータごと、及び画像処理用プログラムごとに、画像データに対する演算装置6による画像処理の処理速度を測定する。
Specifically, the
測定部38は、使用者による使用の用に供していない環境下において測定を実施してもよいし、使用者による使用の用に供する環境下において測定を実施してもよい。また、測定部38は、使用者による指示があった場合に測定を行なうよう構成してもよいし、予め定められた時期に自動的に測定を行なうよう構成してもよい。
The
なお、測定部38は、測定に用いる画像として予め定められた画像データを用いて、当該画像データに対する予め定められた画像処理の処理速度を測定してもよいが、画像処理結果を得ることを目的とした通常のジョブに対して測定を行なってもよい。この場合、例えば、測定部38は、このジョブで画像処理が指定された画像データに対して、複数の異なる測定用の設定情報を用いて、設定情報ごとの処理速度を測定してもよい。
The measuring
図3は、設定情報記憶部36が記憶する、演算装置6に応じた設定情報の一例を示す表である。なお、図3に示した例では、演算装置の種類として、GPU_A、GPU_B、GPU_Cの3種類それぞれに対する設定情報を記憶する例を示しているが、設定情報記憶部36は、画像処理装置2に搭載されている演算装置の種類の設定情報のみを記憶してもよい。
FIG. 3 is a table showing an example of setting information corresponding to the
図3に示されるように、本実施形態の設定情報記憶部36は、演算装置の種類ごとに、画像処理を行うためのプログラムのうち使用するプログラムを指定する情報、及び、使用するパラメータを記憶している。
As shown in FIG. 3, the setting
図4は、設定情報記憶部36が記憶する、演算装置6に応じた設定情報の他の一例を示す表である。図4に示した例では、演算が実施される時期ごとに設定情報が記憶されている点で、図3に示した例と異なっている。この場合、例えば、測定部38は、時期ごとに処理速度を測定し、時期ごとに処理速度が最も早くなる設定情報を設定情報記憶部36に出力する。また、演算制御部34は、記憶された設定情報のうち演算の実施時期に応じた設定情報に従って演算装置6による演算を行うよう制御する。
FIG. 4 is a table showing another example of setting information corresponding to the
次に、本実施形態に係る画像処理装置2の動作について説明する。
図5は、本実施形態に係る画像処理装置2の動作の一例を示すフローチャートである。
Next, the operation of the image processing apparatus 2 according to the present embodiment will be described.
FIG. 5 is a flowchart showing an example of the operation of the image processing apparatus 2 according to the present embodiment.
ステップ10(S10)において、設定情報ごとの処理速度の測定を実施するか否かが判定される。例えば、使用者からの実施指示があった場合、又は予め定められた実施時期となった場合、測定が実施される。測定を実施する場合、ステップ12へ移行し、測定を実施しない場合、ステップ28へ移行する。 In step 10 (S10), it is determined whether or not to measure the processing speed for each setting information. For example, when there is an execution instruction from the user or when a predetermined execution time comes, measurement is performed. If measurement is to be performed, the process proceeds to step 12, and if measurement is not performed, the process proceeds to step 28.
ステップ12(S12)において、測定部38は、測定用情報記憶部40が記憶する測定対象の設定情報群を読み込む。
In step 12 (S12), the
ステップ14(S14)において、測定部38は、ステップ12において読み込んだ設定情報のうち、測定する設定情報を決定する。本実施形態では、測定するプログラム及びパラメータを決定する。測定部38は、ステップ12において読み込んだ設定情報のうち、測定が終了していない設定情報を測定対象として決定する。
In step 14 (S14), the
ステップ16(S16)において、測定部38は、予め定められた画像データに対し、予め定められた画像処理を行うジョブを測定用情報記憶部40から読み出す。
In step 16 (S16), the
ステップ18(S18)において、演算制御部34は、ステップ14で決定された設定情報によりステップ16で読み出されたジョブを演算装置6を用いて処理するよう制御する。
In step 18 (S18), the
ステップ20(S20)において、測定部38は、ステップ18における処理開始から処理終了までの時間を測定し、当該設定情報に対する処理速度として保存する。
In step 20 (S20), the
ステップ22(S22)において、測定部38は、ステップ14で選択された測定対象の設定情報に対してまだ測定されていない測定用のジョブが測定用情報記憶部40に存在するか否かを判定し、存在する場合には、ステップ16へ戻り、全て測定済みの場合にはステップ24へ移行する。
In step 22 (S22), the
このように、測定部38は、例えば、処理対象の画像データが異なる複数の測定用ジョブについて、測定してもよい。この場合、例えば、各測定用ジョブの処理速度の平均を当該設定情報の処理速度としてもよい。
As described above, the
ステップ24(S24)において、測定部38は、測定が終わっていない設定情報が測定用情報記憶部40に存在するか否かを判定し、存在する場合には、ステップ14へ戻り、全て測定済みの場合にはステップ26へ移行する。
In step 24 (S24), the
ステップ26(S26)において、測定部38は、ステップ20において保存された設定情報ごとの処理速度のうち演算装置6を用いて画像処理を行なう場合に処理速度が最も速い設定情報を選択し、演算装置6に対する設定情報として設定情報記憶部36に出力する。
In step 26 (S26), the
一方、ステップ28(S28)では、画像処理を要求するジョブが存在するか否かが判定され、ジョブが存在する場合には、ステップ30へ移行し、存在しない場合には、ステップ10へ戻る。 On the other hand, in step 28 (S28), it is determined whether or not there is a job requesting image processing. If there is a job, the process proceeds to step 30. If not, the process returns to step 10.
ステップ30(S30)では、演算制御部34は、ステップ26により記憶された、演算装置6に対応する設定情報を参照し、ステップ32(S32)において、演算装置6を用いた画像処理において使用するプログラム及びパラメータを決定する。
In step 30 (S30), the
ステップ32(S34)において、演算制御部34は、ステップ32で決定したプログラムを実行し、ステップ32で決定したパラメータによる画像処理の演算を演算装置6を用いて行うよう制御する。
In step 32 (S34), the
ステップ36(S36)において、画像データ出力部32は、画像処理後の画像データを出力する。
In step 36 (S36), the image
以上、動作についてフローチャートにて示したが、測定を複数種の画像入力ごとに行い、画像の種類ごとの設定情報を設定情報記憶部36に記憶するようにしてもよい。このように、設定情報記憶部36は、測定された演算速度に基づいて選択されたプログラムを演算装置6に対して用いるプログラムとして指定する情報を画像入力の種類ごとに記憶してもよい。
As described above, the operation is shown in the flowchart, but the measurement may be performed for each of a plurality of types of image input, and the setting information for each type of image may be stored in the setting
図6は、画像の種類ごとの演算速度を測定し、画像の種類ごとに演算装置6に用いる設定情報を記憶する場合の画像処理装置2の動作の一例を示すフローチャートである。本動作では、測定の際、画像の種類ごとに測定を行う。また、実際の処理の際には、画像の種類ごとに記憶された設定情報に基づいてジョブの処理を行う。なお、以下の説明では、図5に示すステップと重複するステップについては説明を割愛する。
FIG. 6 is a flowchart illustrating an example of the operation of the image processing apparatus 2 when the calculation speed for each image type is measured and the setting information used for the
ステップ27(S27)において、測定部38は、ステップ12において読み込んだ設定情報のうち、まだ測定されていない画像の種類の測定用のジョブが測定用情報記憶部40に存在するか否かを判定し、存在する場合には、ステップ14へ戻り、全て測定済みの場合にはステップ28へ移行する。このように、画像の種類ごとに測定し及び画像の種類ごとに処理速度が最速の設定情報の選択を行う。
In step 27 (S27), the
また、ステップ29(S29)では、演算制御部34は、画像データの種類を決定する。画像データの種類の判断方法は、既知の方法によるもので、データの大きさでも良いし、データにおける自然画画像の比率でも良いし、自然画画像の解像度情報でもよい。圧縮が行われている場合には、圧縮の種類によりものでも良い。また、画像データを生成したアプリケーションの種類でもよいし、画像データを生成したワークステーションの名前やネットワークアドレスなどの識別情報であってもよい。ステップ30では、ステップ29で決定した画像データの種類に対応した設定情報を参照する。
In step 29 (S29), the
以上、実施形態について説明したが、設定情報としては、演算装置6の仕様に応じたプログラムの指定情報だけでもよいし、演算装置6の仕様に応じたパラメータ情報だけでもよい。
Although the embodiment has been described above, the setting information may be only program designation information according to the specifications of the
また、上記実施形態では、演算装置6としてGPUを例に挙げて説明したが、SSE(Streaming SIMD Extensions)、AVX(Advanced Vector eXtensions)などのSIMD(single instruction multiple data)による演算に適用してもよい。
In the above-described embodiment, the GPU has been described as an example of the
2 画像処理装置
4 制御装置
6 演算装置
8 記憶装置
16 CPU
18 メモリ
20 GPU
22 メモリ
30 画像データ受付部
32 画像データ出力部
34 演算制御部
36 設定情報記憶部
38 測定部
40 測定用情報記憶部
2
18
22
Claims (8)
前記記憶手段により記憶された設定情報に従って前記演算装置による演算を行うよう制御する演算制御手段と、
を有し、
前記記憶手段は、設定情報として、予め定められた画像処理を行う異なる複数のプログラムのうちいずれのプログラムに従って前記演算装置による演算を行うかを指定する情報を記憶し、
前記演算制御手段は、前記記憶手段により記憶された設定情報で指定されたプログラムに基づいて演算を行うよう制御し、
前記複数のプログラムごとの前記演算装置による演算速度について測定する測定手段をさらに有し、
前記記憶手段は、前記測定手段により測定された演算速度に基づいて選択されたプログラムを前記演算装置に対して用いるプログラムとして指定する情報を記憶し、
前記測定手段は、使用者による使用の用に供していない環境下において、予め定められた時期に自動的に前記演算装置による演算速度について測定する
画像処理装置。 Storage means for storing setting information in accordance with the type of arithmetic device;
Calculation control means for controlling the calculation by the calculation device according to the setting information stored by the storage means;
Have
The storage means stores, as setting information, information that specifies which of the different programs that perform predetermined image processing is to be operated by the arithmetic device according to which program,
The calculation control means controls to perform calculation based on a program specified by setting information stored by the storage means,
A measuring means for measuring the calculation speed by the calculation device for each of the plurality of programs;
Wherein the storage unit, information specifying remembers the program selected based on the calculated speed measured by said measuring means as a program used to the arithmetic unit,
The measurement means is an image processing apparatus that automatically measures the calculation speed of the calculation apparatus at a predetermined time in an environment not used for use by a user.
請求項1記載の画像処理装置。 The image processing apparatus according to claim 1, wherein the plurality of programs are different in a size of a storage area or a processing procedure of image processing in the arithmetic device used in image processing.
前記記憶手段は、測定された演算速度に基づいて選択されたプログラムを前記演算装置に対して用いるプログラムとして指定する情報を画像入力の種類ごとに記憶する
請求項1又は2記載の画像処理装置。 The measuring means measures by a plurality of types of image input,
The image processing apparatus according to claim 1, wherein the storage unit stores, for each type of image input, information specifying a program selected based on the measured calculation speed as a program to be used for the calculation apparatus.
前記演算制御手段は、前記記憶手段により記憶された設定情報のうち演算の実施時期に応じた設定情報に従って前記演算装置による演算を行うよう制御する
請求項1又は2記載の画像処理装置。 The storage means stores setting information according to the execution time of the calculation,
The image processing apparatus according to claim 1, wherein the calculation control unit controls the calculation by the calculation device according to setting information corresponding to a calculation execution time among the setting information stored by the storage unit.
請求項1乃至4いずれか記載の画像処理装置。 The image processing apparatus according to claim 1, wherein the storage unit further stores, as setting information, a setting value that defines a processing condition in the arithmetic device.
記憶された設定情報に従って前記演算装置による演算を行うよう制御する演算制御ステップと、
をコンピュータに実行させ、
前記記憶ステップは、設定情報として、予め定められた画像処理を行う異なる複数のプログラムのうちいずれのプログラムに従って前記演算装置による演算を行うかを指定する情報を記憶し、
前記演算制御ステップは、記憶された設定情報で指定されたプログラムに基づいて演算を行うよう制御し、
前記複数のプログラムごとの前記演算装置による演算速度について測定する測定ステップをコンピュータにさらに実行させ、
前記記憶ステップは、前記測定ステップにより測定された演算速度に基づいて選択されたプログラムを前記演算装置に対して用いるプログラムとして指定する情報を記憶し、
前記測定ステップは、使用者による使用の用に供していない環境下において、予め定められた時期に自動的に前記演算装置による演算速度について測定する
制御プログラム。 A storage step for storing setting information according to the type of the computing device;
A calculation control step for controlling the calculation by the calculation device according to the stored setting information;
To the computer,
The storage step stores, as setting information, information that designates which of the different programs that perform predetermined image processing is to be used by the arithmetic device according to which program,
The calculation control step controls to perform calculation based on a program specified by stored setting information,
Causing the computer to further execute a measurement step of measuring the calculation speed by the calculation device for each of the plurality of programs,
Said storage step, remembers the information specifying the program selected based on the calculated speed measured by the measuring step as a program used to the arithmetic unit,
The measurement step is a control program that automatically measures the calculation speed of the calculation device at a predetermined time in an environment not used for use by a user.
前記記憶手段により記憶された設定情報に従って前記演算装置による演算を行うよう制御する演算制御手段と、
を有し、
前記記憶手段は、設定情報として、予め定められた画像処理を行う異なる複数のプログラムのうちいずれのプログラムに従って前記演算装置による演算を行うかを指定する情報を記憶し、
前記演算制御手段は、前記記憶手段により記憶された設定情報で指定されたプログラムに基づいて演算を行うよう制御し、
前記複数のプログラムごとの前記演算装置による演算速度について測定する測定手段をさらに有し、
前記記憶手段は、前記測定手段により測定された演算速度に基づいて選択されたプログラムを前記演算装置に対して用いるプログラムとして指定する情報を記憶し、
前記測定手段は、通常のジョブで画像処理が指定された画像に対して、前記演算装置による演算速度について測定する
画像処理装置。 Storage means for storing setting information in accordance with the type of arithmetic device;
Calculation control means for controlling the calculation by the calculation device according to the setting information stored by the storage means;
Have
The storage means stores, as setting information, information that specifies which of the different programs that perform predetermined image processing is to be operated by the arithmetic device according to which program,
The calculation control means controls to perform calculation based on a program specified by setting information stored by the storage means,
A measuring means for measuring the calculation speed by the calculation device for each of the plurality of programs;
Wherein the storage unit, information specifying remembers the program selected based on the calculated speed measured by said measuring means as a program used to the arithmetic unit,
The measurement means is an image processing apparatus that measures the calculation speed of the calculation apparatus for an image for which image processing is designated in a normal job.
前記記憶ステップにより記憶された設定情報に従って前記演算装置による演算を行うよう制御する演算制御ステップと、
をコンピュータに実行させ、
前記記憶ステップは、設定情報として、予め定められた画像処理を行う異なる複数のプログラムのうちいずれのプログラムに従って前記演算装置による演算を行うかを指定する情報を記憶し、
前記演算制御ステップは、前記記憶ステップにより記憶された設定情報で指定されたプログラムに基づいて演算を行うよう制御し、
前記複数のプログラムごとの前記演算装置による演算速度について測定する測定ステップをコンピュータにさらに実行させ、
前記記憶ステップは、前記測定ステップにより測定された演算速度に基づいて選択されたプログラムを前記演算装置に対して用いるプログラムとして指定する情報を記憶し、
前記測定ステップは、通常のジョブで画像処理が指定された画像に対して、前記演算装置による演算速度について測定する
制御プログラム。 A storage step for storing setting information according to the type of the computing device;
A calculation control step for controlling the calculation by the calculation device according to the setting information stored in the storage step ;
To the computer,
The storage step stores, as setting information, information that designates which of the different programs that perform predetermined image processing is to be used by the arithmetic device according to which program,
The calculation control step controls the calculation based on the program specified by the setting information stored in the storage step,
Causing the computer to further execute a measurement step of measuring the calculation speed by the calculation device for each of the plurality of programs,
Said storage step, remembers the information specifying the program selected based on the calculated speed measured by the measuring step as a program used to the arithmetic unit,
The measurement step is a control program for measuring a calculation speed of the calculation device for an image for which image processing is designated in a normal job.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2013144423A JP6156635B2 (en) | 2013-07-10 | 2013-07-10 | Image processing apparatus and control program |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2013144423A JP6156635B2 (en) | 2013-07-10 | 2013-07-10 | Image processing apparatus and control program |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2015018363A JP2015018363A (en) | 2015-01-29 |
JP6156635B2 true JP6156635B2 (en) | 2017-07-05 |
Family
ID=52439306
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2013144423A Expired - Fee Related JP6156635B2 (en) | 2013-07-10 | 2013-07-10 | Image processing apparatus and control program |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP6156635B2 (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2023223408A1 (en) * | 2022-05-17 | 2023-11-23 | 三菱電機株式会社 | Image processing support equipment, image processing support method, and image processing support program |
Family Cites Families (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH10111792A (en) * | 1996-10-03 | 1998-04-28 | Nec Corp | Picture processor |
JP2000101795A (en) * | 1998-09-22 | 2000-04-07 | Ricoh Co Ltd | Network scanner |
JP2002099430A (en) * | 2000-09-26 | 2002-04-05 | Minolta Co Ltd | Apparatus and method of data processing |
JP4645044B2 (en) * | 2004-03-02 | 2011-03-09 | 沖電気工業株式会社 | Image drawing method and image reproducing apparatus |
JP4478482B2 (en) * | 2004-03-03 | 2010-06-09 | セイコーエプソン株式会社 | Select image processing method |
KR100709319B1 (en) * | 2005-04-19 | 2007-04-20 | 삼성전자주식회사 | Auto scan apparatus and the scanning method thereof |
JP5167897B2 (en) * | 2007-04-27 | 2013-03-21 | 株式会社リコー | Electronic device, information processing method, and information processing program |
-
2013
- 2013-07-10 JP JP2013144423A patent/JP6156635B2/en not_active Expired - Fee Related
Also Published As
Publication number | Publication date |
---|---|
JP2015018363A (en) | 2015-01-29 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP6290720B2 (en) | Inspection device, inspection method, and program | |
CN108122266B (en) | Method, device and storage medium for caching rendering textures of skeleton animation | |
KR102104996B1 (en) | Hybrid engine for central processing unit and graphics processing unit | |
JP6170553B2 (en) | System and method for providing low latency for applications using heterogeneous processors | |
JP2007013551A5 (en) | ||
JP2010193311A5 (en) | ||
JP2014053822A5 (en) | Image processing apparatus, image processing apparatus control method, program, and storage medium | |
EP3114432A1 (en) | Image sensing device and measuring system for providing image data and information on 3d-characteristics of an object | |
JP6156635B2 (en) | Image processing apparatus and control program | |
JP2010287110A (en) | Information processor, information processing method, program, and recording medium | |
KR102214028B1 (en) | Application processor including reconfigurable scaler and device including the same | |
CN111951348A (en) | Method and device for determining frame selection area and electronic equipment | |
JP6590606B2 (en) | Image processing apparatus, image processing method, and program | |
JP6544905B2 (en) | Image processing apparatus, image processing method, program | |
US10885685B2 (en) | Electronic apparatus for drawing graphs of mathematical expressions | |
US10244132B2 (en) | Information processing device that facilitates setting of image processing and recording medium | |
CN103905687B (en) | Image processing apparatus and image processing method | |
JP2021083912A5 (en) | ||
JP4069569B2 (en) | Printing apparatus and printing method | |
JP5325744B2 (en) | Image processing apparatus and image processing program | |
JP2017027193A (en) | Image processing device, image processing method, and program | |
JP2015141561A (en) | Data processing device, program, and control method | |
JP2021083914A5 (en) | ||
JP2008035455A (en) | Image processing apparatus and program | |
JP2021083858A5 (en) |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20160218 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20160817 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20160913 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20161026 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20170316 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20170502 |
|
TRDD | Decision of grant or rejection written | ||
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 Effective date: 20170510 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20170523 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 6156635 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
LAPS | Cancellation because of no payment of annual fees |