JP3263945B2 - Linear density conversion method for binary image - Google Patents

Linear density conversion method for binary image

Info

Publication number
JP3263945B2
JP3263945B2 JP20844190A JP20844190A JP3263945B2 JP 3263945 B2 JP3263945 B2 JP 3263945B2 JP 20844190 A JP20844190 A JP 20844190A JP 20844190 A JP20844190 A JP 20844190A JP 3263945 B2 JP3263945 B2 JP 3263945B2
Authority
JP
Japan
Prior art keywords
density
converted
image
original image
pixel
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.)
Expired - Fee Related
Application number
JP20844190A
Other languages
Japanese (ja)
Other versions
JPH0491565A (en
Inventor
廣 羽金
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.)
NEC Corp
Original Assignee
NEC Corp
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 NEC Corp filed Critical NEC Corp
Priority to JP20844190A priority Critical patent/JP3263945B2/en
Publication of JPH0491565A publication Critical patent/JPH0491565A/en
Application granted granted Critical
Publication of JP3263945B2 publication Critical patent/JP3263945B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、2値画像の線密度変換方式に関する。Description: TECHNICAL FIELD The present invention relates to a linear density conversion method for a binary image.

〔従来の技術〕[Conventional technology]

従来、この種の2値画像の線密度変換方式には、SPC
方式、論理話法、9分割法、高速投影法等があった。
(例えば、投影法に基づく高速画素密度変換方式、画像
電子学会誌第11巻第2号)いずれの方式も、変換画素に
最も近い1原画素あるいは、最近接の4原画素濃度の論
理演算により、変換画素の濃度を決定する方式である。
Conventionally, the linear density conversion method for this type of binary image includes SPC
System, logic speech, 9-division method, high-speed projection method, and the like.
(For example, a high-speed pixel density conversion method based on a projection method, Journal of the Institute of Image Electronics Engineers of Japan, Vol. 11, No. 2) Both methods use a logical operation of the density of one original pixel closest to the converted pixel or the density of the four nearest original pixels. , A method of determining the density of the converted pixel.

〔発明が解決しようとする課題〕[Problems to be solved by the invention]

上述した従来の2値画像の線密度変換方式は、変換画
素の濃度を最近接の1画素あるいは4原画素濃度の論理
演算により決定するため原画が網点画像の場合、網点周
期と線密度変換演算の周期との間で干渉が生じもあれば
発生するという欠点がある。さらに原画像と変換画像の
間の濃度差補正機能がないため、原画と変換画の濃度が
変わるという欠点がある。
In the above-described conventional linear density conversion method for a binary image, the density of the converted pixel is determined by a logical operation of the density of the nearest one pixel or four original pixels. There is a disadvantage in that interference occurs between the conversion operation and the cycle, if any. Further, since there is no density difference correction function between the original image and the converted image, there is a disadvantage that the density of the original image and the converted image is changed.

〔課題を解決するための手段〕[Means for solving the problem]

本発明の2値画像の線密度変換方式は、二次元に配置
された複数の画素で構成された原画像から、線密度変換
された変換画を得るとき、変換画素の濃度を決定するた
めに原画像の領域から変換画素に対応して設定される複
数画素からなる原画ブロックを切出す原画像切り出し部
と、前記原画ブロックの濃度総和値を求める原画ブロッ
ク濃度総和部と、 画像ブロック内の周辺画素と変換画素の濃度誤差に応じ
て濃度補正値を前記濃度総和部からの濃度総和値に対し
て加算する濃度補正部と、前記濃度補正部で補正された
濃度総和値をディザパターンが示す閾値と比較して2値
化して変換画素の濃度とする変換画素濃度決定部と、原
画ブロックと変換画素の濃度誤差を求める原画・変換画
濃度誤差算出部と、前記濃度誤差を画素ブロック内の周
辺画素に重み付け配分して前記濃度補正値を発生させ、
前記濃度総和値に加えて前記濃度誤差補正部でのフィー
ドバックを行わせる原画変換画濃度誤差配分部とを有し
ている。
The linear image linear density conversion method of the present invention is used to determine the density of a converted pixel when obtaining a linear density-converted converted image from an original image composed of a plurality of pixels arranged two-dimensionally. An original image cutout section for extracting an original image block composed of a plurality of pixels set corresponding to the converted pixels from the area of the original image, an original image block density total section for obtaining the total density value of the original image block, and a peripheral area in the image block. A density correction unit that adds a density correction value to the total density value from the total density unit according to a density error between the pixel and the converted pixel; and a threshold value indicated by a dither pattern indicating the total density value corrected by the density correction unit. A conversion pixel density determination unit that binarizes the converted pixel to obtain the density of the converted pixel, an original image / converted image density error calculation unit that obtains a density error between the original image block and the converted pixel, Generating a density correction value by weight distribution to pixels;
An original image conversion image density error distribution unit for performing feedback in the density error correction unit in addition to the total density value.

〔実施例〕〔Example〕

次に、本発明の実施例について図面を参照して説明す
る。
Next, embodiments of the present invention will be described with reference to the drawings.

第1図は本発明の一実施例のブロック図ある。 FIG. 1 is a block diagram of one embodiment of the present invention.

線密度変換率は、任意な値をとることができるがここ
では1/2倍の場合について説明する。1/2倍にするために
は原画の4画素を変換画の1画素に変換すればよい。原
画像切り出し部1では、原画101から変換の対象となる
4画素を切り出す。以後、変換の対象となる原画の画素
集合を原画ブロック102と呼ぶ。
The linear density conversion rate can take an arbitrary value, but here, a case of 1/2 times will be described. In order to make it 1/2 times, four pixels of the original image may be converted into one pixel of the converted image. The original image cutout unit 1 cuts out four pixels to be converted from the original image 101. Hereinafter, the pixel set of the original image to be converted is referred to as an original image block 102.

原画ブロック濃度総和部2では、原画ブロック102の
4画素の濃度値の総和値103を計算する。本発明では原
画ブロック102を原画101の左上の4画素(l行、m列)
とすると黒画素が1つ、自画素が3つあることから原画
ブロック濃度総和値103は1となる。但し、黒画素、白
画素の濃度値をそれぞれ1,0とする。
The original image block density summation unit 2 calculates the total value 103 of the density values of the four pixels of the original image block 102. In the present invention, the original image block 102 is divided into four pixels (l row, m column) at the upper left of the original image 101.
Then, since there is one black pixel and three own pixels, the original image block density total value 103 is 1. However, the density values of the black pixel and the white pixel are set to 1,0, respectively.

濃度補正部3では、原画ブロック濃度総和値103に後
述する原画・変換画濃度誤差補正値104を加算してフィ
ードバックして濃度総和補正部105を出力する。本発明
では原画・変換画濃度誤差補正値104が0,4とすれば原画
ブロック102の濃度総和補正値105は1.4となる。
The density correction unit 3 adds an original image / converted image density error correction value 104, which will be described later, to the original image block density total value 103 and feeds it back to output a density total correction unit 105. In the present invention, if the original image / converted image density error correction value 104 is 0 or 4, the density sum correction value 105 of the original image block 102 is 1.4.

変換画素濃度決定部11では、原画ブロック102に対応
する変換画素107の濃度を決定する。補正値105は、ディ
ザパターン閾値補正部4で計算された閾値106によりコ
ンパレータ5により2値化される。本例ではl行m列が
ディザパターン110上のi行j列の位置を示しておりそ
の位置の閾値が閾値補正部4で補正されその閾値106が
コンパレータ5に送られる。この場合、閾値106を2.0と
すれば変換画素107は0、すなわち白となる。
The conversion pixel density determination unit 11 determines the density of the conversion pixel 107 corresponding to the original image block 102. The correction value 105 is binarized by the comparator 5 based on the threshold value 106 calculated by the dither pattern threshold value correction unit 4. In this example, l row and m column indicate the position of i row and j column on the dither pattern 110, and the threshold value at that position is corrected by the threshold value correction unit 4 and the threshold value 106 is sent to the comparator 5. In this case, if the threshold 106 is set to 2.0, the converted pixel 107 becomes 0, that is, white.

原画・変換画濃度誤差算出部6では、原画ブロック10
2の濃度総和補正値105と変換画素107の濃度の差分すな
わち濃度誤差109を算出する。重み乗算部7では、前記
濃度誤差109を算出するために、変換画1画素と原画素
の濃度の重み補正を行う。この場合、変換画素107の1
画素の濃度の重みは、原画の4画素分に相当することか
ら、変換画素107に重み4を乗じる。変換画素107は0で
あり、変換画素107の原画ブロック102に対する濃度補正
値は、1.4であるから原画・変換画濃度誤差109は1.4と
なる。
In the original image / converted image density error calculating section 6, the original image block 10
The difference between the density sum correction value 105 and the density of the converted pixel 107, that is, the density error 109 is calculated. The weight multiplying unit 7 performs weight correction of the density of one pixel of the converted image and the original pixel in order to calculate the density error 109. In this case, one of the conversion pixels 107
Since the weight of the pixel density is equivalent to four pixels of the original image, the converted pixel 107 is multiplied by a weight of four. The converted pixel 107 is 0, and the density correction value of the converted pixel 107 for the original block 102 is 1.4, so the original / converted image density error 109 is 1.4.

濃度誤差配分部8では、前記濃度誤差109に重みづけ
をした値を原理ブロック102の周辺の画素ブロックにフ
ィードバックすることにより変換画と原画の濃度差を逐
次、補正する。前記濃度誤差109に対する重み付け演算
は、濃度誤差配分比乗算部10で実施し、配分する周辺の
画素ブロックは、濃度誤差配分周辺ブロック決定部9に
て決定する。ここではl行,m列の原画ブロック102との
間で発生した原画・変換画濃度誤差109の1.4に重み1/2
を乗算した値0.7を(l+1)行,m列及びl列,(m+
1)列の周辺ブロックに加算することにより、フィード
バックして原画と変換画の濃度差を補正している。前記
した原画・変換画濃度誤差補正値104の0.4は(l−1)
行,m列の変換画素107と原画ブロック102の間で発生した
濃度誤差補正値104及びl行,(m−1)列の変換画素1
07と原画ブロック102との間で発生した濃度誤差補正値1
04を加算した和である。
The density error distributing unit 8 sequentially corrects the density difference between the converted image and the original image by feeding back the value obtained by weighting the density error 109 to the pixel blocks around the principle block 102. The density error 109 is weighted by the density error distribution ratio multiplying unit 10, and the peripheral pixel blocks to be distributed are determined by the density error distribution peripheral block determining unit 9. Here, 1.4 of the original / converted image density error 109 generated between the original image block 102 of l rows and m columns is weighted by 1/2.
Is multiplied by (l + 1) rows, m columns and l columns, (m +
1) The difference between the original image and the converted image is corrected by feeding back by adding to the peripheral blocks in the column. 0.4 of the original image / converted image density error correction value 104 is (l-1).
The density error correction value 104 generated between the conversion pixel 107 in the row and m columns and the original image block 102 and the conversion pixel 1 in the l row and (m-1) columns
Density error correction value 1 generated between 07 and original block 102
This is the sum of 04.

〔発明の効果〕〔The invention's effect〕

以上説明したように本発明は、変換画素の濃度を決定
する際、原画の原画ブロックと変換画の画素の濃度誤差
をフィードバックさせることにより従来方式にくらべ変
換画の濃度を原画の濃度により近づけることができる効
果がある。さらに、原画が網点画像でない場合でも、変
換後は原画との濃度差が非常に少ない網点画像が得られ
る。また変換画は、網点画像であるため、圧縮効率が良
くなる効果がある。
As described above, according to the present invention, when determining the density of the converted pixel, the density error of the converted image is made closer to the density of the original image as compared with the conventional method by feeding back the density error between the original image block of the original image and the pixel of the converted image. There is an effect that can be. Further, even when the original image is not a halftone image, a halftone image having a very small density difference from the original image can be obtained after the conversion. Further, since the converted image is a halftone image, there is an effect that the compression efficiency is improved.

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

第1図は本発明の一実施例のブロック図である。 1……原画像切り出し部、2……原画ブロック濃度総和
部、3……濃度補正部、4……ディザパターン閾値補正
部、5……コンパレータ、6……原画・変換画濃度誤差
算出部、7……重み乗算部、8……濃度誤差配分部、9
……濃度誤差配分周辺ブロック決定部、10……濃度誤差
配分比乗算部、11……変換画素濃度決定部、101……原
画、102……原画ブロック、103……ブロックの濃度総和
値、104……原画・変換画濃度誤差補正値、105……原画
ブロックの濃度総和補正値、106……閾値、107……変換
画素、108……変換画素の原画に対する重み補正値、109
……原画・変換画濃度誤差、110……ディザパターン。
FIG. 1 is a block diagram of one embodiment of the present invention. Reference numeral 1 denotes an original image clipping section, 2 ... an original image block density summation section, 3 ... a density correction section, 4 ... a dither pattern threshold value correction section, 5 ... a comparator, 6 ... an original image / converted image density error calculation section, 7 weight multiplying unit, 8 density error distribution unit, 9
... Density error distribution peripheral block determination unit, 10 density error distribution ratio multiplication unit, 11 converted pixel density determination unit, 101 original image, 102 original image block, 103 total density value of block, 104 ... Original / converted image density error correction value, 105... Original image block total density correction value, 106... Threshold value, 107... Converted pixel, 108.
... Original image / conversion image density error, 110 ... Dither pattern.

Claims (1)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】二次元に配置された複数の画素で構成され
た原画像から、線密度変換された変換画を得るとき、 変換画素の濃度を決定するために原画像の領域から変換
画素に対応して設定される複数画素からなる原画ブロッ
クを切出す原画像切り出し部と、 前記原画ブロックの濃度総和値を求める原画ブロック濃
度総和部と、 画像ブロック内の周辺画素と変換画素の濃度誤差に応じ
て濃度補正値を前記濃度総和部からの濃度総和値に対し
て加算する濃度補正部と、 前記濃度補正部で補正された濃度総和値をディザパター
ンが示す閾値と比較して2値化して変換画素の濃度とす
る変換画素濃度決定部と、 原画ブロックと変換画素の濃度誤差を求める原画・変換
画濃度誤差算出部と、 前記濃度誤差を画素ブロック内の周辺画素に重み付け配
分して前記濃度補正値を発生させ、前記濃度総和値に加
えて前記濃度誤差補正部でのフィードバックを行わせる
原画変換画濃度誤差配分部とを有することを特徴とする
2値画像の線密度変換方式。
When obtaining a linear density-converted converted image from an original image composed of a plurality of pixels arranged two-dimensionally, an original image area is converted to a converted pixel in order to determine the density of the converted pixel. An original image clipping unit that cuts out an original block composed of a plurality of pixels set correspondingly; an original block density total unit that calculates a total density value of the original block; and a density error between peripheral pixels and converted pixels in the image block. A density correction unit for adding a density correction value to the density total value from the density total unit in response to the density correction value, and comparing the density total value corrected by the density correction unit with a threshold value indicated by a dither pattern to binarize. A conversion pixel density determination unit that determines the density of the conversion pixel; an original image / conversion image density error calculation unit that obtains a density error between the original image block and the conversion pixel; Wherein to generate the density correction values, linear density conversion method of a binary image, characterized by having said density sum plus the density error corrector original transform image density error distribution unit to perform feedback in.
JP20844190A 1990-08-06 1990-08-06 Linear density conversion method for binary image Expired - Fee Related JP3263945B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP20844190A JP3263945B2 (en) 1990-08-06 1990-08-06 Linear density conversion method for binary image

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP20844190A JP3263945B2 (en) 1990-08-06 1990-08-06 Linear density conversion method for binary image

Publications (2)

Publication Number Publication Date
JPH0491565A JPH0491565A (en) 1992-03-25
JP3263945B2 true JP3263945B2 (en) 2002-03-11

Family

ID=16556263

Family Applications (1)

Application Number Title Priority Date Filing Date
JP20844190A Expired - Fee Related JP3263945B2 (en) 1990-08-06 1990-08-06 Linear density conversion method for binary image

Country Status (1)

Country Link
JP (1) JP3263945B2 (en)

Also Published As

Publication number Publication date
JPH0491565A (en) 1992-03-25

Similar Documents

Publication Publication Date Title
US5201013A (en) Dither processing method
EP0393619B1 (en) Image processing apparatus
JPH07288689A (en) Device and method for binarization processing of image signal
EP0397712B1 (en) Method for approximating a value which is a nonlinear function of the linear average of pixel data
JPH0622123A (en) Half-tone mask for digital image and its formation method
JP3263945B2 (en) Linear density conversion method for binary image
JPH07307866A (en) Processing unit and method for binarizing image signal
JP2856661B2 (en) Density converter
EP1372335B1 (en) Processing method for obtaining a high-resolution digital image
JP2000287086A (en) Image processor
JP3015049B2 (en) Image data processing method
JP3043033B2 (en) Image processing method
JP3142699B2 (en) Image processing device
JP2860039B2 (en) Pseudo halftone image reduction device
JP3104228B2 (en) Linear image density conversion device
JP3048170B2 (en) Color image processing equipment
JP2870934B2 (en) Image signal processing device
JPS63155954A (en) Picture signal processor
JPH09107472A (en) Method and device for image data conversion
JPH09102869A (en) Image processor
JP2704122B2 (en) Halftone image processing device
JPH09307756A (en) Image processing unit
JPS63172381A (en) Picture processing method
JPH03187677A (en) Image processor
JPH08317208A (en) Image processor

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees