JPH06334843A - Picture processor - Google Patents

Picture processor

Info

Publication number
JPH06334843A
JPH06334843A JP11806793A JP11806793A JPH06334843A JP H06334843 A JPH06334843 A JP H06334843A JP 11806793 A JP11806793 A JP 11806793A JP 11806793 A JP11806793 A JP 11806793A JP H06334843 A JPH06334843 A JP H06334843A
Authority
JP
Japan
Prior art keywords
line
picture
black
lines
code
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
JP11806793A
Other languages
Japanese (ja)
Inventor
Yoshihisa Takeuchi
祥久 竹内
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.)
Murata Machinery Ltd
Original Assignee
Murata Machinery 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 Murata Machinery Ltd filed Critical Murata Machinery Ltd
Priority to JP11806793A priority Critical patent/JPH06334843A/en
Publication of JPH06334843A publication Critical patent/JPH06334843A/en
Withdrawn legal-status Critical Current

Links

Landscapes

  • Editing Of Facsimile Originals (AREA)

Abstract

PURPOSE:To prevent missing of lateral lines with software processing or a simple hardware configuration by counting number of black picture elements of each line of picture data and interleaving lines with a few black picture element number in plural lines of preceding and succeeding consecutive lines of picture data. CONSTITUTION:Black/white picture data of one scanning line read by a picture read section 10 in the high picture quality mode are converted into an RL code by a code conversion circuit 11 and stored once in a picture memory 15 and a CPU 12 adds run length of each black level included in a line to calculate number of black level picture elements of the line and stores result to a RAM 14. Similarly a 2nd line is read and the CPU 12 compares number of black level picture elements of the 1st line and the 2nd line to select a line having, lots of black picture element numbers. The selected line is sent via modems 16a, 16b while applying 2-dimension coding into an MR code to the selected line.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は、ファクシミリ装置等に
適用される画像処理装置、更に詳しくは、原稿画像を読
み取り走査して得られた画データを処理するタイプの画
像処理装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an image processing apparatus applied to a facsimile machine or the like, and more particularly to an image processing apparatus of a type for processing image data obtained by reading and scanning an original image.

【0002】[0002]

【従来の技術】ファクシミリ装置等の画像処理装置に
は、標準モード(3.85走査線/mm)では、読み取
る時には高画質モード(7.7走査線/mm)で走査線
を1ライン毎に読み飛ばし、印字する時には同一データ
を2ライン印字することで、処理(送信等)データ量を
少なくして、処理(伝送)時間が短くなるようにしてい
るものがある。しかし、走査線を1ライン毎に読み飛ば
すことで、副走査方向の読み取り精度が悪くなり、細か
い横線が抜けることがある。そこで、これを補正する方
法として、高画質モードで読み取った走査線3ラインを
合成して標準モードの1ラインとする方法等が行なわれ
ている。
2. Description of the Related Art In an image processing apparatus such as a facsimile machine, in a standard mode (3.85 scanning lines / mm), a high image quality mode (7.7 scanning lines / mm) is used for reading, and scanning lines are line by line. In some cases, the same data is printed on two lines when skipped and printed, thereby reducing the amount of processing (transmission, etc.) data and shortening the processing (transmission) time. However, by skipping scanning lines line by line, the reading accuracy in the sub-scanning direction deteriorates, and fine horizontal lines may be omitted. Therefore, as a method of correcting this, a method of combining three scanning lines read in the high image quality mode to form one line in the standard mode, and the like are used.

【0003】[0003]

【発明が解決しようとする課題】ところが、上記の3ラ
インを合成する方法では、ラインメモリや合成回路が必
要で、構成が複雑になる等の問題があった。本発明は上
記事情に鑑みてなされたものであり、ソフト処理あるい
は簡単なハード構成により、横線等の抜け落ちが防止出
来る画像処理装置を提供することを目的とする。
However, the above-described method of synthesizing three lines has a problem that a line memory and a synthesizing circuit are required and the configuration becomes complicated. The present invention has been made in view of the above circumstances, and an object of the present invention is to provide an image processing apparatus capable of preventing a horizontal line or the like from falling off by software processing or a simple hardware configuration.

【0004】[0004]

【課題を解決するための手段】上記目的を達成する為に
提案される本発明による画像処理装置は、原稿の読み取
り走査により得られた画データの各ラインの黒画素数を
カウントし、上記画データの前後連続した複数ラインの
内、黒画素数の少ないラインを間引く構成となってい
る。
An image processing apparatus according to the present invention, which is proposed to achieve the above object, counts the number of black pixels in each line of image data obtained by reading and scanning an original, and determines the above-mentioned image. Among a plurality of continuous lines before and after the data, a line having a small number of black pixels is thinned out.

【0005】[0005]

【作用】本発明による画像処理装置では、原稿の読み取
り走査により得られた画データの各ラインの黒画素数を
カウントし、上記画データの前後連続した複数ラインの
内、黒画素数の少ないラインを間引くので、ソフト処理
によりあるいは簡単なハード構成により、細かい横線の
抜け落ちが防止出来る。
In the image processing apparatus according to the present invention, the number of black pixels in each line of the image data obtained by reading and scanning the original is counted, and the line with the smallest number of black pixels is included in the plurality of consecutive lines before and after the image data. Since thinning out is performed, it is possible to prevent the fine horizontal lines from falling off by software processing or a simple hardware configuration.

【0006】[0006]

【実施例】以下に、添付図を参照して本発明の実施例に
ついて説明する。図1は、本発明による画像処理装置を
ファクシミリ装置に適用した一実施例の要部構成例を示
したブロック図である。図において、10は原稿画像を
走査線1ライン単位で読み取る画像読取部、11は読み
取った白黒の画データを走査線1ライン単位で1次元符
号のRL(run length)符号に変換する符号変換回路、
12はCPU、13はROM、14はRAM、15は読
み取られてRL符号に変換された画データあるいは受信
した画データを一旦記憶しておく画像メモリ、16はモ
デム16aと回線制御部16bとで構成された通信制御
部、17は受信されて2次元符号のMR符号から1次元
符号のRL符号に変換された画データを、白黒の画デー
タ(イメージ)に変換する符号変換回路、18はプリン
タ等からなる印字部である。
Embodiments of the present invention will be described below with reference to the accompanying drawings. FIG. 1 is a block diagram showing an example of a main configuration of an embodiment in which an image processing apparatus according to the present invention is applied to a facsimile machine. In the figure, 10 is an image reading unit for reading an original image in units of scanning line, and 11 is a code conversion circuit for converting the read black and white image data into a one-dimensional RL (run length) code in units of scanning line. ,
12 is a CPU, 13 is a ROM, 14 is a RAM, 15 is an image memory for temporarily storing the image data that has been read and converted into RL code or received image data, and 16 is a modem 16a and a line control unit 16b. A configured communication control unit, 17 is a code conversion circuit for converting the image data received and converted from the two-dimensional code MR code to the one-dimensional code RL code into black and white image data (image), and 18 is a printer And the like.

【0007】このような構成のファクシミリ装置Fの、
原稿を読み取ってから送信する迄の動作を以下に説明す
る。画像読取部10で高画質モード(7.7走査線/m
m)で読み取られた走査線1ラインの白黒の画データ
は、符号変換回路11でRL符号(1次元符号)に変換
され、画像メモリ15に一旦記憶されると共に、CPU
12で当該ラインに含まれる各黒のラン長(連続した黒
画素数を符号化したもの)が加算されて当該1ラインの
黒画素数が算出され、RAM14に記憶される。
In the facsimile apparatus F having the above-mentioned structure,
The operation from reading the original to sending it will be described below. High-quality mode (7.7 scan lines / m
The black-and-white image data of one scanning line read in m) is converted into an RL code (one-dimensional code) by the code conversion circuit 11 and temporarily stored in the image memory 15, and the CPU
At 12, the run length of each black (encoded number of consecutive black pixels) included in the line is added to calculate the number of black pixels of the one line, and the result is stored in the RAM 14.

【0008】2ライン目も上記の1ライン目と同様に、
画像読取部10で高画質モードで読み取られ、符号変換
回路11でRL符号に変換され、画像メモリ15に一旦
記憶されると共に、CPU12で当該ラインに含まれる
各黒のラン長が加算されて当該1ラインの黒画素数が算
出される。この時、CPU12は、上記のRAM14に
記憶させた1ライン目の黒画素数を読み出して、この2
ライン目の黒画素数と比較する。
The second line is also similar to the first line described above.
The image is read by the image reading unit 10 in the high image quality mode, converted into the RL code by the code conversion circuit 11 and temporarily stored in the image memory 15, and the CPU 12 adds the run lengths of the blacks included in the line and adds the run length. The number of black pixels in one line is calculated. At this time, the CPU 12 reads out the number of black pixels in the first line stored in the RAM 14 to obtain the 2
Compare with the number of black pixels in the line.

【0009】そうして、1ライン目と2ライン目の黒画
素数がほぼ等しい時は、この直前の1ライン目と2ライ
ン目の組の選択結果(1ライン目か2ライン目か)をR
AM14から読み出して、その選択結果と同じ方のライ
ン(直前の組が1ライン目を選択していれば1ライン
目、2ライン目を選択していれば2ライン目)を選択
し、この新しい選択結果をRAM14に記憶させる。そ
れと同時に、この選択したラインを画像メモリ15から
読み出して、MR(modified READ (relativeeleme
nt address designate))符号に2次元符号化して、モ
デム16a及び回線制御部16bを介して送信する。
When the number of black pixels on the first line and the second line are substantially equal, the selection result (whether the first line or the second line) of the immediately preceding set of the first line and the second line is selected. R
The line that is the same as the selection result is read out from the AM 14 (the first line if the previous group has selected the first line, the second line if the second line has been selected), and this new line is selected. The selection result is stored in the RAM 14. At the same time, this selected line is read from the image memory 15 and MR (modified READ (relativeeleme
(nt address designate)) code is two-dimensionally encoded and transmitted via the modem 16a and the line control unit 16b.

【0010】一方、CPU12は、1ライン目と2ライ
ン目の黒画素数を比較して、1ライン目の黒画素数が多
い時は、1ライン目を選択する。そうして、この選択結
果をRAM14に記憶させると同時に、この選択した1
ライン目を画像メモリ15から読み出して、MR符号に
2次元符号化し、モデム16a及び回線制御部16bを
介して送信する。
On the other hand, the CPU 12 compares the numbers of black pixels on the first and second lines and selects the first line when the number of black pixels on the first line is large. Then, this selection result is stored in the RAM 14 and at the same time, the selected 1
The line number is read from the image memory 15, two-dimensionally encoded into an MR code, and transmitted via the modem 16a and the line control unit 16b.

【0011】他方、CPU12は、1ライン目と2ライ
ン目の黒画素数を比較して、2ライン目の黒画素数が多
い時は、2ライン目を選択する。そうして、この選択結
果をRAM14に記憶させると同時に、この選択した2
ライン目を画像メモリ15から読み出して、MR符号に
2次元符号化し、モデム16a及び回線制御部16bを
介して送信する。
On the other hand, the CPU 12 compares the number of black pixels on the first line with the number of black pixels on the second line, and selects the second line when the number of black pixels on the second line is large. Then, the selection result is stored in the RAM 14 at the same time as the selected 2
The line number is read from the image memory 15, two-dimensionally encoded into an MR code, and transmitted via the modem 16a and the line control unit 16b.

【0012】以上のように、走査線を2ライン読み取る
毎に、図2に示すように1ライン目(a)と2ライン目
(b)の黒画素数を比較して、1ライン目(a)の黒画
素数が多ければ、1ライン目(a)をMR符号に2次元
符号化して送信する。また、(c),(d)のように黒
画素数がほぼ等しい時には、その直前の2ラインの組
(a),(b)で選択された方(1ライン目(a))と
同じ位置のライン(c)(1ライン目)を選択して(こ
のようにすることにより斜線がガタガタになるのを防ぐ
ことが出来る)、MR符号に2次元符号化して送信す
る。図3のステップ30〜41はこのような動作を示し
たフロー図である。
As described above, every time two scanning lines are read, the number of black pixels on the first line (a) is compared with that on the second line (b) as shown in FIG. 2) has a large number of black pixels, the first line (a) is two-dimensionally encoded into an MR code and transmitted. When the number of black pixels is almost the same as in (c) and (d), the same position as the one selected in the pair of two lines (a) and (b) immediately before that (the first line (a)). Line (c) (1st line) is selected (this makes it possible to prevent rattling of slanted lines), and the MR code is two-dimensionally encoded and transmitted. Steps 30 to 41 in FIG. 3 are flowcharts showing such an operation.

【0013】尚、上記実施例では高画質モードで読み取
った場合について記述したが、高画質モード以外の超高
画質モード(15.4走査線/mm)でも、また、標準
モード(3.85走査線/mm)等でも同様のことが行
えるのは勿論である。また、上記実施例では、2ライン
1組の場合について記述したが、3ライン1組の場合で
も、あるいはそれ以上のライン数1組の場合でも、同様
のことが可能である。
In the above embodiment, the case of reading in the high image quality mode is described, but in the super high image quality mode (15.4 scanning lines / mm) other than the high image quality mode, the standard mode (3.85 scan) is also used. Of course, the same can be done with a line / mm) or the like. Further, in the above-described embodiment, the case of one set of two lines is described, but the same can be applied to the case of one set of three lines or the case of one set of more lines.

【0014】また、上記実施例では、主にソフト処理に
よって上記のような動作を得ているが、ハードコーディ
ックや黒画素カウンタ(この場合はRL符号化前にカウ
ントする)等を使用したハード構成によっても、同様の
動作を得ることが出来ることは言う迄も無い。また、上
記実施例では、ファクシミリ装置に適用した場合につい
て記述したが、ファクシミリ装置以外でも、イメージス
キャナ等、画像読み取りに関わる装置に適用できること
は言うまでも無い。
In the above embodiment, although the above operation is obtained mainly by the soft processing, a hardware configuration using a hard codec, a black pixel counter (in this case, counting is performed before RL encoding), or the like. It goes without saying that the same operation can be obtained by Further, in the above-described embodiment, the case where the invention is applied to the facsimile device is described, but it goes without saying that the invention can be applied to a device related to image reading such as an image scanner other than the facsimile device.

【0015】[0015]

【発明の効果】本発明による画像処理装置によれば、原
稿の読み取り走査により得られた画データの各ラインの
黒画素数をカウントし、上記画データの前後連続した複
数ラインの内、黒画素数の少ないラインを間引くので、
ソフト処理によりあるいは簡単なハード構成により、細
かい横線の抜け落ちが防止出来、ノーマル画像等の画質
を向上させることが出来る。
According to the image processing apparatus of the present invention, the number of black pixels in each line of the image data obtained by reading and scanning the original is counted, and the black pixel in the plurality of consecutive lines before and after the image data is counted. Since we thin out the few lines,
With soft processing or a simple hardware configuration, it is possible to prevent fine horizontal lines from falling off and improve the image quality of normal images and the like.

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

【図1】本発明による画像処理装置をファクシミリ装置
に適用した一実施例の要部構成例を示したブロック図で
ある。
FIG. 1 is a block diagram showing a configuration example of a main part of an embodiment in which an image processing device according to the present invention is applied to a facsimile device.

【図2】(a)(b)(c)(d)は本発明による画像
処理装置の動作を説明する為に、走査線をモデル的に示
した図である。
2 (a), (b), (c), and (d) are diagrams schematically showing scanning lines in order to explain the operation of the image processing apparatus according to the present invention.

【図3】本発明による画像処理装置をファクシミリ装置
に適用した場合の動作を示したフロー図である。
FIG. 3 is a flowchart showing an operation when the image processing apparatus according to the present invention is applied to a facsimile apparatus.

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

10・・・画像読取部 11・・・符号変換回路(イメージ→RL符号) 12・・・CPU 14・・・RAM 15・・・画像メモリ 16a・・・モデム 16b・・・回線制御部 10 ... Image reading unit 11 ... Code conversion circuit (image → RL code) 12 ... CPU 14 ... RAM 15 ... Image memory 16a ... Modem 16b ... Line control unit

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】原稿の読み取り走査により得られた画デー
タの各ラインの黒画素数をカウントし、上記画データの
前後連続した複数ラインの内、黒画素数の少ないライン
を間引くことを特徴とする画像処理装置。
1. A method for counting the number of black pixels in each line of image data obtained by scanning a document, and thinning out a line having a small number of black pixels among a plurality of consecutive lines before and after the image data. Image processing device.
JP11806793A 1993-05-20 1993-05-20 Picture processor Withdrawn JPH06334843A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP11806793A JPH06334843A (en) 1993-05-20 1993-05-20 Picture processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP11806793A JPH06334843A (en) 1993-05-20 1993-05-20 Picture processor

Publications (1)

Publication Number Publication Date
JPH06334843A true JPH06334843A (en) 1994-12-02

Family

ID=14727193

Family Applications (1)

Application Number Title Priority Date Filing Date
JP11806793A Withdrawn JPH06334843A (en) 1993-05-20 1993-05-20 Picture processor

Country Status (1)

Country Link
JP (1) JPH06334843A (en)

Similar Documents

Publication Publication Date Title
US6034786A (en) Apparatus and method for enlarging or reducing an image in an image processing system
US5327256A (en) Resolution conversion method of pictorial image processing system
US20080007795A1 (en) Multifunction printer and image processing method
US20050213120A1 (en) Image data processing device, image data processing method, program, recording medium, and image reading device
EP0621720B1 (en) Facsimile apparatus and method of outputting results of facsimile communication
US8035862B2 (en) Fast method for fax encoded data conversion
US6061151A (en) Image processing method and apparatus
JP3265100B2 (en) Facsimile machine
US5274462A (en) Image input and output method
JPH07231385A (en) Method for determining optimum linear density for image processing device
JPH05176130A (en) Facsimile apparatus and recording control method thereof
JP4080726B2 (en) Image reduction method, image processing apparatus, and image processing apparatus control method
JP3879900B2 (en) Facsimile device
JP2976386B2 (en) Binary image scaling device
JPH05207273A (en) Picture reduction method
JPH08256259A (en) Image processor and its method
JPH04249474A (en) Picture processor
JP2002044421A (en) Image reading apparatus, control method of image reading apparatus, and image processing apparatus
JPH06141177A (en) Image receiver
JPH04265069A (en) Picture processing method
JPH0373666A (en) Image processor
JPH09214751A (en) Facsimile equipment providing picture reduction function
JPH04157976A (en) Facsimile equipment
JPH0253383A (en) Facsimile transmitting device
JP2000224413A (en) Image transmission method and facsimile apparatus

Legal Events

Date Code Title Description
A300 Withdrawal of application because of no request for examination

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20000801