JPH04205675A - Picture element density conversion device - Google Patents

Picture element density conversion device

Info

Publication number
JPH04205675A
JPH04205675A JP2340397A JP34039790A JPH04205675A JP H04205675 A JPH04205675 A JP H04205675A JP 2340397 A JP2340397 A JP 2340397A JP 34039790 A JP34039790 A JP 34039790A JP H04205675 A JPH04205675 A JP H04205675A
Authority
JP
Japan
Prior art keywords
image
dither
address
pixel
converted
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.)
Granted
Application number
JP2340397A
Other languages
Japanese (ja)
Other versions
JP2791215B2 (en
Inventor
Takayuki Sawada
崇行 澤田
Akira Saito
明 斉藤
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.)
Toshiba Corp
Original Assignee
Toshiba 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 Toshiba Corp filed Critical Toshiba Corp
Priority to JP2340397A priority Critical patent/JP2791215B2/en
Publication of JPH04205675A publication Critical patent/JPH04205675A/en
Application granted granted Critical
Publication of JP2791215B2 publication Critical patent/JP2791215B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Image Processing (AREA)
  • Editing Of Facsimile Originals (AREA)
  • Facsimile Image Signal Circuits (AREA)

Abstract

PURPOSE:To obviate the generation of a deviation in the phase of dither patterns in the boundary part of an original image and the convered image overwritten thereon by determining and outputting the dither threshold reading out address of a memory in which the dither threshold is stored from the addresses for writing the convered picture elements to an image memory. CONSTITUTION:This device is constituted of an Src address generating circuit 1, a Dst address generating circuit 2, a multiplex selector (MUX) 3, the image memory 4, and a picture element density conversion circuit 5. One piece of the element of a dither matrix, i.e., dither threshold, is intrinsically allotted to the respective addresses of the image memory 4 and the adequate dither threshold is selected in correspondence to the addresses where the conversion picture elements are written. This threshold is used for reditherization. The generation of the deviation in the phase of the dither patterns at the boundary part of the original image and the conversion image overwritten thereon is obviated and the dither image processing with high image quality is executed.

Description

【発明の詳細な説明】 [発明の目的コ (産業上の利用分野) 本発明は、ディザ画像の画素密度変換を高画質で行なう
画素密度変換装置に関する。
DETAILED DESCRIPTION OF THE INVENTION [Object of the Invention (Field of Industrial Application) The present invention relates to a pixel density conversion device that performs pixel density conversion of a dithered image with high image quality.

(従来の技術) 従来、ディザ画像における画素密度変換を高画質で行な
う方式としては、変換画像を構成する各画素、すなわち
変換画素に対応する原画像内の位置を求め、その位置に
おける局所的な濃度をr測し、その予測値をもとに再デ
ィザ処理を行なうというものがある。この方式を用いる
ことにより、原画像の階調性を保存し、かつ、モアレの
発生を防くことかできる。
(Prior art) Conventionally, as a method for performing pixel density conversion in a dithered image with high image quality, each pixel constituting the converted image, that is, the position in the original image corresponding to the converted pixel, is determined, and the local There is a method in which the density is measured r times and re-dither processing is performed based on the predicted value. By using this method, it is possible to preserve the gradation of the original image and prevent the occurrence of moiré.

しかし、この方式を用いた場合、次のような問題が生じ
る。いま、たとえば8×8のディザマトリクスを用いて
疑似階調表現された画像を等倍のままで横8画素、縦4
画素分すらしてコピーするという処理を考える。また、
この画像は濃度値か一様に「32」であるとする。ディ
ザ閾値の設定か第9図(A)のようになっているとする
と、この画像を表現するディザパターンは第9図(B)
のようになる。従来の技術では、変換画素を再ディザ化
によって求めることは、変換画像が書き込まれる画像メ
モリのアドレス情報を用いずに行なわれるため、変換画
像の書き込みアドレスとは無関係に常にデイ→ノ゛7ト
リクス内の一定の位置に設定されている閾値から参照か
開始され、例えば、ディザマトリクスの左上端の閾値か
ら参照するような場合には、その処理結果は第10図(
A)のようになる。第10図(A)を見ると、原画像と
それに上書きされた変換画像との境界部分においてディ
ザパターンの位相のずれが生じ、境界線が現れているこ
とが判る。しかるに、本来は第10図(B)に示すよう
に境界線は現れるべきてはなく、第10図(A)の結果
は明らかに画質低下を起こしているといえる。
However, when this method is used, the following problems occur. Now, for example, an image that has been expressed with pseudo gradation using an 8x8 dither matrix will be converted to 8 pixels horizontally and 4 pixels vertically at the same size.
Consider the process of copying even pixels. Also,
It is assumed that the density value of this image is uniformly "32". If the dither threshold settings are as shown in Figure 9 (A), the dither pattern that represents this image is as shown in Figure 9 (B).
become that way. In the conventional technology, the converted pixels are determined by re-dithering without using the address information of the image memory where the converted image is written. If the reference is started from the threshold set at a certain position in the dither matrix, for example, if reference is made from the threshold at the upper left corner of the dither matrix, the processing result will be as shown in Figure 10 (
A). Looking at FIG. 10A, it can be seen that a phase shift of the dither pattern occurs at the boundary between the original image and the converted image overwritten thereon, and a boundary line appears. However, the boundary line should not originally appear as shown in FIG. 10(B), and it can be said that the result of FIG. 10(A) clearly causes a deterioration in image quality.

(発明か解決しようとする課題) 上記したように、従来は、変換画素を再ディザ化によっ
て求める場合、変換画像か書込まれる画像メモリのアド
レス情報を用いずに行なわれるため、変換画像の書込み
アドレスとは無関係に常にディザマトリクス内の一定の
位置に設定されている閾値から参照が開始される。その
結果、原画像とそれに上書きされた変換画像との境界部
分においてディザパターンの位相のずれか生じて境界線
か現れ、画質低下を起こしてしまうという問題があった
(Problem to be Solved by the Invention) As described above, conventionally, when obtaining converted pixels by re-dithering, this is done without using the address information of the image memory where the converted image is written. Reference is always started from a threshold value set at a fixed position in the dither matrix, regardless of the address. As a result, there is a problem in that a phase shift of the dither pattern occurs at the boundary between the original image and the converted image overwritten thereon, and a boundary line appears, resulting in a reduction in image quality.

そこで、本発明は、ディザて表現された原画像に対して
画素密度変換を行なった後、再ディザ処理を施して得ら
れる変換画像を書込む際の、境界におけるディザパター
ンの位相のずれをなくし、より高画質な処理結果が得ら
れる画素密度変換装置を提供することを目的とする。
Therefore, the present invention eliminates the phase shift of the dither pattern at the boundary when writing the converted image obtained by performing pixel density conversion on the original image expressed by dithering and then performing re-dither processing. It is an object of the present invention to provide a pixel density conversion device that can obtain processing results of higher image quality.

[発明の構成コ (課題を解決するための手段) 本発明の画素密度変換装置は、ディザ画像に対して画素
密度変換を行なう際に、変換画像の各画素に対応する原
画像内の位置における局所濃度を予ΔII L、その予
41す値とディザ閾値との比較結果を用いて再ディザ化
を行なうことにより変換画素値を求める画素密度変換装
置において、変換画素の画像メモリへの書き込みアドレ
スから、ディザ閾値が格納されているメモリのディザ閾
値読み出しアドレスを求めて出力するアドレス発生手段
を具備している。
[Structure of the Invention (Means for Solving the Problems)] The pixel density conversion device of the present invention, when performing pixel density conversion on a dithered image, calculates the In a pixel density conversion device that calculates a converted pixel value by re-dithering using a local density predetermined value ΔIIL and a comparison result between the predetermined value and a dither threshold value, , address generation means for determining and outputting a dither threshold read address of a memory in which the dither threshold is stored.

(作用) 画像メモリの各アドレスに対してディザマトリクスの1
個の要素、すなわちディザ閾値が固有に割り当てられ、
変換画素を書き込むアドレスに対応して適切なディザ閾
1直を選択し、再ディザ化に用いることにより、原画像
とそれに上書きされた変換画像との境界部分におけるデ
ィザパターンの位相のずれが生じず、高画質なディザ画
像処理ができる。
(Function) 1 of the dither matrix for each address of the image memory.
elements, i.e. dither thresholds are uniquely assigned,
By selecting an appropriate dither threshold 1 in accordance with the address to which the converted pixel is written and using it for re-dithering, there is no phase shift in the dither pattern at the boundary between the original image and the converted image written over it. , high-quality dither image processing is possible.

(実施例) 以下、本発明の一実施例について図面を参照して説明す
る。
(Example) Hereinafter, an example of the present invention will be described with reference to the drawings.

−5= 第1図は、本発明に係る画素密度変換装置全体の構成を
示すものである。すな゛わち、この画素密度変換装置は
、Srcアドレス発生回路]と、Dstアドレス発生回
路2と、マルチプレックスセレクタ(MUX)3と、画
像メモリ4と、画素密度変換回路5とから構成されてい
る。
-5= FIG. 1 shows the overall configuration of a pixel density conversion device according to the present invention. That is, this pixel density conversion device is composed of an Src address generation circuit, a Dst address generation circuit 2, a multiplex selector (MUX) 3, an image memory 4, and a pixel density conversion circuit 5. ing.

Srcアドレス発生回路1は、画素密度変換後の画像に
おける各変換画素に対応する原画像内の位置(以下、変
換画素位置と記述する)を算出し、その位置に対応する
アドレス(以下、Srcアドレスと記述する)を出力す
る。Dstアドレス発生回路2は、変換画素を格納する
メモリのアドレス(以下、Dstアドレスと記述する)
を発生する。なお、以下では、Srcアドレス、Dst
アドレスおよび後述のディザ閾値読出しアドレスは全て
X方向成分とy方向成分とからなる2次元アドレスとし
て説明する。
The Src address generation circuit 1 calculates the position in the original image corresponding to each converted pixel in the image after pixel density conversion (hereinafter referred to as converted pixel position), and calculates the address corresponding to that position (hereinafter referred to as Src address). ) is output. The Dst address generation circuit 2 generates a memory address (hereinafter referred to as Dst address) that stores the converted pixel.
occurs. In addition, below, Src address, Dst
Addresses and dither threshold read addresses to be described later will all be explained as two-dimensional addresses consisting of an X-direction component and a y-direction component.

画素密度変換回路5は、濃度r側蓋6、ディザ閾値を格
納した内部RAM7、再ディザ部8および内部アドレス
発生回路9から構成されている。
The pixel density conversion circuit 5 is composed of a density r side cover 6, an internal RAM 7 storing a dither threshold value, a re-dither section 8, and an internal address generation circuit 9.

濃度予測器6は、画像メモリ4のSrcアドレスおよび
その周囲から読み出された被参照原画素群をもとに変換
画素位置における局所濃度を予測する。内部アドレス発
生回路9は、内部RAM7からのディザ閾値読出しアド
レスを発生するもので、Dstアドレス発生回路2と同
等の回路構成をとる。再ディザ部8には比較器か用いら
れ、読み■されたディザ閾値と、濃度予測器6から出力
された濃度予測値とを比較し、その比較の結果、次のよ
うに変換画素値を出力する。
The density predictor 6 predicts the local density at the converted pixel position based on the Src address of the image memory 4 and the referenced original pixel group read from the surrounding area. The internal address generation circuit 9 generates a dither threshold read address from the internal RAM 7, and has the same circuit configuration as the Dst address generation circuit 2. A comparator is used in the re-dithering unit 8, which compares the read dither threshold value with the predicted density value output from the density predictor 6, and as a result of the comparison, outputs a converted pixel value as follows. do.

濃度予7Illl値〉閾値のとき、変換画素値=「1」
濃度予測値≦閾値のとき、変換画素値−rOJ変換画素
は画像メモリ4のDstアドレスに書き込まれる。
When density pre-7Ill value>threshold value, converted pixel value = “1”
When the predicted density value≦threshold value, the converted pixel value−rOJ converted pixel is written to the Dst address of the image memory 4.

次に、第1図の各構成要素について詳細に説明する。Next, each component in FIG. 1 will be explained in detail.

第2図は、前記Dstアドレス発生回路2を示すもので
ある。また、第3図は、変換画像が画像メモリ4に書き
込まれるときのスキャン模式図を示すものである。なお
、xiniはXアドレス初期値、Δxmは主走査方向ア
ドレスステップのX成分、ΔXSは副走査方向アドレス
ステップのX成分である。
FIG. 2 shows the Dst address generation circuit 2. As shown in FIG. Further, FIG. 3 shows a schematic diagram of scanning when a converted image is written into the image memory 4. Note that xini is the initial value of the X address, Δxm is the X component of the address step in the main scanning direction, and ΔXS is the X component of the address step in the sub-scanning direction.

第2図(A)は、X方向アドレス呻出部である。FIG. 2(A) shows the X-direction address projection section.

すなわち、加算器10は、現在のアドレスXにΔxmを
加え、フリップフロップ]]は、画素更新クロックによ
り変換画素更新の度に加算器]0の出力をラッチする。
That is, the adder 10 adds Δxm to the current address X, and the flip-flop]] latches the output of the adder]0 every time the converted pixel is updated by the pixel update clock.

セレクタ12では、主走査開始ステータス信号により主
走査開始時のみ主走査開始アドレスxmiか選択され、
それ以外の時はフリップフロップ11のラッチ出力が選
択され、更新後のアドレスXとして出力される。加算器
13は、現在の主走査開始アドレスxmiにΔXSを加
え、フリップフロップ14は、ライン更新クロックによ
り主走査ライン更新の度に加算器13の出力をラッチす
る。セレクタ15は、副走査開始ステータス信号により
副走査開始時のみアドレス初期値xiniを選択し、そ
れ以降はフリップフロップ14のラッチ出力を選択する
ようになっている。
The selector 12 selects the main scanning start address xmi only at the start of the main scanning based on the main scanning start status signal.
At other times, the latch output of the flip-flop 11 is selected and output as the updated address X. The adder 13 adds ΔXS to the current main scanning start address xmi, and the flip-flop 14 latches the output of the adder 13 every time the main scanning line is updated using the line update clock. The selector 15 selects the address initial value xini only at the start of sub-scanning in response to the sub-scanning start status signal, and thereafter selects the latch output of the flip-flop 14.

第2図(B)は、y方向アドレス算出部である。FIG. 2(B) shows a y-direction address calculation section.

すなわぢ、加算器16は、現在のアドレスyにΔymを
加え、フリップフロップ17は、画素更新クロックによ
り変換画素更新の度に加算器]6の出力をラッチする。
That is, the adder 16 adds Δym to the current address y, and the flip-flop 17 latches the output of the adder 6 every time the converted pixel is updated using the pixel update clock.

セレクタ18では、主走査開始ステータス信号により主
走査開始時のみ主走査開始アドレスymiか選択され、
それ以外の時はフリップフロップ17のランチ出力が選
択され、更新後のアドレスyとして出力される。加算器
19は、現在の主走査開始アドレスymiにΔysを加
え、フリップフロップ20は、ライン更新クロックによ
り主走査ライン更新の度に加算器19の出力をラッチす
る。セレクタ21は、副走査開始ステータス信号により
副走査開始時のみアドレス初期値yiniを選択し、そ
れ以降はフリップフロップ20のラッチ出力を選択する
ようになっている。
The selector 18 selects the main scanning start address ymi only at the start of the main scanning based on the main scanning start status signal.
At other times, the launch output of the flip-flop 17 is selected and output as the updated address y. The adder 19 adds Δys to the current main scanning start address ymi, and the flip-flop 20 latches the output of the adder 19 every time the main scanning line is updated using the line update clock. The selector 21 selects the initial address value yini only at the start of sub-scanning in response to the sub-scanning start status signal, and thereafter selects the latch output of the flip-flop 20.

次に、画素密度変換回路5の各構成要素について説明す
る。
Next, each component of the pixel density conversion circuit 5 will be explained.

内部アドレス発生回路9は、第2図に示したDstアド
レス発生回路2と同等の回路構成をとり、Dstアドレ
スの初期値とアドレスステップを用いて、Dstアドレ
スのうちのX成分3ビツトおよびy成分3ビットからな
る二16ビツトのアドレスを問直読出しアドレスとして
発生する。たたし、内部アドレス発生回路9は、ディザ
マトリクスの行および列の数がそれぞれ2″および2“
であるとき、y方向mビット以上、X方向nビット以上
、計(m十n)以上の情報量のアドレスをDstアドレ
スに対応して発生できるものであればよい。
The internal address generation circuit 9 has the same circuit configuration as the Dst address generation circuit 2 shown in FIG. 2, and uses the initial value of the Dst address and the address step to generate the 3 bits of the A 216-bit address consisting of 3 bits is generated as a direct read address. However, the internal address generation circuit 9 has a dither matrix whose number of rows and columns is 2" and 2", respectively.
In this case, any address that can generate an address with an information amount of m bits or more in the y direction, n bits or more in the x direction, and a total of (m+n) or more in correspondence with the Dst address may be used.

第4図は、ディザ閾値を格納する内部RA M 7の構
成を示すものである。この内部RAM7は、2″′X2
nのディザマトリクスを用いる場合、(m+n)ビット
/ワードX 2 L m“0ゝワードの(構成をとる。
FIG. 4 shows the configuration of the internal RAM 7 that stores dither threshold values. This internal RAM7 is 2'''X2
When using a dither matrix of n, it takes the configuration of (m+n) bits/word X 2 L m"0" word.

本実施例では、第4図(A)に示すように内部RAM7
は、内部アドレス発生回路9が発生した6ビツトのアド
レスを入力し、そのアドレスに格納されているディザ閾
値を出力する。内部RAM7の構成は、第4図(B)に
示すように6ビツト/ワード×64ワードとなっている
In this embodiment, as shown in FIG. 4(A), the internal RAM 7
inputs the 6-bit address generated by the internal address generation circuit 9 and outputs the dither threshold value stored in that address. The structure of the internal RAM 7 is 6 bits/word×64 words as shown in FIG. 4(B).

第5図は、濃度予11111器6の構成を示すものであ
る。この濃度予測器6の濃度予測は、変換画素位置を中
心としてディザマトリクスと同一の8×8の開口で囲ま
れた領域の黒画素の数をカウントし、その値を予測値と
する。第6図は、このときの濃度予測の様子を>J<シ
ている。第5図(A)は、濃度予測器6の構成例であり
、黒画素を表現する値が「1」であるとすると、1段[
Iのデコーダ30〜37は、入力された8ビツトの中の
「]」の個数を出力するロジック回路である。デコーダ
30〜37の出力は、2段1」以降の加算器40〜46
によって加算され、結局64ビツトの入力データの中の
「1」のカウント値が出力される。
FIG. 5 shows the configuration of the concentration predeterminer 11111 6. As shown in FIG. In the density prediction by the density predictor 6, the number of black pixels in an area surrounded by the same 8×8 aperture as the dither matrix with the converted pixel position as the center is counted, and this value is used as a predicted value. FIG. 6 shows the density prediction at this time. FIG. 5(A) shows an example of the configuration of the density predictor 6. Assuming that the value representing a black pixel is "1", one stage [
The I decoders 30 to 37 are logic circuits that output the number of "]" in the input 8 bits. The outputs of the decoders 30 to 37 are sent to the adders 40 to 46 in the second stage 1'' and beyond.
In the end, a count value of "1" in the 64-bit input data is output.

または、第5図(C)に示すように開口の移動に伴い、
開口に入る8画素中の黒画素数から開口の外に出る8画
素中の黒画素数を差し引いた値を増分として順次加算し
ていく方法を用いてもよい。
Or, as shown in FIG. 5(C), as the aperture moves,
A method may be used in which the value obtained by subtracting the number of black pixels among the eight pixels that enter the aperture from the number of black pixels among the eight pixels that exit the aperture is added sequentially as an increment.

この場合の回路構成は第5図(B)に示すが、デコーダ
50,5]は第5図(A)と同じものてあ−]]− る。減算器53からの出力が増分であり、フリップフロ
ップ54からの出力が濃度予1111+値である。
The circuit configuration in this case is shown in FIG. 5(B), but the decoders 50, 5] are the same as in FIG. 5(A). The output from subtractor 53 is the increment, and the output from flip-flop 54 is the density predetermined 1111+value.

フリップフロップ54へのクロックは開口の移動に伴っ
て発生するクロックである。
The clock to the flip-flop 54 is a clock generated as the aperture moves.

次に、本発明の特徴を具体例を用いて説明する。Next, the features of the present invention will be explained using specific examples.

本実施例では、ディザマトリクスは8×8で、閾値の分
布は第9図(A)の設定を用いている。また、変換率は
1 (等倍)とする。
In this embodiment, the dither matrix is 8×8, and the threshold value distribution uses the settings shown in FIG. 9(A). Also, the conversion rate is 1 (equal magnification).

いま、濃度値が「32」で、−様な原画像を画素密度変
換し、第8図に示すように変換画像を原画像の位置から
X方向に8画素、y方向に4画素ずれた位置に上書きす
る場合を考える。まず、現在求めようとしている変換画
素が原画像中のどの位置に対応するかをSrcアドレス
発生回路]によって求める。その際、原画素の並んでい
る間隔を「1」とすると、変換率がrのとき変換画素は
1 / rの間隔で原画像内に分布することを用いる。
Now, pixel density conversion is performed on the original image, which has a density value of "32" and is similar to -, and the converted image is shifted from the position of the original image by 8 pixels in the X direction and 4 pixels in the Y direction, as shown in Figure 8. Consider the case of overwriting. First, the position in the original image to which the conversion pixel to be currently sought corresponds is determined by the Src address generation circuit. In this case, assuming that the interval between the original pixels is "1", it is assumed that when the conversion rate is r, the converted pixels are distributed within the original image at an interval of 1/r.

ここで、揚げている例では等倍、すなわちr=1である
から、変換画素も原画像中において間隔「1」て分布し
ていることになる。
Here, in the example shown here, since it is the same magnification, that is, r=1, the converted pixels are also distributed at intervals of "1" in the original image.

次に、求められたSrcアドレスおよびその周囲の被参
照原画素群から濃度予測器6を用いて変換画素位置にお
ける局所濃度値を予測する。本実施例では、原画像は一
様に濃度「32」となっているので、この方法によれば
変換画素の濃度予測値も「32」となる。
Next, the local density value at the converted pixel position is predicted using the density predictor 6 from the obtained Src address and the group of referenced original pixels around it. In this embodiment, since the original image has a uniform density of "32", according to this method, the predicted density value of the converted pixel also becomes "32".

最後に、再ディザ化処理によって変換画素値を求め、画
像メモリ4のDstアドレス上に書き込む。11fディ
ザ化処理では、ディザマトリクス中の1つの閾値と濃度
r測値の大小を比較するか、その際、どの閾値を用いる
かによって得られる画像か変わってくる。本実施例では
、第7図に示すように画像メモリ4内にディザマトリク
スが敷き詰められているものと考える。これは、画像メ
モリ4のアドレスに対してNaにデイ→ノ゛閾値を割り
当てることと等価である。さらに、本実施例では、8X
8のディザマトリクスを用いていることから、画像メモ
リ4のアドレス[x、y]に対応するディザ閾値は、デ
ィザマトリクス内のアドレス(X % 8、 y % 
8)に設定された閾値である。ここで、(x  % 8
)は、Xを8で割ったときの余りを表すものである。
Finally, the converted pixel value is obtained by re-dithering processing and written on the Dst address of the image memory 4. In the 11f dithering process, the image obtained changes depending on whether one threshold value in the dither matrix is compared with the measured density r value, and which threshold value is used at that time. In this embodiment, it is assumed that the image memory 4 is filled with dither matrices as shown in FIG. This is equivalent to assigning a day→no threshold value to Na for the address of the image memory 4. Furthermore, in this example, 8X
8, the dither threshold corresponding to the address [x, y] of the image memory 4 is the address in the dither matrix (
8). Here, (x % 8
) represents the remainder when X is divided by 8.

最初の変換画素値を求めるとき、原画像がアドレス[0
,0]から始まるものとすると、変換画像はアドレス[
8,4]から始まるので、濃度予測値「32」は、内部
アドレス発生回路9が出力した閾値読み出しアドレス(
8% 8、4% g)= (0,4)の閾値と比較され
る。第9図(A)により、ディザマトリクス内のアドレ
ス(0,4)にある閾値は「38」であるから、比較の
結果、最初の変換画素値として「0」が[8,4コに書
き込まれる。
When calculating the first converted pixel value, the original image is at address [0
, 0], the converted image starts at address [
8, 4], the predicted density value "32" is the threshold read address (
8% 8, 4% g) = (0,4) compared to the threshold. According to FIG. 9(A), the threshold value at address (0,4) in the dither matrix is "38", so as a result of the comparison, "0" is written to [8,4] as the first converted pixel value. It will be done.

このようにして、変換画素が逐次求められ、画像メモリ
4に書き込まれていき、最終的に第10図(B)に示し
た画像が得られる。
In this way, converted pixels are successively determined and written into the image memory 4, and finally the image shown in FIG. 10(B) is obtained.

以上説明したように」二記実施例によれば、画像メモリ
のアドレスに対応してディザ閾値を選択し、再ディザ処
理に用いているので、原画像とそれに上書きされた変換
画像との境界部分におけるディザパターンの位相のずれ
が生じず、高画質なディザ画像処理結果か得られる。
As explained above, according to the second embodiment, the dither threshold value is selected corresponding to the address of the image memory and used for re-dither processing, so that the boundary between the original image and the converted image overwritten thereon is A high-quality dither image processing result can be obtained without causing any phase shift in the dither pattern.

[発明の効果] 以上詳述したように本発明によれば、ディザで表現され
た原画像に対して画素密度変換を行なった後、再ディザ
処理を施して得られる変換画像を書込む際の、境界にお
けるディザパターンの位相のずれをなくし、より高画質
な処理結果か得られる画素密度変換装置を提供すること
ができる。
[Effects of the Invention] As described in detail above, according to the present invention, after performing pixel density conversion on an original image expressed by dithering, it is possible to write a converted image obtained by performing re-dither processing. , it is possible to provide a pixel density conversion device that eliminates the phase shift of the dither pattern at the boundary and obtains processing results of higher image quality.

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

図は本発明の一実施例を説明するためのもので、第1図
は全体的な構成を概略的に示すブロック図、第2図はり
、stアドレス発生回路の構成を示すブロック図、第3
図は変換画像が画像メモリに書き込まれる際のスキャン
模式図、第4図は内部RAMの構成を説明するための図
、第5図(A)。 (B)はそれぞれ濃度予測器の構成例を示す図、第5図
(C)は第5図(B’)の回路構成を説明するための図
、第6図は濃度予測を説明するための模式図、第7図は
変換画像、原画像およびディザマトリクスの位置関係を
説明するための図、第8図は変換画像と原画像との位置
関係を説明するための図、第9図はディザ閾値を説明す
るための図、第10図はディザパターンの位相ずれによ
る画質劣化を説明するための図である。 1・・・Srcアドレス発生回路、2・・・Dstアド
レス発生回路、3・・・マルチプレックスセレクタ(M
UX) 、4・・・画像メモリ、5・・・画素密度変換
回路、6・・・濃度予測器、7・・・内部RAM、8・
・再ディザ部、9・・内部アドレス発生回路。 出願人代理人 弁理土 鈴江武r r−)     \ °ε 呼 己 ヌ 区 0−へm<罰の・・・・0 Δ                        
    ψト (A) 第1 ’F[平4−1(Dbl:J(カ フ (B) 〕図
The figures are for explaining one embodiment of the present invention, and FIG. 1 is a block diagram schematically showing the overall configuration, FIG. 2 is a block diagram showing the configuration of the st address generation circuit, and FIG.
The figure is a schematic diagram of scanning when a converted image is written to the image memory, FIG. 4 is a diagram for explaining the configuration of the internal RAM, and FIG. 5 (A). (B) is a diagram showing an example of the configuration of a concentration predictor, FIG. 5(C) is a diagram for explaining the circuit configuration of FIG. 5(B'), and FIG. 6 is a diagram for explaining concentration prediction. Schematic diagram, Figure 7 is a diagram to explain the positional relationship between the converted image, original image and dither matrix, Figure 8 is a diagram to explain the positional relationship between the converted image and the original image, and Figure 9 is a diagram to explain the positional relationship between the converted image and the original image. FIG. 10 is a diagram for explaining the threshold value and is a diagram for explaining image quality deterioration due to phase shift of the dither pattern. 1... Src address generation circuit, 2... Dst address generation circuit, 3... Multiplex selector (M
UX), 4... Image memory, 5... Pixel density conversion circuit, 6... Density predictor, 7... Internal RAM, 8...
- Re-dither section, 9... Internal address generation circuit. Applicant's agent Takeshi Suzue r r-) \ °ε Yomiku 0-hem<punishment...0 Δ
ψ (A) 1st 'F [Heisei 4-1 (Dbl: J (Cuff (B))] Figure

Claims (2)

【特許請求の範囲】[Claims] (1)ディザ画像に対して画素密度変換を行なう際に、
変換画像の各画素に対応する原画像内の位置における局
所濃度を予測し、その予測値とディザ閾値との比較結果
を用いて再ディザ化を行なうことにより変換画素値を求
める画素密度変換装置において、 変換画素の画像メモリへの書き込みアドレスから、ディ
ザ閾値が格納されているメモリのディザ閾値読み出しア
ドレスを求めて出力するアドレス発生手段を具備するこ
とを特徴とする画素密度変換装置。
(1) When performing pixel density conversion on a dithered image,
In a pixel density conversion device that calculates a converted pixel value by predicting the local density at a position in the original image corresponding to each pixel of the converted image and performing re-dithering using the result of comparing the predicted value with a dither threshold. . A pixel density conversion device comprising address generation means for determining and outputting a dither threshold read address of a memory in which a dither threshold is stored from a write address of a converted pixel to an image memory.
(2)前記アドレス発生手段は、ディザマトリクスの行
および列の数がそれぞれ2^mおよび2^nであるとき
、縦方向mビット以上、横方向nビット以上、計(m+
n)ビット以上の情報量のアドレスを変換画素書き込み
アドレスから求めて出力することを特徴とする請求項1
記載の画素密度変換装置。
(2) When the number of rows and columns of the dither matrix is 2^m and 2^n, respectively, the address generating means generates a total of (m+
Claim 1 characterized in that an address having an information amount of n) bits or more is determined from a converted pixel write address and output.
The pixel density conversion device described.
JP2340397A 1990-11-30 1990-11-30 Pixel density converter Expired - Lifetime JP2791215B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2340397A JP2791215B2 (en) 1990-11-30 1990-11-30 Pixel density converter

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2340397A JP2791215B2 (en) 1990-11-30 1990-11-30 Pixel density converter

Publications (2)

Publication Number Publication Date
JPH04205675A true JPH04205675A (en) 1992-07-27
JP2791215B2 JP2791215B2 (en) 1998-08-27

Family

ID=18336564

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2340397A Expired - Lifetime JP2791215B2 (en) 1990-11-30 1990-11-30 Pixel density converter

Country Status (1)

Country Link
JP (1) JP2791215B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5430555A (en) * 1993-03-26 1995-07-04 Kabushiki Kaisha Toshiba Image processing apparatus using high redundancy pixel replacement for gray level image compression

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5430555A (en) * 1993-03-26 1995-07-04 Kabushiki Kaisha Toshiba Image processing apparatus using high redundancy pixel replacement for gray level image compression

Also Published As

Publication number Publication date
JP2791215B2 (en) 1998-08-27

Similar Documents

Publication Publication Date Title
US5337160A (en) Error diffusion processor and method for converting a grey scale pixel image to a binary value pixel image
US5172247A (en) High speed digital error diffusion process for continuous tone image-to-binary image conversion
JPS6085680A (en) Picture processing device
US6373893B1 (en) Motion vector detection device
US6633975B1 (en) Data processing system having plurality of processors and executing series of processings in prescribed order
JPH04205675A (en) Picture element density conversion device
EP0700196B1 (en) Method and apparatus for image scaling using parallel incremental interpolation
JPH0638031A (en) Image density reproducing method
JP3667002B2 (en) Image processing method and apparatus
JPH08116545A (en) Image transmission method and system therefor
US5103487A (en) Image processing method
JPS6132663A (en) Picture signal processing device
JPH01156069A (en) Image processor
JPS63102474A (en) Picture signal processor
JP2697679B2 (en) Dither image display device
JPH06113125A (en) Picture processor
US20030030647A1 (en) Flexible method and apparatus for dithering image data
JPS63155950A (en) Picture signal processor
JPH0638037A (en) Image processor
JPH05268461A (en) Picture element density converter
JPH11308448A (en) Image processor and image processing method
JPS6132662A (en) Picture signal processing device
JPH04217172A (en) Picture processor
JPH07212593A (en) Method and device for processing picture
JP2001078033A (en) Picture processor

Legal Events

Date Code Title Description
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090612

Year of fee payment: 11

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090612

Year of fee payment: 11

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100612

Year of fee payment: 12

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100612

Year of fee payment: 12

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110612

Year of fee payment: 13

EXPY Cancellation because of completion of term
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110612

Year of fee payment: 13