JPH0654941B2 - Image processing device - Google Patents

Image processing device

Info

Publication number
JPH0654941B2
JPH0654941B2 JP60041886A JP4188685A JPH0654941B2 JP H0654941 B2 JPH0654941 B2 JP H0654941B2 JP 60041886 A JP60041886 A JP 60041886A JP 4188685 A JP4188685 A JP 4188685A JP H0654941 B2 JPH0654941 B2 JP H0654941B2
Authority
JP
Japan
Prior art keywords
information
pixel
dot
pixel information
image
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.)
Expired - Lifetime
Application number
JP60041886A
Other languages
Japanese (ja)
Other versions
JPS61201560A (en
Inventor
由之 嶋村
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Canon Inc
Original Assignee
Canon Inc
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 Canon Inc filed Critical Canon Inc
Priority to JP60041886A priority Critical patent/JPH0654941B2/en
Publication of JPS61201560A publication Critical patent/JPS61201560A/en
Publication of JPH0654941B2 publication Critical patent/JPH0654941B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Image Processing (AREA)
  • Facsimile Scanning Arrangements (AREA)
  • Character Input (AREA)

Description

【発明の詳細な説明】 [技術分野] 本発明は、画像処理装置に関し、特に複数の第1の画素
情報を入力し、当該入力画素情報より少ない数の第2の
画素情報に変換する画像処理装置に関するものである。
Description: TECHNICAL FIELD The present invention relates to an image processing apparatus, and in particular, image processing for inputting a plurality of pieces of first pixel information and converting the pieces of second pixel information into a smaller number of pieces of second pixel information than the input pixel information. It relates to the device.

[従来技術] 従来この種の装置においては、1つのドットに対応した
複数の画素情報について多数決演算を行い、その結果の
みを用いて1つのドットの2値化が行われていた。
[Prior Art] Conventionally, in this type of device, a majority operation is performed on a plurality of pieces of pixel information corresponding to one dot, and only one result is used to perform binarization of one dot.

例えば、1ドットに4つのイメージセンサを対応させ、
8ドットについて2値化を行う従来装置においては、第
4図の(a)のように、2値化に係る1ドットについて4
つの画素情報のうち2つ以上白の情報が来れば当該1ド
ットを白とするような多数決演算のみを各ドット毎に独
立に行い、8ドット分の2値化を行っていた。なお、第
4図の(a)はドットDとイメージセンサ1との対応を示
すもので、ブロック内の数字はドット番号およびセンサ
番号である。
For example, 1 dot corresponds to 4 image sensors,
In the conventional device that binarizes eight dots, as shown in (a) of FIG.
If two or more pieces of white information out of one piece of pixel information come, only a majority operation that makes the one dot white is performed independently for each dot, and binarization for eight dots is performed. It should be noted that FIG. 4A shows the correspondence between the dots D and the image sensor 1, and the numbers in the blocks are the dot numbers and the sensor numbers.

しかしながら、かかる処理を行う従来装置では、第4図
(b)や(c)に示すように画素情報が読取られた場合(図で
は斜線部が黒の情報を示す)読取りに係る8ドットすべ
てが黒となってしまい、白情報を伝えているイメージセ
ンサもあるにも拘ず、得られたドット情報には全く反映
されないことになり、従って原稿画像に忠実に画像読取
りを行うことが困難になるという欠点があった。
However, in the conventional device that performs such a process, as shown in FIG.
When the pixel information is read as shown in (b) and (c) (in the figure, the shaded area indicates black information), all 8 dots related to reading become black, and the image conveys white information. Despite the presence of the sensor, the obtained dot information is not reflected at all, and thus it is difficult to read the image faithfully to the original image.

[目的] 本発明の目的は、かかる従来の欠点を除去し、1ドット
の画像情報決定に際しては、そのドットに対応する複数
の画素情報の多数決演算に加え、そのドットに隣接する
ドットの画像情報をも考慮することにより、原稿画像に
より忠実にドット毎の画像情報に変換できる画像処理装
置を提供することにある。
[Purpose] The object of the present invention is to eliminate such a conventional defect, and when determining the image information of one dot, in addition to the majority operation of a plurality of pixel information corresponding to the dot, the image information of the dot adjacent to the dot By also considering the above, it is an object of the present invention to provide an image processing apparatus capable of more faithfully converting the image of a document into image information for each dot.

[実施例] 以下、図面を参照して、本発明を詳細に説明する。[Examples] Hereinafter, the present invention will be described in detail with reference to the drawings.

第1図は本発明画像処理装置の一構成例を示す。ここ
で、Iは原稿P上の画像を光学的に読取る読取りヘッド
であり、原稿面に対向して副走査方向に配列したイメー
ジセンサアレーを有する。Cは読取りヘッド1を搭載す
るキャリッジであり、搬送ベルトB上に固定され、ステ
ップモータ等駆動手段MによりガイドレールGに沿って
走査方向(S方向)に移動可能である。
FIG. 1 shows an example of the configuration of the image processing apparatus of the present invention. Here, I is a reading head that optically reads an image on the original P, and has an image sensor array arranged in the sub-scanning direction so as to face the original surface. C is a carriage on which the reading head 1 is mounted, which is fixed on the conveyor belt B and can be moved in the scanning direction (S direction) along the guide rail G by the driving means M such as a step motor.

すなわち、原稿画像は読取りヘッドIがS方向に移動す
る過程で副走査方向に配列されたイメージセンサアレー
により読取られ、この読取られた画像情報を第2図(A)
に示す読取り制御部に導く。
That is, the original image is read by the image sensor array arranged in the sub-scanning direction while the read head I moves in the S direction, and the read image information is shown in FIG. 2 (A).
It leads to the reading control section shown in.

第2図(A)は本発明画像処理装置の主要部である読取り
制御部の一構成例を示す。ここで、1はCCD等の自己走
査形固体イメージセンサアレイであり、受光素子、電荷
を蓄積する光電変換器、シフトレジスタ等を有する。こ
のイメージセンサアレイ1における受光素子の画素の大
きさは読取り記憶に係るドットの大きさに対して十分小
さく、複数個の画素で1ドットが構成されるようにす
る。なお本例では1ドットに4画素を対応させる。
FIG. 2 (A) shows an example of the configuration of the reading control unit which is the main part of the image processing apparatus of the present invention. Here, 1 is a self-scanning solid-state image sensor array such as a CCD, which has a light receiving element, a photoelectric converter for accumulating charges, a shift register, and the like. The size of the pixel of the light receiving element in the image sensor array 1 is sufficiently smaller than the size of the dot for reading and storing, and one pixel is composed of a plurality of pixels. In this example, one dot corresponds to four pixels.

このイメージセンサアレイ1の光電変換部に蓄積された
電荷はシフトレジスタ部に転送され、次いで例えばマイ
クロプロッセサ形態の中央処理装置(以下CPUという)
2からの読取り信号RDにより、シフトレジスタ部に転送
された電荷が増幅器3に送出され、増幅される。増幅器
3からの出力は2値化回路4を介して2値化され、CPU2
に送出された後、第1メモリ5に記憶される。CPU2は多
数決演算,上下比較演算の処理を行うプログラムが格納
されているROMと上記処理に必要な一時保存用メモリRAM
を内蔵している。CPU2は第1メモリ5に格納されたデー
タに基づいて、多数決演算および上下画素との比較演算
を含む第3図につき後述する処理を行なってドット情報
を決定し、その決定されたドット情報を第2メモリ6に
格納していく。
The charges accumulated in the photoelectric conversion unit of the image sensor array 1 are transferred to the shift register unit, and then, for example, a central processing unit (hereinafter referred to as CPU) in a microprocessor type.
By the read signal RD from 2, the charge transferred to the shift register section is sent to the amplifier 3 and amplified. The output from the amplifier 3 is binarized via the binarization circuit 4, and the CPU2
And then stored in the first memory 5. CPU2 is a ROM that stores programs that perform the processing of majority voting and vertical comparison, and memory RAM for temporary storage required for the above processing.
Built in. Based on the data stored in the first memory 5, the CPU 2 determines the dot information by performing the processing described later with reference to FIG. 3 including the majority calculation and the comparison calculation with the upper and lower pixels, and determines the determined dot information. 2 Store in the memory 6.

第2図(B)はCPU2に設けられた一時保存用メモリRAMの内
容を示す図で、A,C,Eエリアには各々(−1),
(),(+1)ドットに対応した4画素情報が、ま
た、B,D,Fエリアには後述の多数決演算で決定した
(−1),(),(+1)ドットに対応するドッ
ト仮情報が一時的に保存される。
FIG. 2 (B) is a diagram showing the contents of the temporary storage memory RAM provided in the CPU 2, where (-1), and
Four-pixel information corresponding to () and (+1) dots, and dot provisional information corresponding to (-1), (), and (+1) dots determined by a majority calculation to be described later in the B, D, and F areas. Is temporarily saved.

次に上記のように構成された画像処理装置において、イ
メージセンサ1からの画素情報を原稿画像に忠実にドッ
ト情報に変換する処理を述べる。ここでは第4図(a)に
示すように4つの画素情報を1つのドット情報に対応さ
せ、8ドット分の読取りを行ってゆく場合について説明
する。また、多数決演算として、4画素情報のうち白情
報が2つ以上ある場合にその対応するドット情報を白で
あると仮定するものとする。
Next, in the image processing apparatus configured as described above, processing for converting pixel information from the image sensor 1 into dot information faithfully to the original image will be described. Here, as shown in FIG. 4 (a), a case will be described in which four pieces of pixel information are associated with one piece of dot information and eight dots are read. Further, as a majority calculation, when there are two or more pieces of white information among the four pixel information, it is assumed that the corresponding dot information is white.

第3図は本発明に係る装置による読取り画像の処理手順
の一例を示し、前述の如く本手順はCPU2のROMに格納さ
れている。なお、図において、はドット番号のパラメ
ータを示す。
FIG. 3 shows an example of the processing procedure of the read image by the apparatus according to the present invention. As described above, this procedure is stored in the ROM of the CPU2. In the figure, indicates the parameter of dot number.

まず、ステップS1において、第1ドットに対応する4画
素の情報を読出して一時保存用メモリRAMのAエリアに
保存し、ステップS2にてそのうち白である画素数が2以
上か否かを判定する。ここで、肯定判定であれば第1ド
ットに関する画像情報(以下第1ドット情報の如くい
う)を白であると特定し、否定判定であれば黒であると
特定してその情報を第2メモリ6に格納するとともに、
一時保存用メモリRAMのBエリアに保存する。
First, in step S1, the information of four pixels corresponding to the first dot is read out and stored in area A of the temporary storage memory RAM, and in step S2 it is determined whether the number of white pixels is 2 or more. . Here, if the affirmative determination is made, the image information regarding the first dot (hereinafter referred to as the first dot information) is specified as white, and if the negative determination is made, the image information is specified as black and the information is stored in the second memory. Stored in 6 and
Save in area B of temporary storage memory RAM.

次に、ステップS10にてパラメータを“2”とし、ス
テップS11にて第2ドットに対応する4画素の情報を読
出して一時保存用メモリRAMのCエリアに保存した後、
ステップS12にてステップS2と同様の多数決演算を行
い、その結果に基づいてステップS13およびS14にて第2
ドット情報を、それぞれ黒および白と仮定し、一時保存
用メモリRAMのDエリアに保存する(なお、このように
仮定されたドット情報を以下第2ドット仮情報の如く言
う)。
Next, in step S10, the parameter is set to "2", and in step S11, the information of the four pixels corresponding to the second dot is read out and stored in the C area of the temporary storage memory RAM.
In step S12, the same majority voting as in step S2 is performed, and based on the result, the second majority operation is performed in steps S13 and S14
The dot information is assumed to be black and white, respectively, and saved in the D area of the temporary storage memory RAM (the dot information assumed in this way is hereinafter referred to as second dot provisional information).

次に、ステップS21にて、第ドットに続く第(+
1)ドット(この場合第3ドット)の4画素情報を読出
して一時保存用メモリRAMのEエリアに保存し、ステッ
プS12〜S14と同様の手順S22〜S24を経て第(+1)ド
ット仮情報を求め、一時保存用メモリRAMのFエリアに
保存する。而して、ステップS30にて、一時保存用メモ
リRAMのB,D,Fエリアに保存されている第(−
1)ドット情報、第ドット仮情報および第(+1)
ドット仮情報(ここでは第1ドット情報、第2ドット仮
情報および第3ドット仮情報)がすべて等しいかを判定
する。
Next, in step S21, the second dot (+
1) Read out the 4-pixel information of the dot (third dot in this case) and store it in the E area of the temporary storage memory RAM, and through the steps S22-S24 similar to steps S12-S14, generate the (+1) th dot provisional information. Obtained and saved in the F area of the temporary memory RAM. Then, in step S30, the data stored in the B, D, and F areas of the temporary storage memory RAM (-
1) Dot information, provisional dot information, and (+1) th dot
It is determined whether all the dot provisional information (here, the first dot information, the second dot provisional information, and the third dot provisional information) are the same.

ここで、肯定判定であればステップS31にて一時保存用
メモリRAMのCエリアに保存されている第ドット(こ
こでは第2ドット)に対応する4画素情報がすべて等し
いか否かを判定し、4画素中1画素でも異った情報があ
れば、ステップS33に進み、第ドット仮情報を反転さ
せた情報、すなわち第ドット仮情報が白であれば黒と
し、黒であれば白とする如くしてその反転情報を第ド
ット情報として、第2メモリ6に格納する。一方、ステ
ップS30にて判定に係る3ドットの情報のうち異った情
報がある場合、およびステップS31にて肯定判定の場合
はステップS34に進み、第ドット(ここでは第2ドッ
ト)仮情報を第ドット情報として、第2メモリ6に格
納する。
Here, if the determination is affirmative, it is determined in step S31 whether or not all the four pixel information corresponding to the second dot (here, the second dot) stored in the C area of the temporary storage memory RAM is equal, If even one pixel out of the four pixels has different information, the process proceeds to step S33, and the information obtained by inverting the temporary dot information is black if the temporary dot information is white, and white if black. Then, the inversion information is stored in the second memory 6 as the dot information. On the other hand, if there is different information among the three-dot information related to the determination in step S30 and if the determination is positive in step S31, the process proceeds to step S34, and the provisional information of the second dot (second dot in this case) is set. It is stored in the second memory 6 as the dot information.

次に、ステップS40にて、+1が8に達したか否かを
判定し、ここでは否定判定がなされるのでステップS41
に進み、の値を+1歩進してステップS21に復帰す
る。
Next, in step S40, it is determined whether or not +1 has reached 8. Since a negative determination is made here, step S41
Then, the value of is incremented by 1 and the process returns to step S21.

以下、同様にして第3〜第7ドット情報を決定して行
き、=7のときにはステップS40にて肯定判定がなさ
れてステップS42に進み、第8ドットに関してはそれに
続くドットがないのでその仮情報をそのまま第8ドット
情報と決定し、第2メモリ6に格納する。
Hereinafter, similarly, the third to seventh dot information is determined. When = 7, an affirmative determination is made in step S40 and the process proceeds to step S42. Since there is no subsequent dot for the eighth dot, its provisional information Is directly determined as the eighth dot information and stored in the second memory 6.

このように、上下画素比較演算を多数決演算に加えるこ
とによって、第4図に示すように、例えば、図中(b)お
よび(c)のような場合、従来ではすべてのドットが黒と
判定されていたのに対し、本発明によれば(b)のような
場合であれば(d)のように、(c)のような場合であれば
(e)のようにドット情報が得られる。すなわち、イメー
ジセンサの伝える画素情報をドット情報に反映すること
が可能になり、原稿画像により忠実な画像情報が得られ
ることになる。
Thus, by adding the upper and lower pixel comparison calculation to the majority calculation, as shown in FIG. 4, for example, in the case of (b) and (c) in the figure, all the dots are conventionally determined to be black. On the other hand, according to the present invention, in the case of (b), as in (d), in the case of (c)
Dot information is obtained as in (e). That is, the pixel information transmitted by the image sensor can be reflected in the dot information, and more faithful image information can be obtained from the original image.

なお、本実施例ではドット数および1ドットに対応する
画素数をそれぞれ、8および4としたが、これら数値は
例示であって任意所望のものとすることができるのは勿
論である。
In this embodiment, the number of dots and the number of pixels corresponding to one dot are set to 8 and 4, respectively, but these numbers are mere examples and can be arbitrarily set.

また、実施例では、8ドット分の画素情報群をすべて第
1メモリに格納した後にドット情報の決定処理を行うよ
うにしたが、画素情報群が順次にCPUに転送されて来た
過程で順次に行われるようにしてもよい。
In the embodiment, the pixel information group for 8 dots is stored in the first memory and then the dot information determination process is performed. However, the pixel information group is sequentially transferred to the CPU in the process. May be performed at any time.

[効果] 以上説明したように、本発明によれば、1ドットの画像
情報決定に際して、そのドットに対応する画素情報群の
多数決演算に加え、当該注目ドットおよびこれに隣接す
るドットについてのそれぞれの多数決演算結果(第2の
画素情報)がすべて等しいかを考慮し、等しい場合には
さらに注目ドットについてこれを構成する画素情報(第
1の画素情報)群がすべて等しいか否かを判定し、否定
判定の場合には注目ドットの多数決演算結果を反転する
ようにしたので、原稿画像により忠実に画像情報に変換
できる画像処理装置を実現できる効果がある。
[Effects] As described above, according to the present invention, when determining the image information of one dot, in addition to the majority calculation of the pixel information group corresponding to the dot, each of the target dot and the dot adjacent thereto is determined. Considering whether the majority voting calculation results (second pixel information) are all equal, if they are equal, it is further determined whether or not the pixel information (first pixel information) groups forming the dot of interest are all equal, In the case of a negative determination, the majority calculation result of the target dot is inverted, so that there is an effect that an image processing apparatus capable of faithfully converting the original image into image information can be realized.

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

第1図は本発明画像読取装置の一構成例を示す斜視図、 第2図(A)および(B)は、それぞれ、その主要部である画
像読取制御部の一構成例を示すブロック図およびそのCP
Uに設けた一時保存用メモリを説明する線図、 第3図は本発明装置における画像読取り処理手順の一例
を示すフローチャート、 第4図は本発明による画像読取りの態様を説明するため
の説明図である。 I…読取りヘッド、 C…キャリッジ、 B…ベルト M…ステップモータ、 P…原稿、 G…ガイドレール、 1…イメージセンサ、 2…CPU、 3…増幅器、 4…2値化回路、 5,6…メモリ。
FIG. 1 is a perspective view showing an example of the configuration of the image reading apparatus of the present invention, and FIGS. 2 (A) and 2 (B) are block diagrams showing an example of the configuration of an image reading control unit, which is the main part thereof. That CP
FIG. 3 is a diagram for explaining a temporary storage memory provided in U, FIG. 3 is a flow chart showing an example of an image reading processing procedure in the apparatus of the present invention, and FIG. 4 is an explanatory diagram for explaining an aspect of image reading according to the present invention. Is. I ... Read head, C ... Carriage, B ... Belt M ... Step motor, P ... Original, G ... Guide rail, 1 ... Image sensor, 2 ... CPU, 3 ... Amplifier, 4 ... Binarization circuit, 5, 6 ... memory.

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】複数の第1の画素情報を入力し、入力画素
情報より少ない数の第2の画素情報に変換する画像処理
装置において、 前記入力した複数の画素情報について多数決演算を行
い、注目画素及び当該注目画素の前後に隣接する画素に
関して、第2の画素情報を演算する多数決演算手段と、 前記多数決演算手段により得られた注目画素の第2の画
素情報を前記注目画素の前後に隣接する画素の第2の画
素情報及び、注目画素の第2の画素情報を求める際用い
た複数の第1の画素情報に基づき変更する変更手段と、 前記多数決演算手段による演算及び前記変更手段による
第2の画素情報の変更を第2の画素情報を決定する毎に
実行する制御手段とを具え、 前記変更手段は、注目画素及び当該注目画素の前後に隣
接する画素の第2の画素情報が全て等しいときに、注目
画素の第2の画素情報を求める際用いた複数の第1の画
素情報が全て等しいか否かを判別し、前記複数の第1の
画素情報が全て等しくない場合に、前記多数決演算手段
により得られた注目画素の第2の画像情報を反転して出
力するように変更を行うことを特徴とする画像処理装
置。
1. An image processing apparatus for inputting a plurality of pieces of first pixel information and converting the pieces of second pixel information into a number smaller than the number of pieces of input pixel information, wherein a majority decision operation is performed on the plurality of pieces of input pixel information. Regarding a pixel and a pixel adjacent to the front and rear of the pixel of interest, a majority calculation unit for calculating second pixel information, and second pixel information of the pixel of interest obtained by the majority calculation unit is adjacent to the pixel of interest. Changing means based on the second pixel information of the target pixel and the plurality of first pixel information used when obtaining the second pixel information of the pixel of interest, calculation by the majority decision calculating means, and change by the changing means. Control means for executing a change of the second pixel information every time the second pixel information is determined, wherein the changing means has the second pixel information of the pixel of interest and pixels adjacent before and after the pixel of interest. When all are equal, it is determined whether or not the plurality of first pixel information used when obtaining the second pixel information of the target pixel are all equal, and when the plurality of first pixel information are not all equal, The image processing apparatus is characterized in that the second image information of the pixel of interest obtained by the majority calculation means is inverted and output.
JP60041886A 1985-03-05 1985-03-05 Image processing device Expired - Lifetime JPH0654941B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP60041886A JPH0654941B2 (en) 1985-03-05 1985-03-05 Image processing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP60041886A JPH0654941B2 (en) 1985-03-05 1985-03-05 Image processing device

Publications (2)

Publication Number Publication Date
JPS61201560A JPS61201560A (en) 1986-09-06
JPH0654941B2 true JPH0654941B2 (en) 1994-07-20

Family

ID=12620758

Family Applications (1)

Application Number Title Priority Date Filing Date
JP60041886A Expired - Lifetime JPH0654941B2 (en) 1985-03-05 1985-03-05 Image processing device

Country Status (1)

Country Link
JP (1) JPH0654941B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH065862B2 (en) * 1986-04-30 1994-01-19 三菱電機株式会社 Image reader
JPH0614351B2 (en) * 1986-09-26 1994-02-23 コニカ株式会社 Binary image processing method and binary image processing apparatus

Also Published As

Publication number Publication date
JPS61201560A (en) 1986-09-06

Similar Documents

Publication Publication Date Title
JPS62230265A (en) Picture signal correcting device
JPH0654941B2 (en) Image processing device
JP3598196B2 (en) Periodic pattern defect inspection equipment
JPS63158970A (en) Image reader
JP3119376B2 (en) Printing evaluation method and printing evaluation device
JPH1013672A (en) Method and device for inputting image
JP2619971B2 (en) Image processing device
JPS60171862A (en) Picture reader
JP2744237B2 (en) Recognition control method
JP2861845B2 (en) Image scanner with outline function
JPH02285859A (en) Filter processing method for image
JPS6311718B2 (en)
JPH0385681A (en) Picture processor
JPS63308471A (en) Picture signal binarization device
JPS63155868A (en) Image reader
JPS594272A (en) Uneven density correcting system
JPS61264484A (en) Hand scanner type picture input device
JPS58116869A (en) Picture deciding method
JPH0342960A (en) Method for detecting connection deviation of line sensors
JPS61150083A (en) Image processing method
JPH04372077A (en) Picture processor
JPH0554131A (en) One-dimensional image processor
JPH0370364A (en) White level correcting circuit for reading image
JPH0520444A (en) Image reader
JPS6218168A (en) Picture input device

Legal Events

Date Code Title Description
EXPY Cancellation because of completion of term