JPH08256259A - Image processor and its method - Google Patents

Image processor and its method

Info

Publication number
JPH08256259A
JPH08256259A JP7057094A JP5709495A JPH08256259A JP H08256259 A JPH08256259 A JP H08256259A JP 7057094 A JP7057094 A JP 7057094A JP 5709495 A JP5709495 A JP 5709495A JP H08256259 A JPH08256259 A JP H08256259A
Authority
JP
Japan
Prior art keywords
image data
matrix
smoothing
processing
scanning direction
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
JP7057094A
Other languages
Japanese (ja)
Inventor
Masanori Asakura
正則 朝倉
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 JP7057094A priority Critical patent/JPH08256259A/en
Publication of JPH08256259A publication Critical patent/JPH08256259A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T3/00Geometric image transformations in the plane of the image
    • G06T3/40Scaling of whole images or parts thereof, e.g. expanding or contracting
    • G06T3/4007Scaling of whole images or parts thereof, e.g. expanding or contracting based on interpolation, e.g. bilinear interpolation

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Image Processing (AREA)
  • Editing Of Facsimile Originals (AREA)
  • Facsimile Image Signal Circuits (AREA)

Abstract

PURPOSE: To attain efficient smoothing processing with a small matrix even when interpolation is made for resolution conversion processing or magnification processing by interpolating smoothed image data and smoothing the interpolated data. CONSTITUTION: Image data outputted from a read section are given to a 1st matrix 42 via an input terminal 41 of a resolution conversion smoothing processing section 4, and every time image data of one picture element are received, data of a notice picture element 42e are subject to smoothing processing and the result is given to a main scanning direction interpolation processing section 43. Then the image data outputted from the main scanning interpolation processing section 43 are given to a 2nd matrix 45 via a switch 44, and the 2nd matrix 45 comprising 3-picture element × 3-picture element similarly to the case with the 1st matrix 42 applies smoothing processing to data of the notice picture element 45e based on data of surrounding 8-picture elements 45a-45d, 45f-45j and the result is outputted from an output terminal 46. Thus an excellent smoothing processing result is obtained even by a small matrix of 3-picture element × 3-picture element.

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 and method. More specifically, the present invention relates to an image processing apparatus and method having a resolution (pixel density) conversion function or a magnification function.

【0002】[0002]

【従来の技術】ファクシミリ、プリンタ等の画像処理装
置では、受信した原稿の解像度よりも、記録装置の解像
度のほうが大きい場合に、解像度の変換処理が行われ
る。例えば、受信した原稿がノーマルモード(主走査方
向 8 dot/mm 、副走査方向 3.85line/mm )であり、記
録装置がファインモード(主走査方向 8 dot/mm 、副走
査方向 7.7 line/mm)の記録能力を有している場合に
は、副走査方向の解像度変換処理が行われる。この場合
の解像度変換処理は、受信した1ラインのデータを2回
記録することによって、行われる。
2. Description of the Related Art In image processing apparatuses such as facsimiles and printers, resolution conversion processing is performed when the resolution of a recording apparatus is larger than the resolution of a received original document. For example, the received original is in normal mode (main scanning direction 8 dot / mm, sub-scanning direction 3.85 line / mm), and the recording device is in fine mode (main scanning direction 8 dot / mm, sub-scanning direction 7.7 line / mm). If it has the recording capability of, the resolution conversion processing in the sub-scanning direction is performed. The resolution conversion process in this case is performed by recording the received 1-line data twice.

【0003】記録装置の能力の向上に伴い、最近では40
0dpi(dot per inch)以上の高解像度の記録装置が使用さ
れることがある。ノーマルモードで受信した原稿を、主
走査方向、副走査方向ともに400dpiの記録能力を有した
記録装置で記録する場合、主走査方向で2倍程度、副走
査方向で4倍程度の解像度変換処理をする必要がある。
この場合の解像度変換処理は、主走査方向には各画素の
データを2回づつ記録し、副走査方向には受信した1ラ
インのデータを4回づつ記録することによって行われ
る。
Recently, with the improvement of the capacity of recording devices,
A high-resolution recording device of 0 dpi (dot per inch) or more may be used. When a document received in the normal mode is printed by a printing device having a printing capability of 400 dpi in both the main scanning direction and the sub scanning direction, a resolution conversion process of about 2 times in the main scanning direction and about 4 times in the sub scanning direction is performed. There is a need to.
The resolution conversion process in this case is performed by recording the data of each pixel twice in the main scanning direction and recording the received data of one line four times in the sub scanning direction.

【0004】各画素、各ラインのデータを複数回記録す
ることによってイメージデータの補間を行い、解像度変
換を達成することができるが、記録装置の能力を十分に
引き出しているとはいえない。そこで、解像度変換処理
された後のイメージデータに、平滑化処理をすることに
より、記録装置で記録される品質を向上させている。こ
の平滑化は、ある画素(以下、「注目画素」という)を
囲む周囲の画素の状態(白又は黒)から、注目画素の状
態(白又は黒)を決定することによって、行われる。
Image data can be interpolated by recording the data of each pixel and each line a plurality of times to achieve resolution conversion, but it cannot be said that the capability of the recording apparatus is sufficiently brought out. Therefore, the image data that has undergone the resolution conversion process is subjected to a smoothing process to improve the quality recorded by the recording device. This smoothing is performed by determining the state (white or black) of the pixel of interest from the states (white or black) of surrounding pixels surrounding a certain pixel (hereinafter referred to as “pixel of interest”).

【0005】また、ファクシミリ装置やデジタル複写機
等では、原稿の大きさを1倍より大きな倍率で拡大し
て、記録または複写することができる。解像度は変化し
ないが、拡大するために、同一データを繰り返して記録
する必要があり、実質的な解像度が低下する場合があ
る。つまり、拡大処理の場合にも、解像度変換処理と同
様に、イメージデータの補間が行われている。
Further, in a facsimile machine, a digital copying machine or the like, the size of a document can be enlarged or magnified by a factor of more than 1 and recorded or copied. Although the resolution does not change, it is necessary to record the same data repeatedly in order to enlarge the image, which may substantially reduce the resolution. That is, also in the case of the enlargement processing, the image data is interpolated as in the resolution conversion processing.

【0006】[0006]

【発明が解決しようする課題】解像度変換処理や拡大処
理では、補間処理をしてから平滑化処理をしているの
で、平滑化処理のために大きなマトリクスを備える必要
がある。つまり、上述の解像度変換処理の例であると、
副走査方向では、同一のラインが4回繰り返されるの
で、前後の受信データを含めて平滑化処理をするには、
9画素×9画素より大きなマトリクスを必要とする。平
滑化処理のためのマトリクスが大きくなると、処理パタ
ーンが飛躍的に増加して、ハードウェア、ソフトウェア
の負担が大きくなる。
In the resolution conversion processing and the enlargement processing, since the smoothing processing is performed after the interpolation processing, it is necessary to provide a large matrix for the smoothing processing. In other words, if it is an example of the above resolution conversion processing,
In the sub-scanning direction, the same line is repeated four times, so to perform smoothing processing including received data before and after,
A matrix larger than 9 pixels x 9 pixels is required. If the matrix for the smoothing process becomes large, the number of processing patterns will dramatically increase, and the load on the hardware and software will increase.

【0007】そこで、本発明の目的は、解像度変換処理
または拡大処理のために補間処理をした場合でも、小さ
なマトリクスで効果的な平滑化処理が可能な画像処理装
置及び方法を提供することである。
Therefore, an object of the present invention is to provide an image processing apparatus and method capable of performing effective smoothing processing with a small matrix even when interpolation processing is performed for resolution conversion processing or enlargement processing. .

【0008】[0008]

【課題を解決するための手段】上記課題を解決するため
に本発明では、イメージデータを平滑化する第1平滑化
手段、前記第1平滑化手段によって平滑化されたイメー
ジデータを補間する手段、前記補間手段によって補間さ
れたイメージデータをさらに平滑化する第2平滑化手段
とを有することを特徴としている。
In order to solve the above problems, according to the present invention, first smoothing means for smoothing image data, means for interpolating image data smoothed by the first smoothing means, A second smoothing means for further smoothing the image data interpolated by the interpolating means.

【0009】[0009]

【作用】本発明では、原稿を走査して得られた、または
ファクシミリ通信等で相手局から受信して得られたイメ
ージデータに、解像度変換処理や拡大処理の為に、補間
処理が必要な場合、まず第1の平滑化処理を行う。そし
て、平滑化処理されたイメージデータに補間処理を行
い、補間処理されたイメージデータにさらに第2の平滑
化処理を行う。
According to the present invention, when image data obtained by scanning an original or received from a partner station by facsimile communication or the like requires interpolation processing for resolution conversion processing and enlargement processing. First, the first smoothing process is performed. Then, interpolation processing is performed on the smoothed image data, and second smoothing processing is further performed on the interpolated image data.

【0010】第1の平滑化処理は、補間処理が行われて
いないイメージデータに対して行われる。補間処理され
ていないイメージデータは同一画素、同一ラインを繰り
返す処理がされていないので、平滑化処理に使用するマ
トリクスは最小限の大きさでよい。補間処理をされて、
同一画素、同一ラインを繰り返したイメージデータは、
さらに第2の平滑化処理が行われる。
The first smoothing process is performed on the image data for which the interpolation process has not been performed. Since the image data that has not undergone the interpolation process is not subjected to the process of repeating the same pixel and the same line, the matrix used for the smoothing process may have a minimum size. Interpolated,
Image data in which the same pixel and the same line are repeated,
Further, the second smoothing process is performed.

【0011】[0011]

【実施例】本発明をファクシミリ装置に適用した場合の
実施例について図1を参照しながら説明する。解像度変
換処理と拡大処理は、1ライン当たりの画素数、1頁当
たりのライン数を増加させる点で原理的には同一である
ので、本実施例では、解像度変換処理として説明する。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment in which the present invention is applied to a facsimile machine will be described with reference to FIG. Since the resolution conversion processing and the enlargement processing are the same in principle in that the number of pixels per line and the number of lines per page are increased, this embodiment will be described as the resolution conversion processing.

【0012】図1は、ファクシミリ装置1の構成を示す
ブロック図である。2は読取部であって、CCD等によ
って原稿を走査し、2値のイメージデータを生成する。
主走査方向の解像度は 8 dot/mm であるが、副走査方向
の解像度は 3.85 line/mm(ノーマルモード), 7.7 lin
e/mm(ファインモード), 15.4 line/mm(スーパーファ
インモード)の3種類がある。操作者は、原稿の読取時
に、3種類の副走査方向の解像度から任意の1つを選択
することができる。
FIG. 1 is a block diagram showing the configuration of the facsimile apparatus 1. A reading unit 2 scans an original with a CCD or the like to generate binary image data.
The resolution in the main scanning direction is 8 dot / mm, but the resolution in the sub scanning direction is 3.85 line / mm (normal mode), 7.7 lin
There are three types, e / mm (fine mode) and 15.4 line / mm (super fine mode). The operator can select any one of the three resolutions in the sub-scanning direction when reading the original.

【0013】読取部2で生成されたイメージデータは、
コーデック5で符号化されて相手局へ送信される、又
は、コーデック5で符号化されてRAM9へ蓄積され
る、又は、記録部3から出力される。3は記録部であっ
て、読取部2で生成されたイメージデータ又は相手局か
ら受信されたイメージデータの印刷出力を行う。また、
記録部3は主走査方向、副走査方向ともに400dpi(dot p
er inch)の解像度を備え、電子写真方式等によって普通
記録紙に記録を行う。
The image data generated by the reading unit 2 is
Coded by the codec 5 and transmitted to the partner station, coded by the codec 5 and stored in the RAM 9, or output from the recording unit 3. A recording unit 3 prints out the image data generated by the reading unit 2 or the image data received from the partner station. Also,
The recording unit 3 is 400 dpi (dot p
er inch) resolution, and records on ordinary recording paper by electrophotography.

【0014】4は解像度変換平滑化処理部であり、詳細
は後述する。5はコーデックであり、MH方式、MR方
式等によって、イメージデータの符号化、復号化を行
う。6はモデムであり、電話回線Lを通じてイメージデ
ータを送受信できるように、符号化されたイメージデー
タの変復調を行う。7はNCU(Network Control Unit)
あり、電話回線Lの閉結、開放制御や着信(呼出信号)
検出、付属電話機12の接続等を行う。
Reference numeral 4 is a resolution conversion smoothing processing unit, the details of which will be described later. A codec 5 encodes and decodes image data by the MH system, the MR system and the like. A modem 6 modulates and demodulates the encoded image data so that the image data can be transmitted and received through the telephone line L. 7 is NCU (Network Control Unit)
Yes, closing and opening control of telephone line L and incoming call (call signal)
The detection and connection of the attached telephone 12 are performed.

【0015】8はROMであり、制御に必要なプログラ
ムやデータを記憶する。9はRAMであり、一時的な制
御データを記憶したり、符号化されたイメージデータを
記憶する。10はCPUであり、ROM8に記憶された
プログラムに基づいて、バス11を介して接続された上
述の各部を制御する。
A ROM 8 stores programs and data necessary for control. A RAM 9 stores temporary control data and coded image data. Reference numeral 10 denotes a CPU, which controls each of the above-mentioned units connected via the bus 11 based on a program stored in the ROM 8.

【0016】解像度変換平滑化処理部4について、図2
を参照しながら説明する。読取部2から出力又はコーデ
ック5で復号されたイメージデータは、解像度変換平滑
化処理部4の入力端子41を経て、第1マトリクス42
の画素42aと第1ラインメモリLM1へ入力される。
第1ラインメモリLM1の出力は、第1マトリクス42
の画素42dと第2ラインメモリLM2へ入力される。
第2ラインメモリLM2の出力は第1マトリクス42の
画素42gへ入力される。
FIG. 2 shows the resolution conversion smoothing processing unit 4.
Will be described with reference to. The image data output from the reading unit 2 or decoded by the codec 5 passes through the input terminal 41 of the resolution conversion smoothing processing unit 4 and then the first matrix 42.
42a and the first line memory LM1.
The output of the first line memory LM1 is the first matrix 42.
42d and the second line memory LM2.
The output of the second line memory LM2 is input to the pixel 42g of the first matrix 42.

【0017】第1ラインメモリLM1及び第2ラインメ
モリLM2は2048ビットのFIFO(First In Firs
t Out)メモリであり、それぞれ主走査方向の1ライン
(A3サイズ)に相当するイメージデータを記憶でき
る。上述の構成によって、入力端子41から入力された
イメージデータは、それぞれ1ライン前、2ライン前の
イメージデータと共に第1マトリクス42の画素42
a,d,gへ入力される。
The first line memory LM1 and the second line memory LM2 are 2048-bit FIFO (First In Firs).
t Out) memory, which can store image data corresponding to one line (A3 size) in the main scanning direction. With the above-described configuration, the image data input from the input terminal 41 includes the pixel data of the first matrix 42 together with the image data of one line before and two lines before.
Input to a, d and g.

【0018】第1マトリクス42は3画素×3画素で構
成され、周囲の8画素42a〜d、f〜iのデータに基
づいて、注目画素42eの状態を決定する。つまり、入
力端子41から2ライン分のイメージデータが入力され
ると、第1、第2ラインメモリLM1、LM2が一杯に
なる。その後、3ライン目以降のイメージデータが入力
されると、第1マトリクス42に3ライン分のイメージ
データが順次入力される。1画素のイメージデータが入
力される毎に、注目画素42eのデータが平滑化(スム
ージング)処理されたイメージデータとして出力され
る。
The first matrix 42 is composed of 3 pixels × 3 pixels, and determines the state of the target pixel 42e based on the data of the surrounding 8 pixels 42a-d, f-i. That is, when two lines of image data are input from the input terminal 41, the first and second line memories LM1 and LM2 are full. After that, when the image data for the third and subsequent lines is input, the image data for three lines is sequentially input to the first matrix 42. Each time one-pixel image data is input, the data of the target pixel 42e is output as smoothed image data.

【0019】第1マトリクス42の注目画素42eから
出力されたイメージデータは、主走査方向補間処理部4
3へ入力される。主走査方向の解像度変換処理を行わな
い場合、主走査方向補間処理部43に入力される画素数
と、主走査方向補間処理部43から出力される画素数は
同じである。解像度変換処理部を行う場合、所定画素数
毎に間引きまたは補間が行われる。ノーマルモードを40
0dpiに解像度変換処理する場合、各画素のイメージデー
タを2回ずつ出力する。
The image data output from the target pixel 42e of the first matrix 42 is processed by the main scanning direction interpolation processing unit 4.
Input to 3. When the resolution conversion process in the main scanning direction is not performed, the number of pixels input to the main scanning direction interpolation processing unit 43 is the same as the number of pixels output from the main scanning direction interpolation processing unit 43. When the resolution conversion processing unit is performed, thinning or interpolation is performed for each predetermined number of pixels. Normal mode 40
When performing resolution conversion processing to 0 dpi, image data of each pixel is output twice.

【0020】主走査方向補間処理部43から出力された
イメージデータは、スイッチ44へ入力される。スイッ
チ44の出力は第2マトリクス45の画素45aと第3
ラインメモリLM3へ入力される。第3ラインメモリL
M3の出力は第2マトリクス45の画素45dと第4ラ
インメモリLM4へ入力される。第4ラインメモリLM
4の出力は第2マトリクス45の画素45gへ入力され
る。第3ラインメモリLM3及び第4ラインメモリLM
4は、主走査方向の補間処理後の1ラインのイメージデ
ータを記憶できるFIFOメモリである。
The image data output from the main scanning direction interpolation processing unit 43 is input to the switch 44. The output of the switch 44 is the pixel 45a of the second matrix 45 and the third pixel 45a.
It is input to the line memory LM3. Third line memory L
The output of M3 is input to the pixel 45d of the second matrix 45 and the fourth line memory LM4. Fourth line memory LM
The output of No. 4 is input to the pixel 45g of the second matrix 45. Third line memory LM3 and fourth line memory LM
Reference numeral 4 is a FIFO memory capable of storing image data of one line after interpolation processing in the main scanning direction.

【0021】スイッチ44は接点A、Bを択一的に閉じ
ることができる。接点Aが閉じられている期間、主走査
方向補間処理部43から出力されたイメージデータは、
第2マトリクス45の画素45aと第3ラインメモリL
M3へ入力される。また、接点Bが閉じられている期
間、入力端子41からのイメージデータの入力及び主走
査方向補間処理部43からのイメージデータの出力は一
旦、停止される。そして、第3ラインメモリLM3のイ
メージデータが第2マトリクス45の画素45dと第4
ラインメモリLM4へ入力されると共に、再び画素45
aと第3ラインメモリLM3にも入力される。
The switch 44 can selectively close the contacts A and B. While the contact A is closed, the image data output from the main scanning direction interpolation processing unit 43 is
The pixels 45a of the second matrix 45 and the third line memory L
Input to M3. Further, while the contact B is closed, the input of image data from the input terminal 41 and the output of image data from the main scanning direction interpolation processing unit 43 are temporarily stopped. Then, the image data of the third line memory LM3 and the pixels 45d of the second matrix 45 and the fourth
The pixel 45 is input again to the line memory LM4 and
a and the third line memory LM3.

【0022】第2マトリクス45は第1マトリクス42
と同様に、3画素×3画素で構成され、周囲の8画素4
5a〜d、f〜iのデータに基づいて、注目画素45e
の状態を決定する。注目画素45eのデータが平滑化処
理されたイメージデータとして出力端子46から出力さ
れる。
The second matrix 45 is the first matrix 42.
Similar to the above, it is composed of 3 pixels x 3 pixels, and the surrounding 8 pixels 4
The pixel of interest 45e based on the data of 5a to d and f to i
Determine the state of. The data of the pixel of interest 45e is output from the output terminal 46 as the smoothed image data.

【0023】47は副走査方向の解像度変換倍率を設定
するレジスタ及びカウンタを備えた倍率設定部である。
拡大倍率が1の場合、常時(原稿1頁を処理する期
間)、スイッチ44の接点Aを閉じる。拡大倍率が2の
場合、1ライン分のイメージデータを処理する期間、ス
イッチ44の接点Aを閉じた後、次の1ライン分のイメ
ージデータを処理する期間、スイッチ44の接点Bを閉
じる。この期間、主走査方向補間処理部43からのイメ
ージデータの出力が停止される代わりに、第3ラインメ
モリLM3のイメージデータが画素45aと第3ライン
メモリLM3にも出力される。その後、次の1ラインの
期間、スイッチ44の接点Aを再び閉じ、主走査方向補
間処理部43からのイメージデータを処理する。
Reference numeral 47 is a magnification setting unit having a register and a counter for setting the resolution conversion magnification in the sub-scanning direction.
When the enlargement ratio is 1, the contact A of the switch 44 is closed at all times (a period for processing one page of the original). When the enlargement ratio is 2, the contact A of the switch 44 is closed during the period of processing the image data for one line, and then the contact B of the switch 44 is closed during the period of processing the image data for the next one line. During this period, instead of stopping the output of the image data from the main scanning direction interpolation processing unit 43, the image data of the third line memory LM3 is also output to the pixel 45a and the third line memory LM3. After that, the contact A of the switch 44 is closed again during the next one line period, and the image data from the main scanning direction interpolation processing unit 43 is processed.

【0024】以降、1ライン毎に、交互にスイッチ44
の接点を切り替えることによって、同一ラインのデータ
を2回づつ処理することが可能になり、副走査方向のラ
イン数を2倍にできる。第1マトリクス42で、解像度
変換処理前のイメージデータについて、平滑化処理を行
い、第2マトリクス45で、平滑化処理されたイメージ
データについて平滑化処理を行っている。副走査方向の
解像度変換倍率が4の場合は、ノーマルモードで受信し
たイメージデータを400dpiで記録する場合に相当する。
Thereafter, the switches 44 are alternately arranged for each line.
By switching the contact point of, it becomes possible to process the data of the same line twice, and the number of lines in the sub-scanning direction can be doubled. The first matrix 42 performs a smoothing process on the image data before the resolution conversion process, and the second matrix 45 performs a smoothing process on the smoothed image data. The case where the resolution conversion magnification in the sub-scanning direction is 4 corresponds to the case where the image data received in the normal mode is recorded at 400 dpi.

【0025】第1及び第2マトリクス42、45の動作
について図3を参照しながら説明する。本実施例の第1
及び第2マトリクス42、45の動作は同じである。図
3(1)に示す注目画素eの状態は、周囲の8画素a〜
d、f〜iの状態によって決定される。図3(2)に示
すように、画素a、d、g、h、iが黒画素(B)、画
素b、c、fが白画素(W)となった場合、注目画素e
の状態にかかわらず注目画素eの状態を黒にする。これ
とは逆に、図3(3)に示すように、画素a、d、g、
h、iが白画素(W)、画素b、c、fが黒画素(B)
となった場合、注目画素eの状態を白にする。図3
(2)、(3)のパターンをそれぞれ90°、180
°、270°回転した場合も同様である。これらのパタ
ーンに該当しない場合、注目画素eは、元の状態を維持
して出力される。
The operation of the first and second matrices 42 and 45 will be described with reference to FIG. First of the present embodiment
The operations of the second and second matrices 42 and 45 are the same. The state of the target pixel e shown in FIG. 3A is the surrounding 8 pixels a to
It is determined by the states of d and f to i. As shown in FIG. 3B, when the pixels a, d, g, h, and i are black pixels (B) and the pixels b, c, and f are white pixels (W), the pixel of interest e
The state of the target pixel e is made black regardless of the state of. On the contrary, as shown in FIG. 3C, the pixels a, d, g,
h and i are white pixels (W), and pixels b, c, and f are black pixels (B)
If, then, the state of the target pixel e is set to white. FIG.
Patterns (2) and (3) are 90 ° and 180, respectively.
The same applies when rotated by 270 ° or 270 °. When the pattern does not correspond to these patterns, the target pixel e is output while maintaining the original state.

【0026】本発明の作用の詳細について、図4を参照
しながら説明する。図4(1)は、読取部2で読み取っ
たノーマルモードのイメージデータの一部であり、この
ようなイメージデータは斜線を読み取った場合に発生す
る。このイメージデータの主走査方向の解像度は、8 do
t/line、副走査方向の解像度は 3.85 line/mmである。
記録部3の解像度は主走査方向、副走査方向共に 400dp
i ≒15.7 dot/line であるので、主走査方向で2倍、副
走査方向で4倍の解像度変換処理をする必要がある。
Details of the operation of the present invention will be described with reference to FIG. FIG. 4A shows a part of the image data in the normal mode read by the reading unit 2, and such image data occurs when a diagonal line is read. The resolution of this image data in the main scanning direction is 8 do.
The resolution in t / line and sub-scanning direction is 3.85 line / mm.
The resolution of the recording unit 3 is 400 dp in both the main scanning direction and the sub scanning direction.
Since i ≈ 15.7 dots / line, it is necessary to perform resolution conversion processing of 2 times in the main scanning direction and 4 times in the sub scanning direction.

【0027】図4(1)に示すイメージデータが入力端
子41から入力され、第1マトリクス42で第1の平滑
化処理をすると、図4(2)に示すイメージデータが、
主走査方向補間処理部43へ出力される。図3に示すマ
トリクス処理パターンに従って処理されているので、角
の部分や階段状の部分が滑らかになっている。主走査方
向補間処理部43は、主走査方向に2倍の解像度変換を
行う。
When the image data shown in FIG. 4 (1) is input from the input terminal 41 and the first smoothing process is performed by the first matrix 42, the image data shown in FIG. 4 (2) becomes
It is output to the main scanning direction interpolation processing unit 43. Since the processing is performed according to the matrix processing pattern shown in FIG. 3, the corners and stepped portions are smooth. The main scanning direction interpolation processing unit 43 performs double resolution conversion in the main scanning direction.

【0028】倍率設定部47には、副走査方向の倍率で
ある4が設定される。スイッチ44は、1ライン分の期
間、接点Aを閉じて、主走査方向補間処理部43から1
ライン分のイメージデータを、第2マトリクス45の画
素45aと第3ラインメモリLM3へ供給する。その後
の3ライン分の期間、スイッチ44は接点Bを閉じて、
第3ラインメモリLM3のイメージデータを画素45
a、45d、第3ラインメモリLM3、第44ラインメ
モリLM4へ供給する。このようにして、同一ラインの
イメージデータが4回出力されて、副走査方向の解像度
変換処理が行われる。第2マトリクス45では、副走査
方向の解像度変換処理と並行して、第2の平滑化処理が
行われる。
In the magnification setting section 47, a magnification of 4 in the sub-scanning direction is set. The switch 44 closes the contact A for a period of one line, and the main scanning direction interpolation processing unit 43 to 1
The image data for the lines is supplied to the pixels 45a of the second matrix 45 and the third line memory LM3. During the following three lines, the switch 44 closes the contact B,
The image data of the third line memory LM3 is converted into pixels 45
a, 45d, the third line memory LM3, and the 44th line memory LM4. In this way, the image data of the same line is output four times, and the resolution conversion processing in the sub-scanning direction is performed. In the second matrix 45, the second smoothing process is performed in parallel with the resolution conversion process in the sub-scanning direction.

【0029】本実施例では、解像度変換処理と第2の平
滑化処理を同時に行っているが、ここでは、説明をわか
りやすくするために、分けて説明する。図4(2)のイ
メージデータを主走査方向に2倍、副走査方向に4倍の
解像度変換処理をしたものが図4(3)である。図4
(3)のイメージデータを、第2マトリクス45で平滑
化処理をすると、図4(4)のイメージデータになる。
角の部分や階段状の部分がさらに滑らかになっているこ
とが確認できる。
In the present embodiment, the resolution conversion process and the second smoothing process are performed at the same time, but here, in order to make the description easier to understand, they will be described separately. FIG. 4 (3) is the image data of FIG. 4 (2) that has been subjected to a resolution conversion process of 2 times in the main scanning direction and 4 times in the sub scanning direction. FIG.
When the image data of (3) is smoothed by the second matrix 45, the image data of FIG. 4 (4) is obtained.
It can be confirmed that the corners and stairs are smoother.

【0030】本実施例では、解像度変換のための補間処
理の前後に平滑化処理を行っているが、さらに補間処理
と平滑化処理を組み合わせることも可能である。つま
り、元のイメージデータ→平滑化処理→補間処理→平滑
化処理→補間処理→平滑化処理→記録部とすることによ
って、さらに大きな補間倍率であっても、平滑化のため
のマトリクスを大きくすることなく、平滑化処理をする
ことができる。
In this embodiment, the smoothing process is performed before and after the interpolation process for resolution conversion, but it is also possible to combine the interpolation process and the smoothing process. That is, the original image data → smoothing process → interpolation process → smoothing process → interpolation process → smoothing process → recording unit increases the matrix for smoothing even with a larger interpolation magnification. The smoothing process can be performed without the need.

【0031】図3(5)、(6)は、従来の処理を行っ
た場合の一例である。本実施例で用いた図3(1)のイ
メージデータの処理結果を比較する。従来では、解像度
変換処理を行った後で、平滑化処理を行っていた。ま
ず、図3(1)のイメージデータに主走査方向で2倍、
副走査方向で4倍の解像度変換処理を行うと、図3
(5)に示すイメージデータとなる。次に、図3で説明
した3画素×3画素のマトリクスによって平滑化処理を
行うと、図4(6)に示すイメージデータとなる。図4
(4)に示す本実施例による結果と比較すると、その差
異は明らかである。図4(5)のイメージデータに平滑
化処理をして、図4(4)と同等の処理結果を得るため
には、非常に大きなマトリクスを備えた平滑化回路が必
要となる。
FIGS. 3 (5) and 3 (6) are examples of the case where the conventional processing is performed. The processing results of the image data of FIG. 3A used in this embodiment will be compared. Conventionally, the smoothing process is performed after the resolution conversion process. First, the image data of FIG. 3A is doubled in the main scanning direction,
When quadruple resolution conversion processing is performed in the sub-scanning direction, FIG.
The image data shown in (5) is obtained. Next, when smoothing processing is performed using the matrix of 3 pixels × 3 pixels described in FIG. 3, the image data shown in FIG. 4 (6) is obtained. FIG.
The difference is clear when compared with the result of this example shown in (4). In order to perform the smoothing processing on the image data of FIG. 4 (5) and obtain the processing result equivalent to that of FIG. 4 (4), a smoothing circuit having a very large matrix is required.

【0032】[0032]

【発明の効果】補間処理の前後に平滑化処理を行ってい
るので、3画素×3画素程度のマトリクスであっても、
優れた平滑化処理結果を得ることができる。平滑化処理
のためのマトリクスが小さくてよいので、ハードウェ
ア、ソフトウェアの負担を非常に軽くすることができ
る。また、補間処理に、同一画素、同一ラインのイメー
ジデータを繰り返して出力されたデータを使用している
場合、さらに次のような効果がある。補間処理の前に平
滑化処理を行うことによって、補間処理により同一のイ
メージデータが繰り返される回数が少なくなる。補間処
理の後に平滑化処理を行うことによって、補間処理によ
り繰り返されたイメージデータに対しても、小さなマト
リクスで平滑化処理をすることができる。本発明はイメ
ージデータの補間をする場合に適用することができるの
で、解像度変換処理(単位長さ又は単位面積当たり画素
数を変える)だけでなく、拡大処理(解像度一定で、長
さ又は面積を変える)にも適用できる。
Since the smoothing process is performed before and after the interpolation process, even if the matrix is about 3 pixels × 3 pixels,
An excellent smoothing processing result can be obtained. Since the matrix for the smoothing process may be small, the burden on hardware and software can be greatly reduced. Further, when the data obtained by repeatedly outputting the image data of the same pixel and the same line is used for the interpolation processing, the following effects are further obtained. By performing the smoothing process before the interpolation process, the number of times the same image data is repeated by the interpolation process is reduced. By performing the smoothing process after the interpolation process, the smoothing process can be performed on the image data repeated by the interpolation process with a small matrix. INDUSTRIAL APPLICABILITY Since the present invention can be applied to the case of interpolating image data, not only the resolution conversion processing (changing the number of pixels per unit length or unit area), but also the enlargement processing (constant resolution, length or area Change).

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

【図1】本発明を用いたファクシミリ装置のブロック図
である。
FIG. 1 is a block diagram of a facsimile apparatus using the present invention.

【図2】本発明の要部を示すブロック図である。FIG. 2 is a block diagram showing a main part of the present invention.

【図3】本発明の平滑化に用いるマトリクスを示す。FIG. 3 shows a matrix used for smoothing according to the present invention.

【図4】本発明の平滑化処理を説明する図である。FIG. 4 is a diagram illustrating a smoothing process of the present invention.

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

42,45 第1、第2マトリクス 43 主走査方向補間処理部 44 スイッチ LM1,LM2 第1、第2ラインメモリ LM3,LM4 第3、第4ラインメモリ 42, 45 First and second matrices 43 Main scanning direction interpolation processing unit 44 Switches LM1, LM2 First and second line memories LM3, LM4 Third and fourth line memories

Claims (5)

【特許請求の範囲】[Claims] 【請求項1】イメージデータを平滑化する第1平滑化手
段、前記第1平滑化手段によって平滑化されたイメージ
データを補間する手段、前記補間手段によって補間され
たイメージデータをさらに平滑化する第2平滑化手段と
を有することを特徴とする画像処理装置。
1. A first smoothing means for smoothing image data, a means for interpolating the image data smoothed by the first smoothing means, and a further smoothing for the image data interpolated by the interpolation means. 2. An image processing device comprising: two smoothing means.
【請求項2】前記第1平滑化手段は3画素×3画素のマ
トリクスで構成されることを特徴とする請求項1記載の
画像処理装置。
2. The image processing apparatus according to claim 1, wherein the first smoothing means is composed of a matrix of 3 pixels × 3 pixels.
【請求項3】前記第2平滑化手段は3画素×3画素のマ
トリクスで構成されることを特徴とする請求項1または
2記載の画像処理装置。
3. The image processing apparatus according to claim 1, wherein the second smoothing means is composed of a matrix of 3 pixels × 3 pixels.
【請求項4】前記補間手段は同一イメージデータを繰り
返すことによって行うことを特徴とする請求項1乃至3
の各々に記載の画像処理装置。
4. The interpolation means performs the same image data by repeating the same image data.
The image processing device described in each of.
【請求項5】イメージデータを平滑化処理し、補間処理
し、さらに平滑化処理することを特徴とする画像処理方
法。
5. An image processing method, wherein image data is smoothed, interpolated, and further smoothed.
JP7057094A 1995-03-16 1995-03-16 Image processor and its method Pending JPH08256259A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP7057094A JPH08256259A (en) 1995-03-16 1995-03-16 Image processor and its method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP7057094A JPH08256259A (en) 1995-03-16 1995-03-16 Image processor and its method

Publications (1)

Publication Number Publication Date
JPH08256259A true JPH08256259A (en) 1996-10-01

Family

ID=13045928

Family Applications (1)

Application Number Title Priority Date Filing Date
JP7057094A Pending JPH08256259A (en) 1995-03-16 1995-03-16 Image processor and its method

Country Status (1)

Country Link
JP (1) JPH08256259A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005341098A (en) * 2004-05-26 2005-12-08 Ricoh Co Ltd Image processing apparatus, program, and storage medium
US7442937B2 (en) 2004-09-24 2008-10-28 Hitachi, Ltd. Radiation imaging apparatus and nuclear medicine diagnosis apparatus using the same

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005341098A (en) * 2004-05-26 2005-12-08 Ricoh Co Ltd Image processing apparatus, program, and storage medium
US7442937B2 (en) 2004-09-24 2008-10-28 Hitachi, Ltd. Radiation imaging apparatus and nuclear medicine diagnosis apparatus using the same

Similar Documents

Publication Publication Date Title
KR0171655B1 (en) Image processing device
JP3927388B2 (en) Image processing apparatus, image processing method, and recording medium
JPH06133168A (en) Image processing method
EP1542447A1 (en) Image data processing device, image data processing method, program, recording medium, and image reading device
JPH04252557A (en) Parallel picture processor
JPH08256259A (en) Image processor and its method
JPH04238462A (en) Image processing device
US6061151A (en) Image processing method and apparatus
JP3265100B2 (en) Facsimile machine
US6282321B1 (en) Context generation circuit and method for small screen
JPH0197065A (en) Facsimile equipment
JP3651396B2 (en) Image processing circuit
JPH07170372A (en) Image reader and facsimile equipment using the same
US7149001B1 (en) System for supporting a multiplicity of copy features
JP2000295387A (en) Communication terminal device
JP4080726B2 (en) Image reduction method, image processing apparatus, and image processing apparatus control method
JPH0373666A (en) Image processor
JPH09214751A (en) Facsimile equipment providing picture reduction function
JPH04307867A (en) Picture processor and method therefor
JPH04265069A (en) Picture processing method
JPH09238258A (en) Image processing device
JP2000224388A (en) Communication terminal
JP2003283808A (en) Image processing device
JPH04310069A (en) Facsimile equipment
JP2004120640A (en) Image processing method and image processing apparatus