JPH0197066A - Image processing method - Google Patents
Image processing methodInfo
- Publication number
- JPH0197066A JPH0197066A JP62255070A JP25507087A JPH0197066A JP H0197066 A JPH0197066 A JP H0197066A JP 62255070 A JP62255070 A JP 62255070A JP 25507087 A JP25507087 A JP 25507087A JP H0197066 A JPH0197066 A JP H0197066A
- Authority
- JP
- Japan
- Prior art keywords
- processing
- binary
- binarization
- data
- 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
Links
Classifications
-
- G—PHYSICS
- G03—PHOTOGRAPHY; CINEMATOGRAPHY; ANALOGOUS TECHNIQUES USING WAVES OTHER THAN OPTICAL WAVES; ELECTROGRAPHY; HOLOGRAPHY
- G03F—PHOTOMECHANICAL PRODUCTION OF TEXTURED OR PATTERNED SURFACES, e.g. FOR PRINTING, FOR PROCESSING OF SEMICONDUCTOR DEVICES; MATERIALS THEREFOR; ORIGINALS THEREFOR; APPARATUS SPECIALLY ADAPTED THEREFOR
- G03F7/00—Photomechanical, e.g. photolithographic, production of textured or patterned surfaces, e.g. printing surfaces; Materials therefor, e.g. comprising photoresists; Apparatus specially adapted therefor
- G03F7/004—Photosensitive materials
- G03F7/022—Quinonediazides
- G03F7/0226—Quinonediazides characterised by the non-macromolecular additives
-
- G—PHYSICS
- G03—PHOTOGRAPHY; CINEMATOGRAPHY; ANALOGOUS TECHNIQUES USING WAVES OTHER THAN OPTICAL WAVES; ELECTROGRAPHY; HOLOGRAPHY
- G03F—PHOTOMECHANICAL PRODUCTION OF TEXTURED OR PATTERNED SURFACES, e.g. FOR PRINTING, FOR PROCESSING OF SEMICONDUCTOR DEVICES; MATERIALS THEREFOR; ORIGINALS THEREFOR; APPARATUS SPECIALLY ADAPTED THEREFOR
- G03F7/00—Photomechanical, e.g. photolithographic, production of textured or patterned surfaces, e.g. printing surfaces; Materials therefor, e.g. comprising photoresists; Apparatus specially adapted therefor
- G03F7/004—Photosensitive materials
- G03F7/022—Quinonediazides
- G03F7/023—Macromolecular quinonediazides; Macromolecular additives, e.g. binders
- G03F7/0233—Macromolecular quinonediazides; Macromolecular additives, e.g. binders characterised by the polymeric binders or the macromolecular additives other than the macromolecular quinonediazides
Landscapes
- Physics & Mathematics (AREA)
- Spectroscopy & Molecular Physics (AREA)
- General Physics & Mathematics (AREA)
- Storing Facsimile Image Data (AREA)
- Facsimile Image Signal Circuits (AREA)
Abstract
Description
【発明の詳細な説明】
〈産業上の利用分野〉
本発明は、デジタルプリンタおよびデジタルファクシミ
リ等の画像形成装置における画像処理方法に関するもの
である。DETAILED DESCRIPTION OF THE INVENTION <Industrial Application Field> The present invention relates to an image processing method in an image forming apparatus such as a digital printer and a digital facsimile.
〈従来の技術〉
従来よシデジタルプリンタ、デジタルファクシミリ等に
おいて中間調を再現するための2値化手法として誤差拡
散法がある。この方法は原稿の画像濃度と出力画像濃度
の画素ごとの濃度差を演算し、この演算結果である誤差
分を周辺画像に特定の重みづけを施した後に分散させて
いく方法である。この誤差拡散法ニツイテは文献R,W
、Floyd and L、Steinberg“An
Adaptive Algorithm for
5peatialGray 5cale″SID 75
Digest (1976)で発表がなされている。<Prior Art> Conventionally, there is an error diffusion method as a binarization method for reproducing halftones in digital printers, digital facsimiles, etc. This method calculates the density difference between the original image density and the output image density for each pixel, and distributes the error amount, which is the result of this calculation, after applying specific weighting to surrounding images. This error diffusion method is explained in References R and W.
, Floyd and L., Steinberg “An
Adaptive Algorithm for
5peatialGray 5cale″SID 75
It was announced in Digest (1976).
〈発明が解決しようとしている問題点〉前述の誤差拡散
法による2値化処理では他の2値化手法のデイザ法や濃
度パターン法で問題となっているモアレ現象は発生しな
いが画像の処理方法が常に決まっているため画像の一様
濃度部分(エツジ部以外゛の部分)において独特の縞パ
ターンが発生し画質の低下をひき起こしてしまうという
欠点があった。<Problems to be solved by the invention> Binarization processing using the error diffusion method described above does not cause the moiré phenomenon that is a problem with other binarization methods such as the dither method and the density pattern method, but the image processing method Since this is always fixed, a unique striped pattern occurs in uniform density portions of the image (portions other than edge portions), resulting in a deterioration in image quality.
く問題点を解決するための手段及び作用〉本発明は上述
の問題点を解決することを目的とし、複数画素より成る
画像の複数の方向から、独立して誤差拡散法による2値
化処理を行ない、それぞれの処理結果をメモリに格納し
その後メモリに格納されている同一画素に対する2値化
処理の結果を多数決判定することによシ出力する2値デ
ータを決定するものである。Means and operation for solving the above-mentioned problems The present invention aims to solve the above-mentioned problems by independently performing binarization processing using an error diffusion method from a plurality of directions of an image consisting of a plurality of pixels. The results of each process are stored in a memory, and then the binary data to be output is determined by a majority vote on the results of the binarization process for the same pixel stored in the memory.
〈実施例〉
以下、図面を参照し本発明の詳細な説明する。第1図は
本発明の一実施例を示したブロック図である。<Example> Hereinafter, the present invention will be described in detail with reference to the drawings. FIG. 1 is a block diagram showing one embodiment of the present invention.
入力センサ部1はCCD等の光電変換素子およびこれを
走査する駆動装置より構成され原稿の読み取シ走査を行
う。入カセ/す部1で読み取られた原稿の画像データは
、A/D変換器2に送られる。ここでは各画素のデータ
をg bitのデジタルデータに変換し、256レベル
の階調数をもつデータに量子化する。The input sensor section 1 includes a photoelectric conversion element such as a CCD and a driving device for scanning the element, and reads and scans an original. The image data of the original read by the input cassette/slot section 1 is sent to the A/D converter 2. Here, the data of each pixel is converted into g-bit digital data and quantized into data having 256 levels of gradation.
次に補正回路3において、CCDセンサの感度ムラや照
明光源による照度ムラを補正するだめのシェーディング
補正等をデジタル演算処理で行う。Next, in the correction circuit 3, shading correction and the like to correct unevenness in sensitivity of the CCD sensor and unevenness in illuminance due to the illumination light source are performed by digital calculation processing.
補正回路3で補正されたデータは順次画像メモリ4に格
納される。画像メモリ4は少なくとも原稿1枚分のデー
タを格納する事ができる多値メモリで、ある。The data corrected by the correction circuit 3 is sequentially stored in the image memory 4. The image memory 4 is a multi-level memory capable of storing data for at least one original document.
2値化回路5,6,7.8はそれぞれ後述する誤差拡散
法により2値化処理を行なう。The binarization circuits 5, 6, and 7.8 each perform binarization processing using the error diffusion method described later.
この2値化回路5,6,7.8は画像メモリ4に原稿1
枚分のデータを格納すると処理が開始される。それぞれ
の2値化回路では1つの原稿に対し処理する方向が異な
るもので。These binarization circuits 5, 6, 7.8 store the original 1 in the image memory 4.
Once the data for each sheet is stored, processing begins. Each binarization circuit processes a single document in a different direction.
第2図にそれぞれの2値化回路における処理方法を示す
。FIG. 2 shows the processing method in each binarization circuit.
2値化回路5では第2図(a)に示した実線方向に主走
査処理、破線方向に副走査処理を行ない順次8ビツトの
多値データをi値化処理する。同様に2値化回路6では
第2図(b)、2値化回路7では第2図(C)、2値化
回路8では第3図(d)に示した処理方法で2値化処理
を行なう。The binarization circuit 5 performs main scanning processing in the direction of the solid line shown in FIG. 2(a) and subscanning processing in the direction of the broken line, and sequentially converts the 8-bit multi-value data into i-value processing. Similarly, the binarization circuit 6 performs binarization using the processing method shown in FIG. 2(b), the binarization circuit 7 uses the processing method shown in FIG. 2(C), and the binarization circuit 8 uses the processing method shown in FIG. 3(d). Do this.
それぞれの2値化回路で2値化されたデータは2値化回
路毎に設けられた2値メモリ9゜10.11,12に格
納される。尚、2値メモリ9〜12に格納される0、1
の2値データは画像メモリ4のアドレスと対応して格納
される。The data binarized by each binarizing circuit is stored in binary memories 9, 10, 11 and 12 provided for each binarizing circuit. Note that 0, 1 stored in binary memories 9 to 12
The binary data is stored in correspondence with the address of the image memory 4.
次に多数決回路13では2値メモリ9〜12の同一アド
レスで0と1の多数決をとり、0゜1多い方を2値出力
に決定しプリンタ14へ出力する。Next, the majority circuit 13 takes a majority vote between 0 and 1 at the same address in the binary memories 9 to 12, and the one with more 0°1 is determined to be the binary output and output to the printer 14.
プリンタ14では、多数決回路13からの0.1出力に
応じドツトをオンオフ制御し、画像形成を行なう。In the printer 14, dots are controlled on and off according to the 0.1 output from the majority circuit 13 to form an image.
尚、2値メモリ9〜12からの出力0.1が同数の時は
、多数決回路13では予じめ決められた方を出力するよ
うにしてもよく、又ランダムに0と1どちらか一方を出
力するようにしてもよい。Note that when the outputs of 0.1 from the binary memories 9 to 12 are the same, the majority circuit 13 may output a predetermined one, or it may randomly output either 0 or 1. It may also be output.
次に2値化回路5〜8で行なわれる誤差拡散法について
第3図を用いて説明する。Next, the error diffusion method performed in the binarization circuits 5 to 8 will be explained with reference to FIG.
20は誤差演算回路、28は閾値T(例えば127)で
入力データを2値化し出力Z(Q又は1)を出力するコ
ンパレータ、36〜42は画像データと、誤差演算回路
から出力される誤差Eに一定の重み付けをした(拡散誤
差)を加算したものを蓄えるDフリップフロップ(以下
DFFという)、21〜27は画像データと拡散誤差の
和を演算する加算路、28〜35は誤差演算回路20か
ら出力される誤差Eと前述の重み付は係数との積を演算
する乗算器、43.44は画像データ1ラインから3ド
ツト除いた画素分の画像データを記憶しているラインメ
モリ、4は第1図の画像メモリである。ここで重み付は
係数は注目画素に近い画素によシ多くの重み付けされる
ようなっておシ、重み付は係数の合計は1となる。20 is an error calculation circuit, 28 is a comparator that binarizes input data with a threshold value T (for example, 127) and outputs an output Z (Q or 1), and 36 to 42 are image data and error E output from the error calculation circuit. A D flip-flop (hereinafter referred to as DFF) that stores the sum of the image data and the diffusion error (diffusion error), 21 to 27 are addition paths that calculate the sum of the image data and the diffusion error, and 28 to 35 are error calculation circuits 20. A multiplier that calculates the product of the error E output from the above-mentioned weighting coefficient, 43 and 44 a line memory that stores image data for pixels excluding 3 dots from one line of image data, and 4 a line memory that stores image data for pixels excluding 3 dots from one line of image data. This is the image memory of FIG. Here, the weighting coefficients are such that pixels closer to the pixel of interest are weighted more heavily, and the total weighting coefficients are 1.
次に第3図における回路動作について説明する。Next, the circuit operation in FIG. 3 will be explained.
画像メモリ4からは順次画像データが出方される。ここ
でラインバッファ43にはコンパレータで2値化される
注目画素と同じラインの画素の画像データが格納され、
ラインバッファ44にはこれ以後処理される1ライン後
の画素の画像データが格納されている。Image data is sequentially output from the image memory 4. Here, the line buffer 43 stores image data of pixels on the same line as the pixel of interest to be binarized by the comparator,
The line buffer 44 stores image data of pixels one line later to be processed thereafter.
まず、2値化処理が、既に終了している画素からの誤差
データが加算された画像データは、DFF35から出力
され、コンパレータ28で閾値127で2値化される。First, image data to which error data from pixels for which the binarization process has already been completed is output from the DFF 35 and binarized by the comparator 28 using a threshold value 127.
この時例えば、DFF36からの出力が200であると
、2値出力Zとして1(黒)を出力する。At this time, for example, if the output from the DFF 36 is 200, 1 (black) is output as the binary output Z.
誤差演算回路20では、この1を8ビツトに引きのばし
255としてDFF36からの出力200との誤差−5
5を誤差データEとして出力する。ここで実際、画像デ
ータでは200の濃度のデータが2値プリンタでは、2
55の濃度として出力されるため、余分な、55を減す
るため、−55のデータを未処理の周辺画素に拡散させ
る。第3図に、誤差データの拡散の一実施例を示す。こ
こでは、前述した如く、注目画素により、多くの重み付
けがされるよう重み付は係数を決めている。第5図に重
み付は係数の一例を示す。In the error calculation circuit 20, this 1 is expanded to 8 bits, 255, and the error with the output 200 from the DFF 36 is -5.
5 is output as error data E. In reality, image data with a density of 200 is printed on a binary printer with a density of 200.
Since it is output as a density of 55, the data of -55 is diffused to unprocessed surrounding pixels in order to subtract the extra 55. FIG. 3 shows an example of error data diffusion. Here, as described above, the weighting coefficients are determined so that more weighting is applied depending on the pixel of interest. FIG. 5 shows an example of weighting coefficients.
誤差演算回路20から出力された誤差データEは乗算器
28〜35で重み付は係数と乗算され、それぞれ加算器
21〜27で画像データと加算される。加算された画像
データはDFF36〜42に加算され、1画素分シフト
される。The error data E outputted from the error calculation circuit 20 is multiplied by a weighting coefficient in multipliers 28 to 35, and added to the image data in adders 21 to 27, respectively. The added image data is added to the DFFs 36 to 42 and shifted by one pixel.
以上の処理を繰シ返す事によシ誤差拡散法による2値化
処理が行なわれる。尚、誤差の拡散状態又重み付は係数
は第4図、第5図に限るものでない。Binarization processing using the error diffusion method is performed by repeating the above processing. Note that the error diffusion state or weighting coefficients are not limited to those shown in FIGS. 4 and 5.
2値化回路5〜8ではこの誤差拡散法による処理を第2
図に示す4通りの方向から行ない、同一画素での処理結
果を多数決判定し2値出力を決定する。In the binarization circuits 5 to 8, processing using this error diffusion method is performed as a second process.
The processing is carried out from the four directions shown in the figure, and the processing results for the same pixel are judged by a majority vote to determine the binary output.
このように前述の実施例によれば複数方向から誤差拡散
法を行なうので、従来の1方向からの処理の際問題とな
っていた、出方画像に独特な縞パターンが発生するのを
防止できる。In this way, according to the embodiment described above, since the error diffusion method is performed from multiple directions, it is possible to prevent the occurrence of a unique striped pattern in the output image, which was a problem when processing from one direction in the past. .
尚、前述の実施例では4方向からの処理について説明し
たが、第2図の(a)と(d)の2方向からの処理でも
縞パターンを低減す 4ることかできる。In the above-mentioned embodiment, processing from four directions was explained, but the striped pattern can be reduced by processing from two directions as shown in FIG. 2(a) and (d).
更に縞パターンの発生は画像の文学部以外の一様濃度部
分で発生する事が多いことからその部分(ブロック)の
み複数方向からの処理を行なう様にしてもよい。この場
合、第1図の画像メモリ4からの出力から、公知のラプ
ラシアン法等によりエツジの有無を検出しエツジ部では
1方向からの2値化処理で2値出力を決定し、エツジ部
以外では複数方向からの2値化処理を多数決判定するこ
とによシ2値出力を決定する。Furthermore, since striped patterns often occur in uniform density areas other than literary areas of an image, processing may be performed only on those areas (blocks) from a plurality of directions. In this case, the presence or absence of an edge is detected from the output from the image memory 4 in FIG. 1 using a well-known Laplacian method, etc., and a binary output is determined by binarization processing from one direction at the edge portion, and a binary output is determined from the output from the image memory 4 in FIG. Binary output is determined by majority decision in binarization processing from a plurality of directions.
〈発明の効果〉
以上説明した如く本発明によれば、画像の複数方向から
誤差拡散法を行ない、それを多数決判定することによυ
2値出力を決定するので、誤差拡散法による処理の際発
生していた縞パターンを防止することができ−いかなる
原稿においても高品位に、かつ高精細に画像を再現する
ことが可能となる。<Effects of the Invention> As explained above, according to the present invention, the error diffusion method is performed from multiple directions of the image, and υ
Since the binary output is determined, it is possible to prevent the striped pattern that occurs during processing using the error diffusion method, and it is possible to reproduce images of any original with high quality and high definition.
【図面の簡単な説明】
一第1図は本発明の一実施例を示したブロック図、
第2図は誤差拡散法による画像の処理方法を示した図、
第3図は誤差拡散法を用いた2値化回路を示した図、
第4図は誤差の周辺画素への拡散処理を示した図、
第5図は周辺画素への誤差の重み付は係数の一例を示し
た図である。
1・・・入力センサ部
2・・・A/D変換器
3・・・補正回路
4・・・画像メモリ
5〜8・・・2値化回路
9〜12・・・2値メモリ
13・・・多数決回路
14・・・プリンタ
(n) <b)
(C) <d)
第 2 図[Brief Description of the Drawings] Figure 1 is a block diagram showing an embodiment of the present invention, Figure 2 is a diagram showing an image processing method using the error diffusion method, and Figure 3 is a diagram showing an image processing method using the error diffusion method. FIG. 4 is a diagram showing the process of diffusing errors to surrounding pixels, and FIG. 5 is a diagram showing an example of coefficients for weighting errors to surrounding pixels. 1... Input sensor section 2... A/D converter 3... Correction circuit 4... Image memory 5-8... Binarization circuit 9-12... Binary memory 13...・Majority circuit 14...Printer (n) <b) (C) <d) Fig. 2
Claims (1)
数の方向からの2値化処理の結果をメモリに格納し、前
記メモリに格納されている同一画素に対する2値化処理
の結果を多数決判定し、1つの画素の2値化を決定する
ことを特徴とする画像処理方法。[Claims] Performing binarization processing independently from a plurality of directions of an image consisting of a plurality of pixels using an error diffusion method, storing the results of the binarization processing from the plurality of directions in a memory, and 1. An image processing method, characterized in that binarization of one pixel is determined by majority voting on the results of binarization processing for the same pixel stored in a memory.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP62255070A JPH0197066A (en) | 1987-10-09 | 1987-10-09 | Image processing method |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP62255070A JPH0197066A (en) | 1987-10-09 | 1987-10-09 | Image processing method |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JPH0197066A true JPH0197066A (en) | 1989-04-14 |
Family
ID=17273717
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP62255070A Pending JPH0197066A (en) | 1987-10-09 | 1987-10-09 | Image processing method |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH0197066A (en) |
Cited By (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US5278671A (en) * | 1990-10-05 | 1994-01-11 | Nippon Steel Corporation | Image processing apparatus with correction of diffusion errors of overlapping dots |
| US5521989A (en) * | 1993-08-05 | 1996-05-28 | Xerox Corporation | Balanced error diffusion system |
| EP2455813A1 (en) | 2010-11-19 | 2012-05-23 | Shin-Etsu Chemical Co., Ltd. | Positive lift-off resist composition and patterning process |
-
1987
- 1987-10-09 JP JP62255070A patent/JPH0197066A/en active Pending
Cited By (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US5278671A (en) * | 1990-10-05 | 1994-01-11 | Nippon Steel Corporation | Image processing apparatus with correction of diffusion errors of overlapping dots |
| US5521989A (en) * | 1993-08-05 | 1996-05-28 | Xerox Corporation | Balanced error diffusion system |
| EP2455813A1 (en) | 2010-11-19 | 2012-05-23 | Shin-Etsu Chemical Co., Ltd. | Positive lift-off resist composition and patterning process |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| EP0781034B1 (en) | Image processing apparatus and method | |
| JP3187352B2 (en) | Method of halftoning gray value signal of pixel of image and image reproducing apparatus for reproducing image | |
| JPH04286465A (en) | Image processing device | |
| JPH0197066A (en) | Image processing method | |
| JP2003110852A (en) | Halftone processing method and apparatus | |
| JPH01115271A (en) | Image processing device | |
| JP3117331B2 (en) | Image data processing device | |
| US5825509A (en) | Image processing device with error-diffusion quantization function | |
| JPS60136478A (en) | Picture processor | |
| JP3257826B2 (en) | Image processing device | |
| JP3461247B2 (en) | Image processing apparatus and image processing method | |
| JP2900907B2 (en) | Image processing device | |
| JP3051144B2 (en) | Halftone image processing device | |
| JP2810396B2 (en) | Image processing device | |
| JP2608404B2 (en) | Image processing device | |
| JPH0457274B2 (en) | ||
| JP2644491B2 (en) | Image processing device | |
| JPS60136476A (en) | Image processing device | |
| JP2682985B2 (en) | Image processing method | |
| JP3549475B2 (en) | Image processing method | |
| JPS63288567A (en) | Image processing device | |
| JP2682986B2 (en) | Image processing method | |
| JP3792400B2 (en) | Image processing device | |
| JPH0197650A (en) | Image processing method | |
| JPH06339013A (en) | Binarizing method and device for multilevel image |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| RVOP | Cancellation by post-grant opposition |