JP2008199280A - Image processing apparatus, image processing method, and image processing program - Google Patents
Image processing apparatus, image processing method, and image processing program Download PDFInfo
- Publication number
- JP2008199280A JP2008199280A JP2007032116A JP2007032116A JP2008199280A JP 2008199280 A JP2008199280 A JP 2008199280A JP 2007032116 A JP2007032116 A JP 2007032116A JP 2007032116 A JP2007032116 A JP 2007032116A JP 2008199280 A JP2008199280 A JP 2008199280A
- Authority
- JP
- Japan
- Prior art keywords
- parameter
- flag
- image processing
- stored
- image data
- 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.)
- Granted
Links
Images
Landscapes
- Facsimiles In General (AREA)
Abstract
【課題】異常終了を誘発する設定値を起動時に読み込まないようにして、起動時の異常終了を回避することができる画像処理装置を提供する。
【解決手段】この画像処理装置は、予め記憶領域に保存された、画像データに対する処理が異常終了したか否かのフラグを取得し、該取得したフラグから、前回の画像データの処理の終了時に該処理が正常に終了したか異常に終了したかを判定する。そして、起動する際に、前記判定結果が異常終了である場合に、予め記憶領域に保存された、画像データに対する処理の設定パラメータを変更する。
【選択図】図6An image processing apparatus capable of avoiding abnormal termination at startup by preventing a setting value that induces abnormal termination from being read at startup.
The image processing apparatus acquires a flag stored in a storage area in advance as to whether or not the processing for the image data has ended abnormally, and from the acquired flag, at the end of the previous processing of the image data. It is determined whether the process has ended normally or abnormally. Then, at the time of activation, if the determination result is abnormal termination, the setting parameter of the processing for the image data stored in the storage area in advance is changed.
[Selection] Figure 6
Description
本発明は、画像処理装置、画像処理方法、画像処理プログラムに関し、特にデジタルカメラにより撮影して得られたデジタル画像データを処理する画像処理装置、画像処理方法、およびプ画像処理ログラムに関する。 The present invention relates to an image processing device, an image processing method, and an image processing program, and more particularly to an image processing device, an image processing method, and a preprocessing program for processing digital image data obtained by photographing with a digital camera.
デジタルカメラで撮影した画像は、パーソナルコンピュータ等に搭載される画像処理アプリケーションを使用して閲覧・編集することができる。一般に、画像の画素数が多いと、画像処理や表示に多くの時間を要し、そのためにアプリケーションの使い勝手が悪くなることがある。アプリケーションはこれを防ぐために、様々な工夫をしている。 Images taken with a digital camera can be viewed and edited using an image processing application installed in a personal computer or the like. In general, when the number of pixels of an image is large, a lot of time is required for image processing and display, and the usability of the application may deteriorate. The application has made various efforts to prevent this.
画像処理アプリケーションには、表示方法や画像処理に関わる複数の設定項目が用意されているものも多い。各設定値は随時保存され、アプリケーションを次に起動する際、前回終了時の設定を自動的に反映する。 Many image processing applications are provided with a plurality of setting items relating to display methods and image processing. Each setting value is saved at any time, and when the application is next started, the setting at the previous termination is automatically reflected.
図2は、設定値が変更された際のアプリケーションの動作例を示したものである。 FIG. 2 shows an operation example of the application when the set value is changed.
図2(a)に示す動作では、ユーザにより設定値が変更されると、まず、変更された設定値を用いて画像処理を行う。画像処理が終了した後、変更された設定値を保存し、処理後の画像をGUIで表示する。図2(a)に示す動作では、ユーザはアプリケーションが画像処理を終えるまで操作が出来なくなる。特に画像の画素数が多い場合、ユーザを長時間待たせることになり、ユーザレスポンスが低下してしまう。 In the operation shown in FIG. 2A, when the setting value is changed by the user, first, image processing is performed using the changed setting value. After the image processing is completed, the changed setting value is saved, and the processed image is displayed on the GUI. In the operation illustrated in FIG. 2A, the user cannot perform an operation until the application finishes image processing. In particular, when the number of pixels of the image is large, the user is kept waiting for a long time, and the user response is lowered.
これを防ぐために、複数の処理を並列で処理する方法が知られている。図2(b)に示す動作では、アプリケーションがメインスレッドとサブスレッドの2つのスレッドを使用する。メインスレッドでは、GUIへの画像表示や、ユーザの操作に対するレスポンス処理を行う。サブスレッドでは、画像処理を行う。 In order to prevent this, a method of processing a plurality of processes in parallel is known. In the operation shown in FIG. 2B, the application uses two threads, a main thread and a sub thread. The main thread performs image display on the GUI and response processing for user operations. The sub thread performs image processing.
メインスレッドにおいて、ユーザにより設定値が変更されると、まず、変更された設定値を保存する。次に、サブスレッドにおいて、保存された設定値を参照し、設定値を用いて画像に処理を施す。その間、メインスレッドでは、GUIへ処理前の画像を表示し、ユーザによる操作を受け付ける。 When the setting value is changed by the user in the main thread, the changed setting value is first saved. Next, in the sub thread, the stored setting value is referred to, and the image is processed using the setting value. Meanwhile, the main thread displays an image before processing on the GUI and accepts an operation by the user.
サブスレッドにおいて、画像処理が終了すると、処理後の画像をGUIへ表示する。このような動作にすることで、画像処理を行っている間にもユーザは操作が可能となり、ユーザレスポンスが向上する。 When the image processing is completed in the sub thread, the processed image is displayed on the GUI. With such an operation, the user can perform an operation even during image processing, and the user response is improved.
上記のような画像処理アプリケーションにおいて、設定値を用いて画像に処理を施す際、アプリケーションが予期しない動作を起こし、不正に終了してしまう場合がある。これは、プロファイルを読み込む場合など、外部で自由に作成され得るファイルを読み込んで使用する場合に、特に起こりうる。 In the image processing application as described above, when an image is processed using a set value, the application may cause an unexpected operation and end improperly. This can occur particularly when a file that can be freely created externally is read and used, such as when a profile is read.
アプリケーションが不正終了してしまうと、ユーザがこれまでに設定した値は失われてしまう。そのため、次に起動した際、前回と同様の画像を得るために、ユーザは設定値を最初から入力し直さなければならず、大変な手間となる。これを改善するためには、ユーザにより設定値が変更される度に、変更された設定値を保存し、その後で画像処理を行うようにすれば良い。 If the application terminates improperly, the values set by the user will be lost. Therefore, when starting up next time, in order to obtain the same image as the previous time, the user has to input the set value again from the beginning, which is very troublesome. In order to improve this, every time the setting value is changed by the user, the changed setting value may be saved, and then image processing may be performed.
しかし、前述したように、一般に画像処理アプリケーションでは、起動する際、保存された設定値を読み込み、前回終了時の状態を再現しようとする。また、アプリケーションの動作を高速化するために、起動時には必要の無い情報であっても、ICCプロファイル等、アプリケーションが使う可能性のある情報を起動時に取得しておくこともある。 However, as described above, in general, when an image processing application is started, the stored setting value is read to attempt to reproduce the state at the previous end. In addition, in order to speed up the operation of the application, information that may be used by the application, such as an ICC profile, may be acquired at the time of activation even if the information is unnecessary at the time of activation.
画像処理が終わる前に設定値が保存されると、アプリケーションが不正終了した場合、不正終了する原因となった設定値が保存されることになる。次回起動時には、その設定値を使用し、起動中にアプリケーションが不正終了してしまう。 If the setting value is saved before the image processing is completed, if the application is terminated abnormally, the setting value that caused the abnormal termination is stored. At the next startup, the set value is used, and the application terminates illegally during startup.
この状態を回避するためには、ユーザが自らアプリケーションを再インストールしたり、保存されている設定項目を書き換えたりしなければならず、ユーザに大変な手間がかかる。また、設定値がWindows(登録商標)のレジストリに保存されている場合など、ユーザが誤った項目を削除してしまう可能性がある。 In order to avoid this state, the user must reinstall the application himself or rewrite the stored setting item, which takes a lot of time and effort for the user. In addition, when the setting value is stored in the Windows (registered trademark) registry, the user may delete an erroneous item.
一方、デジタルカメラ等のレンズユニットが異常終了したかどうかをフラグで管理し、異常終了していれば、次回起動時にレンズを初期位置に戻すようにした技術が提案されている(特許文献1)。
しかし、上記特許文献1では、起動時に状態を必ず初期状態に戻すことになるため、ユーザが前回設定した値を失いたくない場合や、自ら異常状態を回避する対策をとった場合等にも、設定値が初期化されることになる。
However, in the above-mentioned
そこで、本発明は、異常終了を誘発する設定値を起動時に読み込まないようにして、起動時の異常終了を回避することができる画像処理装置、画像処理方法、および画像処理プログラムを提供することを目的とする。 Therefore, the present invention provides an image processing apparatus, an image processing method, and an image processing program that can avoid an abnormal end at the time of starting by preventing a setting value that induces an abnormal end from being read at the time of starting. Objective.
上記目的を達成するために、本発明の画像処理装置は、画像データに対する処理のパラメータを設定するパラメータ設定手段と、該パラメータ設定手段により設定されたパラメータを保存するパラメータ保存手段と、前記パラメータ保存手段により保存されたパラメータに基づいて行われた画像データに対する処理が異常終了したか否かのフラグを保存するフラグ保存手段と、該フラグ保存手段により保存されたフラグを取得するフラグ取得手段と、該フラグ取得手段により取得したフラグから、前回の画像データの処理の終了時に該処理が正常に終了したか異常に終了したかを判定する異常終了判定手段と、起動する際に、前記異常終了判定手段による判定結果が異常終了と判定された場合に、前記パラメータ保存手段により保存したパラメータを変更する起動時パラメータ変更手段と、備えることを特徴とする。 In order to achieve the above object, an image processing apparatus according to the present invention includes a parameter setting unit that sets a processing parameter for image data, a parameter storage unit that stores a parameter set by the parameter setting unit, and the parameter storage unit. Flag storage means for storing a flag indicating whether or not the processing for the image data performed based on the parameter stored by the means has ended abnormally, and flag acquisition means for acquiring the flag stored by the flag storage means, Abnormal end determination means for determining whether the processing has been completed normally or abnormally at the end of processing of the previous image data from the flag acquired by the flag acquisition means, and the abnormal end determination at startup When the determination result by the means is determined to be abnormal termination, the parameter stored by the parameter storage means is Wherein the startup parameter changing means for changing over data, further comprising.
本発明の画像処理方法は、画像データに対する処理のパラメータを設定するパラメータ設定ステップと、該パラメータ設定ステップにより設定されたパラメータを保存するパラメータ保存ステップと、前記パラメータ保存手段により保存されたパラメータに基づいて行われた画像データに対する処理が異常終了したか否かのフラグを保存するフラグ保存ステップと、該フラグ保存ステップにより保存されたフラグを取得するフラグ取得ステップと、該フラグ取得ステップにより取得したフラグから、前回の画像データの処理の終了時に該処理が正常に終了したか異常に終了したかを判定する異常終了判定ステップと、起動する際に、前記異常終了判定ステップによる判定結果が異常終了と判定された場合に、前記パラメータ保存ステップにより保存したパラメータを変更する起動時パラメータ変更ステップと、備えることを特徴とする。 The image processing method of the present invention is based on a parameter setting step for setting processing parameters for image data, a parameter storage step for storing parameters set by the parameter setting step, and the parameters stored by the parameter storage means. A flag storing step for storing a flag indicating whether or not the processing for the image data performed abnormally has ended, a flag acquiring step for acquiring the flag stored by the flag storing step, and a flag acquired by the flag acquiring step From the abnormal termination determination step for determining whether the processing has been completed normally or abnormally at the end of the processing of the previous image data, and when starting, the determination result by the abnormal termination determination step is an abnormal termination. If it is determined, the parameter storage step A startup parameter changing step of changing the stored parameters, characterized in that it comprises.
本発明の画像処理プログラムは、画像データに対する処理のパラメータを設定するパラメータ設定モジュールと、該パラメータ設定モジュールにより設定されたパラメータを保存するパラメータ保存モジュールと、前記パラメータ保存手段により保存されたパラメータに基づいて行われた画像データに対する処理が異常終了したか否かのフラグを保存するフラグ保存モジュールと、該フラグ保存モジュールにより保存されたフラグを取得するフラグ取得モジュールと、該フラグ取得モジュールにより取得したフラグから、前回の画像データの処理の終了時に該処理が正常に終了したか異常に終了したかを判定する異常終了判定モジュールと、起動する際に、前記異常終了判定モジュールによる判定結果が異常終了と判定された場合に、前記パラメータ保存モジュールにより保存したパラメータを変更する起動時パラメータ変更モジュールと、をコンピュータに実行させることを特徴とする。 The image processing program of the present invention is based on a parameter setting module for setting processing parameters for image data, a parameter storage module for storing parameters set by the parameter setting module, and the parameters stored by the parameter storage means. A flag storage module for storing a flag indicating whether or not the processing for the image data performed abnormally ended, a flag acquisition module for acquiring a flag stored by the flag storage module, and a flag acquired by the flag acquisition module From the abnormal termination determination module that determines whether the processing has been completed normally or abnormally at the end of the previous processing of the image data, and the determination result by the abnormal termination determination module at the time of startup is an abnormal termination If it is determined, A startup parameter changing module for changing the parameters stored by the meter storage module, and characterized by causing a computer to execute the.
本発明によれば、装置が前回に、保存されている設定値に基づいて行われたデータ処理を異常終了したかどうかを、起動時に知ることができ、前回に異常終了していれば、保存されている設定値を変更する。これにより、装置は異常終了を誘発する設定値を起動時に読み込まないようにすることができ、起動時の異常終了を回避することができる。 According to the present invention, it is possible to know at the time of startup whether the apparatus has abnormally ended the data processing performed based on the stored setting value last time, and if it ended abnormally last time, Change the set value. Thereby, the apparatus can be prevented from reading a set value that induces abnormal termination at the time of activation, and abnormal termination at the time of activation can be avoided.
以下、本発明の実施の形態を図を参照して説明する。 Hereinafter, embodiments of the present invention will be described with reference to the drawings.
(第1の実施形態)
図1は、本発明の第1の実施形態である画像処理装置の装置構成を説明するためのブロック図である。
(First embodiment)
FIG. 1 is a block diagram for explaining the apparatus configuration of an image processing apparatus according to the first embodiment of the present invention.
図1に示すように、画像処理装置は、CPU101を備える。CPU101は、装置全体の動作をコントロールし、一次記憶装置102に格納されたプログラムの実行などを行う。
As shown in FIG. 1, the image processing apparatus includes a
一次記憶装置102は、主にメモリであり、二次記憶装置103に記憶されたプログラムなどを読み込んで格納する。二次記憶装置103は、例えばハードディスクなどであり、一般に一次記憶装置102の容量より大きく、一次記憶装置102に格納しきれないプログラムやデータなどが格納される。また、長時間記憶しなくてはならないデータなども二次記憶装置103に格納される。
The
本実施形態では、処理手順を実現するプログラムを二次記憶装置103に格納し、プログラム実行時に一次記憶装置102に読み込んで、CPU101が実行する。
In the present embodiment, a program for realizing the processing procedure is stored in the
入力デバイス104は、例えば、マウスやキーボードなどであり、プログラムなどに割り込み信号を送ったりするために用いられる。出力デバイス105は、例えば、モニタやプリンタなどである。読込デバイス106は、デジタルカメラ等に撮像装置で撮像された画像を直接又は間接的に一次記憶装置102や二次記憶装置103へ読み込むデバイスである。
The
図3は、本実施形態の画像処理装置で使用されるアプリケーションのGUIの概要を示す図である。 FIG. 3 is a diagram illustrating an outline of a GUI of an application used in the image processing apparatus according to the present embodiment.
図3において、画像表示部301には、処理対象の画像を表示する。画像は、オペレーティングシステムのファイル管理システム上から、画像表示部301にファイルをドラッグアンドドロップすることによって指定される。
In FIG. 3, the
パラメータ設定部302では、画像処理の種類とパラメータを設定する。本実施形態におけるアプリケーションでは、色変換プロファイルの選択と、画像処理A、画像処理B、画像処理Cを適用するかどうかを設定することができる。色変換プロファイルは、予め保存されているファイルの中からプルダウンメニューにより選択する。 The parameter setting unit 302 sets the type of image processing and parameters. In the application according to the present embodiment, selection of a color conversion profile and whether to apply image processing A, image processing B, and image processing C can be set. The color conversion profile is selected from a pre-stored file using a pull-down menu.
適用ボタン303を押下すると、パラメータ設定部302で設定されたパラメータに従い、画像に処理を施し、処理後の画像を画像表示部301に表示する。終了ボタン305を押下すると、アプリケーションの動作を終了する。
When the apply
本実施形態では、アプリケーションで用いるパラメータの種類と値の対応表(以下、設定値リスト)が二次記憶装置103に保存される。
In the present embodiment, a correspondence table (hereinafter, set value list) of parameter types and values used in an application is stored in the
保存される値は、例えば、アプリケーションウィンドウの位置や大きさ、アプリケーション起動時に表示する画像、各種画像処理パラメータである。 The stored values are, for example, the position and size of the application window, an image displayed when the application is activated, and various image processing parameters.
画像表示部301に画像ファイルがドロップされる度に、設定値リストに画像ファイルのパスを保存する。パラメータ設定部302でパラメータが変更される度に、設定値リストの内容を変更する。図5に、設定値リストの一例を示す。
Each time an image file is dropped on the
図4は、本実施形態の画像処理装置におけるアプリケーションの動作例を説明するためのフローチャート図である。ここで、図4での各処理は、二次記憶装置103に格納された処理プログラムを一次記憶装置102に読み込んで、CPU101が実行する。
FIG. 4 is a flowchart for explaining an operation example of an application in the image processing apparatus according to the present embodiment. Here, each processing in FIG. 4 is executed by the
まず、ステップS401では、画像処理装置におけるアプリケーションの起動時の処理を行う。起動時の処理の詳細については、図6を用いて後述する。 First, in step S401, processing at the time of starting an application in the image processing apparatus is performed. Details of the processing at the time of activation will be described later with reference to FIG.
ステップS402では、不正終了フラグbCRASHEDをTRUEにし、設定値リストに保存する。 In step S402, the illegal termination flag bCRASHED is set to TRUE and stored in the setting value list.
ステップS403では、図3に示すGUIを介してユーザが操作を行い、この操作に応じてアプリケーションが処理を行う。アプリケーション処理の詳細については、図7を用いて後述する。 In step S403, the user performs an operation through the GUI illustrated in FIG. 3, and the application performs a process according to the operation. Details of the application process will be described later with reference to FIG.
ステップS404では、ステップS403でのアプリケーション処理が正常に終了したので、不正終了フラグbCRASHEDをFALSEにし、設定値リストに保存する。 In step S404, since the application process in step S403 has been completed normally, the illegal termination flag bCRASHED is set to FALSE and saved in the setting value list.
図6は、図4のステップS401のアプリケーション起動時処理を説明するためのフローチャート図である。 FIG. 6 is a flowchart for explaining the application startup process in step S401 of FIG.
まず、ステップS601では、設定値リストから、不正終了フラグbCRASHEDを取得する。 First, in step S601, an illegal end flag bCRASHED is acquired from the set value list.
ステップS602では、bCRASHEDの値を調べ、アプリケーションが前回正常に終了したかどうかを判定する。bCRASHED=TRUEであれば、アプリケーションは前回異常に終了したものと判定し、ステップS603へ進む。bCRASHED=FALSEであれば、アプリケーションは前回正常に終了したものと判定し、ステップS607へ進む。 In step S602, the value of bCRASHED is checked to determine whether the application ended normally last time. If bCRASHED = TRUE, the application determines that it ended abnormally last time, and proceeds to step S603. If bCRASHED = FALSE, the application determines that it ended normally last time, and proceeds to step S607.
ステップS603では、ユーザに対して保存されている設定値を初期化する旨を通知するダイアログボックス(図8)を画像表示部301に表示し、ステップS604で、図8に示すダイアログボックスにおいて、ユーザが操作を行う。
In step S603, a dialog box (FIG. 8) for notifying the user that the stored setting value is to be initialized is displayed on the
ステップS605では、ステップS604において、ユーザが設定値リストの値の初期化を指示したかどうかを判定する。図8のOKボタン801が押下されていれば、ステップS606へ進み、図8の無視ボタン802が押下されていれば、ステップS607へ進む。
In step S605, it is determined in step S604 whether or not the user has instructed initialization of values in the setting value list. If the
ステップS606では、設定値リストの値を初期化する。なお、本実施形態では、設定値リスト内の全ての項目の値を初期化するが、特定の項目のみ初期化を行うようにしてもよい。 In step S606, the setting value list values are initialized. In the present embodiment, the values of all items in the setting value list are initialized, but only specific items may be initialized.
次に、ステップS607では、設定値リストの値を取得し、ステップS608で、ステップS607で取得した設定値を用いて、アプリケーションに反映する。また、同様に取得した画像処理パラメータを用いて、画像に対して処理を行い、画像表示部301に表示する。
Next, in step S607, the value of the setting value list is acquired, and in step S608, the setting value acquired in step S607 is used and reflected in the application. Similarly, the image processing parameter acquired in the same manner is used to process the image and display it on the
本実施形態の画像処理装置では、起動時に画像表示部301に画像が表示されるため、色変換プロファイル情報等、画像処理に必要な情報を起動時に取得する。起動時に画像が表示されない画像処理装置の場合は、処理の高速化のために、画像処理に必要な情報を起動時に取得する。
In the image processing apparatus according to the present embodiment, an image is displayed on the
図7は、図4のステップS403のアプリケーション処理を説明するためのフローチャート図である。 FIG. 7 is a flowchart for explaining the application process in step S403 of FIG.
まず、ステップS701では、図3に示すGUIを介してユーザが操作を行い、ステップS702で、ステップS701において、図3の終了ボタン305が押下されたかどうかを判定する。 First, in step S701, the user performs an operation via the GUI shown in FIG. 3, and in step S702, it is determined whether or not the end button 305 in FIG. 3 is pressed in step S701.
ステップS305で、終了ボタン305が押下されていれば、アプリケーション処理は正常終了し、終了ボタン305が押下されていなければ、ステップS703へ進む。 If the end button 305 is pressed in step S305, the application process ends normally. If the end button 305 is not pressed, the process proceeds to step S703.
ステップS703では、ステップS701において、図3のパラメータ設定部302の設定値が変更されたかどうかを判定する。変更されていると判定した場合は、ステップS704へ進み、変更されていないと判定した場合は、ステップS705へ進む。 In step S703, it is determined whether or not the setting value of the parameter setting unit 302 in FIG. 3 has been changed in step S701. If it is determined that it has been changed, the process proceeds to step S704, and if it is determined that it has not been changed, the process proceeds to step S705.
ステップS704では、変更されたパラメータの値を、設定値リストへ保存する。その後、ステップS701へ戻り、ユーザ操作を待つ。 In step S704, the changed parameter value is stored in the set value list. Then, it returns to step S701 and waits for user operation.
ステップS705では、ステップS701において、適用ボタン303が押下されたかどうかを判定する。
In step S705, it is determined whether or not the apply
ステップS705で、適用ボタン303が押下されたと判定した場合は、ステップS706へ進み、それ以外であれば、ステップS701へ戻り、ユーザ操作を待つ。
If it is determined in step S705 that the apply
ステップS706では、サブスレッドにおいて、画像処理を開始する。サブスレッドでは、ステップS707〜ステップS709の処理が実行される。その後、ステップS701へ戻り、ユーザ操作を待つ。 In step S706, image processing is started in the sub thread. In the sub thread, the processes in steps S707 to S709 are executed. Then, it returns to step S701 and waits for user operation.
ステップS707では、設定値リストに保存されている画像処理パラメータを取得する。ステップS708では、ステップS707で取得した画像処理パラメータに基づき、画像に処理を施す。 In step S707, the image processing parameters stored in the set value list are acquired. In step S708, the image is processed based on the image processing parameter acquired in step S707.
例えば、色変換プロファイルについては、パラメータが示すパスのファイルを開き、中に書かれている色変換マトリクスを取得し、画像に適用する。色変換マトリクスを画像に適用する手順に付いては、図13を用いて後述する。 For example, for a color conversion profile, a file with a path indicated by a parameter is opened, a color conversion matrix written in the file is acquired, and applied to an image. The procedure for applying the color conversion matrix to the image will be described later with reference to FIG.
このステップにおいて、メモリエラーやバスエラー等が起こり、アプリケーション処理を続行することができなくなる場合がある。このような状態に陥り、アプリケーションが強制終了することを、「異常終了」と呼ぶ。 In this step, a memory error, a bus error, or the like may occur, and the application process may not be continued. A situation in which the application is forcibly terminated in such a state is called “abnormal termination”.
ステップS709では、処理後の画像を画像表示部301へ表示する。その後、処理を終了し、サブスレッドの動作を止める。
In step S709, the processed image is displayed on the
次に、図13を参照して、Wピクセル×Hピクセルの大きさの画像に対して、色変換マトリクスMを適用する際の手順について説明する。ここで、色変換マトリクスとは、3×3のマトリクスであり、任意の画素のR,G,B値で構成される色配列C(r,g,b)に対して掛け合わせることで、色配列C′(r′,g′,b′)に変換することができる。なお、本実施形態においては、r,g,bはいずれも0〜255の間の値とする。 Next, a procedure for applying the color conversion matrix M to an image having a size of W pixels × H pixels will be described with reference to FIG. Here, the color conversion matrix is a 3 × 3 matrix, which is multiplied by a color array C (r, g, b) composed of R, G, and B values of arbitrary pixels. It can be converted into the array C ′ (r ′, g ′, b ′). In the present embodiment, r, g, and b are all values between 0 and 255.
色変換マトリクスMが次式(1)であるとすると、色配列CからC′への変換は次式(2)で表される。 If the color conversion matrix M is expressed by the following equation (1), the conversion from the color array C to C ′ is expressed by the following equation (2).
上記式(2)は次式(3)となり、r′,g′,b′はそれぞれ、次式(4)〜(6)で算出される。 The above equation (2) becomes the following equation (3), and r ′, g ′, and b ′ are calculated by the following equations (4) to (6), respectively.
まず、Wピクセル×Hピクセルの領域を、一次記憶装置102に確保し、画像データをコピーする。この領域は画素の2次元配列としてアクセスでき、左上を起点として水平方向にi番目、垂直方向にj番目の画素をp(i,j)とする。また、画素p(i,j)の元の色配列をC(i,j){r(i,j),g(i,j),b(i,j)}、変換後の色配列をC′(i,j){r′(i,j),g′(i,j),b′(i,j)}とする。
First, an area of W pixels × H pixels is secured in the
そして、図13において、ステップS1301で変数jに1を代入し、ステップS1302で変数iに1を代入する。 In FIG. 13, 1 is substituted for variable j in step S1301, and 1 is substituted for variable i in step S1302.
ステップS1303で、色変換マトリクスMを用いて、画素p(i,j)の色配列C(i,j){r(i,j),g(i,j),b(i,j)}をC′(i,j){r′(i,j),g′(i,j),b′(i,j)}に変換する。変換は、上記式(1)〜式(6)を用いて前述した方法で行う。 In step S1303, using the color conversion matrix M, the color array C (i, j) {r (i, j), g (i, j), b (i, j)} of the pixel p (i, j)}. Is converted to C ′ (i, j) {r ′ (i, j), g ′ (i, j), b ′ (i, j)}. The conversion is performed by the method described above using the above formulas (1) to (6).
ステップS1304で、r′(i,j)が0〜255の間の値であるかどうかを判断する。0≦r′(i,j)≦255である場合は、ステップS1306へ進む。0>r′(i,j)またはr′(i,j)>255である場合は、ステップS1305へ進む。 In step S1304, it is determined whether r ′ (i, j) is a value between 0 and 255. If 0 ≦ r ′ (i, j) ≦ 255, the process proceeds to step S1306. If 0> r ′ (i, j) or r ′ (i, j)> 255, the process proceeds to step S1305.
ステップS1305では、r′(i,j)を0〜255にクリッピングする。0>r′(i,j)である場合はr′(i,j)=0とし、r′(i,j)>255である場合はr′(i,j)=255とする。 In step S1305, r '(i, j) is clipped from 0 to 255. When 0> r ′ (i, j), r ′ (i, j) = 0, and when r ′ (i, j)> 255, r ′ (i, j) = 255.
ステップS1306では、g′(i,j)が0〜255の間の値であるかどうかを判断する。0≦g′(i,j)≦255である場合は、ステップS1308へ進む。0>g′(i,j)またはg′(i,j)>255である場合は、ステップS1307へ進む。 In step S1306, it is determined whether g ′ (i, j) is a value between 0 and 255. If 0 ≦ g ′ (i, j) ≦ 255, the process proceeds to step S1308. If 0> g ′ (i, j) or g ′ (i, j)> 255, the process proceeds to step S1307.
ステップS1307では、g′(i,j)を0〜255にクリッピングする。0>g′(i,j)である場合はg′(i,j)=0とし、g′(i,j)>255である場合はg′(i,j)=255とする。 In step S1307, g ′ (i, j) is clipped from 0 to 255. When 0> g ′ (i, j), g ′ (i, j) = 0, and when g ′ (i, j)> 255, g ′ (i, j) = 255.
ステップS1308では、b′(i,j)が0〜255の間の値であるかどうかを判断する。0≦b′(i,j)≦255である場合は、ステップS1310へ進む。0>b′(i,j)またはb′(i,j)>255である場合は、ステップS1309へ進む。 In step S1308, it is determined whether b ′ (i, j) is a value between 0 and 255. If 0 ≦ b ′ (i, j) ≦ 255, the process advances to step S1310. If 0> b ′ (i, j) or b ′ (i, j)> 255, the process proceeds to step S1309.
ステップS1309では、b′(i,j)を0〜255にクリッピングする。0>b′(i,j)である場合はb′(i,j)=0とし、b′(i,j)>255である場合はb′(i,j)=255とする。 In step S1309, b ′ (i, j) is clipped from 0 to 255. When 0> b ′ (i, j), b ′ (i, j) = 0, and when b ′ (i, j)> 255, b ′ (i, j) = 255.
ステップS1310では、変数iを値1だけインクリメントし、ステップS1311でiとWの比較を行う。ステップS1311で、i>WならステップS1312へ進み、そうでなければステップS1303へ進む。 In step S1310, the variable i is incremented by “1”, and i and W are compared in step S1311. If i> W in step S1311, the process proceeds to step S1312, and if not, the process proceeds to step S1303.
ステップS1312では、変数jを値1だけインクリメントし、ステップS1313でjとHの比較を行う。ステップS1313でj>Hなら処理を終了し、そうでなければ、ステップS1302へ戻る。以降、色変換マトリクスの適用をする場合には、上記の手順に従う。 In step S1312, the variable j is incremented by 1 and j and H are compared in step S1313. If j> H in step S1313, the process ends. If not, the process returns to step S1302. Thereafter, when applying the color conversion matrix, the above procedure is followed.
以上説明したように、本実施形態では、画像処理装置のアプリケーションが前回の画像処理時に異常終了したかどうかを、起動時に知ることができ、前回にアプリケーションが異常終了していれば、保存されている設定値をユーザの判断により初期値に更新する。 As described above, in the present embodiment, it is possible to know at startup whether the application of the image processing apparatus has ended abnormally during the previous image processing, and if the application has ended abnormally last time, it is saved. The set value is updated to the initial value at the user's discretion.
これにより、画像処理装置のアプリケーションの異常終了を誘発する設定値をアプリケーションの起動時に読み込まないようにすることができ、起動時のアプリケーションの異常終了を回避することができる。 Thereby, it is possible to prevent the setting value that induces abnormal termination of the application of the image processing apparatus from being read when the application is activated, and to avoid abnormal termination of the application at the time of activation.
(第2の実施形態)
次に、本発明の第2の実施形態である画像処理装置について説明する。なお、本実施形態では、上記第1の実施形態と異なる部分を主に説明し、上記第1の実施形態に対して重複又は相当する部分については図および符号を流用する。
(Second Embodiment)
Next, an image processing apparatus according to the second embodiment of the present invention will be described. In the present embodiment, portions different from those in the first embodiment will be mainly described, and the drawings and reference numerals will be used for portions that overlap or correspond to the first embodiment.
上記第1の実施形態では、アプリケーションが異常終了した場合、次回起動時に設定値リストの値を初期化することで、起動時にアプリケーションが異常終了することを回避している。 In the first embodiment, when the application ends abnormally, the values in the set value list are initialized at the next start, thereby avoiding the abnormal end of the application at start.
しかし、必ずしも設定値リストの値を初期化しなくてもよく、例えば、起動時にユーザに対して異常終了の原因となる設定値の組み合わせを提示し、変更を促すようにしてもよい。 However, it is not always necessary to initialize the values in the setting value list. For example, a combination of setting values that cause abnormal termination may be presented to the user at the time of activation, and the change may be prompted.
本実施形態では、図10に示す異常終了条件リストを作成し、アプリケーションが異常終了する度に、異常終了の原因となる設定値の組み合わせを、リストに追加していく。 In this embodiment, the abnormal termination condition list shown in FIG. 10 is created, and each time an application terminates abnormally, a combination of setting values that cause abnormal termination is added to the list.
異常終了条件リストと設定値リストとを比較することで、現在の設定でアプリケーションが異常終了するかどうかを、事前に知ることが可能となる。 By comparing the abnormal termination condition list with the set value list, it is possible to know in advance whether the application terminates abnormally with the current settings.
また、蓄積される情報が十分多くなれば、アプリケーションが異常終了する原因となる設定値を特定することができるようになる。なお、異常終了条件リストは、一次記憶装置102に保存されるものとする。
Also, if the accumulated information is sufficiently large, it becomes possible to specify a setting value that causes the application to terminate abnormally. Note that the abnormal termination condition list is stored in the
図9を参照して、本実施形態における図4のステップ401の起動時処理の手順につい説明する。ここで、設定値リストBKは、前回起動時の設定値リストの値が格納されているリストであり、一次記憶装置102に保存されるものとする。
With reference to FIG. 9, the procedure of the start-up process in
まず、ステップS901では、設定値リストから、不正終了フラグbCRASHEDを取得する。 First, in step S901, the illegal end flag bCRASHED is acquired from the set value list.
ステップS902では、bCRASHEDの値を調べ、アプリケーションが前回正常に終了したかどうかを判定する。bCRASHED=TRUEであれば、アプリケーションは前回異常に終了したものと判定し、ステップS903へ進む。bCRASHED=FALSEであれば、アプリケーションは前回正常に終了したものと判定し、ステップS904へ進む。 In step S902, the value of bCRASHED is checked to determine whether the application ended normally last time. If bCRASHED = TRUE, the application determines that it ended abnormally last time, and proceeds to step S903. If bCRASHED = FALSE, the application determines that it ended normally last time, and proceeds to step S904.
ステップS903では、設定値リストと設定値リストBKとの差分を取り、この差分を異常終了条件リストに追加する。これにより、前回、異常終了した際に変更された設定値の組み合わせが、異常終了条件リストに保存されることになる。 In step S903, the difference between the set value list and the set value list BK is taken, and this difference is added to the abnormal termination condition list. As a result, the combination of the setting values that were changed when the previous abnormal termination was performed is stored in the abnormal termination condition list.
ステップS904では、設定値リストと異常終了条件リストとを比較する。設定値リストに異常終了条件リストに登録されている設定値の組み合わせがあれば、それらの設定値をアプリケーションに反映すると、アプリケーションが異常終了する可能性がある。 In step S904, the set value list is compared with the abnormal termination condition list. If there is a combination of setting values registered in the abnormal termination condition list in the setting value list, the application may be abnormally terminated if those setting values are reflected in the application.
ステップS905では、ステップS904での比較結果から、設定値リストにアプリケーションの異常終了を誘発する値の組み合わせが存在するかどうかを判定する。異常終了を誘発する設定値の組み合わせがあれば、ステップS906へ進み、異常終了を誘発する設定値の組み合わせがなければ、ステップS909へ進む。 In step S905, it is determined from the comparison result in step S904 whether a combination of values that induces abnormal termination of the application exists in the set value list. If there is a combination of setting values that induces abnormal termination, the process proceeds to step S906, and if there is no combination of setting values that induces abnormal termination, the process proceeds to step S909.
ステップS906では、図11に示すダイアログボックスを画像表示部301に表示する。図11では、例として、色変更プロファイルと、画像処理A、画像処理Cの設定値の組み合わせにより、異常終了を誘発する恐れがある場合について示す。 In step S906, the dialog box shown in FIG. In FIG. 11, as an example, there is shown a case where abnormal termination may be induced by a combination of the color change profile and the set values of the image processing A and the image processing C.
ステップS907では、図11に示すダイアログボックスにおいて、ユーザが操作を行う。ユーザは、異常終了を誘発する値が設定された設定項目について、値を変更し、変更が終了すれば、OKボタンを押下する。 In step S907, the user performs an operation in the dialog box shown in FIG. The user changes the value of the setting item in which the value that induces abnormal termination is set, and when the change is completed, presses the OK button.
ステップS908では、ステップS907において、ユーザが変更した設定値を、設定値リストへ保存する。ステップS909では、設定値リストの値を取得し、ステップS910では、ステップS607で取得した設定値を用いて、アプリケーションに反映する。また、同様に取得した画像処理パラメータを用いて、画像に対して処理を行い、画像表示部301に表示する。ステップS911では、設定値リストBKに設定値リストの値をコピーする。
In step S908, the setting value changed by the user in step S907 is stored in the setting value list. In step S909, the value of the setting value list is acquired. In step S910, the setting value acquired in step S607 is used and reflected in the application. Similarly, the image processing parameter acquired in the same manner is used to process the image and display it on the
(第3の実施形態)
次に、本発明の第3の実施形態である画像処理装置について説明する。なお、本実施形態では、上記第1および第2の実施形態と異なる部分を主に説明し、上記第1および第2の実施形態に対して重複又は相当する部分については図および符号を流用する。
(Third embodiment)
Next, an image processing apparatus according to a third embodiment of the present invention will be described. In the present embodiment, portions different from those in the first and second embodiments will be mainly described, and the drawings and symbols are used for portions that overlap or correspond to the first and second embodiments. .
本実施形態では、上記第2の実施形態の動作に加えて、アプリケーション実行中、ユーザが設定した値が異常終了を誘発するものであれば、リアルタイムに警告を出すような画像処理装置について説明する。 In this embodiment, in addition to the operation of the second embodiment, an image processing apparatus that issues a warning in real time when a value set by a user induces abnormal termination during application execution will be described. .
図12を参照して、本実施形態における図4のステップ403のアプリケーション処理について説明する。
With reference to FIG. 12, the application process in
まず、ステップS1201では、図3に示すGUIを介してユーザが操作を行う。ステップS1202では、ステップS1201において、終了ボタン305が押下されたかどうかを判定する。 First, in step S1201, the user performs an operation via the GUI shown in FIG. In step S1202, it is determined whether or not the end button 305 is pressed in step S1201.
ステップS1202で、終了ボタン305が押下されていれば、アプリケーション処理は正常終了し、それ以外であれば、ステップS1203へ進む。 If the end button 305 is pressed in step S1202, the application process ends normally. Otherwise, the process proceeds to step S1203.
ステップS1203では、ステップS1201において、パラメータ設定部302の設定値が変更されたかどうかを判定する。変更されていれば、ステップS1204へ進み、変更されていなければ、ステップS1205へ進む。 In step S1203, it is determined whether or not the setting value of the parameter setting unit 302 has been changed in step S1201. If changed, the process proceeds to step S1204. If not changed, the process proceeds to step S1205.
ステップS1204では、変更されたパラメータの値を、設定値リストへ保存する。ステップS1205では、設定値リストと異常終了条件リストとを比較する。設定値リストに、異常終了条件リストに登録されている設定値の組み合わせがあれば、それらの設定値をアプリケーションに反映すると、アプリケーションが異常終了する可能性がある。 In step S1204, the changed parameter value is stored in the set value list. In step S1205, the set value list is compared with the abnormal termination condition list. If there is a combination of setting values registered in the abnormal termination condition list in the setting value list, if those setting values are reflected in the application, the application may end abnormally.
ステップS1206では、ステップS1205での比較結果から、設定値リストにアプリケーションの異常終了を誘発する値の組み合わせが存在するかどうかを判定する。 In step S1206, it is determined from the comparison result in step S1205 whether a combination of values that induces abnormal termination of the application exists in the set value list.
ステップS1206で、異常終了を誘発する設定値の組み合わせがあれば、ステップS1207へ進み、異常終了を誘発する設定値の組み合わせがなければ、ステップS1201へ戻り、ユーザ操作を待つ。 If there is a set value combination that induces abnormal termination in step S1206, the process proceeds to step S1207, and if there is no set value combination that induces abnormal termination, the process returns to step S1201 and waits for a user operation.
ステップS1207では、図11に示すダイアログボックスを画像表示部301に表示する。図11では、例として、色変更プロファイルと、画像処理A、画像処理Cの設定値の組み合わせにより、異常終了を誘発する恐れがある場合について示す。 In step S1207, the dialog box shown in FIG. In FIG. 11, as an example, there is shown a case where abnormal termination may be induced by a combination of the color change profile and the set values of the image processing A and the image processing C.
ステップS1208では、図11に示すダイアログボックスにおいて、ユーザが操作を行う。ユーザは、異常終了を誘発する値が設定された設定項目について、値を変更し、変更が終了すれば、OKボタンを押下する。 In step S1208, the user performs an operation in the dialog box shown in FIG. The user changes the value of the setting item in which the value that induces abnormal termination is set, and when the change is completed, presses the OK button.
ステップS1209では、ステップS1208において、ユーザが変更した設定値を、設定値リストへ保存する。 In step S1209, the setting value changed by the user in step S1208 is stored in the setting value list.
ステップS1210〜S1214では、図7のステップS705〜S709で説明したものと同様の動作を行う。 In steps S1210 to S1214, operations similar to those described in steps S705 to S709 in FIG. 7 are performed.
なお、本発明は、上記実施の形態に例示したものに限定されるものではなく、本発明の要旨を逸脱しない範囲において適宜変更可能である。 In addition, this invention is not limited to what was illustrated to the said embodiment, In the range which does not deviate from the summary of this invention, it can change suitably.
また、本発明の目的は、以下の処理を実行することによって達成される。即ち、上述した実施形態の機能を実現するソフトウェアのプログラムコードを記録した記憶媒体を、システム或いは装置に供給し、そのシステム或いは装置のコンピュータ(またはCPUやMPU等)が記憶媒体に格納されたプログラムコードを読み出す処理である。 The object of the present invention is achieved by executing the following processing. That is, a storage medium that records a program code of software that realizes the functions of the above-described embodiments is supplied to a system or apparatus, and a computer (or CPU, MPU, etc.) of the system or apparatus is stored in the storage medium. This is the process of reading the code.
この場合、記憶媒体から読み出されたプログラムコード自体が前述した実施の形態の機能を実現することになり、そのプログラムコード及び該プログラムコードを記憶した記憶媒体は本発明を構成することになる。 In this case, the program code itself read from the storage medium realizes the functions of the above-described embodiments, and the program code and the storage medium storing the program code constitute the present invention.
また、プログラムコードを供給するための記憶媒体としては、次のものを用いることができる。例えば、フロッピー(登録商標)ディスク、ハードディスク、光磁気ディスク、CD−ROM、CD−R、CD−RW、DVD−ROM、DVD−RAM、DVD−RW、DVD+RW、磁気テープ、不揮発性のメモリカード、ROM等である。または、プログラムコードをネットワークを介してダウンロードしてもよい。 Moreover, the following can be used as a storage medium for supplying the program code. For example, floppy (registered trademark) disk, hard disk, magneto-optical disk, CD-ROM, CD-R, CD-RW, DVD-ROM, DVD-RAM, DVD-RW, DVD + RW, magnetic tape, nonvolatile memory card, ROM or the like. Alternatively, the program code may be downloaded via a network.
また、コンピュータが読み出したプログラムコードを実行することにより、上記実施の形態の機能が実現される場合も本発明に含まれる。加えて、そのプログラムコードの指示に基づき、コンピュータ上で稼動しているOS(オペレーティングシステム)等が実際の処理の一部または全部を行い、その処理によって前述した実施形態の機能が実現される場合も含まれる。 Further, the present invention includes a case where the function of the above-described embodiment is realized by executing the program code read by the computer. In addition, an OS (operating system) running on the computer performs part or all of the actual processing based on an instruction of the program code, and the functions of the above-described embodiments are realized by the processing. Is also included.
更に、前述した実施形態の機能が以下の処理によって実現される場合も本発明に含まれる。即ち、記憶媒体から読み出されたプログラムコードが、コンピュータに挿入された機能拡張ボードやコンピュータに接続された機能拡張ユニットに備わるメモリに書き込まれる。その後、そのプログラムコードの指示に基づき、その機能拡張ボードや機能拡張ユニットに備わるCPU等が実際の処理の一部または全部を行う場合である。 Furthermore, a case where the functions of the above-described embodiment are realized by the following processing is also included in the present invention. That is, the program code read from the storage medium is written in a memory provided in a function expansion board inserted into the computer or a function expansion unit connected to the computer. Thereafter, based on the instruction of the program code, the CPU or the like provided in the function expansion board or function expansion unit performs part or all of the actual processing.
101 CPU
102 一次記憶装置
103 二次記憶装置
104 入力デバイス
105 出力デバイス
106 読込デバイス
301 画像表示部
302 パラメータ設定部
303 適用ボタン
305 終了ボタン
801 OKボタン
802 無視ボタン
101 CPU
102
Claims (8)
該パラメータ設定手段により設定されたパラメータを保存するパラメータ保存手段と、
前記パラメータ保存手段により保存されたパラメータに基づいて行われた画像データに対する処理が異常終了したか否かのフラグを保存するフラグ保存手段と、
該フラグ保存手段により保存されたフラグを取得するフラグ取得手段と、
該フラグ取得手段により取得したフラグから、前回の画像データの処理の終了時に該処理が正常に終了したか異常に終了したかを判定する異常終了判定手段と、
起動する際に、前記異常終了判定手段による判定結果が異常終了と判定された場合に、前記パラメータ保存手段により保存したパラメータを変更する起動時パラメータ変更手段と、備えることを特徴とする画像処理装置。 Parameter setting means for setting processing parameters for image data;
Parameter storage means for storing the parameters set by the parameter setting means;
Flag storage means for storing a flag as to whether or not the processing for the image data performed based on the parameters stored by the parameter storage means has ended abnormally;
Flag acquisition means for acquiring the flag stored by the flag storage means;
From the flag acquired by the flag acquisition means, an abnormal end determination means for determining whether the process has ended normally or abnormally at the end of the previous processing of the image data;
An image processing apparatus comprising: a startup parameter change unit that changes a parameter stored by the parameter storage unit when the determination result by the abnormal end determination unit is determined to be abnormal end when starting. .
前記パラメータ設定手段で設定されたパラメータのうち、前記異常終了パラメータリストの情報と一致するものがある場合に、警告を表示する、ことを特徴とする請求項1〜4のいずれか一項に記載の画像処理装置。 It has an abnormal termination parameter information list saved as a combination of parameters that cause abnormal termination,
The warning is displayed when there is a parameter that matches the information in the abnormal termination parameter list among the parameters set by the parameter setting means. Image processing apparatus.
該パラメータ設定ステップにより設定されたパラメータを保存するパラメータ保存ステップと、
前記パラメータ保存手段により保存されたパラメータに基づいて行われた画像データに対する処理が異常終了したか否かのフラグを保存するフラグ保存ステップと、
該フラグ保存ステップにより保存されたフラグを取得するフラグ取得ステップと、
該フラグ取得ステップにより取得したフラグから、前回の画像データの処理の終了時に該処理が正常に終了したか異常に終了したかを判定する異常終了判定ステップと、
起動する際に、前記異常終了判定ステップによる判定結果が異常終了と判定された場合に、前記パラメータ保存ステップにより保存したパラメータを変更する起動時パラメータ変更ステップと、備えることを特徴とする画像処理方法。 A parameter setting step for setting processing parameters for image data;
A parameter storage step for storing the parameters set in the parameter setting step;
A flag storage step for storing a flag as to whether or not the processing for the image data performed based on the parameters stored by the parameter storage unit has ended abnormally;
A flag acquisition step of acquiring the flag stored by the flag storage step;
An abnormal end determination step for determining whether the processing has ended normally or abnormally at the end of processing of the previous image data from the flag acquired in the flag acquisition step;
An image processing method comprising: a startup parameter changing step for changing a parameter stored in the parameter storage step when the determination result in the abnormal termination determination step is determined to be abnormal termination when starting. .
該パラメータ設定モジュールにより設定されたパラメータを保存するパラメータ保存モジュールと、
前記パラメータ保存手段により保存されたパラメータに基づいて行われた画像データに対する処理が異常終了したか否かのフラグを保存するフラグ保存モジュールと、
該フラグ保存モジュールにより保存されたフラグを取得するフラグ取得モジュールと、
該フラグ取得モジュールにより取得したフラグから、前回の画像データの処理の終了時に該処理が正常に終了したか異常に終了したかを判定する異常終了判定モジュールと、
起動する際に、前記異常終了判定モジュールによる判定結果が異常終了と判定された場合に、前記パラメータ保存モジュールにより保存したパラメータを変更する起動時パラメータ変更モジュールと、をコンピュータに実行させることを特徴とする画像処理プログラム。 A parameter setting module for setting processing parameters for image data;
A parameter storage module for storing parameters set by the parameter setting module;
A flag storage module for storing a flag as to whether or not the processing for the image data performed based on the parameters stored by the parameter storage unit has ended abnormally;
A flag acquisition module for acquiring a flag stored by the flag storage module;
From the flag acquired by the flag acquisition module, an abnormal end determination module that determines whether the process ended normally or abnormally at the end of the processing of the previous image data;
When starting, when the determination result by the abnormal end determination module is determined to be abnormal end, the computer executes a startup parameter change module that changes a parameter stored by the parameter storage module. An image processing program.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2007032116A JP5058622B2 (en) | 2007-02-13 | 2007-02-13 | Image processing apparatus, image processing apparatus control method, and program |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2007032116A JP5058622B2 (en) | 2007-02-13 | 2007-02-13 | Image processing apparatus, image processing apparatus control method, and program |
Publications (3)
| Publication Number | Publication Date |
|---|---|
| JP2008199280A true JP2008199280A (en) | 2008-08-28 |
| JP2008199280A5 JP2008199280A5 (en) | 2010-04-08 |
| JP5058622B2 JP5058622B2 (en) | 2012-10-24 |
Family
ID=39757840
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2007032116A Expired - Fee Related JP5058622B2 (en) | 2007-02-13 | 2007-02-13 | Image processing apparatus, image processing apparatus control method, and program |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP5058622B2 (en) |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2011066853A (en) * | 2009-09-18 | 2011-03-31 | Kyocera Mita Corp | Image reading apparatus, and image forming apparatus |
Families Citing this family (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| WO2020126012A1 (en) | 2018-12-20 | 2020-06-25 | Solvay Sa | Composition based on sodium bicarbonate and on fatty acids |
Citations (11)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPH01256862A (en) * | 1988-04-07 | 1989-10-13 | Canon Inc | facsimile machine |
| JPH04104570A (en) * | 1990-08-23 | 1992-04-07 | Nec Corp | Facsimile communication system |
| JPH06291961A (en) * | 1993-04-02 | 1994-10-18 | Fuji Xerox Co Ltd | Communications terminal equipment |
| JPH07240820A (en) * | 1994-02-28 | 1995-09-12 | Minolta Co Ltd | Original reader |
| JPH07250205A (en) * | 1994-03-09 | 1995-09-26 | Matsushita Electric Ind Co Ltd | Combined device and its operation control method |
| JPH07311761A (en) * | 1994-05-17 | 1995-11-28 | Hitachi Ltd | Analysis control method |
| JPH08107486A (en) * | 1994-10-06 | 1996-04-23 | Fuji Xerox Co Ltd | Communication equipment |
| JPH10304107A (en) * | 1997-04-24 | 1998-11-13 | Ricoh Co Ltd | Image reading device |
| JP2001111734A (en) * | 1999-10-04 | 2001-04-20 | Canon Inc | Image communication method and image communication device |
| JP2005079695A (en) * | 2003-08-28 | 2005-03-24 | Ricoh Co Ltd | Facsimile apparatus and facsimile communication method |
| JP2006042303A (en) * | 2004-06-25 | 2006-02-09 | Konica Minolta Business Technologies Inc | Image forming apparatus |
-
2007
- 2007-02-13 JP JP2007032116A patent/JP5058622B2/en not_active Expired - Fee Related
Patent Citations (11)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPH01256862A (en) * | 1988-04-07 | 1989-10-13 | Canon Inc | facsimile machine |
| JPH04104570A (en) * | 1990-08-23 | 1992-04-07 | Nec Corp | Facsimile communication system |
| JPH06291961A (en) * | 1993-04-02 | 1994-10-18 | Fuji Xerox Co Ltd | Communications terminal equipment |
| JPH07240820A (en) * | 1994-02-28 | 1995-09-12 | Minolta Co Ltd | Original reader |
| JPH07250205A (en) * | 1994-03-09 | 1995-09-26 | Matsushita Electric Ind Co Ltd | Combined device and its operation control method |
| JPH07311761A (en) * | 1994-05-17 | 1995-11-28 | Hitachi Ltd | Analysis control method |
| JPH08107486A (en) * | 1994-10-06 | 1996-04-23 | Fuji Xerox Co Ltd | Communication equipment |
| JPH10304107A (en) * | 1997-04-24 | 1998-11-13 | Ricoh Co Ltd | Image reading device |
| JP2001111734A (en) * | 1999-10-04 | 2001-04-20 | Canon Inc | Image communication method and image communication device |
| JP2005079695A (en) * | 2003-08-28 | 2005-03-24 | Ricoh Co Ltd | Facsimile apparatus and facsimile communication method |
| JP2006042303A (en) * | 2004-06-25 | 2006-02-09 | Konica Minolta Business Technologies Inc | Image forming apparatus |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2011066853A (en) * | 2009-09-18 | 2011-03-31 | Kyocera Mita Corp | Image reading apparatus, and image forming apparatus |
Also Published As
| Publication number | Publication date |
|---|---|
| JP5058622B2 (en) | 2012-10-24 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JP4382314B2 (en) | Image processing method, apparatus, and program | |
| US8201072B2 (en) | Image forming apparatus, electronic mail delivery server, and information processing apparatus | |
| JP4916237B2 (en) | Image display apparatus, image display method, program for causing computer to execute the method, and image display system | |
| JP2006048537A (en) | Printing system and printing processing method | |
| US7822295B2 (en) | Image processing apparatus, image searching method, and program | |
| JP2000083161A (en) | Image processing apparatus and method, and image processing system | |
| US20120105916A1 (en) | Printing control apparatus and method with document security function | |
| US9258458B2 (en) | Displaying an image with an available effect applied | |
| CN101410789A (en) | Method and apparatus for generating XHTML data | |
| US8929684B2 (en) | Image display apparatus and control method thereof | |
| US20180322678A1 (en) | Information processing apparatus, information processing method, and recording medium | |
| US20100289925A1 (en) | Imager that adds visual effects to an image | |
| JP5058622B2 (en) | Image processing apparatus, image processing apparatus control method, and program | |
| US20050102327A1 (en) | Data file processor, data file processing method and program | |
| US20090193412A1 (en) | Computer-Readable Medium, Information Processing Apparatus, Display Control Method | |
| US10088997B2 (en) | Apparatus for generating data, method for generating data, and non-transitory computer-readable medium | |
| KR100750122B1 (en) | Method and device for setting print options | |
| JP4298386B2 (en) | Image display apparatus and method, and program | |
| US8473856B2 (en) | Information processing apparatus, information processing method, and information processing program | |
| JP2004240672A (en) | Image edit program | |
| JP2003076520A (en) | Information management system and information management method | |
| JP2004178211A (en) | Print image data processing device | |
| JP4861254B2 (en) | Image forming apparatus and method | |
| JP4626523B2 (en) | Image processing apparatus and program | |
| US20100315673A1 (en) | Information processing apparatus and information processing method |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20100212 |
|
| A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20100223 |
|
| A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20110719 |
|
| A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20110802 |
|
| A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20110914 |
|
| A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20111004 |
|
| A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20111202 |
|
| 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: 20120731 |
|
| A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 |
|
| A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20120801 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20150810 Year of fee payment: 3 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20150810 Year of fee payment: 3 |
|
| LAPS | Cancellation because of no payment of annual fees |