JPH11272864A - Optical character reading method and device - Google Patents
Optical character reading method and deviceInfo
- Publication number
- JPH11272864A JPH11272864A JP10072187A JP7218798A JPH11272864A JP H11272864 A JPH11272864 A JP H11272864A JP 10072187 A JP10072187 A JP 10072187A JP 7218798 A JP7218798 A JP 7218798A JP H11272864 A JPH11272864 A JP H11272864A
- Authority
- JP
- Japan
- Prior art keywords
- image
- hsv
- conversion
- color
- signal
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Landscapes
- Color Image Communication Systems (AREA)
- Image Analysis (AREA)
- Character Input (AREA)
- Image Processing (AREA)
- Facsimile Image Signal Circuits (AREA)
Abstract
(57)【要約】
【課題】 複数の色で記入された帳票から、物理的にフ
ィルタを交換することなく、色で区別した読みとりの目
的別の2値画像を得ること。
【解決手段】 帳票(1)のイメージ情報を読み取って
RGB信号に変換(2)し、前記RGB信号を演算処理
して色相(H)、彩度(S)及び輝度(V)に関する信
号(HSV信号)に変換(3)し、前記HSV信号をそ
れぞれの変換関数テーブルを有する複数系統のHSVー
濃度変換手段(4)に入力してそれぞれの濃度信号に変
換(4)し、前記それぞれの濃度信号を2値化して複数
系統の2値画像に変換(5)し、各系統毎に、ドロップ
アウトカラーの除去による文字認識用画像、特定色の抽
出画像等の読み取り目的の異なるそれぞれの2値画像を
得ること。
(57) [Summary] [Problem] To obtain a binary image for each purpose of reading, distinguished by color, from a form filled in with a plurality of colors without physically exchanging filters. SOLUTION: The image information of a form (1) is read and converted into an RGB signal (2), and the RGB signal is subjected to arithmetic processing to obtain a signal (HSV) relating to hue (H), saturation (S) and luminance (V). Signal), and the HSV signals are input to a plurality of HSV-density conversion means (4) having respective conversion function tables, and converted into respective density signals (4). The signal is binarized and converted into binary images of a plurality of systems (5), and for each system, a binary image having a different reading purpose such as a character recognition image by removing a dropout color, an extracted image of a specific color, etc. Getting images.
Description
【0001】[0001]
【発明の属する技術分野】本発明は光学文字読取装置に
関し、特に文字、背景、文字記入枠および注意書きなど
が、異なる2種類以上の色で記入されている帳票から、
必要な画情報を選択的に読取る機能を備えた光学文字読
取装置に関する。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an optical character reading apparatus, and more particularly, to a form in which characters, backgrounds, character entry frames, notes, etc. are entered in two or more different colors.
The present invention relates to an optical character reader having a function of selectively reading necessary image information.
【0002】[0002]
【従来の技術】光学文字読取装置では、読み取り対象と
なる帳票として文字記入枠をドロップアウトカラーで印
刷した帳票が使用される。ドロップアウトカラーとは人
間の目でははっきり区別できるが、光学文字読取装置の
センサには、背景の色と区別がつかない色相と濃さを持
つ色である。2. Description of the Related Art In an optical character reading apparatus, a form in which a character entry frame is printed in a dropout color is used as a form to be read. The dropout color can be clearly distinguished by human eyes, but is a color having a hue and a density that cannot be distinguished from the background color by the sensor of the optical character reader.
【0003】ドロップアウトカラーで文字記入枠が記入
されている帳票に対して、鉛筆、ボールペンまたはプリ
ンタで文字を記入すれば、光学文字読取装置で読み取っ
たときに、文字記入枠は消え、読み取るべき文字のみの
画情報を抽出でき、高精度の文字認識が可能になる。こ
こにおいて、文字記入枠というのは、文字通りの枠自体
のみならず、枠内が色付けされたものまたは予め記入さ
れた8の字も含む。[0003] If characters are written on a form in which a character entry frame is entered with a dropout color using a pencil, a ballpoint pen, or a printer, the character entry frame disappears when read by an optical character reader, and should be read. Image information of only characters can be extracted, and highly accurate character recognition becomes possible. Here, the character entry frame includes not only the literal frame itself, but also the one with the inside of the frame colored or the eight characters previously entered.
【0004】従来の光学文字読取装置では、このドロッ
プアウトカラーを実現するために、ドロップアウトカラ
ーと筆記用具(鉛筆またはボールペン)に特性を合わせ
た光学フィルタが使用されていた。この方法では、ドロ
ップアウトカラーの色系(赤系、青系)によって、フィ
ルタを交換しなければならないという問題点があった。
また、広い範囲のドロップアウトカラーに対応させよう
とすると、その濃度を薄くする必要があり、文字記入枠
やドロップアウトカラーで書かれた注意書きが見えにく
くなるという問題点があった。In the conventional optical character reading apparatus, in order to realize the dropout color, an optical filter having characteristics adapted to the dropout color and a writing implement (pencil or ballpoint pen) has been used. In this method, there is a problem that the filter has to be replaced depending on the color system of the dropout color (red system, blue system).
In addition, in order to correspond to a wide range of dropout colors, it is necessary to reduce the density, and there is a problem that a character entry frame and a note written in the dropout color become difficult to see.
【0005】これは、光学的なフィルタは単に特定波長
の透過率が異なるだけの特性を持つことに起因する。す
なわち、元々暗い色はフィルタを通って明るくなること
はない。[0005] This is because the optical filter has a characteristic that the transmittance of a specific wavelength is merely different. That is, the originally dark color does not lighten through the filter.
【0006】また、一部の光学文字読取装置は、文字認
識用のドロップアウトした画情報とは別に、画面に表示
して確認する用途や帳票イメージの保存などの用途に、
文字記入枠をドロップアウトせずにそのまま取込んだ画
情報も同時に読み込む機能を備えている。Some optical character reading devices are used for displaying on a screen and confirming them separately from image information dropped out for character recognition, and for saving a form image.
It has a function to simultaneously read image information captured without dropping out the character entry frame.
【0007】従来の光学文字読取装置では、このように
目的に応じた複数の画情報を同時に取り込むために、複
数の光学系を備えて、それぞれの光学系で使用するフィ
ルタを切り替えていた。このような装置では複数の光学
系を備えていたため装置が大きくなるという問題点があ
った。In the conventional optical character reading apparatus, in order to simultaneously capture a plurality of pieces of image information according to the purpose, a plurality of optical systems are provided, and a filter used in each optical system is switched. Such a device has a problem that the device becomes large because it has a plurality of optical systems.
【0008】また、帳票の画情報をカラー画像として取
り込み、画像の色情報を元にドロップアウト処理を行う
ものもある。その一例として、特開平2ー67689号
公報を挙げる。図3は前記公報記載の技術の原理ブロッ
ク図である。前記公報に記載された画像信号処理装置で
は、帳票1を3色の画像信号として読み取り、画情報変
換手段2により、色相、彩度、輝度の各情報に変換す
る。[0008] In some cases, image information of a form is fetched as a color image, and a dropout process is performed based on the color information of the image. As one example, JP-A-2-67689 is cited. FIG. 3 is a principle block diagram of the technology described in the above-mentioned publication. In the image signal processing device described in the above publication, the form 1 is read as a three-color image signal, and is converted by the image information conversion means 2 into hue, saturation, and luminance information.
【0009】ここで、色相(Hue)、彩度(Satu
ration)、輝度(Value)は、HSV表色系
での表現である。図1はHSV表色系を図示したもので
ある。彩度Sは色の鮮やかさを表し、0では無彩色、大
きくなるほど鮮やかな色(有彩色)、最大値では純色を
表す。色相Hは色合いを表す。本明細書では色相の範囲
は0度から360度の範囲とし、0度が赤、120度が
緑、240度が青を表すものとする。また、輝度Vは明
るさを示す。Here, hue (Hue) and saturation (Satu)
ratio) and luminance (Value) are expressed in the HSV color system. FIG. 1 illustrates the HSV color system. The saturation S indicates the vividness of the color. A value of 0 indicates an achromatic color, a larger value indicates a more vivid color (chromatic color), and a maximum value indicates a pure color. Hue H represents hue. In the present specification, the hue range is from 0 to 360 degrees, where 0 degrees represents red, 120 degrees is green, and 240 degrees is blue. The luminance V indicates brightness.
【0010】図3の画像信号処理装置では、変換して得
られた彩度Sを所定の閾値Tsと比較して無彩色か有彩
色を判定し(8)、変換して得られた輝度情報を所定の
閾値Tvと比較して、無彩色の部分が背景か文字かを判
定し(9)、変換して得られた色相情報を所定の閾値T
hと比較して有彩色の部分を多値化データとして出力す
る(10)。ここで、背景は白(彩度=0)、文字は黒
(彩度=0)を前提としている。In the image signal processing apparatus shown in FIG. 3, the saturation S obtained by the conversion is compared with a predetermined threshold value Ts to determine whether the color is achromatic or chromatic (8). Is compared with a predetermined threshold Tv to determine whether the achromatic portion is a background or a character (9), and the hue information obtained by the conversion is converted to a predetermined threshold Tv.
The chromatic portion is output as multi-valued data in comparison with h (10). Here, it is assumed that the background is white (saturation = 0) and the characters are black (saturation = 0).
【0011】前記公報によれば、フィルタを交換するこ
となく有彩色で記入された文字記入枠をドロップアウト
した出力を得ることができる。また、文字記入枠は色判
定手段10の出力により、文字とは分離して読み出すこ
とができる。According to the above publication, it is possible to obtain an output obtained by dropping out a character entry box entered in chromatic colors without replacing a filter. Further, the character entry frame can be read out separately from the character by the output of the color determination means 10.
【0012】しかし、前記公報の画像信号処理装置で
は、彩度情報、輝度情報および色相情報を個別に閾値処
理する方式のため、次にあげる理由により、ドロップア
ウトの精度が低くなるという問題点がある。However, in the image signal processing apparatus disclosed in the above publication, since the saturation information, the luminance information, and the hue information are individually thresholded, there is a problem that the accuracy of dropout is reduced for the following reasons. is there.
【0013】一般に、RGB表色系からHSV表色系へ
の変換は次式で表現される。In general, the conversion from the RGB color system to the HSV color system is expressed by the following equation.
【0014】[0014]
【数1】 (Equation 1)
【0015】[0015]
【数2】 (Equation 2)
【0016】[0016]
【数3】 (Equation 3)
【0017】なお、r、g、bは0から1の範囲に正規
化されたものとし、vおよびsは0から1の範囲、hは
0から360の範囲で得られるものとする。Note that r, g, and b are normalized in the range of 0 to 1, v and s are obtained in the range of 0 to 1, and h is obtained in the range of 0 to 360.
【0018】この式で示される通り、輝度vはr、g、
bのうち最大の成分、彩度sは最小成分と最大成分の比
率、色相hは最大成分を中心として、最大成分と最小成
分の差と、2番目の成分と最小成分の差の比率で決ま
る。As shown by this equation, the luminance v is r, g,
b, the maximum component, the saturation s is determined by the ratio of the minimum component to the maximum component, and the hue h is determined by the ratio of the difference between the maximum component and the minimum component and the difference between the second component and the minimum component, centering on the maximum component. .
【0019】このように、彩度sおよび色相hは、r、
g、b各成分の比率で決まるため、輝度vが十分小さ
い、すなわち十分黒に近い場合であっても、r、g、b
各成分にバラツキがあれば、彩度sは1に近い値が得ら
れる。例えば、ほとんど黒に近い色として、r=0.
1、g=0、b=0.1の場合、v=0.1、s=1、
h=300が得られる。ここで、前記公報の画像信号処
理装置では、彩度sの値によってのみ有彩色か無彩色か
の判定を行うため、この色は有彩色と判定されてしま
う。Thus, the saturation s and hue h are r,
Since it is determined by the ratio of each component of g and b, even if the luminance v is sufficiently small, that is, even if it is sufficiently close to black, r, g, b
If there is variation in each component, a value close to 1 can be obtained for the saturation s. For example, as a color almost black, r = 0.
1, g = 0, b = 0.1, v = 0.1, s = 1,
h = 300 is obtained. Here, the image signal processing device of the above publication determines whether a color is a chromatic color or an achromatic color only based on the value of the saturation s. Therefore, this color is determined as a chromatic color.
【0020】実際に帳票をカラー画像として読み込んだ
場合、ノイズ、色ずれなどの要因により、無彩色の黒で
記入された文字であっても、成分のバラツキが若干ある
ことを考慮すれば、ドロップアウトカラーで書かれた文
字記入枠なのか、無彩色で記入された文字なのかの判定
は、彩度、輝度、色相の個別の判定ではなく、総合的な
判断が必要になる。When a form is actually read as a color image, even if a character is written in achromatic black due to factors such as noise and color misregistration, a drop in the component may be taken into consideration. To determine whether the character is a character entry frame written in out-color or a character written in achromatic color, comprehensive judgment is required, not individual judgment of saturation, luminance, and hue.
【0021】また、前記公報の画像信号処理装置では、
文字認識の対象となる文字が無彩色で記入されているこ
とを前提にして判定を行うため、有彩色で記入された文
字、例えば複写用紙の2枚目以降の文字(1枚目は黒ボ
ールペンで記入するので黒文字であるが、2枚目以降は
例えば青色インクによる複写のため青文字となる)など
は色が付いていると判断して、ドロップアウトされてし
まい読み取りことができないという問題点がある。In the image signal processing apparatus disclosed in the above publication,
Since the determination is made on the assumption that the character to be subjected to character recognition is written in achromatic color, the character written in chromatic color, for example, the second and subsequent characters of the copy paper (the first one is a black ballpoint pen) Is written in black letters, but the second and subsequent sheets are colored with blue ink and become blue letters, etc.). There is.
【0022】ここで帳票イメージをカラー画像のまま、
例えばフルカラー画像として取り込み、ソフトウェアで
画像処理すれば上記問題点の解決は決して困難ではな
い。しかし、カラー画像は2値画像に比べてデータ量が
多いため、カラー画像のままデータ転送/処理/保存な
どを行えば、従来の2値画像を用いたOCRシステムと
比較して性能が低下してしまう。Here, the form image is left as a color image,
For example, if the image is captured as a full-color image and subjected to image processing by software, it is not difficult to solve the above problem. However, since a color image has a larger amount of data than a binary image, if data transfer / processing / storing is performed without changing the color image, the performance is reduced as compared with a conventional OCR system using a binary image. Would.
【0023】[0023]
【発明が解決しようとする課題】本発明は、物理的にフ
ィルタを交換することなく、フィルタ特性を変更した2
値化画像を得る機能を備えた光学文字読取装置を提供す
るものである。SUMMARY OF THE INVENTION According to the present invention, the filter characteristics are changed without physically replacing the filter.
An object of the present invention is to provide an optical character reader having a function of obtaining a binarized image.
【0024】また本発明は、濃いドロップアウトカラ
ー、特定の色の抽出、色付き文字の読み取りなど、従来
方式では困難であった帳票の扱いを可能とし、目的の2
値画像を得るためのフィルタ特性の自由度が高い光学文
字読取装置を提供するものである。Further, the present invention makes it possible to handle forms that are difficult with the conventional method, such as dark dropout colors, extraction of specific colors, and reading of colored characters.
An object of the present invention is to provide an optical character reading device having a high degree of freedom in filter characteristics for obtaining a value image.
【0025】さらに本発明は、上記機能を備えていて
も、性能低下およびデータ量の大幅な増加のない光学文
字読取装置を提供するものである。Further, the present invention provides an optical character reading apparatus which has the above-mentioned functions and does not cause a decrease in performance and a large increase in data amount.
【0026】[0026]
【課題を解決するための手段】前記課題を解決するため
に、本発明は主として次のような構成を採用する。In order to solve the above problems, the present invention mainly employs the following configuration.
【0027】帳票のイメージ情報を読み取ってRGB信
号に変換し、前記RGB信号を演算処理して色相
(H)、彩度(S)及び輝度(V)に関する信号(HS
V信号)に変換し、前記HSV信号をそれぞれの変換関
数テーブルを有する複数系統のHSVー濃度変換手段に
入力してそれぞれの濃度信号に変換し、前記それぞれの
濃度信号を2値化して複数系統の2値画像に変換し、各
系統毎に、ドロップアウトカラーの除去による文字認識
用画像、特定色の抽出画像等の読み取り目的の異なるそ
れぞれの2値画像を得る光学文字読取方法。The image information of the form is read and converted into RGB signals, and the RGB signals are subjected to arithmetic processing to obtain signals (HS) relating to hue (H), saturation (S) and luminance (V).
V signal), the HSV signals are input to a plurality of systems of HSV-density conversion means having respective conversion function tables, and are converted into respective density signals. An optical character reading method for converting each image into a binary image having a different purpose of reading, such as a character recognition image by removing a dropout color, an extracted image of a specific color, or the like, for each system.
【0028】また、帳票をRGBの画像信号として読み
取る画情報変換手段と、前記画情報変換手段より得られ
たRGB信号を色相(H)、彩度(S)、輝度(V)に
変換するRGB−HSV変換手段と、前記RGB−HS
V変換手段より得られたHSV信号を2値画像に変換す
る少なくとも一つの2値化部を備え、前記2値化部は、
前記RGB−HSV変換手段より得られた前記HSV信
号を濃度情報に変換するHSV−濃度変換手段と、前記
HSV−濃度変換手段より得られた濃度情報を2値化処
理し2値画像を出力する画像2値化手段と、から構成さ
れ、前記HSV−濃度変換手段はその変換動作内容を決
定する変換情報を書き換える手段を備える光学文字読取
装置。Further, image information conversion means for reading a form as an RGB image signal, and RGB for converting the RGB signal obtained by the image information conversion means into hue (H), saturation (S), and luminance (V). -HSV conversion means, and the RGB-HS
The apparatus further comprises at least one binarization unit for converting the HSV signal obtained by the V conversion unit into a binary image, wherein the binarization unit comprises:
An HSV-density conversion unit that converts the HSV signal obtained by the RGB-HSV conversion unit into density information; and a binarization process of the density information obtained by the HSV-density conversion unit to output a binary image. An optical character reading device, comprising: an image binarization unit; and wherein the HSV-density conversion unit includes a unit for rewriting conversion information for determining the content of the conversion operation.
【0029】[0029]
【発明の実施の形態】以下、図面を参照して本発明の実
施形態を詳細に説明する。本発明の実施形態について、
その原理を示すブロック図を図2に示す。文字記入枠
(枠自体のみならず、枠内が色付けされたものまたは予
め記入された8の字も含む)や文字が異なる色で記入さ
れている帳票1を画情報変換手段2により読み取って、
RGBの3色の画像信号を出力する。RGB信号をHS
V表色系の信号に変換するために、RGBーHSV変換
手段3が設けられ、色相(H)、彩度(S)、輝度
(V)信号を出力する。ここまでの構成は図3に示した
従来例と同様である。Embodiments of the present invention will be described below in detail with reference to the drawings. For embodiments of the present invention,
FIG. 2 is a block diagram showing the principle. The image information conversion means 2 reads a character entry frame (not only the frame itself, but also one in which the inside of the frame is colored or includes a pre-filled 8 character) and a form 1 in which the characters are entered in different colors.
It outputs image signals of three colors of RGB. RGB signal to HS
RGB-HSV conversion means 3 is provided to convert the signal into a V color system signal, and outputs a hue (H), saturation (S), and luminance (V) signal. The configuration up to this point is the same as the conventional example shown in FIG.
【0030】出力されたHSV信号をHSVー濃度変換
手段4で演算処理して濃度情報として出力する。濃度情
報は2値化手段5に入力され、出力1として2値化信号
を出力する。ここで、HSVー濃度変換手段は、色相
h,彩度s,輝度vの3変数を入力とする関数によって
入出力の変換が決定されるものであり、且つこの変換に
ついては適宜に変換情報7として外部から指定できるよ
うになっている。The output HSV signal is processed by the HSV-density conversion means 4 and output as density information. The density information is input to the binarizing means 5, and outputs a binarized signal as an output 1. Here, the HSV-density conversion means determines input / output conversion by a function having three variables of hue h, saturation s, and luminance v as inputs, and the conversion information is appropriately converted. Can be specified from outside.
【0031】HSVー濃度変換手段4と画像2値化手段
5とから成る2値化部6は、複数個(6a、6b、…6
n)並列に回路配置される。例えば、それぞれの2値化
部6a、6b、…6nは、赤系をドロップアウトした黒
文字を取り出したり、赤系記入枠のみを取り出したり、
複写用紙の青系文字のみを取り出したり、できるように
変換関数を指定することができるものである。A plurality of binarizing units 6 (6a, 6b,..., 6) comprising the HSV-density converting unit 4 and the image binarizing unit 5
n) Circuits are arranged in parallel. For example, each of the binarization units 6a, 6b,... 6n takes out a black character having a reddish dropout, or takes out only a reddish entry frame,
The conversion function can be specified so that only blue characters on copy paper can be extracted or can be extracted.
【0032】以上のような変換関数を適宜に選定するこ
とにより、ドロップアウトカラーを濃くしても(従来は
ドロップアウトカラーは薄くすることが求められてい
た)、この濃いカラーを除去でき、また任意の特定の色
のみを抽出することができるようにした。By appropriately selecting the conversion function as described above, even if the dropout color is made dark (conventionally, the dropout color has been required to be light), the dark color can be removed. Only specific colors can be extracted.
【0033】図4は本発明の一実施形態を示す構成ブロ
ック図である。帳票1上には、文字記入枠や文字が異な
る色で記入されている。レンズ11およびカラーCCD
センサ12よりなる光学系により、帳票1上のイメージ
情報をR、G、Bの3色分の画像信号としてライン単位
に読み取る。尚、本実施形態ではR、G、B3色分のフ
ィルタが組み込まれたカラー用のCCDセンサを用いた
が、3系統の光学系により、3色を別々のCCDセンサ
で読み込む場合でも同様である。FIG. 4 is a structural block diagram showing an embodiment of the present invention. On the form 1, character entry frames and characters are entered in different colors. Lens 11 and color CCD
The image information on the form 1 is read line by line as image signals for three colors of R, G, and B by an optical system including the sensor 12. In this embodiment, a color CCD sensor incorporating filters for three colors of R, G, and B is used. However, the same applies to a case where three colors are read by separate CCD sensors using three optical systems. .
【0034】カラーCCDセンサ12により読み取られ
た画像信号は、アンプ13a、13b、13cによって
所定のレベルまで増幅された後、A/D変換器14a、
14b、14cによってディジタルデータに変換され
る。この時点での画像信号は、オフセットやシェーディ
ング特性などを含んでいるため、正規化回路15によっ
てこれらを補正する。本実施形態では、正規化回路15
を経た時点でのR、G、B信号は各7ビットのディジタ
ル値であるものとする。The image signal read by the color CCD sensor 12 is amplified to a predetermined level by amplifiers 13a, 13b and 13c, and then amplified by an A / D converter 14a.
The data is converted into digital data by 14b and 14c. Since the image signal at this point includes an offset, a shading characteristic, and the like, the normalization circuit 15 corrects these. In the present embodiment, the normalization circuit 15
It is assumed that the R, G, and B signals at the time of passing are digital values of 7 bits each.
【0035】正規化されたRGB信号は、RGB−HS
V変換回路3により、数1、数2、数3に相当する演算
処理が行われ、色相(H)、彩度(S)、輝度(V)に
変換される。本実施形態では、その後に接続されるフィ
ルタメモリ16の容量を減らすために、HSV信号に変
換する時点でビット数を減らした。各信号の重要度を考
慮し、色相Hは6ビット、彩度Sは5ビット、輝度Vは
7ビットで出力する。The normalized RGB signal is represented by RGB-HS
The V conversion circuit 3 performs an arithmetic process corresponding to Equations 1, 2, and 3, and converts the data into hue (H), saturation (S), and luminance (V). In the present embodiment, in order to reduce the capacity of the filter memory 16 connected thereafter, the number of bits is reduced at the time of conversion to the HSV signal. Considering the importance of each signal, the hue H is output with 6 bits, the saturation S is output with 5 bits, and the luminance V is output with 7 bits.
【0036】変換されたHSV信号は、フィルタメモリ
16に入力される。本実施形態では、フィルタメモリ1
6にS−RAMを用いている。HSV合計18ビットの
入力信号は、S−RAMのアドレスとして接続され、デ
ータ信号が4ビットの濃度情報(d)として出力され
る。この場合、(2の18乗)×4=1MビットのS−
RAMを適用できる。このフィルタメモリ16の記憶内
容を変化させることにより、次式で表される任意の変換
関数を実現できる。The converted HSV signal is input to the filter memory 16. In the present embodiment, the filter memory 1
6 uses an S-RAM. An input signal of a total of 18 bits of HSV is connected as an address of the S-RAM, and a data signal is output as 4-bit density information (d). In this case, (2 to the 18th power) × 4 = 1M bits of S−
RAM can be applied. By changing the contents stored in the filter memory 16, an arbitrary conversion function represented by the following equation can be realized.
【0037】[0037]
【数4】 (Equation 4)
【0038】まず、数4に任意の関数式を当てはめ、
h、s、vを変化させたときの出力dをあらかじめ求め
ておく。本実施形態の場合は、hが0から63、sが0
から31、vが0から127の範囲で変化させ、そのと
きの出力(0から15の範囲、即ち16階調)の情報を
テーブル形式で保存しておく。以後、この情報を変換関
数テーブルと呼ぶ。本実施形態の場合、変換関数テーブ
ルの大きさは、1Mビットすなわち128Kバイトであ
る。この変換関数テーブルをフィルタメモリ書込み回路
18によりフィルタメモリ16に書込むことで、任意の
フィルタ特性を得ることができる。First, an arbitrary function formula is applied to Equation 4, and
The output d when h, s, and v are changed is obtained in advance. In the case of this embodiment, h is from 0 to 63, and s is 0.
, And v are changed in the range of 0 to 127, and the information of the output (the range of 0 to 15, ie, 16 gradations) is stored in a table format. Hereinafter, this information is called a conversion function table. In the case of the present embodiment, the size of the conversion function table is 1 Mbit, that is, 128 Kbytes. By writing this conversion function table into the filter memory 16 by the filter memory writing circuit 18, an arbitrary filter characteristic can be obtained.
【0039】尚、本実施形態ではHSV−濃度変換手段
4を、S−RAMで構成したが、これに限らず書き換え
可能なフラッシュメモリ、D−RAMなど他のメモリで
構成することもできる。あるいは適用する変換関数を限
定して、その変換関数の演算回路で構成する(複数の変
換関数を有する演算回路を予め準備しておいて適宜の演
算回路を選択採用する)、またはDSPなどで構成する
などの手段もとることができる。In this embodiment, the HSV-density conversion means 4 is constituted by an S-RAM, but is not limited to this, and may be constituted by another memory such as a rewritable flash memory or a D-RAM. Alternatively, the conversion function to be applied is limited and configured by an operation circuit of the conversion function (an operation circuit having a plurality of conversion functions is prepared in advance and an appropriate operation circuit is selectively adopted), or configured by a DSP or the like. And other means.
【0040】フィルタメモリ16によって出力された濃
度dは、2値化回路17によって2値画像に変換され
る。ここで、2値化回路17には通常の2値化処理と同
様に、画質を向上させるための手段、例えば対象となる
画素の周辺の濃度により、閾値を変化させる適応2値化
などの手段を適用することができる。また、公知のディ
ザ法や誤差拡散などの擬似多階調を得る手段も適用する
ことができる。The density d output from the filter memory 16 is converted by the binarization circuit 17 into a binary image. Here, similarly to the normal binarization processing, the binarization circuit 17 includes means for improving image quality, for example, means for adaptive binarization for changing a threshold value according to the density around a target pixel. Can be applied. In addition, a means for obtaining a pseudo multi-gradation such as a known dither method or error diffusion can be applied.
【0041】ここで、フィルタメモリ16と2値化回路
17は複数系統を備える。各系統のフィルタメモリ16
の変換関数テーブルを変えることで、各系統毎に目的の
異なる2値画像を得ることができる。例えば、第1の系
統のフィルタメモリに赤系をドロップアウトする特性を
持たせることで、文字記入枠をドロップアウトして取り
除いた文字認識用の画像、第2の系統のフィルタメモリ
に赤系のみを抽出する特性を持たせることで、文字記入
枠のみを取り出した画像、同様にして、第3の系統で青
系の記入のみを取り出した画像を得る、といった使い方
ができる。フィルタメモリ16は書き換え可能であるた
め、各系統で得る画像の組合せは、対象となる帳票や業
務に応じて、任意に変えることができる。Here, the filter memory 16 and the binarization circuit 17 have a plurality of systems. Filter memory 16 of each system
By changing the conversion function table described above, it is possible to obtain a different binary image for each system. For example, by giving a characteristic of dropping out reddish to the first system filter memory, an image for character recognition obtained by dropping out the character entry frame and removing only the reddish system to the second system filter memory Can be used to obtain an image in which only the character entry frame is extracted, and similarly, an image in which only the blue entry is extracted in the third system. Since the filter memory 16 is rewritable, the combination of images obtained in each system can be arbitrarily changed according to the target form or business.
【0042】各系統で得られた2値画像は、画像出力手
段19によって出力される。本実施形態では2値画像に
加え、正規化回路15の出力であるカラー画像も出力可
能な構成とした。これは文字認識用の画像と、RGBの
いずれかの色と組み合わせて出力することにより、文字
認識画像の種々の使い方を考慮したためである。The binary image obtained in each system is output by the image output means 19. In this embodiment, in addition to the binary image, the color image output from the normalization circuit 15 can be output. This is because various usages of the character recognition image are considered by outputting the image for character recognition in combination with any one of RGB colors.
【0043】変換関数テーブルを作成するための変換関
数は、h、s、vの3変数を入力とした関数であれば、
どのようなものでも当てはめることができる。いくつか
の例を次式に示す。尚、これらの式で各パラメータは正
規化された0から1の範囲の値を持つものとする(但
し、色相hは0から360の範囲)。A conversion function for creating a conversion function table is a function that inputs three variables of h, s, and v.
Anything can be applied. Some examples are shown in the following equations. In these equations, each parameter has a normalized value in the range of 0 to 1 (however, the hue h is in the range of 0 to 360).
【0044】[0044]
【数5】 (Equation 5)
【0045】[0045]
【数6】 (Equation 6)
【0046】[0046]
【数7】 (Equation 7)
【0047】数5は、通常のドロップアウトに相当する
変換関数である。式中のfh、ws、whは特性パラメ
ータで、fhはドロップアウト対象の色相の中心、ws
は彩度に対する感度、whは色相差に対する感度を表
す。|(h−fh)/180|の部分は、色相hとパラ
メータfhとの色相差を0から1の範囲で示す。数5に
よって、輝度vに掛かる係数が、fhとの色相差が大き
くなるほど小さく、また、彩度sが大きくなるほど小さ
くなる。Equation 5 is a conversion function corresponding to a normal dropout. In the formula, fh, ws, wh are characteristic parameters, fh is the center of the hue to be dropped out, ws
Represents sensitivity to saturation, and wh represents sensitivity to hue difference. | (H-fh) / 180 | indicates the hue difference between hue h and parameter fh in the range of 0 to 1. According to Equation 5, the coefficient applied to the luminance v decreases as the hue difference from fh increases, and decreases as the saturation s increases.
【0048】s=0すなわち無彩色ならば、輝度vに掛
かる係数は必ず1になるので、無彩色の文字および背景
(白)はそのまま出力される。s>0すなわち有彩色
で、色相差が0でない場合、すなわちドロップアウトカ
ラーでない色の場合は、色相差が大きくなるにしたがっ
て、輝度vに掛かる係数も小さくなる。結果として、パ
ラメータfhで指定した色は輝度vがそのまま通るの
で、2値化したときに白(背景)になり、ドロップアウ
トされたことになる。If s = 0, that is, if it is an achromatic color, the coefficient applied to the luminance v is always 1, so that the achromatic characters and the background (white) are output as they are. If s> 0, that is, a chromatic color and the hue difference is not 0, that is, a color that is not a dropout color, the coefficient on the luminance v decreases as the hue difference increases. As a result, the color specified by the parameter fh passes through the luminance v as it is, so that it becomes white (background) when binarized and is dropped out.
【0049】従来のドロップアウト方式では、黒はどの
ようなフィルタを通しても黒のままだったが、数6のよ
うに輝度vも変数の一つとして変換関数を構成すること
で、自由度が非常に高くなる。数6は、指定した色のみ
を抽出する変換関数である。数6では、指定した色相f
hに近く、彩度sが大きく、輝度vが大きくなるほど出
力が小さくなる。すなわち指定した色に近いほど暗く出
力されるので、2値化処理の結果は、指定した色のみが
抽出されることになる。In the conventional drop-out method, black remains black regardless of any filter. However, by forming a conversion function using luminance v as one of the variables as shown in Equation 6, the degree of freedom is extremely high. Become higher. Equation 6 is a conversion function for extracting only the designated color. In Equation 6, the specified hue f
h, the saturation s is large, and the luminance v is large, the output is small. In other words, the closer the color is to the specified color, the darker it is output. As a result of the binarization process, only the specified color is extracted.
【0050】また従来のドロップアウト方式では、彩度
がどれだけ高くても、輝度が低ければフィルタを通った
結果は暗いものになる。したがって、ドロップアウトカ
ラーはある程度薄い(明るい)色でなければならないと
いう問題があった。一方、数7は指定した色相の色を、
他の色よりも明るく出力する変換関数である。指定した
色の近さに応じてガンマ変換のγ値を変化させている。
この変換関数を用いることで、従来よりも濃くて見やす
いドロップアウトカラーが使用できるようになる。In the conventional drop-out method, no matter how high the saturation is, if the luminance is low, the result of passing through the filter becomes dark. Therefore, there is a problem that the dropout color must be a somewhat light (bright) color. On the other hand, Equation 7 shows the color of the specified hue,
This is a conversion function that outputs lighter than other colors. The gamma value of the gamma conversion is changed according to the proximity of the designated color.
By using this conversion function, a dropout color that is darker and easier to see than before can be used.
【0051】尚、本実施形態では図4で示す通り、RG
B−HSV変換回路3とフィルタメモリ16を、別々に
構成しているが、フィルタメモリ16を拡張して、RG
B−HSV変換回路3を取り込むこともできる。この場
合、フィルタメモリの入力はRGB信号とし、フィルタ
メモリに格納する変換関数テーブルを求める際に、RG
B−HSV変換まで含めた演算を行えばよい。In this embodiment, as shown in FIG.
Although the B-HSV conversion circuit 3 and the filter memory 16 are configured separately, the filter memory 16 is expanded to
The B-HSV conversion circuit 3 can be taken in. In this case, the input of the filter memory is an RGB signal, and when calculating the conversion function table to be stored in the filter memory, the RGB signal is used.
The calculation including the B-HSV conversion may be performed.
【0052】図5は本発明の一実施形態を示すシステム
構成図である。スキャナ装置27は、機構系およびスキ
ャナ装置全体を制御する制御部24、上位装置とのイン
タフェース22を制御するインタフェース制御部23、
前記図4に相当する読取部26、読み取った画像情報を
一時貯える画像メモリ25などから構成される。上位装
置は、スキャナ装置27とインタフェース22を介して
接続され、文字認識を行う認識部20および、インタフ
ェース22を介してスキャナ装置27の制御、スキャナ
装置から転送されてきた画像データの処理、ユーザーイ
ンタフェースなどの処理を行うアプリケーション21な
どのソフトウェアが動作している。FIG. 5 is a system configuration diagram showing an embodiment of the present invention. The scanner device 27 includes a control unit 24 that controls the mechanical system and the entire scanner device, an interface control unit 23 that controls the interface 22 with the host device,
It comprises a reading unit 26 corresponding to FIG. 4 and an image memory 25 for temporarily storing read image information. The host device is connected to the scanner device 27 via the interface 22, and performs a character recognition. The recognition unit 20 controls the scanner device 27 via the interface 22, processes image data transferred from the scanner device, and executes a user interface. Software such as an application 21 for performing processing such as the above is operating.
【0053】以後、図5を用いて、変換関数テーブルの
書込み方式を説明する。Hereinafter, a method of writing the conversion function table will be described with reference to FIG.
【0054】第1の方法は、変換関数テーブルをあらか
じめ求めておき、上位装置に保存しておく。あるいは、
そして、読み取り動作を開始する前に、上位装置からス
キャナ装置27に変換関数テーブルを転送し、読取部2
6の所定のフィルタメモリ16に書込む。または、標準
の変換関数テーブルをスキャナ装置27内に保存してお
き、読み取り動作の前に所定のフィルタメモリ16に書
込む。In the first method, a conversion function table is obtained in advance and stored in a host device. Or,
Then, before starting the reading operation, the conversion function table is transferred from the host device to the scanner device 27, and the reading unit 2
6 is written into a predetermined filter memory 16. Alternatively, a standard conversion function table is stored in the scanner device 27 and written in a predetermined filter memory 16 before the reading operation.
【0055】第2の方法は、読み取り対象になる帳票の
読み取り位置などを指定したフォーマット情報を作成す
るアプリケーションにおいて、フォーマット情報の一項
目として変換関数パラメータを指定しておく。ここで変
換関数パラメータとは、適用する変換関数の種類および
変換関数に与えるパラメータである。そして、読み取り
を開始する前に、上位装置は変換関数パラメータを元に
演算処理を行って変換関数テーブルを作成し、スキャナ
装置27に転送して、所定のフィルタメモリ16に書込
む。According to the second method, a conversion function parameter is specified as one item of format information in an application for creating format information specifying a reading position of a form to be read. Here, the conversion function parameter is a type of the conversion function to be applied and a parameter given to the conversion function. Then, before starting reading, the host device performs a calculation process based on the conversion function parameter to create a conversion function table, transfers the table to the scanner device 27, and writes it to the predetermined filter memory 16.
【0056】第3の方式は、まず、帳票を一枚読み取
り、カラー画像で転送する。ここでカラー画像は2値画
像に比べてデータ量が多いので、処理時間は長くなるは
ずである。そして、取込んだカラー画像に対して、操作
者が変換関数パラメータを指定する。このとき、前記図
5の読取部26と同等の処理を上位装置上で演算処理
し、画面上でプレビュー画面を表示することで、対話的
にパラメータを指定できるものとする。In the third method, first, one form is read and transferred as a color image. Here, since the color image has a larger data amount than the binary image, the processing time should be longer. Then, the operator specifies a conversion function parameter for the captured color image. At this time, it is assumed that parameters equivalent to the reading unit 26 in FIG. 5 can be interactively specified by performing arithmetic processing on the host device and displaying a preview screen on the screen.
【0057】ここで決定した変換関数パラメータを元に
変換関数テーブルを演算処理によって作成し、スキャナ
装置27に転送して、フィルタメモリ16に書込む。こ
れにより、2枚目以降はスキャナ装置27側で2値化処
理を行うため、高速な動作が可能になる。また、作成し
た変換関数テーブルを記録媒体に保存しておき、後で保
存した変換関数テーブルを指定して再利用する、あるい
は前記フォーマット情報に対応付けることなどもでき
る。A conversion function table is created by arithmetic processing based on the determined conversion function parameters, transferred to the scanner device 27, and written into the filter memory 16. As a result, since the second and subsequent sheets perform the binarization processing on the scanner device 27 side, high-speed operation becomes possible. Further, the created conversion function table can be stored in a recording medium, and the conversion function table stored later can be designated and reused, or can be associated with the format information.
【0058】図6に変換関数パラメータの設定画面の一
例を示す。即ち、図4のフィルタで用いる変換関数を画
面上で選択し、変換関数に与えるパラメータを画面上で
適宜に設定し、更に色を指定することで、フィルタ出力
がどのようになるかをシミュレートして見せる例を示し
たものである。FIG. 6 shows an example of a conversion function parameter setting screen. That is, a conversion function used in the filter of FIG. 4 is selected on the screen, parameters to be given to the conversion function are appropriately set on the screen, and colors are specified to simulate how the filter output will be. This is an example of how to show them.
【0059】フィルタ28では、適用する変換関数の種
類を選択する(数5、数6、数7に示した変換関数のい
ずれかを選択する)。色差感度29(数5、数6または
数7のwh)および輝度感度30は、フィルタ28の項
目で決定した変換関数に与えるパラメータである。ま
た、色指定31ではカラーチャート上で色相を与える。
これらのパラメータを与えると、スキャナ装置27の読
取部26と同様の演算処理を行い、濃度出力および2値
化出力のチャートを表示する。例えば、ドロップアウト
させたい色として色指定31をマジェンタとすると、フ
ィルタ出力32はマジェンタの周辺がドロップアウトさ
れ背景と同じになり、2値画像33でプレビューするこ
とができる。また、スキャナ部27よりカラー画像で取
込んだ帳票イメージで同様のプレビューを行ってもよ
い。In the filter 28, the type of the conversion function to be applied is selected (any of the conversion functions shown in Expressions 5, 6, and 7 is selected). The color difference sensitivity 29 (wh in Equation 5, 6, or 7) and the luminance sensitivity 30 are parameters given to the conversion function determined in the item of the filter 28. In the color designation 31, hue is given on the color chart.
When these parameters are given, the same calculation processing as that of the reading unit 26 of the scanner device 27 is performed, and a chart of density output and binarized output is displayed. For example, if the color designation 31 is magenta as the color to be dropped out, the filter output 32 is dropped out around magenta and becomes the same as the background, so that the binary image 33 can be previewed. A similar preview may be performed on a form image captured as a color image from the scanner unit 27.
【0060】ここで、変換関数はh、s、vの3変数を
入力とするため、特性を完全にグラフ化/画面表示する
ことは困難なので、サンプルとなるカラーチャートは、
変換関数の特徴に合わせたものでなければならない。Here, since the transformation function takes three variables of h, s, and v as inputs, it is difficult to completely graph the characteristics and display them on the screen.
Must match the characteristics of the transformation function.
【0061】以上説明したように、本発明の実施形態は
次のような構成並びに機能を奏するものを含むものであ
る。即ち、物理的にフィルタを交換することなく、変換
された濃度信号に対するフィルタ特性を適宜に変更した
複数のフィルタを採用して2値化画像を得ることによっ
て、濃いドロップアウトカラー、特定の色の抽出、色付
き文字の読み取りなど、の2値画像を得ることができ
る。そして、フィルタ特性は適宜に変更できるので、フ
ィルタ特性の自由度が高い光学文字読取装置を得ること
ができる。As described above, the embodiments of the present invention include those having the following configurations and functions. That is, without physically exchanging the filters, a plurality of filters in which the filter characteristics for the converted density signal are appropriately changed are used to obtain a binarized image, so that a dark dropout color or a specific color is obtained. It is possible to obtain a binary image of extraction, reading of colored characters, and the like. Since the filter characteristics can be appropriately changed, an optical character reader having a high degree of freedom in the filter characteristics can be obtained.
【0062】[0062]
【発明の効果】本発明の光学文字読取装置は、帳票から
得たRGB信号をHSV信号に変換し、さらに書き換え
可能なHSV−濃度変換手段を備えることで、物理的に
フィルタを交換することなく、フィルタ特性を変更した
2値化画像を得ることができる。The optical character reading apparatus of the present invention converts an RGB signal obtained from a form into an HSV signal, and further comprises a rewritable HSV-density converting means, so that the filter is not physically replaced. Thus, a binarized image with changed filter characteristics can be obtained.
【0063】また、HSV−濃度変換手段の入力をh、
s、vの3変数とすることで、任意の変換関数を実現可
能となり、濃いドロップアウトカラーの除去、特定色の
抽出など、従来扱い困難であった帳票に対しても柔軟に
対応することができる。The input of the HSV-concentration conversion means is h,
By using the three variables s and v, an arbitrary conversion function can be realized, and it is possible to flexibly cope with a form that has been difficult to handle conventionally, such as removal of a dark dropout color and extraction of a specific color. it can.
【0064】さらに、HSV−濃度変換手段以降を複数
系統備えることで、一度の読み取り動作で複数の目的に
応じた2値画像を得ることができる。Further, by providing a plurality of systems after the HSV-density conversion means, it is possible to obtain a binary image for a plurality of purposes by one reading operation.
【0065】また、カラーフィルタ処理をハードウェア
で具備し、読み取り同時に変換処理を行い2値画像とし
て出力するため、従来システムと比較して性能低下しな
い。Further, since the color filter processing is provided by hardware, conversion processing is performed simultaneously with reading, and a binary image is output, the performance is not reduced as compared with the conventional system.
【図1】HSV表色系を表す図である。FIG. 1 is a diagram illustrating an HSV color system.
【図2】本発明の原理ブロック図である。FIG. 2 is a principle block diagram of the present invention.
【図3】従来例である特開平2ー67689号公報に記
載された技術の原理ブロック図である。FIG. 3 is a block diagram showing the principle of the technique described in Japanese Patent Application Laid-Open No. 2-67689, which is a conventional example.
【図4】本発明の一実施形態を示す構成ブロック図であ
る。FIG. 4 is a configuration block diagram illustrating an embodiment of the present invention.
【図5】本発明の一実施形態を示すシステム構成図であ
る。FIG. 5 is a system configuration diagram showing an embodiment of the present invention.
【図6】変換関数パラメータ設定画面の一例を示す図で
ある。FIG. 6 is a diagram showing an example of a conversion function parameter setting screen.
1 帳票 2 画情報変換手段 3 RGB−HSV変換手段 4 HSV−濃度変換手段 5 画像2値化手段 6 2値化部 7 変換情報 8 無彩色/有彩色判定手段 9 背景/文字判定手段 10 色判定手段 11 レンズ 12 カラーCCDセンサ 13 アンプ 14 A/D変換器 15 正規化回路 16 フィルタメモリ 17 2値化回路 18 フィルタメモリ書込回路 19 画像出力手段 20 認識部 21 アプリケーション 22 インタフェース 23 インタフェース制御部 24 制御部 25 画像メモリ 26 読取部 27 スキャナ装置 28 フィルタ設定欄 29 色差感度設定欄 30 輝度感度設定欄 31 色指定カラーチャート 32 フィルタ出力プレビュー画像 33 2値化出力プレビュー画像 DESCRIPTION OF SYMBOLS 1 Form 2 Image information conversion means 3 RGB-HSV conversion means 4 HSV-density conversion means 5 Image binarization means 6 Binarization part 7 Conversion information 8 Achromatic / chromatic color judgment means 9 Background / character judgment means 10 Color judgment Means 11 Lens 12 Color CCD sensor 13 Amplifier 14 A / D converter 15 Normalization circuit 16 Filter memory 17 Binarization circuit 18 Filter memory writing circuit 19 Image output means 20 Recognition unit 21 Application 22 Interface 23 Interface control unit 24 Control Unit 25 image memory 26 reading unit 27 scanner device 28 filter setting column 29 color difference sensitivity setting column 30 luminance sensitivity setting column 31 color designation color chart 32 filter output preview image 33 binarized output preview image
───────────────────────────────────────────────────── フロントページの続き (51)Int.Cl.6 識別記号 FI H04N 1/46 H04N 1/46 Z ──────────────────────────────────────────────────続 き Continued on front page (51) Int.Cl. 6 Identification code FI H04N 1/46 H04N 1/46 Z
Claims (5)
信号に変換し、 前記RGB信号を演算処理して色相(H)、彩度(S)
及び輝度(V)に関する信号(HSV信号)に変換し、 前記HSV信号をそれぞれの変換関数テーブルを有する
複数系統のHSVー濃度変換手段に入力してそれぞれの
濃度信号に変換し、 前記それぞれの濃度信号を2値化して複数系統の2値画
像に変換し、 各系統毎に、ドロップアウトカラーの除去による文字認
識用画像、特定色の抽出画像を含む読み取り目的の異な
るそれぞれの2値画像を得ることを特徴とする光学文字
読取方法。1. An image information of a form is read and RGB is read.
And converting the RGB signals into a hue (H) and a saturation (S)
And a signal (HSV signal) relating to the luminance (V), and the HSV signal is input to a plurality of HSV-density conversion means having respective conversion function tables to be converted into respective density signals. The signal is binarized and converted into a plurality of systems of binary images, and for each system, respective binary images for different reading purposes including an image for character recognition by removing a dropout color and an extracted image of a specific color are obtained. An optical character reading method, comprising:
いて、 前記変換関数テーブルは、適用する変換関数の種類と変
換関数に与えるパラメータとから構成され、任意に作成
可能なものであることを特徴とする光学文字読取方法。2. The optical character reading method according to claim 1, wherein the conversion function table is composed of types of conversion functions to be applied and parameters given to the conversion functions, and can be arbitrarily created. Characteristic optical character reading method.
画情報変換手段と、前記画情報変換手段より得られたR
GB信号を色相(H)、彩度(S)、輝度(V)に変換
するRGB−HSV変換手段と、前記RGB−HSV変
換手段より得られたHSV信号を2値画像に変換する少
なくとも一つの2値化部を備え、 前記2値化部は、前記RGB−HSV変換手段より得ら
れた前記HSV信号を濃度情報に変換するHSV−濃度
変換手段と、前記HSV−濃度変換手段より得られた濃
度情報を2値化処理し2値画像を出力する画像2値化手
段と、から構成され、 前記HSV−濃度変換手段はその変換動作内容を決定す
る変換情報を書き換える手段を備えることを特徴とする
光学文字読取装置。3. An image information converting means for reading a form as an RGB image signal;
RGB-HSV conversion means for converting the GB signal into hue (H), saturation (S), and luminance (V); and at least one for converting the HSV signal obtained by the RGB-HSV conversion means into a binary image. A binarizing unit, wherein the binarizing unit is obtained by an HSV-density converting unit that converts the HSV signal obtained by the RGB-HSV converting unit into density information, and obtained by the HSV-density converting unit. An image binarization unit that binarizes density information and outputs a binary image, wherein the HSV-density conversion unit includes a unit that rewrites conversion information that determines the content of the conversion operation. Optical character reader.
いて、 前記HSV−濃度変換手段は、書き換え可能なメモリ、
または前記変換情報を具現する演算回路、またはDSP
で構成されることを特徴とする光学文字読取装置。4. The optical character reading device according to claim 3, wherein the HSV-density conversion means includes a rewritable memory;
Or an arithmetic circuit or DSP embodying the conversion information
An optical character reading device comprising:
装置において、 前記画像2値化手段より得られた2値画像のシミュレー
ション画像を得る手段を備え、 前記HSV−濃度変換手段の変換動作を決定する変換情
報として、適用する変換関数の種類と前記変換関数に与
えるパラメータとを任意に設定して、それぞれの設定で
のシミュレーション画像を得ることを特徴とする光学文
字読取装置。5. The optical character reading device according to claim 3, further comprising: a unit that obtains a simulated image of a binary image obtained by the image binarizing unit, wherein the converting operation of the HSV-density converting unit is performed. An optical character reading apparatus characterized in that a type of a conversion function to be applied and parameters to be given to the conversion function are arbitrarily set as conversion information for determining, and a simulation image with each setting is obtained.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP10072187A JPH11272864A (en) | 1998-03-20 | 1998-03-20 | Optical character reading method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP10072187A JPH11272864A (en) | 1998-03-20 | 1998-03-20 | Optical character reading method and device |
Publications (1)
Publication Number | Publication Date |
---|---|
JPH11272864A true JPH11272864A (en) | 1999-10-08 |
Family
ID=13481970
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP10072187A Pending JPH11272864A (en) | 1998-03-20 | 1998-03-20 | Optical character reading method and device |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPH11272864A (en) |
Cited By (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2006165685A (en) * | 2004-12-02 | 2006-06-22 | Canon Electronics Inc | Image reading system control method, image reading system, and program |
JP2007041877A (en) * | 2005-08-03 | 2007-02-15 | Samii Kk | Display device and display program |
JP2008293220A (en) * | 2007-05-23 | 2008-12-04 | Ricoh Co Ltd | Information processor and information processing method |
JP2009159185A (en) * | 2007-12-26 | 2009-07-16 | Hitachi Computer Peripherals Co Ltd | Dropout color processing method and apparatus |
JP2010003124A (en) * | 2008-06-20 | 2010-01-07 | Hitachi Computer Peripherals Co Ltd | Dropout color processor and dropout color processing method using the same |
JP2011217400A (en) * | 2011-06-24 | 2011-10-27 | Canon Electronics Inc | Method of controlling image reading system, image reading system and program |
JP2012060212A (en) * | 2010-09-06 | 2012-03-22 | Seiko Epson Corp | Image processor and program |
US8326028B2 (en) | 2007-12-26 | 2012-12-04 | Hitachi Computer Peripherals Co., Ltd. | Dropout color processing method and processing apparatus using same |
CN113280998A (en) * | 2021-05-21 | 2021-08-20 | 中国人民解放军战略支援部队航天工程大学 | Shock wave imaging system and method for laser ablation of target material |
WO2021192887A1 (en) * | 2020-03-25 | 2021-09-30 | ソニーグループ株式会社 | Image processing device, image processing method, and program |
US12368811B2 (en) | 2020-03-25 | 2025-07-22 | Sony Group Corporation | Image processing apparatus, image processing method, and program for determining color information of an image |
-
1998
- 1998-03-20 JP JP10072187A patent/JPH11272864A/en active Pending
Cited By (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2006165685A (en) * | 2004-12-02 | 2006-06-22 | Canon Electronics Inc | Image reading system control method, image reading system, and program |
JP2007041877A (en) * | 2005-08-03 | 2007-02-15 | Samii Kk | Display device and display program |
JP2008293220A (en) * | 2007-05-23 | 2008-12-04 | Ricoh Co Ltd | Information processor and information processing method |
JP2009159185A (en) * | 2007-12-26 | 2009-07-16 | Hitachi Computer Peripherals Co Ltd | Dropout color processing method and apparatus |
US8326028B2 (en) | 2007-12-26 | 2012-12-04 | Hitachi Computer Peripherals Co., Ltd. | Dropout color processing method and processing apparatus using same |
JP2010003124A (en) * | 2008-06-20 | 2010-01-07 | Hitachi Computer Peripherals Co Ltd | Dropout color processor and dropout color processing method using the same |
JP2012060212A (en) * | 2010-09-06 | 2012-03-22 | Seiko Epson Corp | Image processor and program |
JP2011217400A (en) * | 2011-06-24 | 2011-10-27 | Canon Electronics Inc | Method of controlling image reading system, image reading system and program |
WO2021192887A1 (en) * | 2020-03-25 | 2021-09-30 | ソニーグループ株式会社 | Image processing device, image processing method, and program |
US12368811B2 (en) | 2020-03-25 | 2025-07-22 | Sony Group Corporation | Image processing apparatus, image processing method, and program for determining color information of an image |
CN113280998A (en) * | 2021-05-21 | 2021-08-20 | 中国人民解放军战略支援部队航天工程大学 | Shock wave imaging system and method for laser ablation of target material |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP4217398B2 (en) | Image data processing method, image data processing apparatus, storage medium, and program | |
US5761339A (en) | Method and recording medium for separating and composing background and character image data | |
KR20080095743A (en) | Image processing program and image processing device | |
KR102158633B1 (en) | A method for extraction of a registered seal impression from a document | |
JPH11272864A (en) | Optical character reading method and device | |
US8224080B2 (en) | Image pickup apparatus, image recording program, image data recording medium, image processing apparatus, and image processing program | |
US20040257625A1 (en) | Apparatus for, method of, and system for image processing | |
JP3190050B2 (en) | Color image processing method | |
JP2003219180A (en) | Image processing method, image processing device, recording medium capable of reading computer and computer program | |
JP4383429B2 (en) | Form image processing method and apparatus | |
JP2000259372A (en) | Image output method, device therefor and recording medium | |
JP2637498B2 (en) | Image signal processing device | |
JP2871570B2 (en) | Character recognition apparatus and method | |
JP2005144875A (en) | Printed image color reproduction system | |
JPH058457A (en) | Id data filing and printing device | |
JP3150963B2 (en) | Image processing method | |
JPH04181872A (en) | Color picture processing unit | |
JP2005347963A (en) | Method for detecting background, and image processor using the same | |
JP4228515B2 (en) | Image processing device | |
JP4578004B2 (en) | Scanner and binarization method by controlling light source color of scanner | |
JP2641924B2 (en) | Image data extraction device | |
JP3456867B2 (en) | Optical character reader | |
JP2937368B2 (en) | Color image processing equipment | |
JP3121026B2 (en) | Color image processing equipment | |
JP2500923B2 (en) | Color image conversion method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20060210 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20060221 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20060418 |
|
A02 | Decision of refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A02 Effective date: 20060620 |