JPS62189875A - Picture forming device - Google Patents

Picture forming device

Info

Publication number
JPS62189875A
JPS62189875A JP61033143A JP3314386A JPS62189875A JP S62189875 A JPS62189875 A JP S62189875A JP 61033143 A JP61033143 A JP 61033143A JP 3314386 A JP3314386 A JP 3314386A JP S62189875 A JPS62189875 A JP S62189875A
Authority
JP
Japan
Prior art keywords
picture
binary
matrix
pixels
resulting
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
Application number
JP61033143A
Other languages
Japanese (ja)
Inventor
Hiroshi Kamosaka
加茂坂 弘
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.)
Juki Corp
Original Assignee
Tokyo Juki 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 Tokyo Juki Industrial Co Ltd filed Critical Tokyo Juki Industrial Co Ltd
Priority to JP61033143A priority Critical patent/JPS62189875A/en
Publication of JPS62189875A publication Critical patent/JPS62189875A/en
Pending legal-status Critical Current

Links

Landscapes

  • Image Processing (AREA)
  • Facsimile Image Signal Circuits (AREA)

Abstract

PURPOSE:To form in a printer a binary picture which approximates an original picture by dividing a binary picture in matrix shapes with three reference point on the picture for reference, binarizing resulting picture elements, and newly determining a density value from the density values of respective picture elements by majority. CONSTITUTION:An original G is illuminated by a light source 11, and the picture is photoelectrically converted by a CCD 12 in the unit of picture element. A resulting data is encoded by an A/D converter 13, binarized by a binarization circuit 14. And a resulting binary data is stored in a memory 15. The stored binary picture data is formed by 35X16 pieces of picture elements. Thereafter, using the three reference points determined beforehand as a reference point respectively, three pieces of binary picture are formed by a CPU 6. This binary picture is generated in a manner that the density value over 2.25-pieces of picture elements from the CCD 12 is binarized sequentially and resulting density values are made in form of a 16X16 matrix. The values are newly determined in '0' or '1' from the density values of picture elements corresponding to the same elements of the said matrix by majority, and the results are stored on a RAM 4.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 原画像を2段階の画素分割と濃度値の2値化により2値
画像に変換し、この2値画像を構成する〔従来の技術〕 第6図は、この種の画像形成装置の従来例の一例を示す
。図において、1は2値画像灸換手段で、光源11 、
 c c n (cJ+aryt taLLp級dev
;cb  )12、Al1)コンバータ13.2値化回
路14、メモリ15、コントロール回路16より構成さ
れてイi。2はCp rt (eaatra−1pvo
ctcs@ −)で、メ七り15に格納されている2値
画像データをインターフェース3を介して読み出し、画
素分割と濃度値の2値化を行っている。4はRAM(n
tntltrwn acacs memory )で、
CPU2により画像処理して得られる画像データを格納
している。5は7? A M’ 4に格納された画像デ
ータに基づきドツトマトリックス印字を行うドツトプリ
ンタ(印字手段)である。
[Detailed Description of the Invention] [Industrial Field of Application] An original image is converted into a binary image by two-stage pixel division and binarization of density values, and this binary image is constructed [Prior Art] FIG. 6 shows an example of a conventional image forming apparatus of this type. In the figure, 1 is a binary image moxibustion means, a light source 11,
c c n (cJ+aryt taLLp class dev
;cb) 12, Al1) Converter 13. Comprised of a binarization circuit 14, a memory 15, and a control circuit 16.i. 2 is Cprt (eaatra-1pvo
ctcs@-) reads out the binary image data stored in the memory 15 via the interface 3, and performs pixel division and binarization of density values. 4 is RAM (n
tntltrwnacacs memory),
Image data obtained by image processing by the CPU 2 is stored. 5 is 7? This is a dot printer (printing means) that performs dot matrix printing based on image data stored in AM'4.

次に、作用を示す。Next, the effect will be shown.

原稿(原画像)Gは図示しない原稿送り機構により送ら
れ(副走査)るとともに光源11により照射される。
A document (original image) G is fed (sub-scanning) by a document feeding mechanism (not shown) and is irradiated by a light source 11 .

このとき、光源11からの光は、原稿Gで反射し、反射
した光はCCD12に入射され、CCD12では、画素
ごとに光電血換が行なわれ、原画像はPAN(pμIc
e cL%Pht−ε讐ム1社漏)変調さ・れる。つい
で画素ごとにA/Dコンバータ16により符号化された
後、2値化回路14により2値化が行なわれ、2値画像
に変換される。2個画像データはメモリ15に格納され
る。
At this time, the light from the light source 11 is reflected by the document G, and the reflected light is incident on the CCD 12. In the CCD 12, photoelectric blood exchange is performed for each pixel, and the original image is converted into a PAN (pμIc
e cL% Pht - ε 1 company omission) is modulated. Next, each pixel is encoded by the A/D converter 16, and then binarized by the binarization circuit 14 and converted into a binary image. The two image data are stored in the memory 15.

従って、前記2個画像データにおいて、CCD12等の
読み取り素子の分解能とプリンタ等の印字装置の分解能
が同一ならば問題はないが、異なる場合は、何らかの手
段を用いて線密度変換を行う必零がある。
Therefore, in the two image data, there is no problem if the resolution of the reading element such as CCD 12 and the resolution of the printing device such as printer are the same, but if they are different, it is necessary to perform linear density conversion using some means. be.

例えば、読み取り素子と印字装置の分解能の比〆9:4
とする。単純に言えば、読み取ったデータの線密度を4
/94@−に縮小すれば良い。このような場合、従来よ
り行なわれた方法として、畏丑ホ次のような方法があっ
た。
For example, the resolution ratio of the reading element and printing device is 9:4.
shall be. Simply put, the linear density of the read data is 4
It is sufficient to reduce it to /94@-. In such cases, the following methods have been used in the past.

まず、第7図について説明すると、読み取った画素デー
タ列を、9個づつブロック化して、1つのブロック内の
9個の画素データl;対して、先頭より仮りに、Xl、
 X2. Xa・・・x9と割り付ける。ここでの画素
データX1(iは任意の整数とする)は、「0」または
「1」と表現され、rOJで白「1」で黒を示すものと
する。
First, to explain FIG. 7, the read pixel data string is divided into nine blocks each, and nine pixel data l in one block are temporarily divided from the beginning to Xl,
X2. Assign Xa...x9. Here, the pixel data X1 (i is an arbitrary integer) is expressed as "0" or "1", and in rOJ, white "1" indicates black.

前記の画素データのうち先頭より2個づつ論理和演算を
行う。すなわち、画素X1とX2の間で論理和演算を行
い、その演算結果なdlとして、順次X5. X4. 
Xa、 Xa、 X7とx8の演算結果をそれぞれd2
. dB、 d4とする。
A logical OR operation is performed on two pieces of the above pixel data from the beginning. That is, a logical sum operation is performed between pixels X1 and X2, and the result of the operation, dl, is sequentially converted to X5, . X4.
The calculation results of Xa, Xa, X7 and x8 are each d2
.. dB, d4.

ただし、x9つまり最後の画素については無視する。同
様に図示しない他のブロックについても演算処理を行う
However, x9, that is, the last pixel, is ignored. Similarly, calculation processing is performed for other blocks not shown.

このようにして、得られた線密度変換後のデータは第6
図のRAM4に格納され、外部からの要求により、読み
出されて、インターフェース3を介して出力され、ドツ
トプリンタ5等の印字装置に出力される。
In this way, the obtained data after linear density conversion is
It is stored in the RAM 4 shown in the figure, read out in response to an external request, outputted via the interface 3, and outputted to a printing device such as a dot printer 5.

〔発明が解決しようとする問題点〕[Problem that the invention seeks to solve]

従来の画像形成装置は、線密度変換して得られる画素に
ついて、2個の元画素データの円少なくとも、いずれか
−力が黒「1」を示すならば、変換後の値も黒を示すこ
とになるように構成している。従って、焦の画素が多く
なりいわゆる「白っぷれ」の現像が生じたり、また、9
個目の画素データを無視している為に変換後の画素によ
り形成された2値画像は、原画像に対して「ずれ」を生
じたり、線幅に差異を生じるという問題点があった。
In conventional image forming apparatuses, for pixels obtained by linear density conversion, if at least one of two circles of original pixel data indicates black "1", then the value after conversion also indicates black. It is configured so that Therefore, the number of charred pixels increases, resulting in so-called "whitish" development, and
Since the pixel data of the second pixel is ignored, the binary image formed by the converted pixels has the problem of causing a "shift" or difference in line width from the original image.

(問題点を解決するための手段〕 この発明は、原画像に、より近似した2値画像をプリン
タにより形成することを目的としており、2個画像変換
手段により、原画像を画素に分割するとともにこの分割
された画素の濃度値を2値化して2値画像に変換し、変
換して得られる2値画像を、画像形成手段により、まず
2個画像上の少なくとも3個の基準点を基準にしてマト
リックス状に区画するとともに区画して得られる画素を
2値化して2個画素を形成し、ついで、2値化手段によ
り、それぞれのマトリックスにおける同一要素に対応す
る画素の濃度値から、多数決により新らたに濃度値を決
定し、この2値化された1vM素を1ドツトとして印字
手段によりドツトマトリックス印字を行っている。
(Means for Solving the Problems) The purpose of the present invention is to use a printer to form a binary image that more closely approximates the original image. The density values of the divided pixels are binarized and converted into a binary image, and the resulting binary image is first converted to a binary image using at least three reference points on the two images as reference points by an image forming means. Then, the pixels obtained by partitioning are divided into a matrix and binarized to form two pixels.Then, by a binarization means, the density values of pixels corresponding to the same element in each matrix are determined by majority vote. A density value is newly determined, and dot matrix printing is performed by a printing means using this binarized 1vM element as one dot.

〔実 施 例〕〔Example〕

、第1図は、この発明の一実施例を示す。図において、
1.3〜5.11〜16、Gは第6図の従来例と同一部
分を示す。6は、前記2個画像変換手段1により得られ
る2値画像をこの2個画像上の少なくとも3個の基準点
を基準にしてマトリックス状に区画するとともに区画し
て得られる画素を2値化して2値画像を形成する画像形
成手段と、これにより得られるそれぞれのマトリックス
における同一要素に対応する画素の濃度値を多数決によ
り2値化する2値化手段としてのCPUである。
, FIG. 1 shows an embodiment of the invention. In the figure,
1.3 to 5.11 to 16, G indicates the same parts as the conventional example in FIG. 6 divides the binary images obtained by the two-image converting means 1 into a matrix based on at least three reference points on the two images, and binarizes the pixels obtained by dividing. The image forming means forms a binary image, and the CPU functions as a binarizing means, which binarizes the density values of pixels corresponding to the same element in each matrix obtained thereby by majority vote.

次に、第2図に示すフローチャー)K基づき作用を説明
する。
Next, the operation will be explained based on the flowchart K shown in FIG.

原画像を、2値画像変換手段1により、2値画像に変換
し、例えば、第6図に示す文字パターンが得られたとす
る(STEP−1)。これは例えば、35X16個の画
素で形成されている。この2値画像データは、第1図の
メモリ15に格納する( 57 E P−1)。
Assume that the original image is converted into a binary image by the binary image converting means 1, and for example, a character pattern shown in FIG. 6 is obtained (STEP-1). This is formed by, for example, 35×16 pixels. This binary image data is stored in the memory 15 in FIG. 1 (57EP-1).

ついで、予め定めた3個の基準点を基準にし、6個の2
値画像を形成する。この2値画像は、CCD12の2.
25個(9/4倍)の画素の濃度値を順次対象にして2
値゛化し、2値化後の濃度値を16X16マトリツクス
にしたものである(STEP3〜7)。       
        ′(1)第4図(−)に示すように、
基準点を画素x0の左辺においた場合 ただし、f”0,1.2.・・・ 演算結果が0≦Yi < 05のときはYi =o。
Then, using the three predetermined reference points as reference points, six 2
Form a value image. This binary image is generated by 2.
2 by sequentially targeting the density values of 25 (9/4 times) pixels.
The density values after binarization are converted into a 16×16 matrix (STEP 3 to 7).
'(1) As shown in Figure 4 (-),
When the reference point is placed on the left side of pixel x0, f''0, 1.2... If the calculation result is 0≦Yi <05, Yi = o.

0.5≦ Yi (1のときはY1=1 とし、2値化
を行なう。ただしi=o、1.2・・・である。
0.5≦Yi (When 1, Y1=1 and binarization is performed. However, i=o, 1.2...

C11)  第4図(h)に示すように、基準点を画素
X。の左辺から左へ174画素分ずれた位置においた場
合 前記(りと同様に、演算結果が0ヤ≦Yi<Q5のとき
はYi =賑 05≦Yi≦1のときはYi * 1と
し、2値化を行なう。ただし、i−0,1,2・・・で
あるO (…)第4図(o)に示すように、基準点を画素X、、
の左辺から右へ174画素分ずれた位置においた場合 CPU6において、式(3)に示す演算を行なって、5
X9r  + 4Xfr+1  +  2X9r+2Y
4r  m−−1−一一一−−−−−−−−−−−−−
−−一。
C11) As shown in FIG. 4(h), set the reference point to pixel X. If the calculation result is 174 pixels to the left from the left side of Value conversion is performed. However, as shown in Figure 4 (o), the reference point is pixel X, .
When placed at a position shifted by 174 pixels to the right from the left side of
X9r + 4Xfr+1 + 2X9r+2Y
4r m--1-11----------
--One.

γ 演算結果が0を≦YL<0.5  のときはYi−0,
0,5≦Yi≦1 のときはYi”1  とし、2値化
を行うただし、i=0.1.2−0.である。
γ If the calculation result is 0≦YL<0.5, Yi-0,
When 0,5≦Yi≦1, Yi”1 is set and binarization is performed. However, i=0.1.2−0.

・ そして、CPU6により上記(1ン〜(11ンで得られ
るマ)IJソックス同一要素に刈応する画素の濃度値か
ら新たに「0」、「1」いずれかに練度値が多数決によ
り決定され<5rzp−8)、この2値データが第1図
のRAM4に格納されC5rEp−9)、一方、読み出
された2値データに基づき2値化された1画素を1ドツ
トとして、第1図のドツトプリンタ5により、印字を行
ない画像を形成する(srnp−10)。第5図に、第
3図に示す文字パターンの印字例を示す。尚、読み取り
素子として、密着型センサ等にも適用可能なことは勿論
である。
・Then, the CPU 6 determines by majority vote a new training value of either "0" or "1" from the density values of the pixels that correspond to the same element of the IJ socks (1 to 11). <5rzp-8), and this binary data is stored in the RAM 4 in FIG. The dot printer 5 shown in the figure performs printing to form an image (srnp-10). FIG. 5 shows a printing example of the character pattern shown in FIG. 3. It goes without saying that the present invention can also be applied to a contact type sensor or the like as a reading element.

〔発明の効果〕〔Effect of the invention〕

この発明は、上記のように構成したので、原画像により
近似した2値画像をプリンタにより形成することができ
るという効果がある。
Since the present invention is configured as described above, it has the advantage that a binary image that is more similar to the original image can be formed by the printer.

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

第1図はこの発明の一実施例を示すブロック図、第2図
は動作フローチャート、第3図は原画像の一例を示す図
、第4図CG)、 (h)t (e)はそれぞれ基準点
を基準にして行なうマトリックス状区画の説明図、第5
図はドツトプリンタによる印字例、第6図は従来例を示
すブロック図、第7図は従来における2段階目の画素分
割の説明図である。 図において、1は2値画像変換手段、5はドツトプリン
タ、6はCPUである。
Fig. 1 is a block diagram showing an embodiment of the present invention, Fig. 2 is an operation flowchart, Fig. 3 is a diagram showing an example of an original image, Fig. 4 (CG), (h) and (e) are standards, respectively. Explanatory diagram of matrix-like partitioning based on points, fifth
The figure shows an example of printing by a dot printer, FIG. 6 is a block diagram showing a conventional example, and FIG. 7 is an explanatory diagram of the second stage of pixel division in the conventional method. In the figure, 1 is a binary image conversion means, 5 is a dot printer, and 6 is a CPU.

Claims (1)

【特許請求の範囲】[Claims] 原画像を画素に分割するとともにこの分割された画素の
濃度値を2値化して2値画像に変換する2値画像変換手
段と、前記2値画像をこの2値画像上の少なくとも3個
の基準点を基準にしてマトリックス状に区画するととも
に区画して得られる画素を2値化して2値画像を形成す
る画像形成手段と、これにより得られるそれぞれのマト
リックスにおける同一要素に対応する画素の濃度値から
多数決により新らたに濃度値を決定する2値化手段と、
この2値化された1画素を1ドットとしてドットマトリ
ックス印字を行なう印字手段とよりなる画像形成装置。
binary image converting means that divides the original image into pixels and binarizes the density values of the divided pixels to convert them into a binary image; An image forming means that partitions into a matrix based on points and binarizes the pixels obtained by partitioning to form a binary image, and density values of pixels corresponding to the same element in each matrix obtained thereby. Binarization means for newly determining a density value by majority vote from
An image forming apparatus comprising a printing unit that performs dot matrix printing using one binarized pixel as one dot.
JP61033143A 1986-02-15 1986-02-15 Picture forming device Pending JPS62189875A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP61033143A JPS62189875A (en) 1986-02-15 1986-02-15 Picture forming device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP61033143A JPS62189875A (en) 1986-02-15 1986-02-15 Picture forming device

Publications (1)

Publication Number Publication Date
JPS62189875A true JPS62189875A (en) 1987-08-19

Family

ID=12378363

Family Applications (1)

Application Number Title Priority Date Filing Date
JP61033143A Pending JPS62189875A (en) 1986-02-15 1986-02-15 Picture forming device

Country Status (1)

Country Link
JP (1) JPS62189875A (en)

Similar Documents

Publication Publication Date Title
KR860007603A (en) Image Compression Method and Device
JPH03217976A (en) Image processing system
JPS62189875A (en) Picture forming device
JPS61148971A (en) Image processing system
JPS60136476A (en) Picture processor
KR100490244B1 (en) Error diffusion method using variable threshold value in image processing system
JPH07254981A (en) Data managing device for image magnifying processor
JP2530093Y2 (en) Dither image signal coding device
JP2726053B2 (en) Image reading device
JPH0378885A (en) Picture reduction processing system
JP3014257B2 (en) Document reading device
JP2505772B2 (en) Image processing device
JP2861845B2 (en) Image scanner with outline function
JPH06324672A (en) Picture processor
JPS5933974A (en) Compressing circuit of picture data
JPH02266683A (en) Picture processing unit
JPS59221169A (en) Method and apparatus for processing picture data
JPH0654941B2 (en) Image processing device
JPH0541789A (en) Image forming device
JPS61264484A (en) Hand scanner type picture input device
JP2001339615A (en) Method for slip image processing and processor
JPS62272665A (en) Picture processor
JPH06225127A (en) Picture processing method
JPS62268271A (en) Coding circuit
JPH045780A (en) Picture inputting device