JP4783007B2 - Image reading system control method, image reading system, and program - Google Patents
Image reading system control method, image reading system, and program Download PDFInfo
- Publication number
- JP4783007B2 JP4783007B2 JP2004350208A JP2004350208A JP4783007B2 JP 4783007 B2 JP4783007 B2 JP 4783007B2 JP 2004350208 A JP2004350208 A JP 2004350208A JP 2004350208 A JP2004350208 A JP 2004350208A JP 4783007 B2 JP4783007 B2 JP 4783007B2
- Authority
- JP
- Japan
- Prior art keywords
- color
- dropout
- image data
- image reading
- designated
- 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
Links
Images
Landscapes
- Image Processing (AREA)
- Facsimile Image Signal Circuits (AREA)
- Color Image Communication Systems (AREA)
Description
本発明は、任意のドロップアウトカラーを設定可能な画像読取システムの制御方法、画像読取システム、及びプログラムに関する。 The present invention relates to an image reading system control method, an image reading system, and a program capable of setting an arbitrary dropout color.
近年、スキャナ或いはOCR(Optical Character Reader:光学的文字読取装置)等の画像読取装置においては、カラー原稿を読み取る際に、ある特定の色(ドロップアウトカラー)を読取画像データとして出力せず、それ以外の色を読み取るドロップアウト機能を備えた機種がある。画像読取装置のドロップアウト機能は、不要な文字または罫線等を読み取りたくない場合等によく用いられる。原稿上に読み取り不要な文字または罫線等をドロップアウトカラーで印刷または記入しておくと、画像読取部ではこれらの文字または罫線等を読み取らない。 In recent years, an image reading apparatus such as a scanner or an OCR (Optical Character Reader) does not output a specific color (dropout color) as read image data when reading a color document. Some models have a drop-out function that reads colors other than. The dropout function of the image reading apparatus is often used when it is not desired to read unnecessary characters or ruled lines. If characters or ruled lines that do not need to be read are printed or filled in a dropout color on the document, the image reading unit does not read these characters or ruled lines.
ところで、近年、複写機やプリンタの性能向上に伴い、原稿から読み取った画像を多種多様な色で印刷媒体上に印刷する場合が多くなってきている。それに伴い、原稿の画像読み取り時に、様々な色をドロップアウト(以後、中間色ドロップアウトと呼称する)させる画像読取装置も登場している。例えば、スキャンして得た画像データからドロップアウトしたい色を選択して、その選択した色をドロップアウトする方法が提案されている(例えば、特許文献1参照)。
しかし、原稿の印刷濃度にムラがあったり、原稿に汚れがある場合や原稿が変色したり褪色が生じている場合には、HSV(色相、彩度、明度)などの表示系でいうと、彩度S、明度Vが一致しなくなる。このため、該当する色の部分のすべてをドロップアウトさせることができず、不要な文字や罫線等が読み取られたり、逆に必要な文字や罫線等を読み取れなくなったりするという問題が発生する。 However, if the print density of the document is uneven, the document is dirty, or the document is discolored or faded, the display system such as HSV (hue, saturation, brightness) Saturation S and lightness V do not match. For this reason, all of the corresponding color portions cannot be dropped out, and there arises a problem that unnecessary characters and ruled lines can be read, or conversely, necessary characters and ruled lines cannot be read.
本発明の目的は、原稿の印刷濃度にムラがあったり、原稿に汚れがある場合や、原稿が変色したり褪色が生じたりしても、該当する色の部分のすべてを容易にドロップアウトすることを可能とし、特にグレースケール又はグレースケールに近いデータが誤ってドロップアウトされるのを防止することを可能とした画像読取システムの制御方法、画像読取システム、及びプログラムを提供することにある。 It is an object of the present invention to easily drop out all the portions of the corresponding color even if the printing density of the original is uneven, the original is dirty, or the original is discolored or faded. to allow a call, particularly to provide enable the image reading control method of the system to prevent the data close to gray scale or gray scale is dropout by mistake, an image reading system, and a program .
上述の目的を達成するために、本発明は、原稿画像に含まれる指定色を読取画像データとして出力しないドロップアウト機能を備えた画像読取システムの制御方法であって、彩度及び明度を指定せずに色相のみにマージンを持たせてドロップアウトカラーとして指定する指定ステップと、前記読取画像データがグレースケール又はグレースケールに近いデータであるか否かを判断する一方で、原稿から読み取られたRGB各成分の画像データがドロップアウトカラーか否かを画素ごとに判断する判断ステップと、前記指定ステップにおいて指定されたドロップアウトカラーを読取画像データからドロップアウトさせるに際して前記判断ステップによりドロップアウトカラーと判断されて指定された画素を特定の値に変換するドロップアウトステップと、を有し、前記ドロップアウトステップは、前記判断ステップの後に行うと共に、前記判断ステップで前記グレースケール又はグレースケールに近いデータと判断された前記読取画像データをドロップアウト対象としないことを特徴とする。 In order to achieve the above object, the present invention provides a control method of an image reading system having a dropout function that does not output a specified color included in a document image as read image data, and specifies saturation and brightness. A step of specifying a dropout color by giving a margin only to the hue, and determining whether the read image data is grayscale or data close to grayscale, while the RGB read from the document A determination step for determining whether or not the image data of each component is a dropout color for each pixel, and a determination that the dropout color specified in the specifying step is a dropout color by the determination step when dropping the dropout color specified in the specifying step from the read image data dropout scan converting the pixel specified is a specific value The dropout step is performed after the determination step, and the read image data determined to be the grayscale or data close to the grayscale in the determination step is not subject to dropout. It is characterized by.
本発明によれば、原稿の印刷濃度や、汚れ或いは変色や褪色が生じて彩度や明度が異なった原稿でも、不要な文字または罫線等が読み取られることを解消し、必要な文字または罫線等を読み取ることができるという効果がある。特に、ドロップアウトステップは、判断ステップの後に行うと共に、判断ステップでグレースケール又はグレースケールに近いデータと判断された読取画像データをドロップアウト対象としないため、グレースケール又はグレースケールに近いデータが誤ってドロップアウトされるのを防止することができるという効果がある。 According to the present invention, it is possible to eliminate reading of unnecessary characters or ruled lines or the like even if the document has different saturation or lightness due to print density, stain, discoloration or fading of the document, and necessary characters or ruled lines or the like. Can be read. In particular, since the dropout step is performed after the determination step and the read image data determined to be grayscale or near grayscale in the determination step is not targeted for dropout, data near grayscale or grayscale is erroneous. It is possible to prevent being dropped out.
以下、本発明の実施の形態を図面に基づき説明する。 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 showing a basic configuration of an image reading system including an image reading device and an external control device according to the first embodiment of the present invention.
図1において、画像読取装置は、CPU201、RAM202、ROM203、画像読取部204、画像記憶部205、データ転送部206、色情報記憶部207、判断部208、指定色ドロップアウト部209、画素データ変換部210を備えている。外部制御装置は、通信部211、色情報設定部212、アプリケーション213を備えている。
In FIG. 1, the image reading device includes a
まず、画像読取装置の各部について説明する。画像読取装置は、指定色を読み取らずそれ以外の色を読み取るドロップアウト機能を備えている。CPU201は、ROM203に格納されたプログラムに従って画像読取装置全体を制御する。RAM202は、CPU201の作業領域やデータの一時記憶領域として使用される。ROM203は、プログラムや固定データを格納する。画像読取部204は、白色光の光源及びカラーセンサから構成されており、光源の白色光を原稿に照射し、原稿からの反射光をカラーセンサで受光し、受光した反射光を電気信号(電圧)に光電変換することで、RGBの各成分のアナログの画像データを出力する画像読取動作を行う。画像読取部204については図2を参照して後述する。
First, each part of the image reading apparatus will be described. The image reading apparatus has a dropout function for reading a color other than the designated color. The
画像記憶部205は、画像読取部204により原稿から読み取られた画像データを記憶する。データ転送部206は、画像記憶部205に記憶された画像データ等を外部制御装置に転送する。色情報記憶部207は、外部制御装置の色情報設定部212により設定された色情報を記憶する。色情報は、色相とマージンとから構成されている。色情報については図5及び図6を参照して後述する。
The
判断部208は、色情報記憶部207に記憶された設定された色情報を基に、画像読取部204により原稿から読み取った画像データがドロップアウトカラーか否かを1画素ずつ判断し、画素データ変換部210に対して、変換する画素(設定された色情報を有する画素と、該画素に近接した所定範囲の色空間にある色情報を有する画素)を指示する。判断部208の判断方法については図7を参照して後述する。
Based on the set color information stored in the color
画素データ変換部210は、判断部208から変換するように指示された画素に対して、その画素の色情報のRGB各成分を特定の値(例えば0xff等)に変換する。例えば、色相H=0度をドロップアウトカラーに設定した場合、この色情報を有する画素に対しては、RGBデータを(255,255,255)に変換する。
The pixel
指定色ドロップアウト部209は、2値化回路から構成されており、外部制御装置の色情報設定部112により設定された色情報に基づく指定色をドロップアウトする処理を行う。指定色ドロップアウト部209については図3を参照して後述する。
The designated
次に、外部制御装置の各部について説明する。外部制御装置は、例えばパーソナルコンピュータ(PC)から構成されており、CPUがROM或いは外部記憶装置(以上不図示)に格納されたプログラムを実行することにより画像読取装置を制御する。通信部211は、画像読取装置のデータ転送部206とデータ通信を行う。色情報設定部212は、ドロップアウトしたい色を指定する。アプリケーション213は、画像データを読み取る際に使用する。
Next, each part of the external control device will be described. The external control device is composed of, for example, a personal computer (PC), and the CPU controls the image reading device by executing a program stored in a ROM or an external storage device (not shown). The
図2は、画像読取装置の画像読取部204の概略構成を示す構成図である。
FIG. 2 is a configuration diagram illustrating a schematic configuration of the
図2において、画像読取部204は、白色光の光源121とカラーセンサ123を備えている。光源121は、原稿台122上に載置された原稿に光を照射する。原稿の反射光はカラーセンサ123に入力される。カラーセンサ123は、原稿から受光した反射光を電気信号(電圧)に光電変換し、RGBの各成分のアナログの画像データを出力する。
In FIG. 2, the
図3は、画像読取装置の指定色ドロップアウト部209の構成を示すブロック図である。
FIG. 3 is a block diagram illustrating a configuration of the designated
図3において、指定色ドロップアウト部209は、2値化回路131と比較器132を備えている。2値化回路131は、画素データ変換部210により変換された画像データの各画素RGBデータ(24bit)を、公知の変換方法により輝度データ(8bit)に変換する。比較器132は、輝度データと予め設定されているスライスレベルとを比較し、比較結果に基づいて輝度データを白または黒に2値化することで、指定色をドロップアウトする処理を実現している。
In FIG. 3, the designated
外部制御装置において、CPUは、ROM或いは外部記憶装置(以上不図示)に格納されたプログラムに基づき図7のフローチャートに示す処理を実行する。アプリケーション213は、画像読取装置から取得した画像データや色情報設定ダイアログボックス(以下色情報設定ダイアログと略称する)を表示部(不図示)に表示する(図8参照)。
In the external control device, the CPU executes processing shown in the flowchart of FIG. 7 based on a program stored in a ROM or an external storage device (not shown). The
図8は、外部制御装置の表示部に表示される色情報設定ダイアログを示す図である。 FIG. 8 is a diagram showing a color information setting dialog displayed on the display unit of the external control device.
図8において、色情報設定ダイアログには、スタートボタン801、ドロップアウトボタン802、色情報設定ボタン803、色相設定領域804、マージン設定領域805が表示される。
In FIG. 8, a
スタートボタン801は、画像読取装置に原稿の読み取り開始を指示するためのボタンである。ドロップアウトボタン802は、指定色をドロップアウトするか否かを指示するためのボタンである。色情報設定ボタン803は、画像読取装置に対するドロップアウトカラー及びマージンの転送を指示するためのボタンである。色相設定領域804は、色相を設定するためのものである。マージン設定領域805は、後述のマージンを設定するためのものである。
A
次に、画像読取装置の色情報記憶部207に記憶された色情報について図4を基に説明する。
Next, color information stored in the color
図4(a)は画像読取装置の色情報記憶部207に記憶された色情報の色相とマージンを示す図、図4(b)はドロップアウトカラーと判断する領域を示す図である。本実施の形態では、色相Hは 0度から360度、0度が赤、120度が緑、240度が青とする。
FIG. 4A is a diagram showing the hue and margin of color information stored in the color
図4において、色情報の色相は、色相 H = 0度と設定されている。また、マージンは、Margin=5度と設定されている。マージンは、0度を中心に前後5度の範囲がドロップアウトカラーの対象になることを示すものである。 In FIG. 4, the hue of the color information is set as hue H = 0 degree. The margin is set to Margin = 5 degrees. The margin indicates that a range of 5 degrees around 0 degrees is a dropout color target.
つまり、色相Hが、Hmin=−5度、Hmax=5度の範囲にある画素データをドロップアウトカラーと判断していることになる。 That is, pixel data having a hue H in the range of Hmin = −5 degrees and Hmax = 5 degrees is determined as a dropout color.
また、彩度S、明度Vについては考慮していない。 Further, saturation S and brightness V are not taken into consideration.
即ち、マージンを用いて、かつ、彩度S、明度Vを考慮しないことで、ドロップアウトカラーを点ではなく色空間として判断することができる。マージンを用いず、彩度S、明度Vを限定した場合は、色空間ではなく色平面で示される点だけがドロップアウトカラーとして判断される。これに対して、マージンを用いて、彩度S、明度Vを限定しない場合は、色空間がドロップアウトカラーとして判断される(図5参照)。 That is, by using the margin and not considering the saturation S and the brightness V, the dropout color can be determined as a color space instead of a point. When the saturation S and lightness V are limited without using a margin, only the point indicated by the color plane, not the color space, is determined as the dropout color. On the other hand, when the saturation S and lightness V are not limited using the margin, the color space is determined as the dropout color (see FIG. 5).
図5(a)はドロップアウトカラーを3次元座標上の色平面として判断した場合を示す図、図5(b)はドロップアウトカラーを3次元座標上の色空間として判断した場合を示す図である。 FIG. 5A is a diagram illustrating a case where the dropout color is determined as a color plane on a three-dimensional coordinate, and FIG. 5B is a diagram illustrating a case where the dropout color is determined as a color space on a three-dimensional coordinate. is there.
図5において、(a)では、色相Hは0度、彩度SはS1<S<S2、明度VはV1<V<V2の範囲にある点A4、A5、A6、A7を頂点にした平面で示される点だけがドロップアウトカラーとして判断される。他方、(b)では、点B0、B1、B2、B3,、B4、B5を頂点にした色空間がドロップアウトカラーとして判断される。 In FIG. 5, in (a), the hue H is 0 degree, the saturation S is S1 <S <S2, and the lightness V is in the range of V1 <V <V2, with points A4, A5, A6, and A7 as vertices. Only the points indicated by are determined as dropout colors. On the other hand, in (b), a color space having points B0, B1, B2, B3, B4, and B5 as vertices is determined as a dropout color.
例えば、ドロップアウトカラーを色相H=0度で示される赤の平面点として設定した場合、原稿が汚れたり、褪色したりして、彩度Sや明度Vが一定していない赤っぽい点は、ドロップアウトカラーの対象にならない場合がある。 For example, if the dropout color is set as a red plane point indicated by hue H = 0 degrees, the original will be dirty or faded, and the reddish point where saturation S and brightness V are not constant , It may not be eligible for dropout color.
これに対して、例えばマージンを用いたり、彩度S、明度Vを考慮しなければ、色相H=0の赤い点として設定されたドロップアウトカラーは、色空間として判断され、汚れたり、褪色して変色した赤っぽい点は、ドロップアウトカラーの色空間内に入るためドロップアウトされる。ただし、彩度S、明度Vを考慮しないとあるが、まったく考慮しないと、グレースケール、またはグレースケールに近い画像データまで、ドロップアウトカラーと判断してしまうので、グレースケール、またはグレースケールに近いデータに関しては、ドロップアウトカラーの対象にしていない。その判断は後述する。 On the other hand, for example, if a margin is not used, or if saturation S and lightness V are not taken into account, the dropout color set as a red point with a hue H = 0 is judged as a color space and becomes dirty or faded. The reddish point that has changed color is dropped out because it falls within the color space of the dropout color. However, although saturation S and lightness V are not considered, if not considered at all, even grayscale or image data close to grayscale is judged as dropout color, so it is close to grayscale or grayscale. Data is not subject to dropout color. The determination will be described later.
次に、画像読取装置の判断部208により原稿の読取画像がドロップアウトカラーか否かを判断する判断方法について図6を基に説明する。
Next, a determination method in which the
図6は、画像読取装置の判断部208の構成を示すブロック図である。
FIG. 6 is a block diagram illustrating a configuration of the
図6において、図1の判断部208は、比較器Gray221、変換器222、比較器H223、AND回路224を備えている。比較器Gray221には、画像データRin、Gin、Binが入力される。比較器Gray211は、入力された画像データがGrayであるか否かを判断して、Grayと判断したとき出力が0になる。判断基準は、入力データRin、Gin、Binのそれぞれの値がほぼ等しくなるときである(例えば、8bitデータ中上位6bitが等しい場合など)。
6, the
変換器222は、画像データRin、Gin、Binを、公知の変換方法により、色相Hに変換する。色情報記憶部207に記憶された色情報の値を基に計算されたHmin、Hmaxと、変換器222から出力される色相Hinが入力される。比較器H223は、Hmin≦Hin≦Hmaxを満たすと出力は1になる。比較器Gray221と比較器H223のそれぞれの出力がAND回路224に入力されている。AND回路224への全ての入力が1のときに出力が1となり、当該画像がドロップアウトカラーであると判断される。
The
次に、上記構成を有する本実施の形態の外部制御装置及び画像読取装置の動作について図7、図11を参照しながら説明する。 Next, operations of the external control apparatus and the image reading apparatus of the present embodiment having the above-described configuration will be described with reference to FIGS.
図7は、外部制御装置の動作を示すフローチャートである。 FIG. 7 is a flowchart showing the operation of the external control device.
図7において、まず、ユーザが外部制御装置の操作部により所定操作を行うことでアプリケーション213を起動する。アプリケーション213の起動に伴い、外部制御装置の表示部(不図示)には、画像読取装置の読取動作開始を指示するためのスタートボタンを有するダイアログが表示される。ユーザがスタートボタンを押下して読取動作開始とともにドロップアウトすることを指示すると(ステップS1、ステップS2でともにYES)、外部制御装置は通信部211により画像読取装置のデータ転送部206に読取開始指示情報とドロップアウト指示情報と色情報を送信する(ステップS3)。
In FIG. 7, first, the user activates the
読取動作を開始する前に、あらかじめ、アプリケーション213が表示部に表示する色情報設定ダイアログで、色相設定とマージン設定をしておく。
Before starting the reading operation, the hue setting and the margin setting are performed in advance in the color information setting dialog displayed on the display unit by the
あらかじめ設定しておいた上記色情報が記憶された後、画像読取装置は原稿の読取を開始する(ステップS4)。 After the previously set color information is stored, the image reading apparatus starts reading a document (step S4).
図11は、画像読取装置の動作を示すフローチャートである。 FIG. 11 is a flowchart showing the operation of the image reading apparatus.
図11において、画像読取装置のCPU201は外部制御装置から転送された色情報を色情報記憶部207に格納すると共に、外部制御装置からの読取開始指示に基づき画像読取部204により原稿の読取動作を開始する(ステップS21)。次に、判断部208により原稿から読み取った画像データに対して1画素ごとにドロップアウトカラーか否かを判断し(ステップS22)、画素データ変換部210により上述した変換方法に従って画素データを変換する(ステップS23)。その後、指定色ドロップアウト部209により画像データにドロップアウト処理を行った後(ステップS24)、画像記憶部205に画像データを記憶すると共に、データ転送部206により外部制御装置に画像データを転送する(ステップS25)。
In FIG. 11, the
図7に戻り、外部制御装置は通信部211により転送された画像データを取得し(ステップS5)、アプリケーション213により表示部に取得した画像データを表示する(ステップS6)。次の読取対象原稿がない場合は(ステップS7でYES)、本処理を終了する。次の読取対象原稿がある場合は(ステップS7でNO)、上記ステップS5以降の動作を読取対象原稿がなくなるまで繰り返す。 Returning to FIG. 7, the external control device acquires the image data transferred by the communication unit 211 (step S5), and displays the acquired image data on the display unit by the application 213 (step S6). If there is no next document to be read (YES in step S7), the process ends. If there is a next document to be read (NO in step S7), the operations after step S5 are repeated until there is no document to be read.
以上説明したように、本実施の形態によれば、ドロップアウトカラーに色相Hと、マージンを用い、また、彩度S、明度Vを考慮しないようにしたため、ドロップアウトカラーを点ではなく色空間として設定するので、原稿の印刷濃度にムラがあったり、汚れ或いは変色や褪色が生じて、彩度S、明度Vが多少異なった原稿でも、不要な文字または罫線等が読み取られることを解消し、必要な文字または罫線等を読み取ることができるという効果がある。 As described above, according to the present embodiment, the hue H and the margin are used for the dropout color, and the saturation S and the lightness V are not considered, so the dropout color is not a point but a color space. This eliminates the possibility of reading unnecessary characters or ruled lines even in originals with slightly different saturation S and lightness V due to unevenness in the print density of the original, smudges, discoloration, or fading. There is an effect that necessary characters or ruled lines can be read.
[第2の実施の形態]
図9は、本発明の第2の実施の形態に係る画像読取装置及び外部制御装置からなる画像読取システムの構成を示すブロック図である。
[Second Embodiment]
FIG. 9 is a block diagram showing a configuration of an image reading system including an image reading device and an external control device according to the second embodiment of the present invention.
図9において、画像読取装置は、CPU301、RAM302、ROM303、画像読取部304、画像記憶部305、データ転送部306、色情報記憶部307、指定色色変換部308、指定色ドロップアウト部309を備えている。外部制御装置は、通信部311、色情報設定部312、アプリケーション313を備えている。
In FIG. 9, the image reading apparatus includes a
本実施の形態は、上述した第1の実施の形態に対して、画像読取装置に判断部208及び画素データ変換部210を設ける代わりに指定色色変換部308を設けた点において相違する。本実施の形態のその他の要素は、上述した第1の実施の形態(図1)の対応するものと同一なので、説明を省略する。
This embodiment is different from the above-described first embodiment in that a designated
画像読取装置のCPU301は、ROM303に格納されたプログラムに基づき図15のフローチャートに示す処理を実行する。指定色色変換部308は、色情報記憶部307に記憶されている色情報を基にして得られる指定色を、公知のガンマテーブルのような、データを変換するための変換テーブル(以下ルックアップテーブル:LUT)を参照することにより、指定色以外の色に変換する。即ち、指定色色変換部308は、外部制御装置の色情報設定部312により設定された色情報を有する画素と、該画素に近接した所定範囲の色空間にある色情報を有する画素を、指定色以外の色に変換する。ここで、指定色色変換部308における色変換方法について図10を例に挙げて説明する。
The
図10(a)は画像読取装置の指定色色変換部308の構成を示すブロック図、図10(b)は1画素の色情報を示す図、図10(c)はLUTを示す図である。
10A is a block diagram showing a configuration of the designated
図10において、指定色色変換部308は、入力される画素の色情報をR、G、BからR'、G'、B'に変換する変換回路321を備えている。
In FIG. 10, the designated
説明を簡単にするために、例えば1画素をRGB3bitカラーで表すことにする。1画素をRGB3bitカラーで表すと、1画素の色情報は、図10(b)に示すように立方体の各頂点D0〜D7の8通りになる。例えばドロップアウトの指定色をD1に設定したとすると、LUTは、図10(c)に示すようにD1のG成分とB成分だけが0から1に変換され(図示の斜線部分)、残りはそのままのデータとなるようなLUTになる。 In order to simplify the description, for example, one pixel is represented by RGB 3-bit color. When one pixel is expressed by RGB 3-bit color, the color information of one pixel becomes eight types of vertices D0 to D7 of the cube as shown in FIG. For example, if the specified dropout color is set to D1, only the G component and B component of D1 are converted from 0 to 1 as shown in FIG. The LUT becomes the data as it is.
指定色色変換部308は、図10(a)に示すように入力される画素の色情報を上記LUTを参照して変換する(R、G、B→R'、G'、B')。従って、指定色色変換部308は、D1以外の色情報を有する画素に対しては全く色変換を行わずに、ドロップアウトの指定色であるD1の色情報を有する画素だけを色変換する。つまり、指定色色変換部308で参照するLUTを作成することによって、任意の中間色ドロップアウトが可能になる。
The designated
例えば1画素24bitカラーの場合を考えてみる。色情報記憶部307に、色情報のドロップアウトカラーが色相H=0度、マージンMargin=5度と記憶されていたとする。マージンは、上述したように、ドロップアウトカラーを点から色空間にする意味がある。この例で言うと、ドロップアウトカラーの対象になるのは、色相Hが、−5度から+5度までの色空間になる(図5(b)参照)。従って、LUTは、色相Hが−5度から+5度までの色空間にある色情報を有する画素に対して色情報を変換するようなLUTになる。
For example, consider the case of one
LUT作成に関しては、画像読取装置の指定色色変換部308で色変換処理を行う前にCPU301でLUT作成を行うか、或いは、外部制御装置側でLUT作成を行ってから画像読取装置にLUTを転送するようにしてもよい。
Regarding the LUT creation, the
次に、上記構成を有する本実施の形態の外部制御装置及び画像読取装置の動作について図7及び図12を参照しながら説明する。尚、上述した第1の実施の形態と共通する個所は説明を簡略化または省略する。 Next, operations of the external control apparatus and the image reading apparatus of the present embodiment having the above-described configuration will be described with reference to FIGS. Note that description of parts common to the above-described first embodiment is simplified or omitted.
図7において、ユーザが外部制御装置でスタートボタンを押下すると(ステップS1でYES)、外部制御装置から画像読取装置への読取開始指示情報の送信に伴い、画像読取装置は原稿の読取動作を開始する。ユーザがドロップアウトを指示すると(ステップS2でYES)、外部制御装置は画像読取装置にドロップアウトするべき色情報を送信する(ステップS3)。その後、読取開始指示をする(ステップS4)。 In FIG. 7, when the user presses the start button on the external control device (YES in step S <b> 1), the image reading device starts the reading operation of the document along with the transmission of the reading start instruction information from the external control device to the image reading device. To do. When the user instructs dropout (YES in step S2), the external control device transmits color information to be dropped out to the image reading device (step S3). Thereafter, a reading start instruction is given (step S4).
図12は、画像読取装置の動作を示すフローチャートである。 FIG. 12 is a flowchart showing the operation of the image reading apparatus.
図12において、画像読取装置のCPU301は外部制御装置から転送された色情報を色情報記憶部307に格納すると共に、外部制御装置からの読取開始指示に基づき画像読取部304により原稿の読取動作を開始する(ステップS31)。次に、原稿から読み取った画像データを指定色色変換部308により上述した変換方法によって色変換する(ステップS32)。その後、指定色ドロップアウト部309により画像データにドロップアウト処理を行った後(ステップS33)、画像記憶部305に画像データを記憶すると共に、データ転送部306により外部制御装置に画像データを転送する(ステップS34)。
In FIG. 12, the
図7に戻り、外部制御装置は画像読取装置から画像データを取得し(ステップS5)、画像データを表示する(ステップS6)。次の読取対象原稿がない場合は(ステップS7でYES)、本処理を終了する。次の読取対象原稿がある場合は(ステップS7でNO)、上記ステップS5以降の動作を読取対象原稿がなくなるまで繰り返す。 Returning to FIG. 7, the external control device acquires image data from the image reading device (step S5), and displays the image data (step S6). If there is no next document to be read (YES in step S7), the process ends. If there is a next document to be read (NO in step S7), the operations after step S5 are repeated until there is no document to be read.
以上説明したように、本実施の形態によれば、指定色色変換部308により、ドロップアウトの指定色以外の色情報を有する画素に対しては全く色変換を行わずに、ドロップアウトの指定色の色情報を有する画素だけを色変換するので、任意の中間色ドロップアウトが可能になるという効果がある。
As described above, according to the present embodiment, the designated
[他の実施の形態]
上記第1及び第2の実施の形態では、選択した画素の色情報を設定する色情報設定部を外部制御装置に設ける構成としたが、これに限定されるものではなく、色情報設定部を画像読取装置に設ける構成としてもよい。
[Other embodiments]
In the first and second embodiments, the color information setting unit for setting the color information of the selected pixel is provided in the external control device. However, the present invention is not limited to this, and the color information setting unit is not limited to this. A configuration may be provided in the image reading apparatus.
上記第1及び第2の実施の形態では、原稿の読取画像の色がドロップアウトカラーか否かを判断する判断部、変換対象画素の色情報の成分を変換する画素データ変換部、指定色を指定色以外の色に変換する指定色色変換部を画像読取装置に設ける構成としたが、これに限定されるものではなく、判断部、画素データ変換部、指定色色変換部を画像読取装置に設ける構成としてもよい。 In the first and second embodiments, a determination unit that determines whether the color of a read image of a document is a dropout color, a pixel data conversion unit that converts a color information component of a conversion target pixel, and a designated color Although the image reading apparatus is provided with the designated color conversion unit for converting to a color other than the designated color, the present invention is not limited to this, and the determination unit, the pixel data conversion unit, and the designated color conversion unit are provided in the image reading apparatus. It is good also as a structure.
上記第1及び第2の実施の形態では、ドロップアウトカラーを1色だけ設定した例を挙げたが、これに限定されるものではなく、ドロップアウトカラーを複数色設定しても構わない。 In the first and second embodiments, an example in which only one dropout color is set has been described. However, the present invention is not limited to this, and a plurality of dropout colors may be set.
上記第1及び第2の実施の形態では、色情報設定部において選択画素の色情報を色相Hで設定した例を挙げたが、これに限定されるものではなく、HSV成分以外で設定しても構わない。 In the first and second embodiments, the example in which the color information setting unit sets the color information of the selected pixel with the hue H is described. However, the present invention is not limited to this. It doesn't matter.
上記第1及び第2の実施の形態では、画像読取装置の適用形態については言及しなかったが、特定のものへの適用に限定されるものではなく、イメージスキャナ、OCR等の各種形態に適用することができる。 In the first and second embodiments, the application form of the image reading apparatus is not mentioned, but the application is not limited to a specific application, and is applied to various forms such as an image scanner and an OCR. can do.
上記第1及び第2の実施の形態では、画像読取装置について説明したが、画像読取装置のみへの適用に限定されるものではなく、本発明の画像読取装置の機能を備えた各種の画像処理装置(複写機、複合機、ファクシミリ等)に適用することができる。 In the first and second embodiments, the image reading apparatus has been described. However, the image reading apparatus is not limited to the application to only the image reading apparatus, and various image processing having the function of the image reading apparatus of the present invention. The present invention can be applied to apparatuses (copiers, multifunction machines, facsimile machines, etc.).
また、本発明の目的は、実施形態の機能を実現するソフトウェアのプログラムコードを記録した記憶媒体を、システム或いは装置に供給し、そのシステム或いは装置のコンピュータ(またはCPUやMPU等)が記憶媒体に格納されたプログラムコードを読み出して実行することによっても達成される。 In addition, an object of the present invention is to supply a storage medium storing software program codes for realizing the functions of the embodiments to a system or apparatus, and a computer (or CPU, MPU, etc.) of the system or apparatus as a storage medium. This can also be achieved by reading and executing the stored program 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等を用いることができる。または、プログラムコードをネットワークを介してダウンロードしてもよい。 Examples of the storage medium for supplying the program code include a floppy (registered trademark) disk, a hard disk, a magneto-optical disk, a CD-ROM, a CD-R, a CD-RW, a DVD-ROM, a DVD-RAM, and a DVD. -RW, DVD + RW, magnetic tape, nonvolatile memory card, ROM, etc. can be used. Alternatively, the program code may be downloaded via a network.
また、コンピュータが読み出したプログラムコードを実行することにより、上記実施の形態の機能が実現されるだけでなく、そのプログラムコードの指示に基づき、コンピュータ上で稼動しているOS(オペレーティングシステム)等が実際の処理の一部または全部を行い、その処理によって前述した実施形態の機能が実現される場合も含まれる。 Further, by executing the program code read by the computer, not only the functions of the above-described embodiments are realized, but also an OS (operating system) running on the computer based on the instruction of the program code. A case where part or all of the actual processing is performed and the functions of the above-described embodiments are realized by the processing is also included.
更に、記憶媒体から読み出されたプログラムコードが、コンピュータに挿入された機能拡張ボードやコンピュータに接続された機能拡張ユニットに備わるメモリに書き込まれた後、そのプログラムコードの指示に基づき、その機能拡張ボードや機能拡張ユニットに備わるCPU等が実際の処理の一部または全部を行い、その処理によって前述した実施形態の機能が実現される場合も含まれる。 Further, after 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, the function expansion is performed based on the instruction of the program code. This includes the case where the CPU or the like provided in the board or function expansion unit performs part or all of the actual processing, and the functions of the above-described embodiments are realized by the processing.
204、304 画像読取部
207、307 色情報記憶部
208 判断部
209、309 指定色ドロップアウト部
210 画素データ変換部
212、312 色情報設定部
213、313 アプリケーション
308 指定色色変換部
204, 304
Claims (9)
彩度及び明度を指定せずに色相のみにマージンを持たせてドロップアウトカラーとして指定する指定ステップと、
前記読取画像データがグレースケール又はグレースケールに近いデータであるか否かを判断する一方で、原稿から読み取られたRGB各成分の画像データがドロップアウトカラーか否かを画素ごとに判断する判断ステップと、
前記指定ステップにおいて指定されたドロップアウトカラーを読取画像データからドロップアウトさせるに際して前記判断ステップによりドロップアウトカラーと判断されて指定された画素を特定の値に変換するドロップアウトステップと、
を有し、
前記ドロップアウトステップは、前記判断ステップの後に行うと共に、前記判断ステップで前記グレースケール又はグレースケールに近いデータと判断された前記読取画像データをドロップアウト対象としないことを特徴とする制御方法。 A control method of an image reading system having a dropout function that does not output a specified color included in a document image as read image data,
A specification step for specifying a dropout color with a margin only for the hue without specifying saturation and lightness ; and
A determination step for determining, for each pixel, whether or not the read image data is grayscale or data close to grayscale, and whether or not the image data of each RGB component read from the document is a dropout color When,
A dropout step of converting a designated pixel into a specific value determined as a dropout color by the determination step when the dropout color designated in the designation step is dropped out from read image data;
Have
The control method is characterized in that the dropout step is performed after the determination step, and the read image data determined to be the gray scale or data close to the gray scale in the determination step is not a dropout target.
前記判断ステップでは、入力された前記読取画像データのRin、Gin、Binのそれぞれの値がほぼ等しくなるときに、当該読取画像データを前記グレースケール又はグレースケールに近いデータと判断することを特徴とする請求項1記載の制御方法。 The read image data includes image data of RGB components,
In the determining step, when the values of Rin, Gin, and Bin of the input read image data are substantially equal, the read image data is determined to be the gray scale or data close to gray scale. The control method according to claim 1.
彩度及び明度を指定せずに色相のみにマージンを持たせてドロップアウトカラーとして指定し、指定されたドロップアウトカラーを読取画像データからドロップアウトさせる前に、前記読取画像データがグレースケール又はグレースケールに近いデータであるか否かを判断すると共に原稿から読み取られたRGB各成分の画像データがドロップアウトカラーか否かを画素ごとに判断し、前記ドロップアウトするにあたり、前記グレースケール又はグレースケールに近いデータと判断された前記読取画像データをドロップアウト対象とせず、ドロップアウトカラーと判断されて指定された画素を特定の値に変換することを特徴とする画像読取システム。 An image reading system having a dropout function that does not output a specified color included in a document image as read image data,
Without specifying saturation and lightness, only the hue is given a margin as a dropout color, and before the specified dropout color is dropped out of the read image data, the read image data is grayscale or grayscale. It is determined whether or not the data is close to the scale, and whether or not the image data of each RGB component read from the document is a dropout color is determined for each pixel, and when the dropout is performed, the grayscale or grayscale An image reading system characterized in that the read image data determined to be close to is not subject to dropout , and a pixel determined to be dropout color is converted into a specific value .
前記読取画像データのRin、Gin、Binのそれぞれの値がほぼ等しくなるときに、当該読取画像データを前記グレースケール又はグレースケールに近いデータと判断することを特徴とする請求項5記載の画像読取システム。 The read image data includes image data of RGB components,
6. The image reading according to claim 5 , wherein when the values of Rin, Gin, and Bin of the read image data are substantially equal, the read image data is determined as the gray scale or data close to gray scale. system.
原稿から読み取られたRGB各成分の画像データが、彩度及び明度を指定せずに色相のみにマージンを持たせて指定されたドロップアウトカラーか否かを画素ごとに判断する一方で、前記読取画像データがグレースケール、又はグレースケールに近いデータであるか否かを判断した後に、前記グレースケール又はグレースケールに近いデータと判断された前記読取画像データをドロップアウト対象とせず、色相にマージンを持たせて指定されたドロップアウトカラーを読取画像データからドロップアウトさせるに際してドロップアウトカラーと判断されて指定された画素を特定の値に変換するモジュールを備えたことを特徴とするプログラム。 A readable program on a computer for executing a control method for an image reading system having a drop-out function does not output the specified color contained in the original image as read image data to the computer,
While determining whether or not the image data of each RGB component read from the document is a dropout color designated with a margin only in hue without designating saturation and lightness, After determining whether or not the image data is grayscale or data close to grayscale, the read image data determined to be the grayscale or data close to grayscale is not subject to dropout, and a margin is added to the hue. What is claimed is: 1. A program comprising: a module for converting a designated pixel determined to be a dropout color into a specific value when dropping the designated dropout color from read image data.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2004350208A JP4783007B2 (en) | 2004-12-02 | 2004-12-02 | Image reading system control method, image reading system, and program |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2004350208A JP4783007B2 (en) | 2004-12-02 | 2004-12-02 | Image reading system control method, image reading system, and program |
Related Child Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2011140671A Division JP5138795B2 (en) | 2011-06-24 | 2011-06-24 | Image reading system control method, image reading system, and program |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2006165685A JP2006165685A (en) | 2006-06-22 |
JP4783007B2 true JP4783007B2 (en) | 2011-09-28 |
Family
ID=36667237
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2004350208A Active JP4783007B2 (en) | 2004-12-02 | 2004-12-02 | Image reading system control method, image reading system, and program |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP4783007B2 (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US11368607B2 (en) | 2018-05-21 | 2022-06-21 | Fujifilm Business Innovation Corp. | Information processing apparatus and non-transitory computer readable medium storing program for image color conversion |
US11399119B2 (en) | 2018-05-23 | 2022-07-26 | Fujifilm Business Innovation Corp. | Information processing apparatus and non-transitory computer readable medium storing program for color conversion |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP7159744B2 (en) * | 2018-09-25 | 2022-10-25 | 富士フイルムビジネスイノベーション株式会社 | Image processing device, image reading device and program |
JP7500513B2 (en) | 2021-08-31 | 2024-06-17 | キヤノン株式会社 | Apparatus and method for inspecting printed matter |
Family Cites Families (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH04253473A (en) * | 1991-01-29 | 1992-09-09 | Toshiba Corp | Picture reader |
JPH04273663A (en) * | 1991-02-28 | 1992-09-29 | Toshiba Corp | Picture reader |
JPH11272864A (en) * | 1998-03-20 | 1999-10-08 | Hitachi Ltd | Optical character read method or its device |
-
2004
- 2004-12-02 JP JP2004350208A patent/JP4783007B2/en active Active
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US11368607B2 (en) | 2018-05-21 | 2022-06-21 | Fujifilm Business Innovation Corp. | Information processing apparatus and non-transitory computer readable medium storing program for image color conversion |
US11399119B2 (en) | 2018-05-23 | 2022-07-26 | Fujifilm Business Innovation Corp. | Information processing apparatus and non-transitory computer readable medium storing program for color conversion |
Also Published As
Publication number | Publication date |
---|---|
JP2006165685A (en) | 2006-06-22 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP4878572B2 (en) | Image processing apparatus and image processing method | |
US10373030B2 (en) | Image processing apparatus that executes halftone process on target image data including edge pixel | |
JP2008149685A (en) | Image processing device, image forming device, image processing program, and image processing method | |
CN112954131B (en) | Information processing apparatus, image processing system, and information processing method | |
JP2007097171A (en) | Image forming apparatus and subtractive color printing method | |
US11636294B2 (en) | Image forming apparatus, control method thereof, and storage medium | |
JP3826931B2 (en) | Color image processing device | |
JP4315176B2 (en) | Printing apparatus, printing method, and printing program | |
JP4783007B2 (en) | Image reading system control method, image reading system, and program | |
JP4903851B2 (en) | Image processing apparatus, image forming apparatus, image processing method, image processing program, and recording medium | |
JP5138795B2 (en) | Image reading system control method, image reading system, and program | |
JP5020777B2 (en) | Image processing apparatus, image processing method, and program | |
JP4141923B2 (en) | Color image processing device | |
JP2009005159A (en) | Image processor | |
JP2004240992A (en) | Output image adjustment of image file | |
JP2009005068A (en) | Image processing apparatus and image processing method | |
JPH09270925A (en) | Picture processor and picture processing method | |
JP2008067134A (en) | Image processor, printer, image processing method, and image processing program | |
JP4990340B2 (en) | Image processing apparatus, image forming apparatus, image processing method, image processing program, and recording medium | |
JP7135575B2 (en) | Image processing device, image reading device and program | |
JP2021006937A (en) | Image processing equipment, image processing method and program | |
JP3559746B2 (en) | Image processing apparatus, image processing method, and storage medium | |
JP2023091633A (en) | Image processing device, image processing method, and program | |
JP2006081123A (en) | Image information apparatus and image transfer method | |
JP2021197717A (en) | Image processing device and computer program |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
RD03 | Notification of appointment of power of attorney |
Free format text: JAPANESE INTERMEDIATE CODE: A7423 Effective date: 20060419 |
|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20071121 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20090409 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20090421 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20090616 |
|
A02 | Decision of refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A02 Effective date: 20091020 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20100118 |
|
A911 | Transfer to examiner for re-examination before appeal (zenchi) |
Free format text: JAPANESE INTERMEDIATE CODE: A911 Effective date: 20100128 |
|
A912 | Re-examination (zenchi) completed and case transferred to appeal board |
Free format text: JAPANESE INTERMEDIATE CODE: A912 Effective date: 20100409 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20110608 |
|
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: 20110708 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20140715 Year of fee payment: 3 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 4783007 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |