JPH10200740A - Image processing unit - Google Patents

Image processing unit

Info

Publication number
JPH10200740A
JPH10200740A JP9005201A JP520197A JPH10200740A JP H10200740 A JPH10200740 A JP H10200740A JP 9005201 A JP9005201 A JP 9005201A JP 520197 A JP520197 A JP 520197A JP H10200740 A JPH10200740 A JP H10200740A
Authority
JP
Japan
Prior art keywords
image
data
image data
resolution
threshold value
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.)
Withdrawn
Application number
JP9005201A
Other languages
Japanese (ja)
Inventor
Tatsuhito Ueno
辰仁 上野
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.)
Panasonic Holdings Corp
Original Assignee
Matsushita Electric Industrial 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 Matsushita Electric Industrial Co Ltd filed Critical Matsushita Electric Industrial Co Ltd
Priority to JP9005201A priority Critical patent/JPH10200740A/en
Publication of JPH10200740A publication Critical patent/JPH10200740A/en
Withdrawn legal-status Critical Current

Links

Landscapes

  • Image Processing (AREA)
  • Facsimiles In General (AREA)
  • Facsimile Image Signal Circuits (AREA)

Abstract

PROBLEM TO BE SOLVED: To reduce the time required for processing to set a threshold level to a proper value in the case that the threshold level to binarize multi-value image data is set freely and to reduce considerably a capacity of a memory required for the processing. SOLUTION: Image data read with low resolution by an image input device 21 are stored in a 1st area in a temporary storage means 23 and binarized by an image binarizing means 24 based on a threshold level set by an instruction input means 27. When a worker sees binary data displayed on a display means 25 and enters an instruction 'OK', the image input device 21 reads the data with high resolution.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、画像入力装置と画
像処理を行うコンピュータとを備えた2値画像処理シス
テムに関し、特に画像をモノクロ2値化するしきい値の
指定を容易に短時間でできる画像処理装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a binary image processing system provided with an image input device and a computer for performing image processing, and more particularly to easily and quickly specify a threshold value for converting an image into a monochrome binary image. The present invention relates to an image processing device that can be used.

【0002】[0002]

【従来の技術】従来、画像入力装置からの画像を2値画
像としてコンピュータに取り込む方法として、以下のよ
うな方法が一般的であった。
2. Description of the Related Art Conventionally, the following method has been generally used as a method for taking an image from an image input device into a computer as a binary image.

【0003】(1)画像入力装置からの多値画像を取り
込んだ後、任意のしきい値で2値化する。
(1) After taking in a multi-valued image from an image input device, binarization is performed with an arbitrary threshold value.

【0004】(2)画像入力装置に2値化機能がある場
合、あらかじめ2値化するしきい値を画像入力装置に与
え、2値化された画像を取り込む。
(2) If the image input device has a binarization function, a threshold value for binarization is given to the image input device in advance, and the binarized image is taken in.

【0005】(3)画像入力装置からの多値画像を取り
込みながら、2値化する。
(3) Binarization is performed while taking in a multi-valued image from an image input device.

【0006】[0006]

【発明が解決しようとする課題】(1)の方法では、多
値のデータをコンピュータ側に取り込むため、記憶する
媒体の容量が多くなる。また、高解像度の多値データを
繰り返し、しきい値を変えて2値化していて処理時間が
かかってしまう。
In the method (1), since multi-value data is taken into the computer, the capacity of a storage medium is increased. Further, high-resolution multi-value data is repeated, and the threshold value is changed to perform binarization, which takes a long processing time.

【0007】(2)及び(3)の方法では、取り込んだ
画像が期待通りの画像でなかった場合、再度画像入力装
置から画像を読み込まなければならなくなり、時間がか
かってしまう。
In the methods (2) and (3), if the captured image is not the expected image, the image must be read again from the image input device, which takes time.

【0008】本発明は、これらの無駄な時間を減らし、
少ない記憶容量で、正確に画像入力装置から2値画像を
取り込む方法を提供することを目的とする。
The present invention reduces these wasted time,
An object of the present invention is to provide a method for accurately capturing a binary image from an image input device with a small storage capacity.

【0009】[0009]

【課題を解決するための手段】上記した課題を解決する
ため、本発明は、低解像度多値画像入力手段、高解像度
2値画像入力手段、2値化するためのしきい値の指定手
段、2値画像を表示する手段、多値画像をしきい値によ
り2値化する手段、画像を保存する手段を持ち、低解像
度入力では、読み取った多値画像を指定されたしきい値
により2値化した画像を表示することで、表示された画
像を見て実際に必要な高解像度画像入力時のしきい値の
決定を行うことができる。また、低解像度の多値画像と
高解像度の2値画像を取り扱うため、記憶容量も少なく
て済む。
In order to solve the above-mentioned problems, the present invention provides a low-resolution multi-value image input means, a high-resolution binary image input means, a threshold value specifying means for binarization, It has a means for displaying a binary image, a means for binarizing a multi-valued image by a threshold value, and a means for storing an image. By displaying the converted image, it is possible to determine the threshold value at the time of inputting the actually required high-resolution image by looking at the displayed image. In addition, since a low-resolution multi-value image and a high-resolution binary image are handled, the storage capacity can be reduced.

【0010】[0010]

【発明の実施の形態】以下、本発明の一実施の形態につ
いて説明する。
DESCRIPTION OF THE PREFERRED EMBODIMENTS One embodiment of the present invention will be described below.

【0011】図1は、本発明に関わる実施の形態1に関
わる画像処理装置のブロック図であって、1は装置の制
御及び各種データ処理などを行うCPU、2はプログラ
ム等の固定的な情報を記憶するROMであり、CPU1
はROM2内のプログラム又は、外部記憶装置からRA
M3に複写したプログラムに従って処理を行う。3は各
種データを記憶するRAMであって、イメージスキャナ
7から読み込んだイメージデータを多値データ又は2値
データとして記憶するイメージデータ領域4、及びCR
T9に表示するためのビットマップデータを記憶するた
めの表示データ領域5と、プログラムデータを格納する
プログラム領域11を有する。6はキーボードやマウス
などの入力装置、8はハードディスク、光磁気ディスク
などの外部記憶装置、10はプリンタである。
FIG. 1 is a block diagram of an image processing apparatus according to a first embodiment of the present invention, wherein 1 is a CPU for controlling the apparatus and performing various data processing, and 2 is fixed information such as a program. Is a ROM that stores
Is the RA in the program in the ROM 2 or the external storage device.
Processing is performed according to the program copied to M3. Reference numeral 3 denotes a RAM for storing various data, an image data area 4 for storing image data read from the image scanner 7 as multi-value data or binary data, and a CR.
It has a display data area 5 for storing bitmap data to be displayed at T9, and a program area 11 for storing program data. Reference numeral 6 denotes an input device such as a keyboard or a mouse, 8 denotes an external storage device such as a hard disk or a magneto-optical disk, and 10 denotes a printer.

【0012】図2は、図1で示した画像処理装置の機能
ブロック図である。図中、21は原稿を光学的に読み取
ってデジタル信号に変換した後、イメージデータとして
出力する画像入力装置であって、イメージスキャナ7に
より実現される(デジタルカメラなどでも可)。22は
画像入力装置21に対して解像度などの設定を行った
り、画像入力装置21から出力された多値のイメージデ
ータを2値化するなどの画像処理を行う画像制御手段で
あって、CPU1がROM2内又は、プログラム領域1
1内のプログラムを実行することにより実現される。2
3は画像制御手段22で処理されたイメージデータを記
憶するための一時記憶手段であって、RAM3内のイメ
ージデータ領域4に該当する。24は一時記憶手段23
に記憶された多値のイメージデータを2値化する画像2
値化手段であって、画像制御手段22と同様にCPU1
がROM2内又は、プログラム領域11内のプログラム
を実行することにより実現される。25はCPU1の制
御、RAM3内の表示データ領域5、及びCRT9(液
晶などの表示装置でも可)により実現される表示手段、
26はCPU1の制御及び外部記憶装置8により実現さ
れる記憶手段、27はCPU1の制御及び入力装置6に
より実現される指示入力手段である。
FIG. 2 is a functional block diagram of the image processing apparatus shown in FIG. In the figure, reference numeral 21 denotes an image input device which optically reads a document, converts it into a digital signal, and outputs it as image data, and is realized by the image scanner 7 (a digital camera or the like is also possible). Reference numeral 22 denotes an image control unit that performs image processing such as setting resolution and the like for the image input device 21 and binarizing multi-valued image data output from the image input device 21. ROM 2 or program area 1
1 is executed by executing the program. 2
Reference numeral 3 denotes a temporary storage unit for storing the image data processed by the image control unit 22, and corresponds to the image data area 4 in the RAM 3. 24 is a temporary storage means 23
2 for binarizing multi-valued image data stored in
A value conversion means, which is the same as the image control means 22;
Is executed by executing a program in the ROM 2 or the program area 11. 25 is a display unit realized by the control of the CPU 1, the display data area 5 in the RAM 3, and the CRT 9 (a display device such as a liquid crystal display is also possible).
26 is a storage unit realized by the control of the CPU 1 and the external storage device 8, and 27 is an instruction input unit realized by the control and the input device 6 of the CPU 1.

【0013】画像入力装置21は、原稿イメージをRG
B三原色の信号に分解して、各色成分毎に1画素8ビッ
ト又は1画素12ビットのデータにデジタル化した多値
のイメージデータとして出力する。8ビットのデータに
するか、12ビットのデータにするかは画像制御手段2
2によって設定されるが、8ビットの場合には多値のイ
メージデータは256の階調数を、また12ビットの場
合には4096の階調数を有するデータとなる。又、画
像入力装置21は、主走査方向については150dp
i、300dpi、600dpiの3つの解像度、副走
査方向については、150dpi、300dpi、60
0dpi、1200dpi、2400dpiの5つの解
像度に対応している。主走査方向及び副走査方向につい
てどの解像度で読み取りを行うかは、画像制御手段22
によって設定される。
The image input device 21 converts the original image into RG
The signal is decomposed into signals of three primary colors B and output as multivalued image data digitized into data of 8 bits per pixel or 12 bits per pixel for each color component. The image control means 2 determines whether to use 8-bit data or 12-bit data.
The number is set by 2. In the case of 8 bits, the multi-valued image data has 256 tones, and in the case of 12 bits, it has 4096 tones. Further, the image input device 21 is 150 dp in the main scanning direction.
i, 300 dpi, 600 dpi, and three sub-scanning directions, 150 dpi, 300 dpi, 60 dpi
It corresponds to five resolutions of 0 dpi, 1200 dpi, and 2400 dpi. The resolution to be read in the main scanning direction and the sub-scanning direction is determined by the image control unit 22.
Is set by

【0014】画像制御手段22は、画像入力装置21に
対して各種設定を行う機能、画像入力装置21から出力
されるRGB三原色の多値イメージデータを合成して1
つのグレー値を表す多値のイメージデータを生成する機
能、生成した1つのグレー値を表す多値のイメージデー
タを2値化する機能を有する。
The image control means 22 has a function of making various settings for the image input device 21 and a function of synthesizing multi-valued image data of three primary colors of RGB output from the image input device 21 to obtain one image.
It has a function of generating multi-valued image data representing one gray value and a function of binarizing the generated multi-valued image data representing one gray value.

【0015】RGB三原色のデータを合成する場合、R
GBのデータをL*a*b*座標系のデータに変換し、
その内のL成分のデータをグレー値の多値イメージデー
タとして出力する。多値のイメージデータの2値化は、
指示入力手段27により設定される閥値を基準として、
図3のフローチャートに従って行われる。ここでは、先
ず、指示入力手段27から設定される値を閥値として設
定し(ステップ31)、2値化を行う多値のイメージデ
ータから1画素を読み込み(ステップ32)、読み込ん
だ画素値と閥値とを比較して(ステップ33)、画素値
の方が大きければ値「1」の画素として出力し(ステッ
プ34)、画素値の方が小さければ値「0」の画素とし
て出力する(ステップ35)。以上の処理を多値のイメ
ージデータ全画素に対して行う。この閥値は、8ビット
のデータでは「1」から「255」までの値、12ビッ
トのデータでは「1」から「4095」までの値に制限
される。
When synthesizing data of the RGB primary colors, R
Convert the data of GB into data of L * a * b * coordinate system,
The L component data is output as multi-valued gray value image data. Binarization of multi-valued image data is
Based on the threshold value set by the instruction input means 27,
This is performed according to the flowchart of FIG. Here, first, a value set from the instruction input means 27 is set as a threshold value (step 31), and one pixel is read from multi-valued image data to be binarized (step 32). The pixel value is compared with the threshold value (step 33). If the pixel value is larger, the pixel value is output as a pixel of value "1" (step 34). If the pixel value is smaller, the pixel value is output as a pixel of value "0" (step 34). Step 35). The above processing is performed on all pixels of the multi-valued image data. This threshold value is limited to a value from “1” to “255” for 8-bit data, and to a value from “1” to “4095” for 12-bit data.

【0016】画像2値化手段24は、一時記憶手段23
から多値のイメージデータを読み込んで2値化した後、
一時記憶手段23に書き込む。2値化の方法は、画像制
御手段22と同じである。表示手段25は一時記憶手段
23に記憶された2値のイメージデータを読み出し、表
示用データに変換した後表示を行う。記憶手段26は一
時記憶手段23に記憶された2値のイメージデータを、
イメージファイルとしてファイル名とともに記憶するも
のである。又、指示入力手段27は、作業者からの指示
を画像制御手段22、画像2値化手段24及び記憶手段
26に入力するものである。
The image binarizing means 24 includes a temporary storage means 23
After reading multi-value image data from and binarizing it,
Write to the temporary storage means 23. The binarization method is the same as that of the image control unit 22. The display means 25 reads out the binary image data stored in the temporary storage means 23, converts the data into display data, and performs display. The storage means 26 stores the binary image data stored in the temporary storage means 23,
This is stored together with the file name as an image file. The instruction input unit 27 inputs an instruction from an operator to the image control unit 22, the image binarization unit 24, and the storage unit 26.

【0017】以上のように構成された実施の形態1に係
る画像処理装置について、以下その動作を図4のフロー
チャートに沿って説明する。
The operation of the image processing apparatus according to the first embodiment configured as described above will be described below with reference to the flowchart of FIG.

【0018】ここでは、指示入力手段27から、画像制
御手段22に対し、解像度を600dpi、階調数を2
56階調(8ビット)とするように設定が行われている
ものとする。
Here, from the instruction input means 27 to the image control means 22, the resolution is 600 dpi and the number of gradations is two.
It is assumed that the setting is made so as to have 56 gradations (8 bits).

【0019】先ず、指示入力手段27から画像入力の指
示が入力されると、画像制御手段22は画像入力装置2
1に対して、画像入力装置21が対応できる最も低い解
像度150dpi、階調数256階調で原稿イメージの
読み取りを行うように要求する(ステップ1)。読み取
り要求を受けた画像入力装置21では、解像度150d
piで高速に読み取りを行い、RGB三原色のデータ各
々を、8ビットのデジタルデータに変換して画像制御手
段22へ出力する(ステップ2)。画像制御手段22で
は、RGB三原色のデータを合成して1つのグレー値を
持つ多値のイメージデータを生成し、一時記憶手段23
内の第1のエリアへ書込む(ステップ3)。
First, when an image input instruction is input from the instruction input means 27, the image control means 22
1 is requested to read the document image at the lowest resolution 150 dpi and 256 gradations that the image input device 21 can support (step 1). The image input device 21 that has received the reading request has a resolution of 150d
The image data is read at a high speed at pi, and each of the RGB primary colors is converted into 8-bit digital data and output to the image control unit 22 (step 2). The image control means 22 combines the data of the three primary colors RGB to generate multi-value image data having one gray value, and temporarily stores the multi-valued image data.
(Step 3).

【0020】ここで、画像2値化手段24は、指示入力
手段27からの閥値の設定を待って(ステップ4)、一
時記憶装置23内の第1のエリアから多値のイメージデ
ータを読み出して設定された閥値に基づいて2値化処理
を行い、得られた2値のイメージデータを一時記憶手段
23内の第2のエリアへ書き込む(ステップ5)。2値
化が終わると、表示手段25は一時記憶手段23内の第
2のエリアから2値のイメージデータを読み出し、表示
の解像度に応じた表示用データに変換して表示を行う
(ステップ6)。
Here, the image binarizing means 24 waits for setting of the threshold value from the instruction input means 27 (step 4), and reads out multi-valued image data from the first area in the temporary storage device 23. The binarization process is performed based on the set threshold value, and the obtained binary image data is written to the second area in the temporary storage means 23 (step 5). When the binarization is completed, the display unit 25 reads out the binary image data from the second area in the temporary storage unit 23, converts the binary image data into display data corresponding to the display resolution, and displays the data (step 6). .

【0021】ここで、作業者に指示入力手段27によっ
て、表示手段25に表示されたデータが期待通りの画像
であるか否かを確認させ(ステップ7)、期待通りであ
る旨の入力が得られればステップ8の処理へ移行し、期
待通りではない旨の入力があった場合にはステップ4の
処理へ戻る。ステップ4に戻った場合、再度指示入力手
段27からの閥値の設定を待ってその後の処理を行う。
Here, the operator is caused to confirm whether or not the data displayed on the display means 25 is an expected image by the instruction input means 27 (step 7), and an input indicating that the data is as expected is obtained. If it is, the process proceeds to step 8. If there is an input indicating that the result is not as expected, the process returns to step 4. When the process returns to step 4, the subsequent processing is performed after waiting for the setting of the threshold value from the instruction input means 27 again.

【0022】ステップ8では、画像2値化手段24が最
後に設定された閥値を、画像制御手段22に対して設定
する。次に、画像制御手段22が、画像入力装置21に
対して、予め設定されていた解像度600dpi、階調
数256階調で原稿イメージの読み取りを行うように要
求し、読み取り要求を受けた画像入力装置21では、解
像度600dpiで読み取りを行い、RGB三原色のデ
ータ各々を、8ビットのデジタルデータに変換して画像
制御手段22へ出力する。画像制御手段22では、RG
B三原色のデータを合成して1つのグレー値を持つ多値
のイメージデータを生成するとともに、その多値のイメ
ージデータを、ステップ8で設定された閥値に基づいて
2値化処理し、一時記憶手段23内の第3のエリアへ書
込む(以上、ステップ9)。更に表示手段25は一時記
憶手段23内の第3のエリアから2値のイメージデータ
を読み出し、表示の解像度に応じた表示用データに変換
して表示を行う(ステップ10)。表示が行われた後、
指示入力手段27からのファイル保存指示を待って、記
憶手段26は一時記憶手段23内の第3のエリアから2
値のイメージデータを読み出し、指示入力手段27から
入力されるファイル名とともにイメージファイルとして
保存する。
In step 8, the image binarizing means 24 sets the last set threshold value to the image control means 22. Next, the image control unit 22 requests the image input device 21 to read the original image at a preset resolution of 600 dpi and 256 gradation levels, and receives the read request. The device 21 reads at a resolution of 600 dpi, converts each of the RGB primary colors into 8-bit digital data, and outputs the digital data to the image control unit 22. In the image control means 22, RG
The multi-valued image data having one gray value is generated by synthesizing the data of the three primary colors B, and the multi-valued image data is binarized based on the threshold set in step 8 to temporarily Writing to the third area in the storage means 23 (step 9). Further, the display means 25 reads the binary image data from the third area in the temporary storage means 23, converts the binary image data into display data according to the display resolution, and displays the data (step 10). After the display is made,
Waiting for a file saving instruction from the instruction input means 27, the storage means 26 stores the second area from the third area in the temporary storage
The image data of the value is read and stored as an image file together with the file name input from the instruction input means 27.

【0023】以上のように実施の形態1に係る画像処理
装置では、低解像度で1回読み取った多値イメージデー
タに対して、所望の2値データが得られるまで閥値を変
えながら2値化を繰り返して適切な閥値を決定した後
に、所望の高解像度で読み取りを行うために、2値化の
閥値の調整作業に要する時間を大幅に短縮できる。
As described above, in the image processing apparatus according to the first embodiment, the multivalued image data read once at a low resolution is binarized while changing the threshold value until desired binary data is obtained. Is repeated to determine an appropriate threshold value, and in order to perform reading at a desired high resolution, the time required for adjusting the threshold value of binarization can be greatly reduced.

【0024】又、閥値の調整中には低解像度の多値デー
タとそれを2値化したデータ、高解像度データの処理中
には高解像度の2値データを一時記憶するだけで、高解
像度の多値データを一時記憶する必要がないため、イメ
ージデータの一時記憶用のメモリ容量を大幅に削減でき
る。
During the adjustment of the threshold value, the low-resolution multi-valued data and its binarized data are processed. During the processing of the high-resolution data, the high-resolution binary data is temporarily stored. Since it is not necessary to temporarily store the multivalued data, the memory capacity for temporarily storing the image data can be greatly reduced.

【0025】指定される解像度をN、閥値調整の読み取
りの為の低い解像度をn、多値イメージデータの1画素
あたりのデータ量をmビット、2値イメージデータの1
画素あたりのデータ量を1、画像サイズを横wインチ、
縦hインチとすると、低解像度で読み取った場合の多値
画像データのデータ量は(n×m×w×n×h÷8)バ
イト、それを2値化した場合のデータ量は(n×w×n
×h÷8)バイトで求められる。また、高解像度で読み
取った場合の多値画像データのデータ量は(N×m×w
×N×h÷8)バイト、それを2値化した場合のデータ
量は(N×w×N×h÷8)バイトで求められる。従っ
て、本第1の実施の形態の場合には、原稿が1インチ四
方のサイズであるとして、閥値調整中に必要なメモリの
容量は、150dpi(低解像度)で読み取った多値イ
メージデータのデータ量22,500バイトとそれを2
値化したデータのデータ量2,813バイトの合計2
5,313バイトとなる。又、指定解像度(高解像度)
データの読み取り時に必要なメモリの容量は、2値化後
のイメージデータのデータ量45,000バイトとな
る。従って、高解像度の多値データを用いて閥値の調整
を行う場合に必要なメモリの容量360,000バイト
(高解像度の多値イメージデータのデータ量)+45,
000バイト=405,000バイトに比べて405,
000バイト−(22,500バイト+2,813バイ
ト+45,000バイト)=334,6878バイトの
メモリを削減することができる。
The designated resolution is N, the low resolution for reading the threshold value adjustment is n, the data amount per pixel of multi-valued image data is m bits, and the binary image data is 1 bit.
The data amount per pixel is 1, the image size is w inches wide,
Assuming that the height is h inches, the data amount of the multi-valued image data when reading at low resolution is (n × m × w × n × h ÷ 8) bytes, and the data amount when binarizing the data is (n × w × n
× h ÷ 8) It is obtained in bytes. Further, the data amount of the multi-valued image data when read at a high resolution is (N × m × w
(× N × h ÷ 8) bytes, and the data amount when the binarization is obtained is (N × w × N × h ÷ 8) bytes. Therefore, in the case of the first embodiment, assuming that the document is 1 inch square, the memory capacity required during the threshold value adjustment is the same as that of the multi-valued image data read at 150 dpi (low resolution). 22,500 bytes of data and 2
Total 2 of the data amount of the valued data 2,813 bytes
This is 5,313 bytes. Also, specified resolution (high resolution)
The capacity of the memory required for reading data is 45,000 bytes of image data after binarization. Therefore, the memory capacity required for adjusting the threshold value using the high-resolution multi-value data is 360,000 bytes (the amount of high-resolution multi-value image data) +45,
000 bytes = 405 compared to 405,000 bytes
000 bytes− (22,500 bytes + 2,813 bytes + 45,000 bytes) = 334,6878 bytes of memory can be reduced.

【0026】これを一般式で表すと、(数1)に示す式
になる。
When this is represented by a general formula, the formula shown in (Equation 1) is obtained.

【0027】[0027]

【数1】 (Equation 1)

【0028】即ち、1画素あたりのデータ量mが大きく
(階調数が大きい)、指定解像度N(高解像度の場合)
と低解像度n(閥値調整時の解像度)の差が大きいほ
ど、メモリの容量の削減が可能となる。
That is, the data amount m per pixel is large (the number of gradations is large) and the designated resolution N (in the case of high resolution)
And the lower resolution n (resolution at the time of adjusting the threshold value), the more the memory capacity can be reduced.

【0029】図5は本発明に係る実施の形態2の機能ブ
ロック図であって、41は原稿を光学的に読み取ってデ
ジタル信号に変換した後、イメージデータとして出力す
る画像入力装置、42は画像入力装置41に対して解像
度や2値化用閥値などの設定を行う画像制御手段であ
る。本第2の実施の形態では、画像制御手段42は多値
イメージデータを2値化する機能やRGBのデータをグ
レーデータに変換する機能は持たず、画像入力装置41
側でそれらの処理を行っている。従って、画像制御手段
42は画像入力装置41に対して解像度や階調数の設定
のほか、読み取ったデータを多値のまま出力するか又は
2値化して出力するかの設定を行う。又、画像入力装置
41及び画像制御手段42以外の部分は第1の実施の形
態と、構成、処理ともに同様であるので、ここでは説明
を省略する。
FIG. 5 is a functional block diagram of a second embodiment according to the present invention. Reference numeral 41 denotes an image input device which optically reads an original, converts the original into a digital signal, and outputs it as image data. This is an image control unit that sets the resolution and the binarization threshold value for the input device 41. In the second embodiment, the image control means 42 does not have a function of binarizing multi-valued image data or a function of converting RGB data to gray data, and
The processing is done on the side. Therefore, the image control unit 42 sets the resolution and the number of gradations for the image input device 41, and also sets whether to output the read data as multi-valued data or to convert the read data into binary data. In addition, portions other than the image input device 41 and the image control means 42 are the same as those in the first embodiment in both configuration and processing, and thus description thereof is omitted here.

【0030】尚、本第1及び第2の実施の形態ではカラ
ーイメージデータを対象としているが、モノクロイメー
ジデータを対象とした画像入力装置を使用しても同様の
効果が得られることは明らかである。
Although the first and second embodiments are directed to color image data, it is apparent that the same effect can be obtained by using an image input device for monochrome image data. is there.

【0031】[0031]

【発明の効果】本願発明は、以上の通り、低解像度入力
では、読み取った多値画像を指定されたしきい値により
2値化した画像を表示することで、表示された画像を見
て実際に必要な高解像度画像入力時のしきい値の決定を
行うことができる。また、低解像度の多値画像と高解像
度の2値画像を取り扱うため、記憶容量も少なくて済む
という効果を奏する。
As described above, according to the present invention, at the time of low-resolution input, a read multi-valued image is binarized by a specified threshold value to display a binarized image. Of the threshold value at the time of inputting the high-resolution image necessary for the image processing can be determined. In addition, since a low-resolution multi-value image and a high-resolution binary image are handled, the effect of requiring a small storage capacity is achieved.

【図面の簡単な説明】[Brief description of the drawings]

【図1】本発明の第1の実施の形態における画像処理装
置のブロック図
FIG. 1 is a block diagram of an image processing apparatus according to a first embodiment of the present invention.

【図2】同画像処理装置の機能ブロック図FIG. 2 is a functional block diagram of the image processing apparatus.

【図3】同画像処理装置における2値化処理のフローチ
ャート
FIG. 3 is a flowchart of a binarization process in the image processing apparatus.

【図4】同画像処理装置の動作を示すフローチャートFIG. 4 is a flowchart showing the operation of the image processing apparatus.

【図5】本発明の第2の実施の形態における画像処理装
置の機能ブロック図
FIG. 5 is a functional block diagram of an image processing apparatus according to a second embodiment of the present invention.

【符号の説明】[Explanation of symbols]

21 画像入力装置 22 画像制御手段 23 一時記憶手段 24 画像2値化手段 25 表示手段 26 記憶手段 27 指示入力手段 DESCRIPTION OF SYMBOLS 21 Image input device 22 Image control means 23 Temporary storage means 24 Image binarization means 25 Display means 26 Storage means 27 Instruction input means

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】原稿のイメージを第1の解像度で読み取
り、多値イメージデータとして出力する第1の読取手段
と、 前記原稿のイメージを第1の解像度よりも低い第2の解
像度で読み取り、低解像度の多値イメージデータとして
出力する第2の読取手段と、 前記低解像度の多値イメージデータを記憶する記憶手段
と、 前記記憶手段に記憶された前記低解像度の多値イメージ
データを2値化するための閥値を設定する閥値設定手段
と、 前記閥値設定手段によって設定された閥値によって前記
記憶手段に記憶された前記低解像度の多値イメージデー
タを2値化する第1の2値化手段と、 前記第1の2値化手段によって2値化されたイメージデ
ータを表示する表示手段と、 前記表示手段に表示された2値イメージデータの適否を
入力する入力手段と、 前記入力手段によって前記2値イメージデータが適と入
力された場合に、前記第1の読み取り手段により原稿の
イメージの読み取らせ、得られた多値イメージデータを
前記閥値設定手段によって設定された閥値によって2値
化する処理手段とを有することを特徴とする画像処理装
置。
A first reading unit that reads an image of a document at a first resolution and outputs the image as multi-valued image data; and reads the image of the document at a second resolution lower than the first resolution. Second reading means for outputting as resolution multi-value image data, storage means for storing the low-resolution multi-value image data, and binarization of the low-resolution multi-value image data stored in the storage means Threshold value setting means for setting a threshold value for performing the threshold value setting, and a first threshold value binarizing the low-resolution multi-value image data stored in the storage means according to the threshold value set by the threshold value setting means. Value conversion means, display means for displaying the image data binarized by the first binarization means, and input means for inputting whether or not the binary image data displayed on the display means is appropriate When the binary image data is properly input by the input unit, the image of the original is read by the first reading unit, and the obtained multi-value image data is set by the threshold value setting unit. An image processing device comprising: a processing unit that binarizes the image based on a threshold value.
JP9005201A 1997-01-16 1997-01-16 Image processing unit Withdrawn JPH10200740A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP9005201A JPH10200740A (en) 1997-01-16 1997-01-16 Image processing unit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP9005201A JPH10200740A (en) 1997-01-16 1997-01-16 Image processing unit

Publications (1)

Publication Number Publication Date
JPH10200740A true JPH10200740A (en) 1998-07-31

Family

ID=11604593

Family Applications (1)

Application Number Title Priority Date Filing Date
JP9005201A Withdrawn JPH10200740A (en) 1997-01-16 1997-01-16 Image processing unit

Country Status (1)

Country Link
JP (1) JPH10200740A (en)

Similar Documents

Publication Publication Date Title
US5521990A (en) Image data processing using bi-level and multi-level value data
JP4341653B2 (en) Image processing apparatus, image reading apparatus, image processing method, and image processing program
JPH08274992A (en) Image processing method and device
JP3297921B2 (en) Image display method and apparatus
JPH03259193A (en) Gray scale character display device
JP3478861B2 (en) Smoothing enlargement processing method for binary image data
JPH0253761B2 (en)
JPH10200740A (en) Image processing unit
JP2004240200A (en) Image forming apparatus
JP3539552B2 (en) Image processing device
JP2646889B2 (en) Image processing device
JP3927543B2 (en) Method and apparatus for simulating 2-bit / pel printing on a bi-level printer using intelligent double dotting
JP2513636B2 (en) Image processing device
JP2559710B2 (en) Image processing method
JP2646888B2 (en) Image processing device
JP2003348338A (en) Information processing apparatus
JP2624031B2 (en) Image processing device
JP3014257B2 (en) Document reading device
JPS6385981A (en) Binary/multi-level converting image processor
JPH04286274A (en) Image processor
JPS63108379A (en) Contrast converter
JPH09154009A (en) Printer system
JP2002152511A (en) Image processor, image processing method and computer readable medium recording program for executing that method in computer
JPS63108470A (en) Image processing system
JPH03158973A (en) Picture data file device

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20040115

RD01 Notification of change of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7421

Effective date: 20040213

RD01 Notification of change of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7421

Effective date: 20050623

A761 Written withdrawal of application

Free format text: JAPANESE INTERMEDIATE CODE: A761

Effective date: 20061101