JP5982738B2 - Image processing program, image processing apparatus, and storage medium - Google Patents

Image processing program, image processing apparatus, and storage medium Download PDF

Info

Publication number
JP5982738B2
JP5982738B2 JP2011091309A JP2011091309A JP5982738B2 JP 5982738 B2 JP5982738 B2 JP 5982738B2 JP 2011091309 A JP2011091309 A JP 2011091309A JP 2011091309 A JP2011091309 A JP 2011091309A JP 5982738 B2 JP5982738 B2 JP 5982738B2
Authority
JP
Japan
Prior art keywords
twain
wia
driver
user interface
reading
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.)
Active
Application number
JP2011091309A
Other languages
Japanese (ja)
Other versions
JP2012226441A (en
Inventor
政典 石神
政典 石神
均 畠中
均 畠中
哲弥 勝間田
哲弥 勝間田
高英 真鍋
高英 真鍋
貴之 四津
貴之 四津
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Ricoh Co Ltd
Original Assignee
Ricoh Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Ricoh Co Ltd filed Critical Ricoh Co Ltd
Priority to JP2011091309A priority Critical patent/JP5982738B2/en
Publication of JP2012226441A publication Critical patent/JP2012226441A/en
Application granted granted Critical
Publication of JP5982738B2 publication Critical patent/JP5982738B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Description

本発明は、画像処理プログラム、画像処理装置、及び記憶媒体に関する。   The present invention relates to an image processing program, an image processing apparatus, and a storage medium.

近年、パーソナルコンピュータ(以下、「PC」ともいう。)等の情報処理装置により、スキャナやデジタルカメラ等の外部装置にアクセスしてそれらの装置から画像データを取得することが行われている。また、スキャナについては、PCからスキャナへアクセスしてその動作を制御し、画像の読み取りを行わせてその読み取りで得た画像データをPC側で取得できるようにすることも行われている。   In recent years, an information processing apparatus such as a personal computer (hereinafter also referred to as “PC”) accesses an external apparatus such as a scanner or a digital camera and acquires image data from these apparatuses. As for the scanner, the scanner is accessed from the PC to control its operation, and the image is read so that the image data obtained by the reading can be acquired on the PC side.

そして、PCにこれらの機能を設ける場合、PCに外部装置を制御するためのデバイスドライバと呼ばれるプログラムをインストールし、オペレーティングシステム(以下、「OS」ともいう。)上でそのプログラムを実行させることが広く行われている。   When these functions are provided in a PC, a program called a device driver for controlling an external device is installed in the PC, and the program is executed on an operating system (hereinafter also referred to as “OS”). Widely done.

また、情報処理装置(PC)から外部装置との間で、画像データの授受を行うためのインタフェースの規格として、イメージスキャナやデジタルカメラ等からPCに画像を入力するための標準技術の1つであるTWAINドライバや画像をデジタルカメラ等の周辺機器から取り込む機能を有するWIA(Windows(登録商標) Imaging Acquisition)等、いくつかの規格が定められている。そして、デバイスドライバをこれらの規格に準拠して作成すれば、ユーザは同じ規格に準拠して作成されたアプリケーションソフトから指示を出して容易に外部装置にアクセスすることができ、利便性の高い環境を構築することができる。   In addition, as a standard for an interface for transferring image data between an information processing device (PC) and an external device, it is one of standard techniques for inputting an image from an image scanner, a digital camera, or the like to a PC. Several standards such as a TWAIN driver and WIA (Windows (registered trademark) Imaging Acquisition) having a function of capturing an image from a peripheral device such as a digital camera are defined. If device drivers are created in compliance with these standards, users can easily access external devices by issuing instructions from application software created in accordance with the same standards. Can be built.

Microsoft(登録商標)が、上記WIAドライバというスキャナドライバの技術を公開していることや、WIAドライバと、イメージスキャナやデジタルカメラ等からPCに画像を入力するための標準技術の1つであるTWAINドライバという異なるドライバで同じモジュールを共用する方法は一般的に知られている。   Microsoft (registered trademark) discloses the technology of the scanner driver called the WIA driver, and TWAIN, which is one of the standard technologies for inputting images to the PC from the WIA driver and an image scanner, digital camera, or the like. A method of sharing the same module by different drivers called drivers is generally known.

特許文献1には、TWAINドライバとWIAドライバを問わずスキャナドライバを起動させる目的で、ユーザが選択したドライバがエラーで起動することができなかった場合に、もう一方のドライバを起動させる方法、及びそのエラー処理方法が開示されている。   Patent Document 1 discloses a method for starting the other driver when the driver selected by the user cannot be started due to an error in order to start the scanner driver regardless of the TWAIN driver and the WIA driver, and An error handling method is disclosed.

しかしながら、今までのWIAスキャナドライバでは、Microsoft(登録商標)が作成したOS標準のインタフェースを使用するために、一般的な設定値を変更して読み取るにすぎなかった。具体的に説明すると、ベンダー(供給業者)を問わずに必ずサポートされている機能(色数、明るさ、コントラスト、原稿サイズ、原稿読取位置)を使用した読み取りに限定されるため、従来から提供されていたTWAINドライバではサポートされている機能を使用した読み取りが大幅に制限されたり、TWAINドライバとWIAドライバとでは、入力インタフェースが大幅に異なるためにTWAINドライバを使用しているユーザに不便を強いたりするという問題があった。   However, the conventional WIA scanner driver only uses an OS standard interface created by Microsoft (registered trademark) to read by changing general setting values. To be specific, since it is limited to scanning using supported functions (number of colors, brightness, contrast, document size, document reading position) regardless of vendor (supplier), it is provided from the past. The TWAIN driver that has been used is greatly limited in reading using supported functions, and the TWAIN driver and the WIA driver have a significantly different input interface, which is inconvenient for users who use the TWAIN driver. There was a problem.

以下、具体的に従来の画像処理装置のモジュール構成について説明する。図7は、従来の画像処理装置のモジュール構成を示す図である。図7において、従来の画像処理装置のモジュールは、大別すると、TWAINドライバだけで使用されるモジュール、WIAドライバだけで使用されるモジュール、及びTWAINドライバとWIAドライバの両方で使用されるモジュールの3種類にグループ分けされている。そして、あるモジュールが他のモジュールを呼び出している場合、実線矢印で各モジュールを繋いでいる。   The module configuration of the conventional image processing apparatus will be specifically described below. FIG. 7 is a diagram illustrating a module configuration of a conventional image processing apparatus. In FIG. 7, the modules of the conventional image processing apparatus are roughly classified into three modules: a module used only by the TWAIN driver, a module used only by the WIA driver, and a module used by both the TWAIN driver and the WIA driver. They are grouped into types. When a module calls another module, the modules are connected with solid arrows.

WIAドライバだけで使用されるモジュールは、アプリケーションとしてWIA対応アプリケーション1、OSによって提供されるサービスとしてWIAサービス2とWIA UI(User Interface)3、TWAIN/WIAで個別開発するDLL(Dynamic Link Library)としてWIA DLL4から構成される。   The modules used only by the WIA driver are WIA compatible application 1 as an application, WIA service 2 and WIA UI (User Interface) 3 as services provided by the OS, and DLL (Dynamic Link Library) developed individually by TWAIN / WIA. It consists of WIA DLL4.

TWAINドライバだけで使用されるモジュールは、アプリケーションとしてTWAIN対応アプリケーション7、OSによって提供されるサービスとしてTWAIN DSM(Data Source Manager)8、TWAIN/WIAで個別開発するDLLとしてTWAIN DS(Data Source Software)9とUI10とから構成される。   The modules used only by the TWAIN driver are a TWAIN compatible application 7 as an application, a TWAIN DSM (Data Source Manager) 8 as a service provided by the OS, and a TWAIN DS (Data Source Software) 9 as a DLL developed individually by TWAIN / WIA. And UI10.

TWAINドライバとWIAドライバの両方で使用されるモジュールは、装置としてスキャナ6、TWAIN/WIAで共通で使えるDLLとしてスキャナコントローラ5から構成される。   Modules used by both the TWAIN driver and the WIA driver are composed of a scanner 6 as a device and a scanner controller 5 as a DLL that can be commonly used in TWAIN / WIA.

次に、従来の画像処理装置において読取画面を初期化する処理について説明する。図8は、従来の画像処理装置の読取画面を初期化する場合の処理を示すフロー図である。図8において、WIAの読取画面初期化処理が開始されると、ステップ(以下、「S」という。)801において、図7で示したWIA UI3を使用することによりWIAの読取画面初期化処理を終了する。すなわち、WIAドライバではサポートされているがTWAINドライバではサポートされていないWIAの読取画面を初期化する場合、従来の画像処理装置においては、OS標準のインタフェース(OSによって提供されるサービス)であるWIA UI3を使用するしか方法がないのである。   Next, a process for initializing a reading screen in a conventional image processing apparatus will be described. FIG. 8 is a flowchart showing processing when the reading screen of the conventional image processing apparatus is initialized. In FIG. 8, when the WIA reading screen initialization process is started, in step (hereinafter referred to as “S”) 801, the WIA reading screen initialization process is performed by using the WIA UI 3 shown in FIG. finish. That is, when initializing a WIA reading screen that is supported by the WIA driver but not supported by the TWAIN driver, the conventional image processing apparatus has a WIA that is an OS standard interface (service provided by the OS). The only way is to use UI3.

次に、従来の画像処理装置において設定の読出/保存を行う処理について説明する。図9は、従来の画像処理装置の設定を読み出す場合及び保存する場合の処理を示すフロー図である。図9において、WIAの設定の読出/保存処理が開始されると、S901において、図7に示したWIA UI3を使用することによってWIAドライバに関する設定を保存している場所から読出/書込を行うことにより設定の読出/保存処理を終了する。すなわち、WIAドライバではサポートされているがTWAINドライバではサポートされていないWIAの設定の読出/保存を行う場合、従来の画像処理装置においては、OS標準のインタフェースであるWIA UI3を使用するしか方法がないのである。   Next, processing for reading / saving settings in a conventional image processing apparatus will be described. FIG. 9 is a flowchart showing processing when reading and saving settings of a conventional image processing apparatus. In FIG. 9, when reading / saving processing of WIA settings is started, reading / writing is performed from the location where the settings relating to the WIA driver are saved by using the WIA UI 3 shown in FIG. 7 in S901. This completes the setting read / save process. That is, when reading / saving WIA settings that are supported by the WIA driver but not by the TWAIN driver, the conventional image processing apparatus can only use the WIA UI3, which is an OS standard interface. There is no.

一方、特許文献1では、TWAINドライバとWIAドライバとの両方を取り扱っているが、モジュールを共用せずに、何れのドライバを使用するかによって入力インタフェースが大きく変わってしまうという問題は依然として解消されていない。   On the other hand, Patent Document 1 deals with both the TWAIN driver and the WIA driver, but the problem that the input interface greatly changes depending on which driver is used without sharing the module is still solved. Absent.

そこで本発明は、上記問題点に鑑みてなされたものであって、従来から使用されているTWAINドライバのインタフェースをWIAスキャナドライバにおいても共用することができる画像処理プログラム、画像処理装置、及び記憶媒体を提供することを目的とする。   Accordingly, the present invention has been made in view of the above problems, and an image processing program, an image processing apparatus, and a storage medium that can share the interface of a TWAIN driver that has been used in the past with a WIA scanner driver. The purpose is to provide.

上記課題を解決するため、請求項1に記載の本発明における画像処理プログラムは、外部装置から画像データを読み取るためのTWAIN規格に準拠して作成され、前記外部装置に読み取りを実行させる際に複数のTWAIN規格用モジュールを使用するTWAINドライバと、前記外部装置から前記画像データを読み取るためのWIA規格に準拠して作成され、前記外部装置に読み取りを実行させる際に複数のWIA規格用モジュールを使用するWIAドライバと、前記TWAINドライバに対するユーザからの入力を受け付けるTWAIN規格用ユーザインタフェースと、を含むコンピュータに、前記WIAドライバに対するユーザからの入力を受け付けるユーザインタフェースとして前記TWAIN規格用ユーザインタフェースを呼び出して表示する処理と、前記WIAドライバに対するユーザからの入力を受け付けるために前記TWAIN規格用ユーザインタフェースを呼び出して表示する際に、前記TWAIN規格用ユーザインタフェースにおいて入力される読取条件が前記WIAドライバにおいて同じ機能を持った項目であり、かつ前記WIAドライバにおいて少なくとも1つの有効なパラメータを持った項目である場合は前記TWAINドライバのコントロールの状態を有効とし、前記読取条件が前記WIAドライバにおいて同じ機能を持った項目ではない、または前記WIAドライバにおいて有効なパラメータを1つも持たない項目である場合は前記TWAINドライバの状態を無効とする処理と、を実行させることを特徴とする。 In order to solve the above problems, the image processing program according to the present invention described in claim 1 is created in conformity with the TWAIN standard for reading image data from an external device, and a plurality of image processing programs are executed when the external device executes reading. A TWAIN driver that uses a TWAIN standard module and a WIA standard module that is created in conformity with the WIA standard for reading the image data from the external device , and uses a plurality of WIA standard modules when the external device performs reading. a WIA driver, the computer including a user interface for TWAIN standards for accepting input from the user with respect to the TWAIN driver, the user interface for TWAIN standards referred as a user interface for accepting input from the user with respect to the WIA driver When the TWAIN standard user interface is called and displayed in order to accept the input from the user to the WIA driver, the reading conditions input in the TWAIN standard user interface are displayed in the WIA driver. If the item has the same function and has at least one valid parameter in the WIA driver, the control state of the TWAIN driver is validated, and the reading condition is the same function in the WIA driver. not items with, or the case WIA is an item that does not have the valid parameters even one in the driver is characterized in that to execute a processing to invalidate the state of the TWAIN driver.

また、本発明における画像処理プログラムは、請求項1に記載の画像処理プログラムにおいて、前記TWAIN規格用ユーザインタフェース、前記ドライバの種類に関わらず、同一の操作画面を表示する処理を実行させることを特徴とする。 The image processing program of the present invention is an image processing program according to claim 1, wherein the user interface for TWAIN standard, regardless of the type of the driver, that to execute the process of displaying the same operation screen Features.

さらに、本発明における画像処理プログラムは、請求項1又は2に記載の画像処理プログラムにおいて、前記WIAドライバに対するユーザからの入力を受け付けるために前記TWAIN規格用ユーザインタフェースを呼び出して表示する際に、前記TWAIN規格用ユーザインタフェースにおいて入力される読取条件が前記WIAドライバにおいて同じ機能を持った項目でない場合は前記TWAINドライバのコントロールの状態を無効とする処理を実行させることを特徴とする。 Furthermore, the image processing program according to the present invention is the image processing program according to claim 1 or 2 , wherein the TWAIN standard user interface is called and displayed in order to receive input from the user to the WIA driver . When the reading condition input in the TWAIN standard user interface is not an item having the same function in the WIA driver, a process of invalidating the control state of the TWAIN driver is executed.

また、本発明における画像処理プログラムは、請求項1から3の何れか1項に記載の画像処理プログラムにおいて、前記外部装置に読み取りを実行させる前に、前記TWAIN規格用ユーザインタフェースにおいて入力される読取条件の設定に使用するパラメータ値が、前記WIAドライバに対するユーザからの入力を受け付けるインタフェースにおいて入力される読取条件の設定に使用するパラメータ値と同一の意味を有する場合、前記TWAIN規格用ユーザインタフェースにおいて入力される読取条件の設定に使用するパラメータ値を、前記WIAドライバに対するユーザからの入力を受け付けるユーザインタフェースにおいて入力される読取条件の設定に使用するパラメータ値に変換する処理を実行させることを特徴とする。 The image processing program according to any one of claims 1 to 3, wherein the image processing program according to any one of claims 1 to 3 is input to the TWAIN standard user interface before causing the external device to execute reading. When a parameter value used for setting a condition has the same meaning as a parameter value used for setting a reading condition input in an interface that accepts input from the user to the WIA driver , input in the user interface for the TWAIN standard the parameter values used to set the reading conditions, characterized in that to execute a process of converting the parameter values used to set the reading conditions input in the user interface for accepting input from the user with respect to the WIA driver .

そして、本発明における画像処理プログラムは、請求項1から4の何れか1項に記載の画像処理プログラムにおいて、前記外部装置に読み取り動作を起動させる際に表示する読取画面に関して取得された設定値前記TWAIN規格用ユーザインタフェースを呼び出して前記外部装置に読み取り動作を起動させる際に表示する読取画面に関して取得される設定値と同じ設定値を使用しない場合は前記WIAドライバに対するユーザからの入力を受け付けるWIA規格用ユーザインタフェースを呼び出して前記外部装置に読み取り動作を起動させる際に表示する読取画面に関して取得される設定値を使用する処理を実行させることを特徴とする。 Then, the image processing program of the present invention is an image processing program according to any one of claims 1 to 4, which is obtained by regarding the reading screen displayed when starting the reading operation to the external device If the settings do not use the same set value and the set value that will be obtained for the reading screen displayed when starting up the reading operation to the external device to call the user interface for the TWAIN standard input from a user with respect to the WIA driver The WIA standard user interface that accepts the message is called to execute processing using the setting value acquired for the reading screen displayed when the reading operation is started in the external device .

また、本発明における画像処理プログラムは、請求項5に記載の画像処理プログラムにおいて、前記読取画面の初期化処理として前記WIAドライバを初期化するとき、前記TWAIN規格用ユーザインタフェース又は前記WIA規格用ユーザインタフェースの何れかを使用する処理を実行させることを特徴とする。 The image processing program according to the present invention is the image processing program according to claim 5, wherein when the WIA driver is initialized as the reading screen initialization process, the user interface for TWAIN standard or the user for WIA standard is used. A process using any one of the interfaces is executed.

さらに、本発明における画像処理プログラムは、請求項5に記載の画像処理プログラムにおいて、前記外部装置から読み取った画像データを表示する読取画面に関する設定値、前記TWAIN規格用ユーザインタフェースを使用して保存された場所に対して読出・書込を行うか、前記WIA規格用ユーザインタフェースを使用して保存された場所に対して読出・書込を行うかを、前記TWAINドライバで読み取られた読取画面と前記WIAドライバで読み取られた読取画面との何れの読取画面を使用するかによって判断する処理を実行させることを特徴とする。 Further, the image processing program of the present invention is an image processing program according to claim 5, the settings for the reading screen for displaying the image data read from said external device, using the user interface for the TWAIN standards storage whether to reading and writing with respect to location, whether to reading and writing to the WIA saved locations using a user interface for standard, a reading window which is read by the TWAIN driver A process for determining which reading screen to use with the reading screen read by the WIA driver is executed.

また、本発明における画像処理プログラムは、請求項に記載の画像処理プログラムにおいて、前記TWAIN規格用ユーザインタフェースと前記WIA規格用ユーザインタフェースとの両方で使用されるTWAIN・WIA規格用ユーザインタフェースをさらに含み、前記TWAIN規格用ユーザインタフェース及び前記WIA規格用ユーザインタフェースを、前記TWAIN・WIA規格用ユーザインタフェースから呼び出されるスキャナコントローラにより制御させる処理を実行させることを特徴とする。 The image processing program according to the present invention further includes a TWAIN / WIA standard user interface used in both the TWAIN standard user interface and the WIA standard user interface in the image processing program according to claim 5. wherein, the user interface for the user interface and the WIA standards for TWAIN standards, characterized in that to execute a process for controlling the scanner controller that is called from the user interface for the TWAIN · WIA standard.

また、上記課題を解決するため、請求項に記載の本発明における画像処理装置は、外部装置から画像データを読み取るためのTWAIN規格に準拠して作成され、前記外部装置に読み取りを実行させる際に複数のTWAIN規格用モジュールを使用するTWAINドライバと、前記外部装置から前記画像データを読み取るためのWIA規格に準拠して作成され、前記外部装置に読み取りを実行させる際に複数のWIA規格用モジュールを使用するWIAドライバと、前記TWAINドライバに対するユーザからの入力を受け付けるTWAIN規格用ユーザインタフェースと、前記WIAドライバに対するユーザからの入力を受け付けるユーザインタフェースとして前記TWAIN規格用ユーザインタフェースを呼び出して表示する手段と、を含み、前記WIAドライバに対するユーザからの入力を受け付けるために前記TWAIN規格用ユーザインタフェースを呼び出して表示する際に、前記TWAIN規格用ユーザインタフェースにおいて入力される読取条件が前記WIAドライバにおいて同じ機能を持った項目であり、かつ前記WIAドライバにおいて少なくとも1つの有効なパラメータを持った項目である場合は前記TWAINドライバのコントロールの状態を有効とし、前記読取条件が前記WIAドライバにおいて同じ機能を持った項目ではない、または前記WIAドライバにおいて有効なパラメータを1つも持たない項目である場合は前記TWAINドライバ状態を効とすることを特徴とする。 In order to solve the above problem, the image processing apparatus according to the present invention described in claim 9 is created in conformity with the TWAIN standard for reading image data from an external apparatus , and causes the external apparatus to execute reading. A TWAIN driver that uses a plurality of TWAIN standard modules, and a plurality of WIA standard modules that are created in compliance with the WIA standard for reading the image data from the external device and that cause the external device to perform reading A WIA driver that uses the TWAIN standard, a TWAIN standard user interface that accepts input from the user to the TWAIN driver, and a means for calling and displaying the TWAIN standard user interface as a user interface that accepts input from the user to the WIA driver; , Wherein, when displaying call the user interface for TWAIN standards to accept input from a user with respect to the WIA driver, reading conditions input in the user interface for the TWAIN standards have the same function in the WIA driver If the item is an item and has at least one valid parameter in the WIA driver, the control state of the TWAIN driver is validated, and the reading condition is not an item having the same function in the WIA driver. or if an item without a valid parameter is also one in the WIA driver, characterized in that the disable state of the TWAIN driver.

さらに、本発明における画像処理装置は、請求項に記載の画像処理装置において、前記TWAIN規格用ユーザインタフェースは、前記ドライバの種類に関わらず、同一の操作画面を表示することを特徴とする。 The image processing apparatus according to the present invention is the image processing apparatus according to claim 9 , wherein the TWAIN standard user interface displays the same operation screen regardless of the type of the driver.

また、本発明における画像処理装置は、請求項又は1に記載の画像処理装置において、前記WIAドライバに対するユーザからの入力を受け付けるために前記TWAIN規格用ユーザインタフェースを呼び出して表示する際に、前記TWAIN規格用ユーザインタフェースにおいて入力される読取条件が前記WIAドライバにおいて同じ機能を持った項目でない場合は前記TWAINドライバのコントロールの状態を無効とすることを特徴とする。 The image processing apparatus according to the present invention is an image processing apparatus according to claim 9 or 1 0, when displaying call the user interface for TWAIN standards to accept input from a user with respect to the WIA driver, If the reading condition input in the TWAIN standard user interface is not an item having the same function in the WIA driver, the control state of the TWAIN driver is invalidated.

そして、本発明における画像処理装置は、請求項から11の何れか1項に記載の画像処理装置において、前記外部装置に読み取りを実行させる前に、前記TWAIN規格用ユーザインタフェースにおいて入力される読取条件の設定に使用するパラメータ値が、前記WIAドライバに対するユーザからの入力を受け付けるインタフェースにおいて入力される読取条件の設定に使用するパラメータ値と同一の意味を有する場合、前記TWAIN規格用ユーザインタフェースにおいて入力される読取条件の設定に使用するパラメータ値を、前記WIAドライバに対するユーザからの入力を受け付けるユーザインタフェースにおいて入力される読取条件の設定に使用するパラメータ値に変換することを特徴とする。 In the image processing apparatus according to any one of claims 9 to 11, the image processing apparatus according to the present invention is input to the TWAIN standard user interface before causing the external apparatus to execute reading. When the parameter value used for setting the reading condition has the same meaning as the parameter value used for setting the reading condition input in the interface that receives input from the user to the WIA driver , in the user interface for the TWAIN standard the parameter values used to set the reading conditions input, and converting the parameter values used to set the reading conditions input in the user interface for accepting input from the user with respect to the WIA driver.

また、本発明における画像処理装置は、請求項から1の何れか1項に記載の画像処理装置において、前記外部装置に読み取り動作を起動させる際に表示する読取画面に関して取得された設定値が前記TWAIN規格用ユーザインタフェースを呼び出して前記外部装置に読み取り動作を起動させる際に表示する読取画面に関して取得される設定値と同じ設定値を使用しない場合は前記WIAドライバに対するユーザからの入力を受け付けるWIA規格用ユーザインタフェースを呼び出して前記外部装置に読み取り動作を起動させる際に表示する読取画面に関して取得される設定値を使用することを特徴とする。 The image processing apparatus according to the present invention is an image processing apparatus according to any one of claims 9 1 2, Seki and is acquired in the reading screen displayed when starting up the reading operation to the external device and if the settings do not use the same set value set value obtained for the reading screen displayed when starting up the reading operation to the external device to call the user interface for the TWAIN standards from the user with respect to the WIA driver A setting value acquired with respect to a reading screen to be displayed when a user interface for WIA standard that accepts an input is called to start a reading operation in the external apparatus is used.

さらに、本発明における画像処理装置は、請求項1に記載の画像処理装置において、前記読取画面の初期化処理として前記WIAドライバを初期化するとき、前記TWAIN規格用ユーザインタフェース又は前記WIA規格用ユーザインタフェースの何れかを使用することを特徴とする。 Further, the image processing apparatus of the present invention is an image processing apparatus according to claim 1 3, when initializing the WIA driver as the initialization processing of the read window, for the TWAIN standards for user interface or the WIA standard Any one of the user interfaces is used.

また、本発明における画像処理装置は、請求項1に記載の画像処理装置において、前記外部装置から読み取った画像データを表示する読取画面に関する設定値を、前記TWAIN規格用ユーザインタフェースを使用して保存された場所に対して読出・書込を行うか、前記WIA規格用ユーザインタフェースを使用して保存された場所に対して読出・書込を行うかを、前記TWAINドライバで読み取られた読取画面と前記WIAドライバで読み取られた読取画面との何れの読取画面を使用するかによって判断することを特徴とする。 The image processing apparatus according to the present invention is an image processing apparatus according to claim 1 3, the settings for the reading screen for displaying the image data read from said external device, using the user interface for the TWAIN standards whether to reading and writing with respect to the stored location, the WIA whether to reading and writing the user interface for standard against saved locations using, reading read by the TWAIN driver screen And a reading screen read by the WIA driver .

そして、本発明における画像処理装置は、請求項1に記載の画像処理装置において、前記TWAIN規格用ユーザインタフェースと前記WIA規格用ユーザインタフェースとの両方で使用されるTWAIN・WIA規格用ユーザインタフェースをさらに含み、前記TWAIN規格用ユーザインタフェース及び前記WIA規格用ユーザインタフェースを、前記TWAIN・WIA規格用ユーザインタフェースから呼び出されるスキャナコントローラにより制御されることを特徴とする。 The image processing apparatus according to the present invention is an image processing apparatus according to claim 1 3, the user interface for TWAIN · WIA standard used by both and the user interface for TWAIN standards the WIA user interface for standard In addition, the TWAIN standard user interface and the WIA standard user interface are controlled by a scanner controller called from the TWAIN / WIA standard user interface .

さらに、上記課題を解決するため、請求項1に記載の本発明における記憶媒体は、請求項1からの何れか1項に記載の画像処理プログラムを記憶したコンピュータにより読み取り可能であることを特徴とする。 Furthermore, in order to solve the above-mentioned problem, the storage medium according to the present invention described in claim 17 is readable by a computer storing the image processing program according to any one of claims 1 to 8. Features.

本発明によれば、ベンダー(供給業者)独自の機能を従来提供していたTWAINドライバだけでなく、WIAドライバでも提供することができることにより、ユーザがドライバの差異を意識せずに使用することができる画像処理プログラム、画像処理装置、及び記憶媒体を得ることができる。   According to the present invention, a unique function of a vendor (supplier) can be provided not only by a TWAIN driver that has been conventionally provided, but also by a WIA driver. An image processing program, an image processing apparatus, and a storage medium can be obtained.

本発明の実施形態における画像処理装置の入力制限を行う場合の処理を示すフロー図である。It is a flowchart which shows a process in the case of performing input restriction | limiting of the image processing apparatus in embodiment of this invention. 本発明の実施形態における画像処理装置の読取動作を行う場合の処理を示すフロー図である。It is a flowchart which shows a process in the case of performing reading operation | movement of the image processing apparatus in embodiment of this invention. 本発明の実施形態における画像処理装置のモジュール構成を示す図である。It is a figure which shows the module structure of the image processing apparatus in embodiment of this invention. 本発明の実施形態における画像処理装置の起動する読取画面を選択する場合の処理を示すフロー図である。It is a flowchart which shows a process in the case of selecting the reading screen which the image processing apparatus in embodiment of this invention starts. 本発明の実施形態における画像処理装置の読取画面を初期化する場合の処理を示すフロー図である。It is a flowchart which shows the process in the case of initializing the reading screen of the image processing apparatus in embodiment of this invention. 本発明の実施形態における画像処理装置の設定を読み出す場合及び保存する場合の処理を示すフロー図である。It is a flowchart which shows the process at the time of reading and preserve | saving the setting of the image processing apparatus in embodiment of this invention. 従来の画像処理装置のモジュール構成を示す図である。It is a figure which shows the module structure of the conventional image processing apparatus. 従来の画像処理装置の読取画面を初期化する場合の処理を示すフロー図である。It is a flowchart which shows the process in the case of initializing the reading screen of the conventional image processing apparatus. 従来の画像処理装置の設定を読み出す場合及び保存する場合の処理を示すフロー図である。It is a flowchart which shows the process at the time of reading and preserve | saving the setting of the conventional image processing apparatus.

次に、本発明を実施するための形態について図面を参照して詳細に説明する。なお、各図中、同一又は相当する部分には同一の符号を付しており、その重複説明は適宜に簡略化乃至省略する。本発明は、ユーザのデータ入力画面に際して、以下の特徴を有する。すなわち、従来より提供されていたTWAINドライバと同じ画面を実現し、ユーザの入力に関する負担を減らすことと、より細かい設定を可能にすることが特徴になっている。   Next, embodiments for carrying out the present invention will be described in detail with reference to the drawings. In addition, in each figure, the same code | symbol is attached | subjected to the part which is the same or it corresponds, The duplication description is simplified thru | or abbreviate | omitted suitably. The present invention has the following features on the user data input screen. That is, it is characterized by realizing the same screen as the TWAIN driver provided conventionally, reducing the burden on the user's input, and enabling finer settings.

具体的には、TWAINドライバとWIAドライバとにおいて同一の画面(ユーザインタフェース)を用い、ユーザが、解像度、色数等の数値を入力可能にすることにより、ドライバの種類に応じて入力インタフェースが異なることに起因する、異なる複数の機能を覚えなければならないという使い勝手の悪さから生じる煩わしさを改善することである。   Specifically, the same interface (user interface) is used in the TWAIN driver and the WIA driver, and the user can input numerical values such as resolution and the number of colors, so that the input interface differs depending on the type of driver. This is to improve the annoyance caused by the inconvenience of having to remember a plurality of different functions.

本発明の実施の形態を、図1を用いて説明する。図1は、本発明の実施形態における画像処理装置の入力制限を行う場合の処理を示すフロー図である。WIAドライバをTWAINドライバのユーザインタフェースを使用して読み取り動作を行おうとした場合、まず、TWAINドライバにしか存在しない機能を使用する場合に入力を制限する必要がある。ユーザインタフェースを表示したときは、ユーザが入力できる値や項目だけに入力を制限する処理について図1を用いて説明する。   An embodiment of the present invention will be described with reference to FIG. FIG. 1 is a flowchart showing processing when input restriction is performed by the image processing apparatus according to the embodiment of the present invention. When a WIA driver tries to perform a reading operation using the user interface of the TWAIN driver, it is necessary to restrict input when using a function that exists only in the TWAIN driver. A process of restricting input to only values and items that can be input by the user when the user interface is displayed will be described with reference to FIG.

図1において、入力項目の有効/無効判定処理が開始されると、まず、S101において、当該入力項目が読取条件であるか否かが判断される。入力項目が、読取条件であると判断されると(S101:Yes)、S102へ移行し、読取条件でないと判断されると(S101:No)、S107へ移行する。   In FIG. 1, when the validity / invalidity determination process of an input item is started, first, in S101, it is determined whether or not the input item is a reading condition. If it is determined that the input item is the reading condition (S101: Yes), the process proceeds to S102. If it is determined that the input item is not the reading condition (S101: No), the process proceeds to S107.

S107では、入力項目が読取条件以外の、例えば読取モードの登録等であるから、WIAドライバをTWAINドライバのユーザインタフェースを使用して読み取り動作を行おうとした場合であっても、WIAドライバを使用する場面ではないことから、S107において、TWAINドライバのコントロールの状態を有効とする処理を行う。   In S107, since the input item is other than the reading condition, for example, registration of the reading mode, the WIA driver is used even when the WIA driver tries to perform a reading operation using the user interface of the TWAIN driver. Since it is not a scene, in S107, a process for validating the control state of the TWAIN driver is performed.

S102では、WIAドライバをTWAINドライバのユーザインタフェースを使用して読み取り動作を行おうとした場合であって、入力項目が読取条件であるのであるから、WIAドライバにおいても同じ機能を持った入力項目が存在するか否かが判断される。S102において、WIAドライバにおいても入力項目と同じ機能を持った入力項目が存在すると判断されると(S102:Yes)、S103へ移行し、存在しないと判断されると(S102:No)、S108へ移行する。   In S102, when the WIA driver tries to perform a reading operation using the user interface of the TWAIN driver and the input item is a reading condition, there is an input item having the same function in the WIA driver. It is determined whether or not to do so. If it is determined in S102 that there is an input item having the same function as the input item in the WIA driver (S102: Yes), the process proceeds to S103. If it is determined that there is no input item (S102: No), the process proceeds to S108. Transition.

S103では、当該入力項目が採り得るパラメータの数だけループする。そして、S104において、当該入力項目がWIAドライバでも有効なパラメータであるか否かが判断される。当該入力項目がWIAドライバでも有効なパラメータであると判断されると(S104:Yes)、S106へ移行し、有効なパラメータでないと判断されると(S104:No)、S105へ移行する。S105では、WIAドライバで無効なパラメータを削除する処理を行った後、S106へ移行する。   In S103, the number of parameters that can be taken by the input item is looped. In S104, it is determined whether or not the input item is a valid parameter even in the WIA driver. If it is determined that the input item is a valid parameter even in the WIA driver (S104: Yes), the process proceeds to S106. If it is determined that the input item is not a valid parameter (S104: No), the process proceeds to S105. In S105, the process of deleting invalid parameters is performed by the WIA driver, and then the process proceeds to S106.

S106では、WIAドライバで有効なパラメータが1つ以上あるか否かが判断される。WIAドライバで有効なパラメータが1つ以上あると判断されると(S106:Yes)、S107へ移行し、有効なパラメータがないと判断されると(S106:No)、S108へ移行する。S107では、TWAINドライバのコントロールの状態を有効として入力項目の有効/無効判定を終了する。   In S106, it is determined whether or not there is one or more parameters effective for the WIA driver. If it is determined that the WIA driver has one or more valid parameters (S106: Yes), the process proceeds to S107. If it is determined that there is no valid parameter (S106: No), the process proceeds to S108. In S107, the control state of the TWAIN driver is validated, and the validity / invalidity determination of the input item is terminated.

一方、S102において、WIAドライバでも同じ機能を持った項目が存在しないと判断された場合(S102:No)、及びS106において、WIAドライバで有効なパラメータがないと判断された場合(S106:No)には、当該入力項目はTWAINドライバでのみサポートされている項目であるため、TWAINドライバのコントロール状態を無効とし(S108)、入力項目の有効/無効判定を終了する。   On the other hand, if it is determined in S102 that there is no item having the same function in the WIA driver (S102: No), and if it is determined in S106 that there is no valid parameter in the WIA driver (S106: No). Since the input item is an item supported only by the TWAIN driver, the control state of the TWAIN driver is invalidated (S108), and the validity / invalidity determination of the input item is terminated.

次に、WIAドライバをTWAINドライバのユーザインタフェースを使用して読み取り動作を行おうとした場合、読取実行の前にWIAドライバでの値に置き換える必要がある。読取実行前にTWAINでの値をWIAに置き換えて読み取り処理を実行する処理について図2を用いて説明する。図2は、本発明の実施形態における画像処理装置の読取動作を行う場合の処理を示すフロー図である。   Next, when an attempt is made to read the WIA driver using the user interface of the TWAIN driver, it is necessary to replace the value with the WIA driver before executing the reading. A process of executing the reading process by replacing the value at TWAIN with WIA before the reading is executed will be described with reference to FIG. FIG. 2 is a flowchart showing processing in the case of performing a reading operation of the image processing apparatus according to the embodiment of the present invention.

図2において、読取実行時の置換が開始されると、S201において、WIAドライバで設定に使用しているパラメータ分ループを行う。そして、S202において、当該読み取られた値がWIAドライバでも同じ意味を持つ項目であるか否かが判断される。S202において、当該読み取られた値がWIAドライバでも同じ意味を持つ項目であると判断されると(S202:Yes)、S203へ移行し、TWAINドライバでの値をWIAドライバでの値に変換して、読取実行時の値の置換を終了する。また、同じ意味を持つ項目でないと判断されると(S202:No)、読取実行時の値の置換を終了する。   In FIG. 2, when replacement at the time of reading is started, a loop for parameters used for setting in the WIA driver is performed in S201. In S202, it is determined whether or not the read value is an item having the same meaning in the WIA driver. If it is determined in S202 that the read value is an item having the same meaning in the WIA driver (S202: Yes), the process proceeds to S203, and the value in the TWAIN driver is converted to the value in the WIA driver. Then, the replacement of values at the time of reading is terminated. If it is determined that the items do not have the same meaning (S202: No), the replacement of values at the time of reading execution is terminated.

次に、本発明の画像処理装置の構成について説明する。図3は、本発明の実施形態における画像処理装置のモジュール構成を示す図である。本発明における画像処理装置のモジュールは、大別すると、TWAINドライバだけで使用されるモジュール、WIAドライバだけで使用されるモジュール、及びTWAINドライバとWIAドライバの両方で使用されるモジュールの3種類にグループ分けされている。そして、あるモジュールが他のモジュールを呼び出している場合、実線矢印で各モジュールを繋いでいる。   Next, the configuration of the image processing apparatus of the present invention will be described. FIG. 3 is a diagram illustrating a module configuration of the image processing apparatus according to the embodiment of the present invention. The modules of the image processing apparatus according to the present invention are roughly classified into three types: a module used only by the TWAIN driver, a module used only by the WIA driver, and a module used by both the TWAIN driver and the WIA driver. It is divided. When a module calls another module, the modules are connected with solid arrows.

WIAドライバだけで使用されるモジュールは、アプリケーションとしてWIA対応アプリケーション1、OSによって提供されるサービスとしてWIAサービス2とWIA UI3、TWAIN/WIAで個別開発するDLLとしてWIA DLL4から構成される。   Modules used only by the WIA driver are composed of a WIA-compatible application 1 as an application, a WIA service 2 and WIA UI3 as services provided by the OS, and a WIA DLL4 as a DLL developed individually in TWAIN / WIA.

TWAINドライバだけで使用されるモジュールは、アプリケーションとしてTWAIN対応アプリケーション7、OSによって提供されるサービスとしてTWAIN DSM8、TWAIN/WIAで個別開発するDLLとしてTWAIN DS9から構成される。   Modules used only by the TWAIN driver are composed of a TWAIN compatible application 7 as an application, a TWAIN DSM 8 as a service provided by the OS, and a TWAIN DS 9 as a DLL developed individually by the TWAIN / WIA.

TWAINドライバとWIAドライバの両方で使用されるモジュールは、装置としてスキャナ6、TWAIN/WIAで共通で使えるDLLとしてスキャナコントローラ5、TWAIN/WIAの両方から使えるUI10から構成される。すなわち、従来技術(図7)との相違点は、UI10が、TWAINドライバからだけでなく、WIAドライバからも呼び出されることができるようになったことである。そして、上記図1及び図2に示した処理フローは、すべて図3のスキャナコントローラ5において実行される。   Modules used by both the TWAIN driver and the WIA driver are configured by a scanner 6 as a device, a scanner controller 5 as a DLL that can be commonly used in TWAIN / WIA, and a UI 10 that can be used by both TWAIN / WIA. That is, the difference from the prior art (FIG. 7) is that the UI 10 can be called not only from the TWAIN driver but also from the WIA driver. 1 and FIG. 2 are all executed in the scanner controller 5 of FIG.

次に、本発明の画像処理装置の動作について説明する。図4は、本発明の実施形態における画像処理装置の起動する読取画面を選択する場合の処理を示すフロー図である。図4において、UIの選択処理が開始されると、S401において、表示する読取画面(UI)に関する設定値が取得され、S402において、当該取得された設定値のUIはTWAINドライバと同じものを使用するか否かが判断され、TWAINドライバと同じものを使用すると判断された場合には(S402:Yes)、S403へ移行し、TWAINドライバと同じUIを使用してUIの選択処理を終了し、TWAINドライバと同じものを使用しないと判断された場合には(S402:No)、S404において、TWAINドライバと同じUIを使用しないでUIの選択処理を終了する。この場合に使用されるUIは、WIAドライバのUIとなる。例えば、WIAドライバで、TWAINドライバと同じ読取画面を表示するかどうかを選択する画面を追加し、選択画面での結果を記憶領域に保持し、読取画面を表示する際に読取画面を切り替えるようにする。   Next, the operation of the image processing apparatus of the present invention will be described. FIG. 4 is a flowchart showing processing when a reading screen to be activated by the image processing apparatus according to the embodiment of the present invention is selected. In FIG. 4, when the UI selection process is started, a setting value related to the reading screen (UI) to be displayed is acquired in S401. In S402, the UI of the acquired setting value is the same as that of the TWAIN driver. If it is determined whether to use the same one as the TWAIN driver (S402: Yes), the process proceeds to S403, and the UI selection process is terminated using the same UI as the TWAIN driver. If it is determined not to use the same TWAIN driver (S402: No), the UI selection process is terminated in S404 without using the same UI as the TWAIN driver. The UI used in this case is the UI of the WIA driver. For example, in the WIA driver, a screen for selecting whether or not to display the same reading screen as the TWAIN driver is added, the result on the selection screen is held in the storage area, and the reading screen is switched when the reading screen is displayed. To do.

次に、本発明の画像処理装置の読取画面初期化処理について説明する。図5は、本発明の実施形態における画像処理装置の読取画面を初期化する場合の処理を示すフロー図である。図5において、WIAの読取画面初期化処理が開始されると、S501において、WIA UI3(図3)を使用するか否かが判断され、WIA UI3を使用すると判断されると(S501:Yes)、S502へ移行し、WIA UIを使用することによりWIAの読取画面初期化処理が終了する。 Next, the reading screen initialization process of the image processing apparatus of the present invention will be described. FIG. 5 is a flowchart showing processing when the reading screen of the image processing apparatus in the embodiment of the present invention is initialized. In FIG. 5, when the WIA reading screen initialization process is started, in S501, it is determined whether or not to use the WIA UI3 (FIG. 3), and if it is determined that the WIA UI3 is used (S501: Yes). , The process proceeds to S502, and the WIA UI 3 uses the WIA UI 3 to complete the WIA reading screen initialization process.

一方、WIA UIを使用しないと判断されると(S501:No)、S503へ移行し、TWAINドライバと同じUIを使用することによりWIAの読取画面初期化処理を終了する。すなわち、図5においては、図4の結果に基づいて使用する読取画面を切り替える処理を行っている。従来の画像処理装置では、OS標準のインタフェースを使用する処理しかなかったのであるが、本発明では、従来TWAINドライバで表示していたインタフェースと、OS標準のインタフェースとのどちらを使用するかを選択する処理が追加され、その決定によって、表示するインタフェースを切り替えることができるのである。 On the other hand, if it is determined not to use the WIA UI 3 (S501: No), the process proceeds to S503, and the WIA reading screen initialization process is terminated by using the same UI as that of the TWAIN driver. That is, in FIG. 5, a process of switching the reading screen to be used is performed based on the result of FIG. In the conventional image processing apparatus, only processing using an OS standard interface was used, but in the present invention, it is selected whether to use an interface that was previously displayed with a TWAIN driver or an OS standard interface. The processing to be performed is added, and the interface to be displayed can be switched by the determination.

次に、本発明の画像処理装置の設定の読出/保存処理について説明する。図6は、本発明の実施形態における画像処理装置の設定を読み出す場合及び保存する場合の処理を示すフロー図である。図6において、設定の読出/保存処理が開始されると、S601において、プロセスを動かしているユーザを取得し、S602において、ユーザはシステムであるか否かが判断され、ユーザはシステムであると判断されると(S602:Yes)、S605へ移行し、WIAドライバに関する設定を保存している場所から読出/書込を行い、設定の読出/保存処理を終了する。   Next, read / save processing of settings of the image processing apparatus of the present invention will be described. FIG. 6 is a flowchart showing processing when reading and saving settings of the image processing apparatus according to the embodiment of the present invention. In FIG. 6, when the setting read / save process is started, a user who is moving the process is acquired in S601. In S602, it is determined whether or not the user is a system, and the user is a system. If it is determined (S602: Yes), the process proceeds to S605 to read / write from the location where the settings relating to the WIA driver are saved, and the setting read / save processing is terminated.

一方、ユーザはシステムでない、すなわち、ユーザはデスクトップを表示しているユーザであると判断されると(S602:No)、S603へ移行し、TWAINドライバとWIAドライバのどちらの読取画面を使用するか設定値を読み取り、S604において、読取画面にはWIAドライバを使用するか否かが判断され、S604において、WIAドライバを使用すると判断された場合には(S604:Yes)、S605へ移行し、WIAドライバを使用しないと判断された場合には(S604:No)、S606へ移行し、TWAINドライバに関する設定を保存している場所から読出/書込を行い、設定の読出/保存処理を終了する。   On the other hand, if it is determined that the user is not a system, that is, the user is a user displaying a desktop (S602: No), the process proceeds to S603, which reading screen of the TWAIN driver or the WIA driver is used. The setting value is read. In S604, it is determined whether or not the WIA driver is used for the reading screen. If it is determined in S604 that the WIA driver is used (S604: Yes), the process proceeds to S605, and the WIA is performed. When it is determined that the driver is not used (S604: No), the process proceeds to S606, where reading / writing is performed from the location where the setting relating to the TWAIN driver is saved, and the setting reading / saving process is terminated.

すなわち、図6においては、図5の結果に基づいて保存する場所を切り替える処理を追加している。図4において、TWAINドライバのUIを使用することで、図6の処理によってTWAINドライバと同じ場所にWIAドライバでも値を保存することによって、TWAINドライバで設定された値をWIAドライバで読み出したり、WIAドライバで設定された値をTWAINドライバで読み出したりすることが可能になり、利用者がこれらのドライバの違いを意識する必要がなくなるのである。すなわち、表示する読取画面(UI)に関する設定値は、WIA/TWAIN共に読み書き可能な箇所に保存しておき、読取画面の選択(図5)、設定値の選択(図6)の両方の処理でTWAINドライバのUIと設定値を使用することを可能にするのである。なお、設定を保存する場所は、レジストリ等の任意の領域とすることができる。   That is, in FIG. 6, a process of switching the storage location based on the result of FIG. 5 is added. In FIG. 4, by using the UI of the TWAIN driver, the value set by the TWAIN driver is read by the WIA driver by storing the value in the same location as the TWAIN driver by the processing of FIG. The value set by the driver can be read by the TWAIN driver, and the user does not need to be aware of the difference between these drivers. That is, the setting value related to the reading screen (UI) to be displayed is stored in a location where both WIA / TWAIN can be read and written, and both the selection of the reading screen (FIG. 5) and the selection of the setting value (FIG. 6) are performed. It makes it possible to use the UI and setting values of the TWAIN driver. Note that the setting can be saved in an arbitrary area such as a registry.

なお、上記実施形態において説明してきた各動作をそれぞれ実行するために、画像処理装置を構成する各モジュールの動作を制御するスキャナコントローラ5(図3)が、ROM(Read Only Memory)、RAM(Random Access Memory)等から構成されるメモリ(図示せず)に記憶されたコンピュータにより読み取り可能なプログラムに基づいて実行するように構成されていることはいうまでもない。   In order to execute each operation described in the above embodiment, the scanner controller 5 (FIG. 3) for controlling the operation of each module constituting the image processing apparatus is provided with a ROM (Read Only Memory) and a RAM (Random). Needless to say, it is configured to be executed based on a computer-readable program stored in a memory (not shown) including an access memory.

以上説明してきたように、本発明によれば、入力可能項目が少なく、独自機能が入っていないOS標準のインタフェースではなく、従来から提供していたTWAINドライバと同じインタフェースを表示、データ入力に使用することによりユーザに対して同じ使い勝手を提供することができるので、ベンダー(供給業者)独自の機能を、従来提供していたTWAINドライバにおいてだけでなく、WIAドライバにおいても提供することができるようになり、ユーザがドライバの差異を意識せずに使用することができるのである。   As described above, according to the present invention, the same interface as the TWAIN driver provided in the past is used for displaying and inputting data, instead of the OS standard interface that has few items that can be input and does not include unique functions. Since the same usability can be provided to the user, the vendor (supplier) unique function can be provided not only in the TWAIN driver that has been provided in the past but also in the WIA driver. Thus, the user can use the driver without being aware of the difference between the drivers.

以上、本発明の好適な実施の形態により本発明を説明した。ここでは特定の具体例を示して本発明を説明したが、特許請求の範囲に定義された本発明の広範囲な趣旨及び範囲から逸脱することなく、これら具体例に様々な修正及び変更が可能である。   The present invention has been described above by the preferred embodiments of the present invention. While the invention has been described with reference to specific embodiments thereof, various modifications and changes can be made to these embodiments without departing from the broader spirit and scope of the invention as defined in the claims. is there.

1 WIA対応アプリケーション
2 WIAサービス
3 WIA UI
4 WIA DLL
5 スキャナコントローラ
6 スキャナ
7 TWAIN対応アプリケーション
8 TWAIN DSM
9 TWAIN DS
10 UI
1 WIA compatible application 2 WIA service 3 WIA UI
4 WIA DLL
5 Scanner controller 6 Scanner 7 TWAIN compatible application 8 TWAIN DSM
9 TWAIN DS
10 UI

特開2008−242979号公報JP 2008-242979 A

Claims (17)

外部装置から画像データを読み取るためのTWAIN規格に準拠して作成され、前記外部装置に読み取りを実行させる際に複数のTWAIN規格用モジュールを使用するTWAINドライバと、
前記外部装置から前記画像データを読み取るためのWIA規格に準拠して作成され、前記外部装置に読み取りを実行させる際に複数のWIA規格用モジュールを使用するWIAドライバと、
前記TWAINドライバに対するユーザからの入力を受け付けるTWAIN規格用ユーザインタフェースと、
を含むコンピュータに、
前記WIAドライバに対するユーザからの入力を受け付けるユーザインタフェースとして前記TWAIN規格用ユーザインタフェースを呼び出して表示する処理と、
前記WIAドライバに対するユーザからの入力を受け付けるために前記TWAIN規格用ユーザインタフェースを呼び出して表示する際に、前記TWAIN規格用ユーザインタフェースにおいて入力される読取条件が前記WIAドライバにおいて同じ機能を持った項目であり、かつ前記WIAドライバにおいて少なくとも1つの有効なパラメータを持った項目である場合は前記TWAINドライバのコントロールの状態を有効とし、前記読取条件が前記WIAドライバにおいて同じ機能を持った項目ではない、または前記WIAドライバにおいて有効なパラメータを1つも持たない項目である場合は前記TWAINドライバの状態を効とする処理と、
を実行させるための画像処理プログラム。
A TWAIN driver that is created in accordance with the TWAIN standard for reading image data from an external device and uses a plurality of TWAIN standard modules when the external device executes reading ;
A WIA driver created in compliance with the WIA standard for reading the image data from the external device, and using a plurality of WIA standard modules when causing the external device to execute reading ;
A user interface for TWAIN standards that accepts input from a user to the TWAIN driver;
On a computer containing
A process for calling and displaying the TWAIN standard user interface as a user interface for receiving input from the user to the WIA driver;
When the TWAIN standard user interface is called and displayed in order to receive input from the user to the WIA driver, the reading condition input in the TWAIN standard user interface is an item having the same function in the WIA driver. Yes, if the item has at least one valid parameter in the WIA driver, the control state of the TWAIN driver is validated, and the reading condition is not an item having the same function in the WIA driver. or the WIA an item without a valid parameter is also one in the driver and the process to disable the state of the TWAIN driver,
An image processing program for executing
前記TWAIN規格用ユーザインタフェースは、前記ドライバの種類に関わらず、同一の操作画面を表示する処理を実行させることを特徴とする請求項1に記載の画像処理プログラム。 The image processing program according to claim 1, wherein the TWAIN standard user interface executes a process of displaying the same operation screen regardless of a type of the driver. 前記WIAドライバに対するユーザからの入力を受け付けるために前記TWAIN規格用ユーザインタフェースを呼び出して表示する際に、前記TWAIN規格用ユーザインタフェースにおいて入力される読取条件が前記WIAドライバにおいて同じ機能を持った項目でない場合は前記TWAINドライバのコントロールの状態を無効とする処理を実行させることを特徴とする請求項1又は2に記載の画像処理プログラム。 When displaying call the user interface for TWAIN standards to accept input from a user with respect to the WIA driver, not an item in which reading conditions input in the user interface for the TWAIN standards have the same function in the WIA driver If the image processing program according to claim 1 or 2, characterized in that to execute a process to invalidate the state of the control of the TWAIN driver. 前記外部装置に読み取りを実行させる前に、前記TWAIN規格用ユーザインタフェースにおいて入力される読取条件の設定に使用するパラメータ値が、前記WIAドライバに対するユーザからの入力を受け付けるインタフェースにおいて入力される読取条件の設定に使用するパラメータ値と同一の意味を有する場合、前記TWAIN規格用ユーザインタフェースにおいて入力される読取条件の設定に使用するパラメータ値を、前記WIAドライバに対するユーザからの入力を受け付けるユーザインタフェースにおいて入力される読取条件の設定に使用するパラメータ値に変換する処理を実行させることを特徴とする請求項1から3の何れか1項に記載の画像処理プログラム。 Before causing the external device to execute reading, the parameter value used for setting the reading condition input in the user interface for the TWAIN standard is the reading condition input in the interface that receives the input from the user to the WIA driver. when having the same meaning as described parameter values used to set the parameter values used to set the reading conditions input at the user interface for TWAIN standards, entered in the user interface for accepting input from the user with respect to the WIA driver The image processing program according to any one of claims 1 to 3, wherein a process of converting to a parameter value used for setting a reading condition is executed. 前記外部装置に読み取り動作を起動させる際に表示する読取画面に関して取得された設定値前記TWAIN規格用ユーザインタフェースを呼び出して前記外部装置に読み取り動作を起動させる際に表示する読取画面に関して取得される設定値と同じ設定値を使用しない場合は前記WIAドライバに対するユーザからの入力を受け付けるWIA規格用ユーザインタフェースを呼び出して前記外部装置に読み取り動作を起動させる際に表示する読取画面に関して取得される設定値を使用する処理を実行させることを特徴とする請求項1から4の何れか1項に記載の画像処理プログラム。 Respect reading screen displayed when set value obtained by regarding the read screen display to start the reading operation to the external device to call the user interface for the TWAIN standards when starting up the reading operation to the external device If you do not use the same set value acquired Ru set value is obtained for the reading screen displayed when starting up the reading operation to the external device to call the user interface for WIA standard form of input from the user with respect to the WIA driver The image processing program according to any one of claims 1 to 4, wherein a process using a set value is executed. 前記読取画面の初期化処理として前記WIAドライバを初期化するとき、前記TWAIN規格用ユーザインタフェース又は前記WIA規格用ユーザインタフェースの何れかを使用する処理を実行させることを特徴とする請求項5に記載の画像処理プログラム。 6. The process according to claim 5, wherein when the WIA driver is initialized as the reading screen initialization process, a process using either the TWAIN standard user interface or the WIA standard user interface is executed. Image processing program. 前記外部装置から読み取った画像データを表示する読取画面に関する設定値、前記TWAIN規格用ユーザインタフェースを使用して保存された場所に対して読出・書込を行うか、前記WIA規格用ユーザインタフェースを使用して保存された場所に対して読出・書込を行うかを、前記TWAINドライバで読み取られた読取画面と前記WIAドライバで読み取られた読取画面との何れの読取画面を使用するかによって判断する処理を実行させることを特徴とする請求項5に記載の画像処理プログラム。 Wherein either the settings for the reading screen for displaying the image data read from the external device, performs reading and writing with respect to location stored with the user interface for the TWAIN standards, a user interface for the WIA standard determined by whether or performs reading and writing with respect to the stored location using, using any of the reading window and read by reading the screen by the read-out reading screen as in the TWAIN driver WIA driver The image processing program according to claim 5, wherein the image processing program is executed. 前記TWAIN規格用ユーザインタフェースと前記WIA規格用ユーザインタフェースとの両方で使用されるTWAIN・WIA規格用ユーザインタフェースをさらに含み、前記TWAIN規格用ユーザインタフェース及び前記WIA規格用ユーザインタフェースを、前記TWAIN・WIA規格用ユーザインタフェースから呼び出されるスキャナコントローラにより制御させる処理を実行させることを特徴とする請求項に記載の画像処理プログラム。 Further comprising a user interface for TWAIN · WIA standard used by both and the user interface for TWAIN standards the WIA user interface for standard user interface and a user interface for the WIA standard for the TWAIN standards, the TWAIN · WIA The image processing program according to claim 5 , wherein a process controlled by a scanner controller called from a standard user interface is executed. 外部装置から画像データを読み取るためのTWAIN規格に準拠して作成され、前記外部装置に読み取りを実行させる際に複数のTWAIN規格用モジュールを使用するTWAINドライバと、
前記外部装置から前記画像データを読み取るためのWIA規格に準拠して作成され、前記外部装置に読み取りを実行させる際に複数のWIA規格用モジュールを使用するWIAドライバと、
前記TWAINドライバに対するユーザからの入力を受け付けるTWAIN規格用ユーザインタフェースと、
前記WIAドライバに対するユーザからの入力を受け付けるユーザインタフェースとして前記TWAIN規格用ユーザインタフェースを呼び出して表示する手段と、を含み、
前記WIAドライバに対するユーザからの入力を受け付けるために前記TWAIN規格用ユーザインタフェースを呼び出して表示する際に、前記TWAIN規格用ユーザインタフェースにおいて入力される読取条件が前記WIAドライバにおいて同じ機能を持った項目であり、かつ前記WIAドライバにおいて少なくとも1つの有効なパラメータを持った項目である場合は前記TWAINドライバのコントロールの状態を有効とし、前記読取条件が前記WIAドライバにおいて同じ機能を持った項目ではない、または前記WIAドライバにおいて有効なパラメータを1つも持たない項目である場合は前記TWAINドライバの状態を無効とすることを特徴とする画像処理装置
A TWAIN driver that is created in accordance with the TWAIN standard for reading image data from an external device and uses a plurality of TWAIN standard modules when the external device executes reading;
A WIA driver created in compliance with the WIA standard for reading the image data from the external device, and using a plurality of WIA standard modules when causing the external device to execute reading;
A user interface for TWAIN standards that accepts input from a user to the TWAIN driver;
Means for calling and displaying the TWAIN standard user interface as a user interface for receiving input from the user to the WIA driver,
When the TWAIN standard user interface is called and displayed in order to receive input from the user to the WIA driver, the reading condition input in the TWAIN standard user interface is an item having the same function in the WIA driver. And if the item has at least one valid parameter in the WIA driver, the control state of the TWAIN driver is validated, and the reading condition is not an item having the same function in the WIA driver, or the image processing apparatus if an item without a valid parameter is also one in the WIA driver characterized that you invalid status of the TWAIN driver.
前記TWAIN規格用ユーザインタフェースは、前記ドライバの種類に関わらず、同一の操作画面を表示することを特徴とする請求項9に記載の画像処理装置。 The image processing apparatus according to claim 9, wherein the TWAIN standard user interface displays the same operation screen regardless of a type of the driver . 前記WIAドライバに対するユーザからの入力を受け付けるために前記TWAIN規格用ユーザインタフェースを呼び出して表示する際に、前記TWAIN規格用ユーザインタフェースにおいて入力される読取条件が前記WIAドライバにおいて同じ機能を持った項目でない場合は前記TWAINドライバのコントロールの状態を無効とすることを特徴とする請求項9又は10に記載の画像処理装置。 When the TWAIN standard user interface is called and displayed in order to accept input from the user to the WIA driver, the reading conditions input in the TWAIN standard user interface are not items having the same function in the WIA driver. 11. The image processing apparatus according to claim 9, wherein the control state of the TWAIN driver is invalidated . 前記外部装置に読み取りを実行させる前に、前記TWAIN規格用ユーザインタフェースにおいて入力される読取条件の設定に使用するパラメータ値が、前記WIAドライバに対するユーザからの入力を受け付けるインタフェースにおいて入力される読取条件の設定に使用するパラメータ値と同一の意味を有する場合、前記TWAIN規格用ユーザインタフェースにおいて入力される読取条件の設定に使用するパラメータ値を、前記WIAドライバに対するユーザからの入力を受け付けるユーザインタフェースにおいて入力される読取条件の設定に使用するパラメータ値に変換することを特徴とする請求項9から11の何れか1項に記載の画像処理装置。 Before causing the external device to execute reading, the parameter value used for setting the reading condition input in the user interface for the TWAIN standard is the reading condition input in the interface that receives the input from the user to the WIA driver. When having the same meaning as the parameter value used for setting, the parameter value used for setting the reading condition input in the TWAIN standard user interface is input in the user interface that accepts input from the user to the WIA driver. The image processing apparatus according to claim 9 , wherein the image processing apparatus converts the parameter value to be used for setting a reading condition . 前記外部装置に読み取り動作を起動させる際に表示する読取画面に関して取得された設定値が前記TWAIN規格用ユーザインタフェースを呼び出して前記外部装置に読み取り動作を起動させる際に表示する読取画面に関して取得される設定値と同じ設定値を使用しない場合は前記WIAドライバに対するユーザからの入力を受け付けるWIA規格用ユーザインタフェースを呼び出して前記外部装置に読み取り動作を起動させる際に表示する読取画面に関して取得される設定値を使用することを特徴とする請求項から12の何れか1項に記載の画像処理装置。 The setting value acquired for the reading screen displayed when the external device starts the reading operation is acquired for the reading screen displayed when the TWAIN standard user interface is called to start the reading operation of the external device. When the same setting value as the setting value is not used, the setting value acquired with respect to the reading screen displayed when the WIA standard user interface that receives input from the user to the WIA driver is called to start the reading operation in the external device the image processing device according to claim 9 in any one of 12, wherein the use of. 前記読取画面の初期化処理として前記WIAドライバを初期化するとき、前記TWAIN規格用ユーザインタフェース又は前記WIA規格用ユーザインタフェースの何れかを使用することを特徴とする請求項13に記載の画像処理装置。 When initializing the WIA driver as the initialization processing of the read intake screen, the image processing according to claim 13, characterized by using any of the TWAIN standards for user interface or the WIA user interface for standard apparatus. 前記外部装置から読み取った画像データを表示する読取画面に関する設定値を、前記TWAIN規格用ユーザインタフェースを使用して保存された場所に対して読出・書込を行うか、前記WIA規格用ユーザインタフェースを使用して保存された場所に対して読出・書込を行うかを、前記TWAINドライバで読み取られた読取画面と前記WIAドライバで読み取られた読取画面との何れの読取画面を使用するかによって判断することを特徴とする請求項1に記載の画像処理装置。 The setting value relating to the reading screen for displaying the image data read from the external device is read / written to / from the location stored using the TWAIN standard user interface, or the WIA standard user interface is It is determined whether to use the reading screen read by the TWAIN driver or the reading screen read by the WIA driver to determine whether to read / write to the location stored using the image processing apparatus according to claim 1 3, characterized by. 前記TWAIN規格用ユーザインタフェースと前記WIA規格用ユーザインタフェースとの両方で使用されるTWAIN・WIA規格用ユーザインタフェースをさらに含み、前記TWAIN規格用ユーザインタフェース及び前記WIA規格用ユーザインタフェースを、前記TWAIN・WIA規格用ユーザインタフェースから呼び出されるスキャナコントローラにより制御されることを特徴とする請求項1に記載の画像処理装置。 It further includes a TWAIN / WIA standard user interface used in both the TWAIN standard user interface and the WIA standard user interface, and the TWAIN standard user interface and the WIA standard user interface are included in the TWAIN / WIA. the image processing apparatus according to claims 1 to 3 is controlled by a scanner controller which is called from the user interface for standard characterized Rukoto. 請求項1から8の何れか1項に記載の画像処理プログラムを記憶したコンピュータ読み取り可能な記憶媒体 A computer-readable storage medium storing the image processing program according to any one of claims 1 to 8 .
JP2011091309A 2011-04-15 2011-04-15 Image processing program, image processing apparatus, and storage medium Active JP5982738B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2011091309A JP5982738B2 (en) 2011-04-15 2011-04-15 Image processing program, image processing apparatus, and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2011091309A JP5982738B2 (en) 2011-04-15 2011-04-15 Image processing program, image processing apparatus, and storage medium

Publications (2)

Publication Number Publication Date
JP2012226441A JP2012226441A (en) 2012-11-15
JP5982738B2 true JP5982738B2 (en) 2016-08-31

Family

ID=47276560

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2011091309A Active JP5982738B2 (en) 2011-04-15 2011-04-15 Image processing program, image processing apparatus, and storage medium

Country Status (1)

Country Link
JP (1) JP5982738B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP7415636B2 (en) 2020-02-12 2024-01-17 ブラザー工業株式会社 Program and scan system

Family Cites Families (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4225811B2 (en) * 2002-03-25 2009-02-18 株式会社日立国際電気 IC card and IC card system
JP3740438B2 (en) * 2002-05-31 2006-02-01 キヤノン株式会社 Print control method, print control apparatus, program, and computer-readable storage medium
JP3880575B2 (en) * 2003-12-12 2007-02-14 キヤノン株式会社 Print setting method and computer
JP4626982B2 (en) * 2005-02-10 2011-02-09 セントラル硝子株式会社 Defect detection device and detection method for end face of glass plate
JP4785579B2 (en) * 2006-03-17 2011-10-05 キヤノン株式会社 Information processing apparatus, print setting reflection method and program in information processing apparatus
JP2007272857A (en) * 2006-05-26 2007-10-18 Riso Kagaku Corp Device driver system
JP4876837B2 (en) * 2006-10-12 2012-02-15 富士ゼロックス株式会社 Scanner driver and scanner driver cooperation device
JP5171601B2 (en) * 2008-12-22 2013-03-27 京セラドキュメントソリューションズ株式会社 Color image forming apparatus
JP5163523B2 (en) * 2009-01-31 2013-03-13 株式会社リコー Information processing apparatus, program, and recording medium

Also Published As

Publication number Publication date
JP2012226441A (en) 2012-11-15

Similar Documents

Publication Publication Date Title
US9544453B2 (en) Image processing apparatus, image processing method, and computer program product
KR101921569B1 (en) Image processing apparatus, method for controlling image processing apparatus, and storage medium
JP5481308B2 (en) Data control apparatus and program
US8640049B2 (en) Image forming apparatus, image forming system, and function menu adjusting method in image forming apparatus
US10705680B2 (en) Information processing apparatus and non-transitory computer readable medium
JP2007287090A (en) Display control system, image processor, and display control method
US11184491B2 (en) Information processing apparatus and non-transitory computer readable medium for collective deletion of plural screen display elements
JP2011035690A (en) Image processing apparatus, job processing method, and program
JP2009260903A (en) Image processing apparatus, image processing method and image processing program
JP5676971B2 (en) Information processing apparatus, display control method, and program
US20070268508A1 (en) Image forming device
JP6179228B2 (en) Information processing apparatus, image processing system, and control program
JP2008286978A (en) Image forming apparatus
US10582072B2 (en) Information processing apparatus and non-transitory computer readable medium comprising a display screen including basic operator for execution of certain function
US20050174613A1 (en) Digital scanning systems and methods for scanning multi-sided cards and documents
US9483630B2 (en) Information processing apparatus, method of controlling the same and storage medium
US20100212025A1 (en) Information processing apparatus, and control method and storage medium thereof
JP5982738B2 (en) Image processing program, image processing apparatus, and storage medium
JP2017076327A (en) Information processing device, information processing method, and program
US20180084122A1 (en) Processing device, image forming apparatus, and non-transitory computer readable medium
JP7147580B2 (en) Information processing system, information processing device, parameter setting method and program
JP6263023B2 (en) Information processing apparatus, information processing method, and program
US20160188273A1 (en) Display/input device, image forming apparatus, and method for controlling a display/input device
JP2017174247A (en) Information processing device and program
US8959254B2 (en) Image forming apparatus and host computer capable of sharing terminology, method of sharing terminology and terminology sharing system

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20140318

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20141222

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20150203

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20150406

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20151110

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20160112

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: 20160705

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20160718

R151 Written notification of patent or utility model registration

Ref document number: 5982738

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R151