JPS6292580A - Picture smoothing device - Google Patents

Picture smoothing device

Info

Publication number
JPS6292580A
JPS6292580A JP60230967A JP23096785A JPS6292580A JP S6292580 A JPS6292580 A JP S6292580A JP 60230967 A JP60230967 A JP 60230967A JP 23096785 A JP23096785 A JP 23096785A JP S6292580 A JPS6292580 A JP S6292580A
Authority
JP
Japan
Prior art keywords
data
bit
image
input
output
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
JP60230967A
Other languages
Japanese (ja)
Inventor
Hiroshi Tanioka
宏 谷岡
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 JP60230967A priority Critical patent/JPS6292580A/en
Publication of JPS6292580A publication Critical patent/JPS6292580A/en
Pending legal-status Critical Current

Links

Landscapes

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

Abstract

PURPOSE:To simplify the constitution and to obtain a smoothing output by bit-converting and delaying an input (n) bit picture signal and applying two-dimensional smoothing processing. CONSTITUTION:The quadruple data from a ROM40 are delayed respectively for one line by line memories 41 and 42, delaying picture element data are delayed in the column direction by D-FF45-48 and two-bit data for five picture elements are obtained. By using a ROM49, the table conversion is executed to the 21-fold value for the addition and the adding value of the adder bit data. An adder 50 adds the 6-bit data for three picture elements composed of input picture element data and the output data of D-FF43 and 44 and the output after the table conversion, the higher order 6-bit only of the result is considered as the average value and the two-dimensionally smoothed processed picture signal is obtained.

Description

【発明の詳細な説明】 [産業上の利用分野1 本発明は画像平滑化装置に関し、例えば画像をディジタ
ル的に処理して像再生する複写機、ファクシミリ、ある
いはパーソナルコンピュータ等への画像入力装置等に用
いて好適な画像平滑化装置に関し、特に雑音除去を目的
とする画像平滑化装置に関する。
DETAILED DESCRIPTION OF THE INVENTION [Industrial Application Field 1] The present invention relates to an image smoothing device, such as an image input device for a copying machine, a facsimile machine, or a personal computer, etc., which digitally processes an image and reproduces the image. The present invention relates to an image smoothing device suitable for use in, and particularly relates to an image smoothing device whose purpose is to remove noise.

[従来の技術1 従来この種の装置においては、網点画像処理時に発生す
るモアレ雑a、あるいは各種!q稿の背景部分に存在す
る濃度むら等を抑圧する為に画像の平滑化処理を施す、
しかしながら画像が例えば6bit  (ビット)の濃
度情報を持ち、該画素データを3×3画素あるいは4×
4画素に二次元的に平滑化処理を施す為には、6 bi
tデータを複数ライン分記憶する為のメモリが必要であ
る。
[Prior art 1] Conventionally, in this type of apparatus, moiré a, which occurs during halftone image processing, or various types of ! Apply image smoothing processing to suppress density unevenness that exists in the background part of the q draft.
However, if an image has density information of, for example, 6 bits, the pixel data is divided into 3×3 pixels or 4×
In order to perform two-dimensional smoothing processing on 4 pixels, 6 bi
A memory is required to store multiple lines of t data.

(8bit)の濃度値を有しているものとし、端子Sか
ら入力されるものとする。第1図において、画像メモリ
(ラインメモリとも称す)1及び画像メモリ2はそれぞ
れlライフ分の画素データ(8bit)の格納が可tb
であり、該メモリ!出力及び該出力をさらにlライン分
遅延させた画像メモリ2の出力は互いに1ラインずつず
れた同一カラム上の画素信号となる。端子S、ラインメ
モリ1.2からのデータをそれぞれ6bitのD型フリ
ップフロップ(以下DF/F ト称t)  3,4.O
F/F 5,8 オJ−びDF/F7.8でカラム方向
に1画素ずつ遅延させれば、11F/F 5の出力を注
目画素とすると、その周辺3×3画素データは同時に検
出できる。
(8 bits) and is input from terminal S. In FIG. 1, an image memory (also called line memory) 1 and an image memory 2 can each store pixel data (8 bits) for l life.
And the memory! The output and the output of the image memory 2 which is further delayed by one line become pixel signals on the same column that are shifted by one line from each other. Data from the terminal S and the line memory 1.2 are transferred to a 6-bit D-type flip-flop (hereinafter referred to as DF/F) 3, 4. O
By delaying one pixel in the column direction with F/F 5, 8 and DF/F 7.8, if the output of 11F/F 5 is the pixel of interest, the surrounding 3 x 3 pixel data can be detected at the same time. .

そして、加算器lOで9画素のデータを加算し、これを
割り算回路9により1/9倍すれば、注目画素(OF/
F 5出力)近傍の3×3画素にわたる単純平滑値は該
割り算回路9出力で得られる。
Then, if the adder lO adds the data of 9 pixels, and this is multiplied by 1/9 by the divider circuit 9, the pixel of interest (OF/
F5 output) A simple smoothed value over neighboring 3×3 pixels is obtained from the output of the divider circuit 9.

しかしながらラインメモリ1.及び2は、例えばカラム
方向が3456画素分有れば、4にワードIbi tS
(static)RAMがそれぞれ6チツプ必要であり
、しかも複写機の様に高速処理が必要なものには用いる
SRAMも高価となる。従って、第2図に示すように例
えばラインメモリ20.22に格納する遅延画像データ
を2bitとすればチップ数は1/3に減少出来る。
However, line memory 1. and 2, for example, if there are 3456 pixels in the column direction, word IbitS is added to 4.
Each (static) RAM requires six chips, and the SRAM used is also expensive for an item that requires high-speed processing, such as a copying machine. Therefore, as shown in FIG. 2, for example, if the delayed image data stored in the line memories 20 and 22 is set to 2 bits, the number of chips can be reduced to 1/3.

すなわち、第2図において、端子S′から入力されるラ
インメモリ20への入力画素データを8bit巾上位2
bitとし、OF/F23の入出力端及び口F/F 2
4の出力端の3画素信号は6bitの画素データをその
まま用いる。一方、他の6画素信号はラインメモリ20
.22.0F/F25.2B、27.28を介して2b
itで得られるので、この2bitの6画素信号をかけ
算回路31で21倍して加算器30で前記8bitの3
画素信号と加算して9画素分のデータを得れば、前述同
様の3×3画素域にわたる平滑化が行なえる。
That is, in FIG. 2, the input pixel data to the line memory 20 input from the terminal S' is divided into two upper 8-bit widths.
bit, the input/output end of OF/F23 and the port F/F 2
The 6-bit pixel data is used as is for the 3-pixel signal at the output end of No. 4. On the other hand, the other 6 pixel signals are stored in the line memory 20.
.. 22.0F/F25.2B, 2b via 27.28
This 2-bit 6-pixel signal is multiplied by 21 in the multiplication circuit 31, and the adder 30 multiplies the 8-bit 3
If data for 9 pixels is obtained by adding the data to the pixel signal, smoothing over the 3×3 pixel area as described above can be performed.

[発明が解決しようとする問題点l 第2図において、2 bitの各画素データは。[Problem that the invention seeks to solve] In FIG. 2, each pixel data is 2 bits.

“00″→0レベル(十進法)、−1otN→2Iレベ
ル。
"00" → 0 level (decimal system), -1otN → 2I level.

“10”→42レベル、“11″→83レベルとして平
滑化処理に用いる。すなわち、第2図の回路においては
9画素データを、その内3画素分を8bitで、6画素
分を2bitで扱うわけであって、平滑処=24階調に
減少する。
Used for smoothing processing as "10" → 42nd level and "11" → 83rd level. That is, in the circuit shown in FIG. 2, 9 pixel data is handled, 3 pixels of which are handled by 8 bits, and 6 pixels by 2 bits, and the smoothing process is reduced to 24 gradations.

しかしながら、平滑する3×3画素内での濃度変化が小
さく、全体的に白から黒へ変化する画像に対しては、前
述した24段階の濃度変化では寸分でなく、濃度変化を
等間隔で表現出来ない0例えば、入力画像レベルが9画
素共に、3ルベルから32レベルに変化した時において
は、2bitデータは、O1”→“10″へ変化する。
However, for images where the density change within the 3x3 pixels to be smoothed is small and the overall change from white to black, the 24-step density change described above expresses the density change at equal intervals rather than minutely. For example, when the input image level changes from 3 level to 32 level for all 9 pixels, the 2-bit data changes from "O1" to "10".

つまり平滑化演算時には画素データが2ルベル→42レ
ベルへ変化したものとして処理されるので、 32X3 +42X8 ′3232レベル□ =38レベル値 となる。すなわち、実際の画像人力は3ルベル→32レ
ベルと小さい濃度変化にも係わらず平滑処理出力は、2
4レベル→38レベルと不連続にレベル変化する。つま
り再生画像ヒでは、擬似輪かくとして表われてしまう。
In other words, during the smoothing calculation, the pixel data is processed as having changed from 2 levels to 42 levels, so the value becomes 32X3 + 42X8 '3232 levels □ = 38 levels. In other words, even though the actual image power is a small density change of 3 levels → 32 levels, the smoothing processing output is 2 levels.
The level changes discontinuously from 4th level to 38th level. In other words, in the reproduced image H, it appears as a pseudo ring.

これは平滑化に用いる2bitデータ全てが“01”→
“10”へ変化する為である。 E問題点を解決するた
めの手段1本発明は、上記問題点に鑑みなされたもので
筒中な構成で平滑化出力を得ることができる画像y消化
装置を提供することを目的とする。
This means that all 2-bit data used for smoothing is “01” →
This is because it changes to "10". Means for Solving Problem E 1 The present invention has been devised in view of the above problems, and an object of the present invention is to provide an image y-digesting device capable of obtaining a smoothed output with an in-tube configuration.

本発明の更なる目的は、安定した平滑化出力を得ること
のできる安価な画像平滑化装置の提供にある。
A further object of the present invention is to provide an inexpensive image smoothing device that can provide stable smoothed output.

そのために本発明は、入力nビット画像信号を周期的に
変化するしきい値列によりm(m<n)ビットに変換す
る手段と、手段によって得られたmビット信号を遅延し
、遅延mビット信号を出力する遅延手段と、遅延手段に
よって得られた8延mビット信号とnビット画像信号と
を入力して2次元的不滑化処理する手段とを有すること
を特徴とする。
To this end, the present invention provides means for converting an input n-bit image signal into m (m<n) bits using a series of periodically changing threshold values, and delaying the m-bit signal obtained by the means, It is characterized by having a delay means for outputting a signal, and a means for inputting an 8-bit m-bit signal and an n-bit image signal obtained by the delay means and performing two-dimensional smoothing processing.

[実施例] 以下に1図面を参照して、本発明の詳細な説明する。[Example] The invention will now be described in detail with reference to one drawing.

第3図に本発明画像平滑化装置の一実施例を示す。FIG. 3 shows an embodiment of the image smoothing device of the present invention.

第3図において、ROM40の下位アドレスに6bit
の人力画像データを入力し、該RON40の上位4 b
itアドレスにはラインアドレスとカラムアドレスとを
それぞれ2 bitずつ入力する。モしてROI114
0からは指定されたアドレスに従って2bitのイメー
ジデータが出力される。この−E位4bitのアドレス
値によって、4画素×4画素を1@位として、その4値
化しきい値を周期的に変化させて、6 bitの入力画
像データを最適な2 bitデータにテーブル変換する
事ができる0例えば、第4図に示すように−14〜14
までの値を、入力された6ビツトデータに加算した値を
、テーブル変換の基準となる値とすれば、その上位2 
bitのデータは、第5図に示す様になる。
In FIG. 3, there are 6 bits in the lower address of ROM 40.
Input the human image data of RON40 and select the top 4 b
A line address and a column address of 2 bits each are input to the it address. ROI114
From 0, 2-bit image data is output according to the designated address. Using this -E position 4-bit address value, 4 pixels x 4 pixels are set to 1@ position, and the 4-value threshold is periodically changed to convert the 6-bit input image data into the optimal 2-bit data in a table. For example, -14 to 14 as shown in Figure 4.
If the value obtained by adding up to the input 6-bit data is used as the reference value for table conversion, then
The bit data is as shown in FIG.

例えば、入力データが14とすれば、前述のような通常
の4値化処理であれば、4値化データは“OO″である
が、第4図において合方ラムアドレスがO”、ラインア
ドレスが“1″のとき、テーブル変換の基準となる値は
、入力データ14に2レベルを加えた値、つまり1Bと
なる。従ってROM40から出力される4値化データ(
2bit)は01となる。
For example, if the input data is 14, in the normal 4-value processing as described above, the 4-value data will be "OO", but in Figure 4, the input data will be "O" and the line address. is "1", the reference value for table conversion is the value obtained by adding two levels to the input data 14, that is, 1B. Therefore, the quaternary data output from the ROM 40 (
2 bit) becomes 01.

第4図では一例として4X4のマトリックス内に8通り
の4値化パターンを格納したが、第5図に示した入力8
3レベルデータに対する8通りの4値化の様子からも明
らかなように、均一な濃度データに対し、その画像中の
位置によって4値化が異なるので、隣接する数画素にわ
たって平均化を行なえば、それぞれのデータは4レベル
の値しかもたないにもかかわらず、入力8bitデータ
に近く、かつその濃度変化に不連続な部分が生じない値
として扱うことができる。
In Fig. 4, eight 4-value patterns are stored in a 4x4 matrix as an example, but the input 8 patterns shown in Fig. 5 are
As is clear from the eight ways of 4-value conversion for 3-level data, the 4-value conversion differs depending on the position in the image for uniform density data, so if you average over several adjacent pixels, Although each data has only 4 levels of values, it can be treated as a value that is close to the input 8-bit data and that does not cause any discontinuous part in the density change.

第3図ではROM40からの該4値化データをラインメ
モリ41および42によりそれぞれlライフ分ずつ′j
!:延させるとともに、これらの遅延された画素データ
を4つのOF/F 45,48.47および48によっ
て更にカラム方向に遅延させ(各OF/Fは1画素分デ
ータを′!i延する)、5画素分の2bitデータを得
る。そしてROに49を用いて、該5画素の2bitデ
ータの加算と、加算値を21倍した値へのテーブル変換
とを行なう。
In FIG. 3, the quaternary data from the ROM 40 is stored in line memories 41 and 42 for l lives, respectively.
! : and further delay these delayed pixel data in the column direction by four OF/Fs 45, 48, 47 and 48 (each OF/F delays data by one pixel '!i), Obtain 2-bit data for 5 pixels. Then, 49 is used for RO to perform addition of the 2-bit data of the five pixels and table conversion to a value obtained by multiplying the added value by 21.

加算器50では8画素の平均値を求めれば良い為、6 
bi tの入力画像データと、これを各々カラム方向に
1画素分遅延させる2つのOF/F43および44を介
して得られたデータとからなる3画素分の8bitデー
タと、」二足ROM 49のテーブル変換後の出力との
加算を行ない、その結果の上位8bitのみをモ均値と
して扱う、従って加算器50からは2次元的平滑化処理
のされた画像信号が出力される。
Since the adder 50 only needs to calculate the average value of 8 pixels, 6
8-bit data for 3 pixels consisting of input image data of bit t and data obtained through two OF/Fs 43 and 44 that delay the input image data by 1 pixel in the column direction, Addition is performed with the output after table conversion, and only the upper 8 bits of the result are treated as the modulus average value. Therefore, the adder 50 outputs an image signal that has been subjected to two-dimensional smoothing processing.

なお、本実施例においては、8bit画像データを2b
itデータに変換する例を示したが、 3bit、4b
i tデータに変換する場合においても同様にして本発
明による処理は行なえる0例えば6bit画像データを
3bitに変換する場合、第4図に示す加算値は8〜−
8の値にとればよい、又、本実施例では、第5図に示す
様に通常の4値化レベルを単純にシフトした例を示した
。つまり量子化される01” 、あるいは“lO″レベ
ルの入力レベルに相当する幅が全て16レベルとなって
いるが、中1llla度レベルをよりこまかく再現しよ
うとするならば、該輻も、入力レベル範囲に応じて変化
させても良い。
Note that in this embodiment, 8-bit image data is
An example of converting to IT data was shown, but 3bit, 4b
The processing according to the present invention can be performed in the same way when converting to it data. For example, when converting 6-bit image data to 3-bit data, the added value shown in FIG. 4 is 8 to -
In this embodiment, as shown in FIG. 5, an example in which the normal quaternary level is simply shifted is shown. In other words, the width corresponding to the input level of the quantized 01" or "lO" level is all 16 levels, but if you want to reproduce the middle 1lla degree level more precisely, the width will also be the input level. It may be changed depending on the range.

以上説明したように、例えば6ビツト画像データを2ビ
ツトのデータ変換する際にその量子化レベルを周期的に
変化させる事により、該2ビツトの画像データを用いて
画像の平滑化を行った場合、平滑化値の原6ビツト画素
データに対するリニアリティを向−ヒさせることができ
る。
As explained above, for example, when converting 6-bit image data into 2-bit data, by periodically changing the quantization level, the 2-bit image data is used to smooth the image. , it is possible to improve the linearity of the smoothed value with respect to the original 6-bit pixel data.

[発IJIの効果] 以上説明した様に本発明によれば、小規模のハードウェ
アを用いる事によって、画像の二次元的平滑化処理を筒
便に実現することができるとともに安定した平滑化出力
を得ることができる。
[Effects of IJI] As explained above, according to the present invention, by using small-scale hardware, two-dimensional image smoothing processing can be easily realized, and stable smoothing output can be achieved. can be obtained.

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

第1図および第2図は従来の画像平滑化処理回路を示す
図、 第3図は本発明一実施例の画像平滑化装置の回路を示す
図、 第4図はROM40内のマトリックスの一例を示す図、 第5図はROM40内の記憶データとアドレスとの関係
の一例を示す図である。 40、49−ROM、 41.42・・・ラインメモリ、 43.44.45.4B 、4? 、48・・・OF/
F、5θ・・・加算器。 第1図 第2図
1 and 2 are diagrams showing a conventional image smoothing processing circuit, FIG. 3 is a diagram showing a circuit of an image smoothing device according to an embodiment of the present invention, and FIG. 4 is a diagram showing an example of a matrix in the ROM 40. FIG. 5 is a diagram showing an example of the relationship between storage data in the ROM 40 and addresses. 40, 49-ROM, 41.42... line memory, 43.44.45.4B, 4? , 48...OF/
F, 5θ...adder. Figure 1 Figure 2

Claims (1)

【特許請求の範囲】 入力nビット画像信号を周期的に変化するしきい値列に
よりm(m<n)ビットに変換する手段と、 該手段によって得られたmビット信号を遅延し、遅延m
ビット信号を出力する遅延手段 と、 該遅延手段によって得られた遅延mビット信号と前記n
ビット画像信号とを入力して2次元的平滑化処理する手
段とを有することを特徴とする画像平滑化装置。
[Scope of Claims] Means for converting an input n-bit image signal into m (m<n) bits using a periodically changing threshold value sequence; and delaying the m-bit signal obtained by the means;
a delay means for outputting a bit signal; a delayed m-bit signal obtained by the delay means; and a delayed m-bit signal obtained by the delay means;
An image smoothing device comprising means for inputting a bit image signal and performing two-dimensional smoothing processing.
JP60230967A 1985-10-18 1985-10-18 Picture smoothing device Pending JPS6292580A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP60230967A JPS6292580A (en) 1985-10-18 1985-10-18 Picture smoothing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP60230967A JPS6292580A (en) 1985-10-18 1985-10-18 Picture smoothing device

Publications (1)

Publication Number Publication Date
JPS6292580A true JPS6292580A (en) 1987-04-28

Family

ID=16916128

Family Applications (1)

Application Number Title Priority Date Filing Date
JP60230967A Pending JPS6292580A (en) 1985-10-18 1985-10-18 Picture smoothing device

Country Status (1)

Country Link
JP (1) JPS6292580A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0638040A (en) * 1992-07-13 1994-02-10 Mita Ind Co Ltd Image data processor

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0638040A (en) * 1992-07-13 1994-02-10 Mita Ind Co Ltd Image data processor

Similar Documents

Publication Publication Date Title
JPH07210670A (en) Image processor
US4366507A (en) Shaded picture signal processing system and method
US5760918A (en) Image processing apparatus with conversion and reconversion of the number of bits per pixel
JPH0231562A (en) Recorder
JPS6292580A (en) Picture smoothing device
EP0604759B1 (en) Method of and apparatus for processing digital image data
JPH0722327B2 (en) Color image processor
JPS58136173A (en) Dither processor
JP2810396B2 (en) Image processing device
JP3179823B2 (en) Image processing device
JPS62107572A (en) Image processor
JPS62245863A (en) Picture processor
JPS61113364A (en) Picture processor
JP3089355B2 (en) Image processing device
JP2792581B2 (en) Image processing device
JPS6125371A (en) Data converter
JPH0828812B2 (en) Halftone image processor
JPS63272171A (en) Image data processing circuit
JPH01284172A (en) Picture processor
JPH1032713A (en) Picture processor
JPH03192968A (en) Picture processor
JPS62245862A (en) Picture processor
JPS61136175A (en) Picture processor
JPS63213084A (en) Picture processor
JPH0334770A (en) Picture processing method