JPH0792829B2 - Method and apparatus for generating image data for continuous tone image recording - Google Patents

Method and apparatus for generating image data for continuous tone image recording

Info

Publication number
JPH0792829B2
JPH0792829B2 JP61199841A JP19984186A JPH0792829B2 JP H0792829 B2 JPH0792829 B2 JP H0792829B2 JP 61199841 A JP61199841 A JP 61199841A JP 19984186 A JP19984186 A JP 19984186A JP H0792829 B2 JPH0792829 B2 JP H0792829B2
Authority
JP
Japan
Prior art keywords
gradation
image
data
pixel
recording
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 - Lifetime
Application number
JP61199841A
Other languages
Japanese (ja)
Other versions
JPS6354675A (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.)
Dainippon Screen Manufacturing Co Ltd
Original Assignee
Dainippon Screen Manufacturing Co 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 Dainippon Screen Manufacturing Co Ltd filed Critical Dainippon Screen Manufacturing Co Ltd
Priority to JP61199841A priority Critical patent/JPH0792829B2/en
Priority to US07/089,331 priority patent/US4809082A/en
Priority to EP87112335A priority patent/EP0259695B1/en
Priority to DE87112335T priority patent/DE3786621T2/en
Publication of JPS6354675A publication Critical patent/JPS6354675A/en
Publication of JPH0792829B2 publication Critical patent/JPH0792829B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Image Processing (AREA)

Description

【発明の詳細な説明】 (産業上の利用分野) この発明は、階調が連続的に変化する画像を、離散的な
階調を有する画素配列によって記録するにあたって、階
調の不連続的な変化(以下「トーンジャンプ」と言う)
の影響を防止することができるような画像データの生成
方法およびその装置に関する。
DETAILED DESCRIPTION OF THE INVENTION (Industrial field of application) The present invention, when recording an image in which gradation changes continuously by a pixel array having discrete gradation, discontinues gradation. Change (hereinafter referred to as "tone jump")
The present invention relates to a method and apparatus for generating image data capable of preventing the influence of the above.

(従来技術とその問題点) 製版用スキャナのような画像記録装置においては、離散
的な階調を有する画素配列によって画像の空間的階調変
化を表現しなければならない。このため、第29図(a)
に模式的に示すような、記録画面上の位置変化に応じて
連続的に階調が変化する連続調画像を記録したい場合に
おいても、第29図(b)のようなステップ状の階調変化
を有する画像によって、このような連続調画像を近似的
に表現する必要がある。そして、このような事情は、製
版用スキャナに限らず、デジタル化された画像データを
用いて画像記録を行なう装置に共通の性質となってい
る。
(Prior Art and Problems Thereof) In an image recording apparatus such as a plate-making scanner, it is necessary to express a spatial gradation change of an image by a pixel array having discrete gradation. Therefore, Fig. 29 (a)
Even when it is desired to record a continuous tone image in which the gradation changes continuously according to the position change on the recording screen, as shown schematically in Figure 29, stepwise gradation change as shown in Fig. 29 (b). It is necessary to approximate such a continuous tone image by an image having Such a situation is common not only to the plate-making scanner but also to an apparatus that records an image using digitized image data.

一方、現在利用されている画像記録装置では、このよう
な階調の不連続変化つまり第29図(b)のトーンジャン
プΔGが視認されにくいように、種々の改良が加えられ
ている。このため、一般の画像記録においては、このト
ーンジャンプΔGが視認されることは少ない。ところ
が、次のような場合には、このトーンジャンプΔGの存
在が比較的はっきりと視認される。
On the other hand, in the image recording apparatus currently used, various improvements have been made so that such a discontinuous change in gradation, that is, the tone jump ΔG in FIG. Therefore, in general image recording, this tone jump ΔG is rarely visually recognized. However, in the following cases, the presence of this tone jump ΔG is visually recognized relatively clearly.

その第1は、製版用スキャナにおける傾斜網の記録のよ
うに、指定された階調変化率に応じて階調が単調に変化
しているような場合である。このような場合には、階調
変化の滑かさが上記トーンジャンプΔGによって阻害さ
れることが多い。
The first is the case where the gradation changes monotonously according to the specified gradation change rate, as in the case of recording on a slanted net in a platemaking scanner. In such a case, smoothness of gradation change is often hindered by the tone jump ΔG.

その第2は、人間の肌の画像のように、階調がゆるやか
に変化し、かつ記録画像を見る者の注意を引き易い画像
である。この場合にも、トーンジャンプΔGの存在が記
録画像の乱れとして認識されやすい。
The second is an image, such as an image of human skin, in which the gradation gradually changes and which is easily noticed by a viewer of the recorded image. Also in this case, the presence of the tone jump ΔG is easily recognized as a disorder of the recorded image.

その第3は、原画像を拡大して大画面の記録画像を作成
するような場合である。このときには、拡大処理によっ
て画素の大きさが増大するため、肉眼で詳細な観察を行
なうと、トーンジャンプΔGの存在が認識されてしま
う。
Thirdly, the original image is enlarged to create a large-screen recorded image. At this time, since the size of the pixel increases due to the enlargement processing, the presence of the tone jump ΔG will be recognized when performing detailed observation with the naked eye.

このような問題に対処するために種々の対策が考えられ
ているが、このうちの代表的なものを、その欠点ととも
に以下に説明する。
Various measures have been considered to deal with such a problem, and a typical one of them is described below along with its drawbacks.

(1) 画像データのデータ長、つまり階調を表現する
デジタル信号のビット数を十分に大きくとって、トーン
ジャンプΔGの絶対値を小さくする。この方法は、原理
的には最も望ましい方法である。しかしながら、実際に
は、データ長の増大に伴ってデータ量が増大し、処理時
間もかなり長くなってしまうという欠点がある。また、
このような大量のデータ処理を行なう回路を準備しなけ
ればならないために、装置のサイズの増大やコストアッ
プを招くことになる。
(1) The data length of the image data, that is, the number of bits of the digital signal expressing the gradation is set sufficiently large to reduce the absolute value of the tone jump ΔG. This method is the most desirable method in principle. However, in reality, there is a drawback that the amount of data increases as the data length increases, and the processing time becomes considerably long. Also,
Since it is necessary to prepare a circuit for performing such a large amount of data processing, the size of the device and the cost are increased.

(2) デジタル化された画像データを一度アナログ信
号へと変換して、このアナログ信号に加わる回路ノイズ
などの自然ノイズを利用する。この方法では、ノイズが
加わったアナログ信号を再度デジタル信号に変換して、
これを画像記録に使用する。そして、上記自然ノイズ等
によって、トーンジャンプΔGが生ずる画素を特定でき
ないようにする。しかしながら、自然ノイズのレベルは
一般的に小さいため、この方法を適用するには、デジタ
ル画像データのビット数がかなり多くなければならな
い。したがって、上記第1の方法と同様の欠点がある。
(2) The digitalized image data is once converted into an analog signal, and natural noise such as circuit noise added to the analog signal is used. In this method, the analog signal with noise added is converted back to a digital signal,
This is used for image recording. Then, the pixel causing the tone jump ΔG cannot be specified due to the natural noise or the like. However, since the level of natural noise is generally small, the number of bits of digital image data must be quite large to apply this method. Therefore, it has the same drawbacks as the first method.

(3) ある程度のレベルを有するデジタル的なランダ
ムノイズをノイズ発生回路によって発生させ、これをデ
ジタル画像データに加える。この方法は上記第1および
第2の方法と異なって、比較的簡易な回路を追加するだ
けである程度の効果が期待できる。しかしながら、この
方法では、記録すべき画像の性質とは無関係のノイズを
画像データに加えるため、トーンジャンプΔGが生ずる
位置に応じて画像データの修正を施すことはできないと
いう問題がある。
(3) Digital random noise having a certain level is generated by the noise generating circuit and added to the digital image data. Unlike the first and second methods, this method can be expected to some extent by adding a relatively simple circuit. However, this method has a problem in that the image data cannot be modified according to the position where the tone jump ΔG occurs because noise unrelated to the nature of the image to be recorded is added to the image data.

また、特開昭61−91661号公報では階調信号(連続調信
号)にゆらぎ信号(例えばノコギリ波,三角波)を加え
合せて、離散的階調数で画像記録している。ところが、
この場合には、階調信号の増加率又は減少率に応じて、
ゆらぎ信号の波高値及び波長を適宜に選択しなければな
らない。その理由はゆらぎ信号が重畳された階調信号が
閾値を超える時と記録のための画素間隔とをなるべく多
く一致させ、効果のでる記録となるようにしなければな
らないからである。
In Japanese Patent Laid-Open No. 61-91661, a fluctuation signal (for example, a sawtooth wave or a triangular wave) is added to a gradation signal (continuous tone signal) to record an image with a discrete gradation number. However,
In this case, according to the increase rate or the decrease rate of the gradation signal,
The peak value and wavelength of the fluctuation signal must be selected appropriately. The reason is that it is necessary to match the time when the gradation signal on which the fluctuation signal is superimposed exceeds the threshold value with the pixel interval for recording as much as possible to achieve effective recording.

このように、従来技術では、連続的に階調が変化する画
像の記録にあたって、トーンジャンプΔGの影響を有効
に除去することは困難であるという問題があった。
As described above, the conventional technique has a problem that it is difficult to effectively remove the influence of the tone jump ΔG when recording an image in which the gradation is continuously changed.

(発明の目的) この発明は従来技術における上述の問題の克服を意図し
ており、データ処理をあまり複雑化することなく、連続
調画像記録におけるトーンジャンプの影響を有効に防止
することのできる画像データの生成方法およびその装置
を提供することを目的とする。
(Object of the Invention) The present invention is intended to overcome the above-mentioned problems in the prior art, and an image capable of effectively preventing the influence of tone jump in continuous tone image recording without complicating the data processing so much. An object of the present invention is to provide a data generation method and an apparatus thereof.

(目的を達成するための手段) 上述の目的を達成するため、この出願の第1の発明にか
かる画像データ生成方法では、階調が連続的に変化する
画像を離散的な階調を有する画素配列によって走査記録
するための画像データ生成方法を対象として、まず、画
像記録に使用される離散的階調数に応じたデータ長を有
する整数部と任意のデータ長を有する小数部とを含む第
1の階調データによって、記録すべき画像の階調を画素
ごとに表現する。
(Means for Achieving the Object) In order to achieve the above-mentioned object, in the image data generating method according to the first invention of the present application, an image in which gradation is continuously changed is used as a pixel having discrete gradation. Targeting at an image data generation method for scanning recording by an array, first, a first part including an integer part having a data length according to the number of discrete gradations used for image recording and a decimal part having an arbitrary data length The gradation data of 1 expresses the gradation of the image to be recorded for each pixel.

そして、走査線ごとの累算初期値として乱数を使用しつ
つ、前記小数部の値を前記画素配列の方向に沿って順次
累算し、当該累算結果が所定の基準値の倍数に応じた値
に到達する各画素を倍数到達画素とする。
Then, while using a random number as an initial value for accumulation for each scanning line, the values of the fractional part are sequentially accumulated along the direction of the pixel array, and the accumulation result corresponds to a multiple of a predetermined reference value. Each pixel that reaches the value is a multiple reaching pixel.

さらに、前記倍数到達画素の存在ごとに前記倍数到達画
素および/またはその近傍の画素についての前記第1の
階調データの整数部から得られる値を所定整数量だけ変
化させることによって、整数部からなる第2の階調デー
タを生成し、前記第2の階調データを、前記画像を記録
するための画像データとする。
Furthermore, by changing the value obtained from the integer part of the first gradation data for the multiple reaching pixel and / or the pixels in the vicinity thereof for each existence of the multiple reaching pixel by a predetermined integer amount, Then, the second gradation data is generated, and the second gradation data is used as image data for recording the image.

このようにして得られた画像データは、たとえば後述す
る第1図(e)に示すような空間的な階調変化を持った
画像データとなる。このような画像データが上記構成に
よって得られる理由は、実施例の説明の中で詳述する。
The image data obtained in this manner becomes image data having a spatial gradation change as shown in FIG. The reason why such image data is obtained by the above configuration will be described in detail in the description of the embodiment.

また、この出願の第2の発明では、上記第1の発明を実
現するための装置として、画像記録に使用される階調
数に応じたデータ長を有する整数部と任意のデータ長を
有する小数部とを含み、前記整数部と前記小数部とによ
って記録すべき画像の階調を画素ごとに表現した第1の
階調データを、走査順に時系列的に発生する第1の階調
データ発生手段と;走査線ごとの累算初期値として乱
数を使用しつつ、前記小数部の値を前記画素配列の方向
に沿って順次累算し、当該累算結果が所定の基準値の倍
数に応じた値に到達するごとに所定のサイズのパルスを
発生する累算手段と;前記第1の階調データのうちの
整数部から得られる値と前記パルスとを時系列的に合成
して第2の階調データを発生する第2の階調データ発生
手段とを備え、前記第2の階調データを、前記画像を記
録するための画像データとする装置を提供する。
Further, in the second invention of this application, as an apparatus for realizing the first invention, an integer part having a data length corresponding to the number of gradations used for image recording and a decimal number having an arbitrary data length are provided. First gradation data generation, in which the gradation data of an image to be recorded is expressed for each pixel by the integer part and the decimal part And means for sequentially accumulating the values of the fractional part along the direction of the pixel array while using a random number as an initial value of accumulation for each scanning line, and the accumulation result is determined according to a multiple of a predetermined reference value. An accumulating means for generating a pulse of a predetermined size each time a predetermined value is reached; a value obtained from an integer part of the first grayscale data and the pulse are time-sequentially combined to generate a second pulse. Second gradation data generating means for generating the gradation data of Gradation data, an apparatus is provided for the image data for recording the image.

なお、「累算結果が基準値の倍数に応じた値に到達す
る。」とは、累算結果がこれらの値に一致した場合のほ
か、累算結果がこれらの値を飛越した場合をも含む概念
である。また、倍数到達画素の特定は直接的であるか間
接的であるかを問わない。
It should be noted that "the accumulated result reaches a value according to a multiple of the reference value." Means that the accumulated result coincides with these values as well as the case where the accumulated result jumps over these values. It is a concept that includes. Further, the identification of the multiple arrival pixel does not matter whether it is direct or indirect.

(実施例) A.第1の実施例 第2図は、この発明の第1の実施例である画像データ生
成装置が組込まれた円筒走査型の製版用スキャナの全体
構成図である。以下、この第2図を参照してこのスキャ
ナの全体構成と概略動作とを説明し、その後に、この実
施例の特徴部を詳細に説明する。
(Embodiment) A. First Embodiment FIG. 2 is an overall configuration diagram of a cylindrical scanning type plate-making scanner in which an image data generating apparatus according to a first embodiment of the present invention is incorporated. The overall configuration and schematic operation of the scanner will be described below with reference to FIG. 2, and then the characteristic parts of this embodiment will be described in detail.

(A−1)第1の実施例の全体構成と概略動作 第2図に示した製版用スキャナ1においては、原画2を
巻着した原画ドラム3と、感光材4を巻着した記録ドラ
ム5とが、ドラム軸6に固着されている。このドラム軸
6は、プーリ7とベルト8とを通じて与えられるモータ
9の駆動力によって同期的に回転する。
(A-1) Overall configuration and schematic operation of the first embodiment In the plate making scanner 1 shown in FIG. 2, an original image drum 3 around which an original image 2 is wound, and a recording drum 5 around which a photosensitive material 4 is wound. Are fixed to the drum shaft 6. The drum shaft 6 is synchronously rotated by a driving force of a motor 9 given through a pulley 7 and a belt 8.

一方、上記原画ドラム3と記録ドラム5とにそれぞれ対
向して、ピックアップヘッド10と露光ヘッド11とがそれ
ぞれドラム軸6に平行に移動可能に配設されており、こ
れらは、駆動用パルスモータ12,13から送りねじ14,15へ
とそれぞれ与えられる駆動力によって、それぞれ移送さ
れるようになっている。
On the other hand, a pickup head 10 and an exposure head 11 are provided so as to be opposed to the original image drum 3 and the recording drum 5, respectively, so as to be movable in parallel to the drum shaft 6, and these are arranged to drive a pulse motor 12 for driving. , 13 to the feed screws 14 and 15, respectively.

上記ピックアップヘッド10には、光電変換素子などが内
蔵されており、原画2の画像を読取って画像信号を発生
する。この画像信号は、A/D変換器16へと与えられる。
このA/D変換器16では、この画像信号が、後述するタイ
ミングコントロール回路24からの周期的な画素クロック
CKXに応じてサンプリングされて、順次A/D変換される。
そして、A/D変換後の画像信号が画像処理回路17へと与
えられる。
The pickup head 10 has a photoelectric conversion element and the like built therein, and reads the image of the original image 2 to generate an image signal. This image signal is given to the A / D converter 16.
In this A / D converter 16, this image signal is a periodic pixel clock from a timing control circuit 24 described later.
Sampling is performed according to CKX and A / D conversion is performed sequentially.
Then, the image signal after A / D conversion is given to the image processing circuit 17.

この画像処理回路17は、図示しない階調補正回路などを
有しており、入力された画像信号に階調補正などの所定
の処理を施す。このようにして得られた記録用画像信号
は網点発生器18へと与えられる。網点発生器18は、この
記録用画像信号と基準網点信号とを比較して網点出力を
発生し、露光ヘッド11はこの網点出力に基づいて感光材
4への網点画像記録を行なう。もちろん記録用画像信号
に基づいて連続調記録を行ってもよいのである。
The image processing circuit 17 has a gradation correction circuit (not shown) and the like, and performs predetermined processing such as gradation correction on the input image signal. The recording image signal thus obtained is applied to the halftone dot generator 18. The halftone dot generator 18 compares the recording image signal with the reference halftone dot signal to generate a halftone dot output, and the exposure head 11 records the halftone dot image on the photosensitive material 4 based on the halftone dot output. To do. Of course, continuous tone recording may be performed based on the recording image signal.

網点記録する場合1つの網点は、後に説明する第16図に
おいて、1つの小さい4角形が記録1画素の面積を示
し、例えば2.3画素×2.3画素で表現される。従って画素
毎に記録すべき画像信号が与えられ、画素毎に異なる網
点%で画像信号が記録されている。このため、2.3画素
×2.3画素で表現される網点は、丸、楕円、四角、菱形
等の定まった形のものばかりでなく歪んだ形状でも記録
されてるのは周知である。
In the case of halftone printing, one halftone dot in FIG. 16 to be described later is represented by one small square representing the area of one pixel of printing, and is represented by, for example, 2.3 pixels × 2.3 pixels. Therefore, an image signal to be recorded is given to each pixel, and the image signal is recorded with a different halftone dot% for each pixel. For this reason, it is well known that halftone dots represented by 2.3 pixels × 2.3 pixels are recorded not only in a fixed shape such as a circle, an ellipse, a square, and a rhombus but also in a distorted shape.

一方、この製版用スキャナ1には、この発明の一実施例
としての階調傾斜画像生成回路20が設けられている。そ
して、傾斜網を感光材4上に記録する際には、この階調
傾斜画像生成回路20で生成された画像データが、画像処
理回路17を介して網点発生器18に与えられるようになっ
ている。このときには、原画3から読取られた画像信号
は使用されない。しかし用途によってはこれらを合成し
てもよい。
On the other hand, the plate-making scanner 1 is provided with a gradation gradient image generation circuit 20 as an embodiment of the present invention. Then, when recording the slanted net on the photosensitive material 4, the image data generated by the gradation slanted image generating circuit 20 is applied to the halftone dot generator 18 via the image processing circuit 17. ing. At this time, the image signal read from the original image 3 is not used. However, these may be synthesized depending on the application.

また、この製版用スキャナ1には、キーボード22および
操作盤23に接続された制御回路21が設けられている。こ
の制御回路21は、上記各回路の制御や、種々のデータ処
理などを行なうためのものである。さらに、このスキャ
ナ1には、タイミングコントロール回路24が設けられて
いる。このタイミングコントロール回路24は、ドラム軸
6の回動に同期するパルス発生装置25からのパルス入力
に同期して、上記画素クロックCKXや、主走査の1回転
毎の露光開始位置を指示する主走査開始クロックCKY、
それに、駆動用パルスモータ12,13への制御信号(図
中、破線で示す)を発生し、図示した各部へと与えるよ
うになっている。
Further, the platemaking scanner 1 is provided with a control circuit 21 connected to a keyboard 22 and an operation panel 23. The control circuit 21 is for controlling the above-mentioned circuits and performing various data processing. Further, the scanner 1 is provided with a timing control circuit 24. The timing control circuit 24 synchronizes with the pulse input from the pulse generator 25 which synchronizes with the rotation of the drum shaft 6 and indicates the pixel clock CKX and the exposure start position for each rotation of the main scan. Start clock CKY,
In addition, a control signal (indicated by a broken line in the drawing) to the driving pulse motors 12 and 13 is generated and given to each of the illustrated parts.

(A−2)階調傾斜画像生成回路20の機能の概略 第3図は階調傾斜画像生成回路20の内部構成を示すブロ
ック図である。前述したように、この階調傾斜画像生成
回路20は第2図の感光材4上に傾斜網を記録するための
画像データを生成する回路であり、この傾斜網の階調分
布の例が第4図に模式的に示されている。すなわち、第
4図の感光材4上の領域4aでは、主走査方向Xに沿って
階調が単調に変化した傾斜網(以下、「主走査方向傾斜
網」と言う)が示されている。また、領域4bでは副走査
方向Yに沿って階調が単調に変化した傾斜網(以下「副
走査方向傾斜網」と言う)が示されている。さらに、領
域4cには任意の方向Pに沿って階調が変化する傾斜網が
示されている。
(A-2) Outline of Functions of Gradation Gradient Image Generation Circuit 20 FIG. 3 is a block diagram showing an internal configuration of the gradation gradient image generation circuit 20. As described above, the gradation gradient image generation circuit 20 is a circuit for generating image data for recording a gradient mesh on the photosensitive material 4 of FIG. 2, and an example of the gradation distribution of this gradient mesh is shown in FIG. It is shown schematically in FIG. That is, in the area 4a on the photosensitive material 4 in FIG. 4, a slanted net in which the gradation monotonously changes along the main scanning direction X (hereinafter referred to as “main scanning direction slanted net”) is shown. Further, in the region 4b, a slanted net in which the gradation monotonously changes along the sub-scanning direction Y (hereinafter referred to as "sub-scanning-direction slanted net") is shown. Further, in the region 4c, a slanting net whose gradation changes along an arbitrary direction P is shown.

後の説明からわかるように、第3図の階調傾斜画像生成
回路20は、このような種々の方向への傾斜網の記録のた
めの画像データを自在に生成することができるようにな
っている。そして、この画像データは、トーンジャンプ
の影響を有効に除去するような形で生成される。
As will be understood from the description below, the gradation gradient image generation circuit 20 of FIG. 3 can freely generate image data for recording a gradient mesh in such various directions. There is. Then, this image data is generated in such a manner that the effect of tone jump is effectively removed.

そこで、以下では、まず主走査方向傾斜網の記録のため
の画像データを第3図の回路を使用して生成する動作に
ついて説明し、その後、副走査方向傾斜網の記録と、任
意の方向への傾斜網記録とのそれぞれについての画像デ
ータの生成について説明する。ただし、主走査方向傾斜
網生成の説明においては、後の説明に必要とされる一般
的事項もあわせて述べておくことにする。
Therefore, hereinafter, an operation of generating image data for recording in the main scanning direction inclined mesh using the circuit in FIG. 3 will be described first, and thereafter, recording in the sub scanning direction inclined mesh and in any direction. The generation of image data for each of the inclined halftone recording will be described. However, in the description of the generation of the slanted net in the main scanning direction, general items required for the subsequent description will also be described.

なお、以下の説明において、10進法の整数値としての
“1"を、データの特定のビットの状態を示す“1"と区別
する目的で、10進法の“1"を“1."と表現する。また、
同様に、10進法の整数値としての“2"は、“2."のよう
に表現する。
In the following description, in order to distinguish “1” as a decimal integer value from “1” indicating the state of a specific bit of data, the decimal “1” is “1.”. Express. Also,
Similarly, “2” as a decimal integer value is expressed as “2.”.

(A−3)主走査方向傾斜網の生成 (A−3a)データ入力 主走査方向傾斜網の生成にあたっては、まず、オペレー
タが、第2図のキーボード22を用いて、階調の変化方向
として主走査方向Xを指定する。また、次の各データも
入力される(第5図参照)。
(A-3) Generation of main scanning direction slanted mesh (A-3a) Data input In generating the main scanning direction slanted mesh, the operator first uses the keyboard 22 shown in FIG. The main scanning direction X is designated. Further, the following data are also input (see FIG. 5).

(1)傾斜網生成開始位置Xs 傾斜網生成終了位置Xe (2)傾斜網生成開始位置Xsにおける階調初期値G0 (3)階調変化率(第5図の階調変化直線Lの傾き)を
指示するパラメータ これらのデータが入力されると、第2図の制御回路21内
に設けられたマイクロコンピュータ(図示せず)は、主
走査方向Xの1画素あたりの階調変化量gXを演算して求
める。以下、この階調変化量gXを「主走査方向変化量」
と呼ぶ。
(1) Gradient mesh generation start position X s Gradient mesh generation end position X e (2) Gradation initial value G 0 at the gradient mesh generation start position X s (3) Gradation change rate (gradation change straight line in FIG. 5 Parameter for instructing (inclination of L) When these data are input, the microcomputer (not shown) provided in the control circuit 21 in FIG. 2 changes the gradation per pixel in the main scanning direction X. Calculate the quantity g X. Hereinafter, this gradation change amount g X is referred to as “main scanning direction change amount”.
Call.

このようにして得られた主走査方向変化量gXは、第3図
の階調傾斜画像生成回路20内に設けられた主走査データ
生成回路100に与えられる。この主走査データ生成回路1
00は、主走査方向Xに沿って画素ごとの階調データ(第
1の階調データ)を生成するとともに、後述する累算動
作を行なう回路である。また、キーボードから入力され
た階調初期値G0は、副走査データ生成回路200に与えら
れる。この副走査データ生成回路200は、上記主走査デ
ータ生成回路100に類似した構成を有している。副走査
データ生成回路200には、副走査方向Yについての一画
素あたりの階調変化量(以下「副走査方向変化量」と言
う)gYも入力されるようになっている。ただし、ここで
考えている主走査方向傾斜網の生成動作の場合は、gY
0である。
The main scanning direction change amount g X thus obtained is supplied to the main scanning data generation circuit 100 provided in the gradation tilt image generation circuit 20 of FIG. This main scanning data generation circuit 1
Reference numeral 00 denotes a circuit that generates gradation data (first gradation data) for each pixel along the main scanning direction X and performs an accumulation operation described later. Further, the gradation initial value G 0 input from the keyboard is given to the sub-scanning data generation circuit 200. The sub-scanning data generation circuit 200 has a configuration similar to that of the main scanning data generation circuit 100. To the sub-scanning data generation circuit 200, the gradation change amount per pixel in the sub-scanning direction Y (hereinafter referred to as “sub-scanning direction change amount”) g Y is also input. However, in the case of the generation operation of the tilt net in the main scanning direction considered here, g Y =
It is 0.

このようにして与えられた各種データのうち、階調初期
値G0は、副走査データ生成回路200内に設けられた副走
査方向加算器210に取込まれる。また副走査方向変化量g
Y(=0)も、ラッチ回路220でラッチされた後に、副走
査方向加算器210に取込まれる。一方、主走査方向変化
量gXは、ラッチ回路120でラッチされた後に、主走査デ
ータ生成回路100内に設けられた主走査方向加算器110に
取込まれる。
Of the various data thus provided, the gradation initial value G 0 is taken in by the sub-scanning direction adder 210 provided in the sub-scanning data generation circuit 200. In addition, the change amount g
Y (= 0) is also latched by the latch circuit 220 and then taken into the sub-scanning direction adder 210. On the other hand, the main scanning direction change amount g X is latched by the latch circuit 120 and then taken into the main scanning direction adder 110 provided in the main scanning data generation circuit 100.

(A−3b)主走査方向加算器110の構成 第6図は、この主走査方向加算器110の内部構成を示す
ブロックである。この主走査方向加算器110に含まれる
回路のうち、加算器111データセレクタ112およびラッチ
回路113は、画像記録に使用される画像データのデータ
長に応じたデータ長を有するデータを処理できるように
なっている。したがって、たとえば、画像記録において
階調をMビットで表現するときには、これらの回路もま
たMビットを処理する回路として形成される。
(A-3b) Configuration of Main Scan Direction Adder 110 FIG. 6 is a block diagram showing the internal configuration of the main scan direction adder 110. Of the circuits included in the main scanning direction adder 110, the adder 111 data selector 112 and the latch circuit 113 are configured to process data having a data length according to the data length of image data used for image recording. Has become. Therefore, for example, when expressing gradation with M bits in image recording, these circuits are also formed as circuits for processing M bits.

一方、第6図の他の加算器114、データセレクタ115およ
びラッチ回路116は、あらかじめ定められた任意のデー
タ長(たとえばNビット)を処理できるようになってい
る。そして、後の説明からわかるように、加算器114か
ら出力されるキャリー信号CR1が加算器111のキャリー入
力となっているため、主走査方向加算器110は、全体と
して、上位Mビットと下位ビットとから形成される(M
+N)ビットのデータを処理できるようになっている。
このM,Nとしては、たとえば8ビットずつが割当てられ
る。
On the other hand, the other adder 114, the data selector 115, and the latch circuit 116 shown in FIG. 6 can process a predetermined arbitrary data length (for example, N bits). Then, as will be understood from the following description, since the carry signal CR 1 output from the adder 114 is the carry input of the adder 111, the main scanning direction adder 110 as a whole has the upper M bits and the lower M bits. Bit and (M
+ N) -bit data can be processed.
As M and N, for example, 8 bits each are assigned.

このうち、上位Mビットは画像記録時の階調表現に使用
されるものであり、その最下位ビットは階調表現の最小
単位に相当する。このため、この上位Mビットは、画像
データないしは階調データの整数部としての意味を有す
る。また、下位Nビットは、最終的に得られる画像デー
タ中では直接には表現されず、階調傾斜画像生成回路20
内でのみ利用される。したがって、この下位Nビットは
階調データの小数部としての意味を有する。
Of these, the upper M bits are used for gradation expression at the time of image recording, and the least significant bit corresponds to the minimum unit of gradation expression. Therefore, the upper M bits have a meaning as an integer part of image data or gradation data. The lower N bits are not directly expressed in the finally obtained image data, and the gradation gradient image generation circuit 20
Only used within. Therefore, the lower N bits have a meaning as a decimal part of the gradation data.

(A−3c)副走査方向加算器210の構成 第7図は、第3図の副走査方向加算器210の内部構成を
示すブロック図である。第6図と第7図とを比較すると
わかるように、この副走査方向加算器210は第6図の主
走査方向加算器110と同様の構成を有しており、両者の
相違点は取扱うデータの内容と動作タイミングのみであ
る。そして、第7図の副走査方向加算器210において
も、Mビットの整数部を処理するための加算器211,デー
タセレクタ212およびラッチ回路213と、Nビットの小数
部を処理するための加算器214、データセレクタ215およ
びラッチ回路216とが設けられている。
(A-3c) Configuration of Sub-scanning Direction Adder 210 FIG. 7 is a block diagram showing the internal configuration of the sub-scanning direction adder 210 of FIG. As can be seen by comparing FIG. 6 and FIG. 7, this sub-scanning direction adder 210 has the same configuration as the main scanning direction adder 110 of FIG. 6, and the differences between the two are the data to be handled. Is only the content and operation timing. Also in the sub-scanning direction adder 210 of FIG. 7, an adder 211 for processing an M-bit integer part, a data selector 212 and a latch circuit 213, and an adder for processing an N-bit fractional part. 214, a data selector 215 and a latch circuit 216 are provided.

(A−3d)整数部と小数部との関係 このような整数部と小数部との関係が第8図に示されて
いる。すなわち、第8図(a)において、主走査方向加
算器110における整数部IXと小数部DXとが、それぞれ、
Mビットデータ: aM-1,…,a1,a0 と、Nビットデータ: bN-1,…,b1,b0 とによって表現されている。また、第8図(b)では、
副走査方向加算器210における整数部IYと小数部DY
が、同様に、Mビットデータ: cM-1,…,c1,c0 と、Nビットデータ: dN-1,…d1,d0 とによって、それぞれ表現されている。
(A-3d) Relationship between integer part and fractional part Such a relationship between integer part and fractional part is shown in FIG. That is, in FIG. 8A, the integer part I X and the decimal part D X in the main scanning direction adder 110 are respectively
It is represented by M-bit data: a M-1 , ..., A 1 , a 0 and N-bit data: b N-1 , ..., B 1 , b 0 . In addition, in FIG. 8 (b),
Similarly, the integer part I Y and the decimal part D Y in the sub-scanning direction adder 210 are M-bit data: c M-1 , ..., C 1 , c 0 and N-bit data: d N-1 ,. They are represented by d 1 and d 0 , respectively.

(A−3e)副走査データ生成回路200の動作 このような前提のもとで、まず、副走査データ生成回路
200の動作について説明する。第7図の副走査方向加算
器210に入力された階調初期値G0は、データセレクタ212
に、そのB入力として与えられる。画像記録用の画像デ
ータとしてMビット信号を用いることに対応して、この
階調初期値G0もMビットで構成されている。また、上記
データセレクタ212におけるセレクト信号としては、第
2図の操作盤23に設けられたスタートスイッチ(図示せ
ず)の押下によって第2図の制御回路21から与えられる
記録開始信号STが使用される。そして、記録開始信号ST
が与えられると、データセレクタ212はそのB入力すな
わち階調初期値G0を選択して、これをラッチ回路213に
出力する。このラッチ回路213は、入力されたデータを
ラッチして加算器211のA入力に与える。この加算器211
のB入力には、副走査方向Yに沿って階調を順次上げて
行くときや、副走査方向Yについては階調変化を生じさ
せないときには、 “00…00"(Mビット) が与えられる。また、副走査方向Yに沿って階調を順次
下げて行くときには、 “11…11"(Nビット) がB入力に与えられる。したがって、ここで考えている
ような、主走査方向Xのみに階調変化を与える場合に
は、加算器211のB入力は“00…00"である。
(A-3e) Operation of Sub-scanning Data Generation Circuit 200 Under such a premise, first, the sub-scanning data generation circuit
The operation of 200 will be described. The gradation initial value G 0 input to the sub-scanning direction adder 210 in FIG.
, As its B input. Corresponding to the use of an M-bit signal as image data for image recording, this gradation initial value G 0 is also composed of M bits. As the select signal in the data selector 212, the recording start signal ST given from the control circuit 21 in FIG. 2 when the start switch (not shown) provided in the operation panel 23 in FIG. 2 is pressed is used. It Then, the recording start signal ST
Is given, the data selector 212 selects its B input, that is, the gradation initial value G 0 , and outputs it to the latch circuit 213. The latch circuit 213 latches the input data and gives it to the A input of the adder 211. This adder 211
B input of "00 ... 00" (M bits) is given when the gradation is successively increased along the sub-scanning direction Y or when the gradation is not changed in the sub-scanning direction Y. When the gradation is sequentially lowered along the sub-scanning direction Y, "11 ... 11" (N bits) is given to the B input. Therefore, when the gradation change is given only in the main scanning direction X as considered here, the B input of the adder 211 is "00 ... 00".

この加算器211は、他方の加算器214からのキャリー信号
CR2を考慮した上で、そのA入力とB入力とを加算し
て、その加算結果をデータセレクタ212のA入力に与え
る。動作開始後には記録開始信号STは不活性レベルを維
持し、それによって、データセレクタ22はそのA入力を
選択して出力する。この出力はラッチ回路213によって
新たにラッチされる。
This adder 211 is a carry signal from the other adder 214.
After considering CR 2 , the A input and the B input are added, and the addition result is given to the A input of the data selector 212. After the operation starts, the recording start signal ST maintains the inactive level, whereby the data selector 22 selects and outputs its A input. This output is newly latched by the latch circuit 213.

このようにして、階調初期値G0には、加算器211のB入
力と、他方の加算器214からのキャリー信号CR2とが繰返
して加算されて行く。その繰返し周期はラッチ回路213
のラッチタイミングによって定まるが、このラッチタイ
ミングを決定するラッチ信号としては主走査開始クロッ
クCKYが用いられている。このため、上記繰返し動作
は、1回の主走査につき1回だけ行なわれることにな
る。
In this way, the B input of the adder 211 and the carry signal CR 2 from the other adder 214 are repeatedly added to the gradation initial value G 0 . The repetition cycle is the latch circuit 213.
The main scanning start clock CKY is used as a latch signal for determining the latch timing. Therefore, the repetitive operation is performed only once for each main scan.

一方、加算器214のB入力には、副走査方向変化量gY
与えられている。この加算器214は、このB入力と、ラ
ッチ回路216から与えられたA入力とを加算し、その加
算結果をデータセレクタ215のA入力に与える。ただ
し、加算によって桁上げが生じた場合には、前述したよ
うに、キャリー信号CR2を加算器211に与えるようになっ
ている。
On the other hand, the B input of the adder 214 is supplied with the sub scanning direction change amount g Y. The adder 214 adds the B input and the A input given from the latch circuit 216, and gives the addition result to the A input of the data selector 215. However, when carry occurs due to addition, carry signal CR 2 is applied to adder 211 as described above.

データセレクタ215のB入力には、常に、 “00…00"(Nビット) が与えられている。そして、セレクタ信号としての記録
開始信号STが与えられたときには、このB入力を選択
し、他の場合にはそのA入力を選択する。このようにし
て選択されたデータはラッチ回路216でラッチされた後
に、加算器214のA入力に与えられる。このような繰返
しの周期は、ラッチ回路216のラッチ信号としての主走
査開始クロックCKYで決定される。
To the B input of the data selector 215, "00 ... 00" (N bits) is always given. Then, when the recording start signal ST as the selector signal is given, the B input is selected, and in other cases, the A input is selected. The data selected in this way is latched by the latch circuit 216 and then applied to the A input of the adder 214. The cycle of such repetition is determined by the main scanning start clock CKY as the latch signal of the latch circuit 216.

すなわち、動作開始時点ではデータセレクタ215のB入
力が取込まれて、この繰返しループが初期化されるとと
もに、主走査が1回終るごとに、Nビットの副走査方向
変化量gYが順次加算されて行くわけである。そして、加
算器214に桁上げが生じた時には、キャリー信号CR2によ
って、この桁上げが整数部IYへ反映される。また、ラッ
チ回路216の出力は小数部DYとして出力される。
That is, at the start of the operation, the B input of the data selector 215 is taken in, the repetitive loop is initialized, and the N-bit sub-scanning direction change amount g Y is sequentially added every time main scanning is completed. It will be done. Then, when a carry occurs in the adder 214, this carry is reflected in the integer part I Y by the carry signal CR 2 . The output of the latch circuit 216 is output as the decimal part D Y.

以上をまとめると、次のように説明することができる。
つまり、この副走査方向加算器210は、まず、第9図
(a)に示すように、動作開始時において階調初期値G0
を整数部IYの値として取込む。このときには、小数部DY
は“0"に初期化されている。次の主走査サイクルでは、
副走査変化量gYが小数部DYに加算されてDY=gYとなる
(第9図(b))。その次の主走査サイクルでは、副走
査変化量gYが小数部DYにさらに加算されて、DY=2gY
なる(第9図(c))。ただし、2gY≧1のときには桁
上げが生じて、整数部IYが(G0+1.)になり、小数部DY
は(2gY−1.)となる。以下、このような動作が繰返さ
れる。ただし、ここで考えている主走査方向傾斜網の場
合には、gY=0であるため、副走査が進行しても小数部
DYは“0"のままであり、整数部IYはG0のままである。
The above can be summarized as follows.
That is, the sub-scanning direction adder 210, first, as shown in FIG. 9 (a), the gradation initial value G 0 in the start of operation
Is taken as the value of the integer part I Y. At this time, the decimal part D Y
Is initialized to "0". In the next main scan cycle,
The sub-scanning change amount g Y is added to the fractional part D Y to obtain D Y = g Y (FIG. 9 (b)). In the next main scanning cycle, the sub-scanning variation amount g Y is further added to the fractional part D Y , resulting in D Y = 2g Y (FIG. 9 (c)). However, when 2g Y ≧ 1, carry occurs, the integer part I Y becomes (G 0 +1.), And the decimal part D Y
Becomes (2g Y −1.). Hereinafter, such an operation is repeated. However, in the case of the slanted net in the main scanning direction considered here, g Y = 0, so even if sub-scanning proceeds, the fractional part
D Y remains “0” and the integer part I Y remains G 0 .

第10A図は、gY≠0の場合(実例は後述する)について
前述した動作を別の観点から示した図である。この図か
らもわかるように、各画素を主走査座標xと副走査座標
yとによってP(x,y)のように表示したとき、各主走
査線上の最初の画素P(1,1),P(1,2),…に関する小
数部DYは、走査線ごとにその値が副走査変化量gYずつ変
化する。そして、その累算値が“1."に到達するとキャ
リー信号CR2が発生するとともに、小数部DYの値は、 (累算値−1.) へと戻る。ただし、第10A図には小数部DYが“0"へと戻
る場合が示されている。
FIG. 10A is a diagram showing the above-described operation from another viewpoint when g Y ≠ 0 (an actual example will be described later). As can be seen from this figure, when each pixel is displayed as P (x, y) by the main scanning coordinate x and the sub scanning coordinate y, the first pixel P (1,1) on each main scanning line, The value of the fractional part D Y regarding P (1,2), ... Changes by the sub-scanning variation amount g Y for each scanning line. Then, when the accumulated value reaches “1.”, carry signal CR 2 is generated, and the value of the decimal part D Y returns to (accumulated value−1.). However, FIG. 10A shows the case where the decimal part D Y returns to “0”.

一方、整数部IYはキャリー信号CR2を受けるごとに(+
1.)ずつインクリメントして行く。このようにして得ら
れた整数部IYと小数部DYとによって形成される階調デー
タが、後述する「第1の階調データ」を生成する基礎と
なる。
On the other hand, the integral part I Y is each time receiving a carry signal CR 2 (+
1.) increment by one. The gradation data formed by the integer part I Y and the decimal part D Y obtained in this way serves as a basis for generating the “first gradation data” described later.

また、既に説明したように、主走査方向傾斜網の生成動
作の場合はgY=“0"であるため、第10B図に示すように
小数部DYは常に“0"であり、整数部IYは常にG0である。
このため、主走査方向傾斜網の場合には、第3図の副走
査方向加算器210からは、IY=G0,DY=“0"が出力され続
ける。
Further, as already explained, in the case of the generation operation of the slanted net in the main scanning direction, since g Y = "0", the fractional part D Y is always "0" and the integer part as shown in FIG. 10B. I Y is always G 0 .
Therefore, in the case of the slanted net in the main scanning direction, I Y = G 0 , D Y = “0” continues to be output from the sub-scanning direction adder 210 in FIG.

第3図の副走査データ生成回路200内に設けられたデー
タセレクタ230、ラッチ回路240および加算器250によっ
て形成されるループ260は、画素クロックCKXが与えられ
るごとに、上記のようにして副走査方向加算器210から
出力される小数部DYを累算する機能を有する。そして、
その累算結果が、Nビット加算器250の収容可能最大値
よりも1ビット分(2-N)だけ多い値すなわち“1."に到
達すると、この加算器250からはキャリー信号CRYがパル
スとして出力されることになる。このような桁上げが生
ずると加算器250の出力は (累算値−1.) となり、その後、再び累算が始まる。
The loop 260 formed by the data selector 230, the latch circuit 240 and the adder 250 provided in the sub-scanning data generation circuit 200 of FIG. 3 is sub-scanned as described above each time the pixel clock CKX is applied. It has a function of accumulating the fractional part D Y output from the direction adder 210. And
When the accumulation result reaches a value that is 1 bit (2- N ) larger than the maximum value that can be accommodated by the N-bit adder 250, that is, "1.", the carry signal CRY is output as a pulse from the adder 250. Will be output. When such a carry occurs, the output of the adder 250 becomes (cumulative value −1.), And then the accumulation starts again.

したがって、このループ260は、小数部DYの累算結果が
“1."の倍数(“1."自身も含む)に到達するごとにパル
スを出力する回路としての機能を有する。そして、この
ループ260から出力される「パルス」は、キャリー信号C
RYである。
Therefore, this loop 260 has a function as a circuit that outputs a pulse each time the accumulation result of the fractional part D Y reaches a multiple of “1.” (including “1.” itself). The "pulse" output from this loop 260 is the carry signal C
It is RY.

しかしながら、主走査方向傾斜網の生成動作の場合には
DY=“0"であるため、小数部DYをいくら累算しても、そ
の累算結果が“1."に到達することはない。このため、
この場合には、キャリー信号CRYが発生することはな
い。なお、データセレクタ230には、そのB入力として
乱数発生回路30からの乱数RDが与えられている。この乱
数RDは上記累算の初期値として使用されるが、このよう
な乱数RDを与える理由については後述する。
However, in the case of the generation operation of the inclined net in the main scanning direction,
Since D Y = “0”, no matter how many fractional parts D Y are accumulated, the accumulation result will not reach “1.”. For this reason,
In this case, carry signal CRY does not occur. The data selector 230 is provided with the random number RD from the random number generation circuit 30 as its B input. This random number RD is used as the initial value of the above accumulation, and the reason for giving such a random number RD will be described later.

(A−3f)主走査データ生成回路100の動作 一方、副走査方向加算器210から与えられた整数部I
Yは、主走査方向データ生成回路100内の走査方向加算器
110に、各走査線ごとの初期値として与えられる。この
主走査方向加算器110は、既に説明したように第6図の
ような構成を有している。そして、その機能は第7図の
副走査方向加算器210の機能とほぼ等しく、異なるのは
データ内容と動作タイミングだけである。このため、第
6図の主走査方向加算器110は、次のような動作を行な
うことになる。
(A-3f) Operation of Main Scan Data Generation Circuit 100 On the other hand, the integer part I supplied from the sub scan direction adder 210
Y is a scanning direction adder in the main scanning direction data generation circuit 100
At 110, it is provided as an initial value for each scan line. The main scanning direction adder 110 has the configuration as shown in FIG. 6 as already described. The function thereof is substantially the same as the function of the sub-scanning direction adder 210 in FIG. 7, and the only difference is the data content and the operation timing. For this reason, the main scanning direction adder 110 of FIG. 6 performs the following operation.

まず、加算器114,データセレクタ115およびラッチ回路1
16から形成されるループは、主走査開始クロックCKYが
データセレクタ115のセレクト信号として与えられるこ
とによって、“0"(Nビット)に初期化される。その
後、このループは、主走査方向変化量gXを画素単位で初
期値へ順次加算して行く。そして、Nビット加算器114
に桁上げが生ずると、この加算器114がキャリー信号CR1
を発生し、このキャリー信号CR1を他方の加算器111に出
力する。
First, the adder 114, the data selector 115, and the latch circuit 1
The loop formed by 16 is initialized to “0” (N bits) when the main scanning start clock CKY is given as the select signal of the data selector 115. After that, this loop sequentially adds the main scanning direction change amount g X to the initial value pixel by pixel. Then, the N-bit adder 114
When a carry occurs in the carry signal CR 1
And outputs the carry signal CR 1 to the other adder 111.

一方、加算器111,データセレクタ112およびラッチ回路1
13から形成された他のループは、副走査データ生成回路
200から与えられる整数部IYを1回の主走査の初期値と
して取込む。そして画素クロックCKXに同期してこのル
ープ内で整数部IXを循環させ、キャリー信号CR1が与え
られたときには整数部IXを(+1.)だけインクリメント
させる。ただし、加算器111のB入力にはALL“0"が与え
られている。
Meanwhile, the adder 111, the data selector 112, and the latch circuit 1
The other loop formed from 13 is the sub-scanning data generation circuit.
The integer part I Y given from 200 is taken in as the initial value for one main scan. Then, the integer part I X is circulated in this loop in synchronization with the pixel clock CKX, and when the carry signal CR 1 is given, the integer part I X is incremented by (+1.). However, ALL "0" is given to the B input of the adder 111.

したがって、この主走査方向加算器110から出力される
整数部IXおよび小数部DXは、主走査方向Xに沿って、第
11A図に示したように変化することになる。この整数部I
Xと小数部DXとから形成される画素ごとの階調データ
が、この実施例における「第1の階調データ」である。
なお、前述したように、主走査方向傾斜網の生成動作の
場合には、副走査が進んでも副走査方向Yについての整
数部IYは変化しない。このため、第11A図に示す変化は
各主走査線に共通の変化となる。
Therefore, the integer part I X and the fractional part D X output from the main scanning direction adder 110 are
It will change as shown in Fig. 11A. This integer part I
The gradation data for each pixel formed from X and the fractional part D X is the “first gradation data” in this embodiment.
Note that, as described above, in the case of the generation operation of the slanted net in the main scanning direction, the integer part I Y in the sub scanning direction Y does not change even if the sub scanning proceeds. Therefore, the change shown in FIG. 11A is common to each main scanning line.

このようにして得られた小数部DXは第3図の加算器150
に与えられる。そして、データセレクタ130,ラッチ回路
140および加算器150によって形成されるループ160によ
って、この小数部DXは画素クロックCKXに同期して累算
される。この累算の初期値としては、乱数発生器30から
与えられるNビットの乱数RDが使用される。このような
乱数RDを累算初期値として使用することによる効果は後
述することとし、当面は、累算初期値は“0"であるもの
として説明を進める。
The fractional part D X thus obtained is the adder 150 of FIG.
Given to. Then, the data selector 130, the latch circuit
By the loop 160 formed by 140 and the adder 150, this fractional part D X is accumulated in synchronization with the pixel clock CKX. An N-bit random number RD given from the random number generator 30 is used as the initial value of this accumulation. The effect of using such a random number RD as the accumulation initial value will be described later, and for the time being, the explanation will be given assuming that the accumulation initial value is “0”.

第11A図に示したように、主走査方向Xに沿って小数部D
Xは、 0,gX,2gX,3gX,… のように変化する。このため、この小数部DXを主走査方
向Xに沿って順次累算すれば、その累算値FXは、第12図
(a)に示すように、当初は順次増加して行く。そし
て、その累算値FXが“1."に到達すると桁上げが生じ、
第3図の加算器150からキャリー信号CRXがパルスとして
出力されるとともに、次の画素についての累算値F
Xiは、 FXi=FX(i-1)+DXi−1. …(1) になる。ただし、FX(i-1)およびDXiは次のように定義さ
れる。
As shown in FIG. 11A, the fractional part D along the main scanning direction X
X changes like 0, g X , 2g X , 3g X , .... For this reason, if this fractional part D X is sequentially accumulated along the main scanning direction X, the accumulated value F X will initially increase sequentially as shown in FIG. 12 (a). Then, when the accumulated value F X reaches “1.”, carry occurs,
The carry signal CRX is output as a pulse from the adder 150 shown in FIG. 3, and the accumulated value F for the next pixel is calculated.
Xi becomes F Xi = F X (i-1) + D Xi −1 .... (1). However, F X (i-1) and D Xi are defined as follows.

FX(i-1):桁上げが発生する寸前の累積値 DXi:桁上げが生じた画素についての小数部DXの値 したがって、このような動作を繰返すことによって、第
12図(b)に示すような、キャリー信号CRXの連鎖から
なるパルス列PTが生成される。第12図(b)からわかる
ように、パルス列PTのパルス間隔は次第に減少して行
く。それは、累算されるべき小数部DXの値が順次増大し
て行くため、主走査の信号に伴って、累算値FXが“1."
に到達するまでの間隔が次第に狭くなるためである。
F X (i-1) : Cumulative value just before carry occurs D Xi : Value of fractional part D X of the pixel where carry occurs Therefore, by repeating such operation,
A pulse train PT composed of a chain of carry signals CRX is generated as shown in FIG. As can be seen from FIG. 12 (b), the pulse interval of the pulse train PT gradually decreases. This is because the value of the fractional part D X to be accumulated is sequentially increased, so that the accumulated value F X is “1.” along with the main scanning signal.
This is because the interval until reaching is gradually narrowed.

これを別の観点から図示したものが第13図である。この
うち、第13図(b)には、各画素についての小数部DX
主走査方向Xに沿って順次累算して得られる累算値AX
示されている。ただし、この累算値AXは、上述した累算
値FXと異なって、桁上げを問題にせずに連続した形で描
かれている。また、第13図(a)には基準値としての
“1."の倍数である整数: “1.",“2.",…,"n." を示す数値スケールが描かれている。さらに、累算値AX
がこれらの整数に到達する画素に対応する小数部には斜
線が付されている。
FIG. 13 illustrates this from another point of view. Of these, FIG. 13 (b) shows a cumulative value A X obtained by sequentially accumulating the fractional part D X for each pixel along the main scanning direction X. However, unlike the above-described accumulated value F X , the accumulated value A X is drawn in a continuous form without causing a carry problem. Further, in FIG. 13 (a), a numerical scale showing integers "1.", "2.", ..., "n." Which are multiples of "1." as a reference value is drawn. In addition, the accumulated value A X
The fractional part corresponding to the pixels that reach these integers are shaded.

一方、上述したように、第3図の加算器150では、小数
部DXを順次累算し、累算値が“1."に到達するごとにキ
ャリー信号CRXを発生している。したがって、加算器150
は、第13図(b)中の斜線を付した小数部を有する画素
(「倍数到達画素」)を間接的に特定し、それらの倍数
特定画素に対してキャリー信号CRXを出力する機能を持
っていることになる。
On the other hand, as described above, in the third diagram of the adder 150 sequentially accumulates the fractional part D X, the accumulated value is generated a carry signal CRX each time it reaches the "1". Therefore, the adder 150
Has a function of indirectly identifying pixels having a fractional part with diagonal lines in FIG. 13 (b) (“multiple arrival pixel”) and outputting a carry signal CRX to the multiple specific pixels. Will be.

上述したように、このキャリー信号CRXによって形成さ
れるパルス列PTのパルス間隔は、第13図(c)に示すよ
うに、小数部DXの増大に伴って順次狭くなる。そして、
第11A図に示したように、累算されるべき小数部DX自身
に桁上げが生じると、整数部IXが(+1.)だけインクリ
メントし、小数部DXは“1."よりも小さな値(たとえば
“0")へと戻る。このため、第13図(c)のパルス列PT
の疎密変化は整数部IXが変化されるごとに繰返されるこ
とになる。
As described above, the pulse interval of the pulse train PT formed by the carry signal CRX is gradually narrowed as the fractional part D X is increased, as shown in FIG. 13 (c). And
As shown in FIG. 11A, when a carry occurs in the decimal part D X itself to be accumulated, the integer part I X is incremented by (+1.), And the decimal part D X is larger than “1.”. Go back to a smaller value (eg "0"). Therefore, the pulse train PT of FIG.
The sparse and dense change of will be repeated every time the integer part I X is changed.

以上の状況が第1図(a)〜(d)に示されている。た
だし、この第1図においては図示の便宜上、画素単位の
細かなステップ状変化は破線で省略的に示されている。
この第1図において、整数部IXは初期値IY(=G0)から
ステップ的に変化する(第1図(a))。また、小数部
DXは、画素単位でステップ的に順次細かく変化するとと
もに、整数部IXが変化する位置で、“0"またはその近傍
の値に戻る(第1図(b))。さらに、小数部DXの累算
値FXは細かくステップ的に変化しつつ放物線状に増大
し、“1."に到達するごとに、(1)式で示される値に
戻る(第1図(c))。ただし、この第1図(c)では
その波形の一部分のみが描かれている。また、第1図
(c)において累算値FXが(1)式の値に戻るまでの周
期は、整数部IXの値が変化する位置に向かって順次狭く
なっている。
The above situation is shown in FIGS. 1 (a) to 1 (d). However, in FIG. 1, for convenience of illustration, fine stepwise changes in pixel units are omitted in broken lines.
In FIG. 1, the integer part I X changes stepwise from the initial value I Y (= G 0 ) (FIG. 1 (a)). Also, the decimal part
D X changes finely in a stepwise manner pixel by pixel, and returns to "0" or a value in the vicinity thereof at the position where the integer part I X changes (FIG. 1 (b)). Further, the accumulated value F X of the fraction D X increases finely stepwise changed while parabolic, "1." Each time to reach, return to the value indicated by equation (1) (Figure 1 (C)). However, in FIG. 1 (c), only a part of the waveform is drawn. Further, in FIG. 1 (c), the period until the accumulated value F X returns to the value of the expression (1) is gradually narrowed toward the position where the value of the integer part I X changes.

そして、この累算値FXが(1)式の値に戻る位置では、
第1図(d)のキャリー信号CRXが発生する。そして、
このキャリー信号CRXの発生間隔は、整数部IXが変化す
る位置に向かって順次短くなって行く。整数部IXが変化
した後は、キャリー信号CRXが再び広い時間間隔で発生
するようになり、その後、その発生間隔は順次狭くなっ
て行く。この粗密周期は整数部IXの変化周期△Xに一致
する。
Then, at the position where this accumulated value F X returns to the value of expression (1),
The carry signal CRX shown in FIG. 1 (d) is generated. And
The intervals at which the carry signal CRX is generated gradually decrease toward the position where the integer part I X changes. After the integer part I X has changed, the carry signal C RX is generated again at wide time intervals, and thereafter, the generation intervals thereof are gradually narrowed. This sparse / dense period corresponds to the change period ΔX of the integer part I X.

(A−3g)整数部とキャリー信号(パルス)との合成動
作 このようにして、第3図の主走査方向加算器110からは
第1図(a)の整数部IXが出力され、加算器150からは
第1図(d)のキャリー信号CRXが出力される。これら
のうち、整数部IXは第3図の加算器41のB入力に与えら
れる。また、キャリー信号CRXはOR回路42を通ってキャ
リー信号CRとなる。主走査方向傾斜網の場合には、OR回
路42の他方の入力であるキャリー信号CRYは常に“0"で
あるため、OR回路42の出力であるキャリー信号CRは、加
算器150からのキャリー信号CRXと同一のデータ値を有す
る。そして、このキャリー信号CRは、AND回路43を通っ
て加算器41内のA入力のうち、最下位ビット(LSB)の
入力信号となる。
(A-3g) Combine operation of integer part and carry signal (pulse) In this way, the integer part IX of FIG. 1 (a) is output from the main scanning direction adder 110 of FIG. The carry signal CRX shown in FIG. 1 (d) is output from the container 150. Of these, the integer part I X is given to the B input of the adder 41 of FIG. Further, carry signal CRX passes through OR circuit 42 to become carry signal CR. In the case of the main scanning direction slanted net, the carry signal CRY which is the other input of the OR circuit 42 is always “0”, so the carry signal CR which is the output of the OR circuit 42 is the carry signal from the adder 150. It has the same data value as CRX. Then, the carry signal CR becomes the input signal of the least significant bit (LSB) of the A input in the adder 41 through the AND circuit 43.

上記AND回路43の他方の入力としては、加算器41からの
キャリー信号CR3をインバータ44で反転させた信号が与
えられている。したがって、加算器41で桁上げが生じな
い限り、インバータ44の出力は“1."であり、AND回路43
の出力はキャリー信号CR(=CRX)と同一の値を持つこ
とになる。
As the other input of the AND circuit 43, a signal obtained by inverting the carry signal CR 3 from the adder 41 by the inverter 44 is given. Therefore, unless carry occurs in the adder 41, the output of the inverter 44 is “1.” and the AND circuit 43
Will have the same value as the carry signal CR (= CRX).

このため、加算器41は、整数部IXとキャリー信号CR(=
CRX)とを合成して「第2の階調データ」を生成する機
能を有することになる。その結果、加算器41の加算出力
である画像データSは、第1図(e)に示すような波形
を有することになる。
Therefore, the adder 41 uses the integer part I X and the carry signal CR (=
CRX) is combined with it to have the function of generating “second gradation data”. As a result, the image data S which is the addition output of the adder 41 has a waveform as shown in FIG.

この第1図(e)からわかるように、このようにして得
られた画像データSは、整数部IXに対応するステップ状
信号S0の上に、パルス列PTを乗せた形を有している。そ
して、このパルス列PTにおけるパルス密度は、ステップ
状信号S0のレベルが(+1.)だけ増大する位置に向かっ
て順次増大している。このため、このような画像データ
Sを用いて主走査方向傾斜網の記録を行なうと、巨視的
には階調が連続的に変化しているように視認されること
になる。したがって、このような方法を用いれば、記録
画像におけるトーンジャンプの影響は有効に防止される
ことになる。
As can be seen from FIG. 1 (e), the image data S thus obtained has a form in which the pulse train PT is placed on the stepped signal S 0 corresponding to the integer part I X. There is. Then, the pulse density in the pulse train PT sequentially increases toward the position where the level of the step signal S 0 increases by (+1.). For this reason, when recording in the main scanning direction slanted mesh using such image data S, the gradation is visually recognized as a continuous gradation change macroscopically. Therefore, by using such a method, the effect of tone jump on the recorded image can be effectively prevented.

なお、第3図のキャリー信号CRXの加算によって加算器4
1に桁上げか生じたときには、AND回路43の出力は“0"に
なる。このため、このときには加算器41のA入力は“0"
となり、整数部IXの値がそのまま加算器41の出力Sとな
る。したがって、この場合には第14図(a)に示すよう
な画像データSが得られる。このような構成をとらない
場合には、第14図(b)に示すように、階調表現の上限
値2Mでオーバーフローの影響が生ずることがあるため、
上記のようなAND回路43などを設けておくことが望まし
い。
The adder 4 is added by adding the carry signal CRX in FIG.
When the carry to 1 occurs, the output of the AND circuit 43 becomes "0". Therefore, at this time, the A input of the adder 41 is "0".
And the value of the integer part I X becomes the output S of the adder 41 as it is. Therefore, in this case, the image data S as shown in FIG. 14 (a) is obtained. If such a structure is not adopted, as shown in FIG. 14 (b), the upper limit value 2 M of gradation expression may cause an overflow effect,
It is desirable to provide the AND circuit 43 and the like as described above.

(A−3h)累積初期値としての乱数の意義と乱数発生回
路30の動作 次に、第3図の乱数発生回路30から発生される乱数RDを
累積初期値として使用する理由について説明する。上述
したように、第3図の階調傾斜画像生成回路20を用いる
ことによって、トーンジャンプの影響が有効に防止され
る。ところが、このトーンジャンプの影響を防止するた
めに付加されたパルス列PTは、各主走査線に共通の配列
となっている。
(A-3h) Significance of Random Numbers as Accumulated Initial Value and Operation of Random Number Generating Circuit 30 Next, the reason why the random number RD generated from the random number generating circuit 30 of FIG. 3 is used as the cumulative initial value will be described. As described above, by using the gradation gradient image generation circuit 20 of FIG. 3, the influence of tone jump is effectively prevented. However, the pulse train PT added to prevent the influence of this tone jump has a common arrangement for each main scanning line.

このため、階調を示すために第15図のような模式的な記
号を用いると、上記の方法で得られた画像データは第16
A図のような画素配列となる。この第16A図からわかるよ
うに、この画像では、副走査方向Yに沿って、キャリー
信号CRXから生じたパルスが一直線上に配列してしま
う。すると、これらの直線が視感的に認識される可能性
が残る。これに対処するため、この実施例では、各主走
査線ごとに、小数部DXの累積にあたっての累積初期値を
乱数RDとするのである。
Therefore, if a schematic symbol as shown in FIG. 15 is used to indicate gradation, the image data obtained by the above method will be
The pixel arrangement is as shown in Figure A. As can be seen from FIG. 16A, in this image, the pulses generated from the carry signal CRX are arranged in a straight line along the sub-scanning direction Y. Then, there remains a possibility that these straight lines are visually recognized. In order to cope with this, in this embodiment, a random number RD is used as the cumulative initial value for accumulating the fractional part D X for each main scanning line.

第17図は、第3図の乱数発生回路30の内部構成を示すブ
ロック図である。この第17図において、主走査開始クロ
ックCKYがカウンタ31に与えられると、このカウンタ31
は(+1)だけインクリメントし、そのカウント値をア
ドレスデータとしてROM32に出力する。このROM32には、
一連の乱数がテーブル化されてあらかじめストアされて
いる。そして、指定されたアドレスからひとつの乱数RD
が出力される。
FIG. 17 is a block diagram showing the internal structure of the random number generation circuit 30 of FIG. In FIG. 17, when the main scanning start clock CKY is applied to the counter 31, this counter 31
Increments by (+1) and outputs the count value to the ROM 32 as address data. In this ROM32,
A series of random numbers is tabulated and stored in advance. And one random number RD from the specified address
Is output.

この乱数RDは第3図のデータセレクタ130のB入力とな
っている。そして、主走査開始クロックCKYがデータセ
レクタ130のセレクト信号として与えられたときには、
このB入力が選択されてラッチ回路140に与えられる。
その後、次の主走査が開始されるまでの期間において
は、このデータセレクタ130は、加算器150から与えられ
るA入力を選択して出力する。したがって、上記乱数RD
はひとつの主走査線上では共通の値として使用され、走
査が次の主走査線に移るごとに新たな乱数が発生して使
用されるようになっている。
This random number RD is the B input of the data selector 130 shown in FIG. When the main scanning start clock CKY is given as the select signal of the data selector 130,
This B input is selected and given to the latch circuit 140.
After that, during the period until the start of the next main scan, the data selector 130 selects and outputs the A input given from the adder 150. Therefore, the random number RD
Is used as a common value on one main scanning line, and a new random number is generated and used every time the scanning is moved to the next main scanning line.

このようにして、乱数RDを小数部DXの累算動作の初期値
として使用することによって、キャリー信号CRXの発生
タイミングが各走査線ごとに変化する。このため、第16
B図に示すように、キャリー信号CRXから得られるパルス
が走査線を単位として分散し、それによって副走査方向
Yに沿ってパルスが一直線上に配列することを防止する
ことができる。
In this way, by using the random number RD as the initial value of the accumulation operation of the decimal part D X , the generation timing of the carry signal C RX changes for each scanning line. Therefore, the 16th
As shown in FIG. B, the pulses obtained from the carry signal CRX are dispersed in units of scanning lines, which can prevent the pulses from being arranged in a straight line along the sub-scanning direction Y.

(A−3i)主走査方向Xに沿って階調が減少する傾斜網
の場合 以上では、主走査方向Xに沿って階調が増加する傾斜網
を考えたが、主走査方向Xに沿って階調が減少する傾斜
網の場合には次のようにすればよい。すなわち、まず第
6図の主走査方向加算器110に含まれている加算器111の
B入力を、 “11…11"(Mビット) とする。すると、この加算器111にキャリー信号CR1が与
えられるごとに、整数部IXには上記データ“11…11"が
加算される。
(A-3i) In the case of a slanted net whose gradation decreases along the main scanning direction X In the above, a slanted net whose gradation increases along the main scanning direction X was considered, but along the main scanning direction X In the case of a slanted net whose gradation decreases, the following may be done. That is, first, the B input of the adder 111 included in the main scanning direction adder 110 of FIG. 6 is set to "11 ... 11" (M bits). Then, each time the carry signal CR 1 is given to the adder 111, the data “11 ... 11” is added to the integer part IX .

周知のように、“11…11"(Mビット)を加算すること
と、このデータの2についての補数である“00…01"
(Mビット)を減算することとは等価である。このた
め、キャリー信号CR1が発生していないときには、整数
部IXは(−1.)ずつデクリメントする。逆に、キャリー
信号CR1が発生したときには、 “11…11"+CR1 =“11…11"+“00…01" =“00…00" が成立するため、整数部IXはその寸前の値を維持するこ
とになる。
As is well known, addition of "11 ... 11" (M bits) and "00 ... 01" which is the complement of 2 of this data.
It is equivalent to subtracting (M bits). Therefore, when carry signal CR 1 is not generated, integer part IX is decremented by (−1.). Conversely, when the carry signal CR 1 occurs, "11 ... 11" + CR 1 = "11 ... 11" + "00 ... 01" = "00 ... 00" for is satisfied, the integral part I X is the verge The value will be maintained.

一方、この場合には主走査方向変化量gXとして、主走査
方向Xに沿って減少させたい絶対値の、2についての補
数が与えられる。たとえは、、一画素につき、小数値と
しての“00…01"(Nビット)だけ階調を減少させたい
ときには、 gX=“11…11"(Mビット) とする。そうすると、第6図の加算器114は、実質的
に、画素ごとに“00…01"(Nビット)の減算を行なう
ことになる。その結果、加算器114では次のような演算
が繰返される。
On the other hand, in this case, as the main scanning direction change amount g X , the complement of 2 of the absolute value to be reduced along the main scanning direction X is given. For example, when it is desired to reduce the gradation by "00 ... 01" (N bits) as a decimal value per pixel, g X = "11 ... 11" (M bits). Then, the adder 114 shown in FIG. 6 substantially subtracts "00 ... 01" (N bits) for each pixel. As a result, the adder 114 repeats the following operation.

“00…00"+gX=“11…11" “11…11"+gX=“11…10"+CR1 “11…10"+gX=“11…00"+CR1 … “00…01"+gX=“00…00"+CR1 “00…00"+gX=“11…11" … このため、この例では、2N画素ごとにキャリー信号CR1
を発生しない画素が出現し、その画素において整数部IX
がデクリメントしてゆく。
"00 ... 00" + g X = "11 ... 11""11 ... 11" + g X = "11 ... 10" + CR 1 "11 ... 10" + g X = "11 ... 00" + CR 1 ... "00 ... 01" + g X = "00 ... 00" + CR 1 "00 ... 00" + g X = "11 ... 11" ... Thus, in this example, a carry signal CR 1 every 2 N pixels
A pixel that does not generate appears and the integer part I X
Decrements.

整数部IXおよび小数部DXがこのように変化することによ
って、第1図に相当する波形図は第18図のようになる。
したがって、このような階調減少網の場合にも、トーン
ジャンプの影響が有効に防止されることになる。
By changing the integer part I X and the fractional part D X in this way, the waveform diagram corresponding to FIG. 1 becomes as shown in FIG.
Therefore, even in the case of such a gradation reduction network, the effect of tone jump can be effectively prevented.

(A−4)副走査方向傾斜網の生成 次に、副走査方向傾斜網の生成動作を説明する。副走査
方向傾斜網の生成を行なう場合には、主走査方向変化量
gXとして“0"が与えられ、また、副走査方向変化量gY
しては階調変化率に応じた値(≠“0")が与えられる。
すると、第7図の副走査方向加算器210内に設けられた
加算器214、データセレクタ215およびラッチ回路216か
らなるループは、主走査開始クロックCKYに同期して、
この副走査方向変化量gYの累算を行なう。
(A-4) Generation of Tilt Net in Sub-scanning Direction Next, the operation of generating the tilt net in the sub-scanning direction will be described. When generating a slanted net in the sub-scanning direction, change amount in the main scanning direction
“0” is given as g X , and a value (≠ “0”) according to the gradation change rate is given as the sub scanning direction change amount g Y.
Then, the loop formed by the adder 214, the data selector 215, and the latch circuit 216 provided in the sub-scanning direction adder 210 of FIG. 7 synchronizes with the main scanning start clock CKY,
The amount of change g Y in the sub-scanning direction is accumulated.

その結果、小数部DYは、副走査の進行につれて、 0,gY,2gY,3gY,… のように変化する。また、加算器214に桁上げが生じた
際には他方の加算器211の出力が(+1.)または(−
1.)だけ変化し、それによって整数部IYもインクリメン
トまたはデクリメントする。したがって、副走査方向Y
に沿って階調が増加する傾斜網の場合には、各主走査線
の最初の画素についての整数部IYおよび小数部DYは、既
述した、第10A図のように変化する。そして、この小数
部DYは、順次、第3図の加算器250へ与えられる。
As a result, the fractional part D Y changes as 0, g Y , 2g Y , 3g Y , ... As the sub-scanning progresses. When a carry occurs in the adder 214, the output of the other adder 211 is (+1.) Or (-
1.) changes, and the integer part I Y is also incremented or decremented accordingly. Therefore, the sub-scanning direction Y
In the case of a slanted net whose gradation increases along with, the integer part I Y and the fractional part D Y for the first pixel of each main scanning line change as shown in FIG. 10A. Then, the fractional part D Y is sequentially given to the adder 250 of FIG.

この加算器250は、データセレクタ230およびラッチ回路
240を介して、小数部DYの累算を行なう。ところが、こ
の累算処理のタイミングは、ラッチ回路240に与えられ
る画素クロックCKXによって決定されている。このた
め、加算器250に入力される小数部DY自身は走査が次の
主走査線に移るまで一定値を保つ一方で、この小数部DY
の累算値FYは画素ごとに変化することになる。したがっ
て、各走査線ごとの小数部DYは第19図(a)に示すよう
に変化し、画素ごとの累積値FYは第19図(b)に示すよ
うに変化する。ただし、第19図(b)において、RD0,RD
1,…は、各走査線ごとに第3図の乱数発生回路30から与
えられる乱数である。
The adder 250 includes a data selector 230 and a latch circuit.
Accumulate the fractional part D Y via 240. However, the timing of this accumulation processing is determined by the pixel clock CKX given to the latch circuit 240. Therefore, the fractional part D Y itself input to the adder 250 keeps a constant value until the scanning moves to the next main scanning line, while the fractional part D Y
The accumulated value F Y of will vary from pixel to pixel. Therefore, the fractional part D Y for each scanning line changes as shown in FIG. 19 (a), and the cumulative value F Y for each pixel changes as shown in FIG. 19 (b). However, in FIG. 19 (b), RD 0 , RD
1 , ... Are random numbers given from the random number generation circuit 30 of FIG. 3 for each scanning line.

一方、整数部IYを初期値として受取った第6図の主走査
方向加算器110では、この整数部IYの値を、第6図のデ
ータセレクタ112を介してラッチ回路113でラッチする。
ところが、第6図の加算器114に与えられる主走査方向
変化量gXは“0"であるため、小数部DXは常に“0"であ
る。このため、加算器114からキャリー信号CR1が発生す
ることはなく、その結果、整数部IXも、初期値IYの値を
維持する。したがって、第3図の加算器150に入力され
る小数部DXは常に“0"であり、加算器41に入力される整
数部IXはIYに一致する。また、DX=“0"であるため、第
3図の累算ループ160の累算値FXも、初期値として与え
られた乱数RDの値を維持する。その結果、キャリー信号
CRXが発生することはなく、OR回路42の出力であるキャ
リー信号CRは、副走査データ生成回路200からのキャリ
ー信号CRYと同一の波形を有することになる。
On the other hand, in the main scanning direction adder 110 of FIG. 6 which receives the integer part I Y as an initial value, the value of this integer part I Y is latched by the latch circuit 113 via the data selector 112 of FIG.
However, since the main scanning direction change amount g X given to the adder 114 in FIG. 6 is “0”, the fractional part D X is always “0”. Therefore, the carry signal CR 1 is not generated from the adder 114, and as a result, the integer part I X also maintains the value of the initial value I Y. Therefore, the decimal part D X input to the adder 150 of FIG. 3 is always “0”, and the integer part I X input to the adder 41 matches I Y. Further, since D X = “0”, the accumulated value F X of the accumulation loop 160 in FIG. 3 also maintains the value of the random number RD given as the initial value. As a result, carry signal
The CRX is not generated, and the carry signal CR that is the output of the OR circuit 42 has the same waveform as the carry signal CRY from the sub-scanning data generation circuit 200.

第3図の加算器250からOR回路42に与えられるキャリー
信号CRYの発生原理については既に(A−3e)の項で説
明した通りである。ところが、この加算器250を含む累
算ループ260は副走査方向データ生成回路200内に含まれ
ているにもかかわらず、画素クロックCKXに従って累算
動作を繰返すようになっている。このため、キャリー信
号CRYは、主走査方向傾斜網生成時における「主走査方
向X」を単に「副走査方向Y」に読替えて得られるパル
ス列とは異なった規則で配列したパルス列を形成するこ
とになる。以下、これについて詳述する。
The generation principle of the carry signal CRY given from the adder 250 of FIG. 3 to the OR circuit 42 has been already described in the section (A-3e). However, although the accumulation loop 260 including the adder 250 is included in the sub-scanning direction data generation circuit 200, the accumulation operation is repeated according to the pixel clock CKX. Therefore, the carry signal CRY forms a pulse train that is arranged according to a different rule from the pulse train obtained by simply replacing the "main scanning direction X" with the "sub scanning direction Y" when the main scanning direction tilted mesh is generated. Become. Hereinafter, this will be described in detail.

まず、最初の主走査線上においては、既に説明した第19
図(b)に示したように、主走査線上の位置Xにかかわ
らず、累算値FYはRD0(<1.)である。このため、キャ
リー信号CRYが発生することはない。次に、2番目の主
走査線上では、同じく第19図(b)に示したように、累
算値FYは、RD1を初期値として、画素ごとにDY(=gY
ずつ増加する。そして、この累算値FYが“1."に到達す
るごとにキャリー信号CRYが発生する。この様子が第20A
図に示されている。ただし、この第20A図においては、
キャリー信号CRYが発生する画素を「×」印によって示
している。また、説明の便宜上、gY=2-4とし、乱数RD
は無視してある。
First, on the first main scanning line,
As shown in FIG. 6B, the accumulated value F Y is RD 0 (<1.) Regardless of the position X on the main scanning line. Therefore, carry signal CRY does not occur. Next, on the second main scanning line, as shown in FIG. 19 (b), the accumulated value F Y is D Y (= g Y ) for each pixel with RD 1 as the initial value.
It increases in steps. Then, carry signal CRY is generated each time this accumulated value F Y reaches “1.”. This is 20A
As shown in the figure. However, in FIG. 20A,
Pixels in which the carry signal CRY is generated are indicated by "x" marks. Also, for convenience of explanation, g Y = 2 −4 and random number RD
Is ignored.

第3番目の主走査線(第20A図のY=2の位置の直線)
上ではDY=2gYとなるため、累算値FYは主走査方向Xに
沿った一画素ごとに、 2×2-4=2-3 ずつ増加する。このため、この主走査線上では、1/2-3
=8画素ごとにFX=“1."となり、第20A図に「×」印で
示したような各画素でキャリー信号CRYが発生する。他
の主走査線についても同様である。
Third main scan line (straight line at position Y = 2 in Fig. 20A)
Since D Y = 2g Y in the above, the accumulated value F Y increases by 2 × 2 -4 = 2 -3 for each pixel along the main scanning direction X. Therefore, on this main scan line, 1/2 -3
= F X = “1.” For every 8 pixels, and the carry signal CRY is generated at each pixel as shown by the “x” mark in FIG. 20A. The same applies to the other main scanning lines.

この第20A図からもわかるように、副走査方向Yに沿っ
たキャリー信号CRYの配列は、順次その間隔が狭くなっ
ているとは限らず、部分的な疎密を含んだ配列となって
いる。しかしながら、これは微視的な観察を行なった場
合であって、巨視的に見れば順次パルス間隔が狭くなっ
ている。このため、このようなキャリー信号CRYを、第
3図の加算器41において整数部IYと合成したときには、
副走査方向Yに沿って、たとえば第21図に示す画像デー
タSが得られることになる。したがって、この場合に
も、トーンジャンプの影響が有効に除去されることにな
る。
As can be seen from FIG. 20A, the array of carry signals CRY along the sub-scanning direction Y does not necessarily have a narrower interval in sequence, but an array including partial density. However, this is a case where microscopic observation is performed, and when viewed macroscopically, the pulse intervals are sequentially narrowed. Therefore, when such a carry signal CRY is combined with the integer part I Y in the adder 41 of FIG. 3,
The image data S shown in FIG. 21, for example, is obtained along the sub-scanning direction Y. Therefore, also in this case, the effect of the tone jump is effectively removed.

第20A図からわかるように、この場合にはキャリー信号C
RYによるパルスが主走査方向Xに平行な方向に整列して
しまうということはない。しかしながら、所定の規則に
従って累算値FYを求めている関係上、第20A図中に示す
ように、副走査方向Yに沿った直線l1や斜め方向の直線
l2上にキャリー信号CRYによるパルスが並ぶ可能性は存
在する。このため、この実施例においては、第3図の乱
数発生回路30からの乱数RDを、データセレクタ230を介
して累算ループ260の中に主走査ごとの初期値として取
込み、それによってキャリー信号CRYの分布にランダム
性を付与している。その結果、第20B図のような画像デ
ータを得ることができる。
As can be seen from Figure 20A, in this case the carry signal C
The pulse due to RY is not aligned in the direction parallel to the main scanning direction X. However, because the accumulated value F Y is obtained according to the predetermined rule, as shown in FIG. 20A, a straight line l 1 along the sub-scanning direction Y or a diagonal straight line
There is a possibility that pulses due to carry signal CRY will line up on l 2 . Therefore, in this embodiment, the random number RD from the random number generation circuit 30 of FIG. 3 is taken into the accumulation loop 260 via the data selector 230 as an initial value for each main scan, and thereby the carry signal CRY. Randomness is added to the distribution of. As a result, image data as shown in FIG. 20B can be obtained.

なお、第3図のラッチ回路240に主走査開始クロックCKY
を与えるような変形を施せば、第1図に示した波形と同
一の波形が副走査方向Yに沿って得られることになる。
このような変形を施しても特に問題は生じない。
The main scanning start clock CKY is input to the latch circuit 240 in FIG.
By applying such a modification as described above, the same waveform as that shown in FIG. 1 can be obtained in the sub-scanning direction Y.
Even if such deformation is applied, no particular problem occurs.

(A−4)任意方向の傾斜網の生成 次に、走査方向に平行な方向ではなく、任意方向P(第
4図)に階調変化方向を有する傾斜網の生成について説
明する。この場合には、主走査方向変化量gXおよび副走
査方向変化量gYの双方に、階調変化方向に応じた有限値
(gX≠0,gY≠0)を与える。すると、副走査方向Yに沿
って整数部IYが変化するとともに、この整数部IYを各主
走査線における初期値として、主走査方向についての整
数部IXが変化する。また、2種類のキャリー信号CRX,CR
Yが独立に発生する。そして、これらのキャリー信号CR
X,CRYの双方を含むキャリー信号CRが第3図のOR回路42
で発生し、このキャリー信号CRが整数部IXに合成され
て、画像データSとなる。
(A-4) Generation of Slanted Net in Arbitrary Direction Next, generation of a slanted net having a gradation change direction in an arbitrary direction P (FIG. 4) instead of a direction parallel to the scanning direction will be described. In this case, finite values (g X ≠ 0, g Y ≠ 0) according to the gradation changing direction are given to both the main scanning direction changing amount g X and the sub scanning direction changing amount g Y. Then, the integer part I Y changes along the sub-scanning direction Y, and the integer part I X in the main scanning direction changes with the integer part I Y as an initial value in each main scanning line. In addition, two types of carry signals CRX, CR
Y occurs independently. And these carry signals CR
The carry signal CR including both X and CRY is the OR circuit 42 of FIG.
The carry signal CR is combined with the integer part I X to form the image data S.

このため、第22図に模式立体図として示すように、階調
のジャンプ点Jの段差の下側の平網部分FDで密度が高
く、段差の上側の平網部分FUで密度が低いパルス郡PGを
する画像データSが得られることになる。これによっ
て、トーンジャンプは巨視的に除去され、滑かな空間的
階調変化を持った傾斜網が与えられることになる。
For this reason, as shown in FIG. 22 as a schematic three-dimensional diagram, a pulse group having a high density in the flat mesh portion FD below the step of the gradation jump point J and a low density in the flat mesh portion FU above the step. The image data S for PG is obtained. As a result, the tone jump is macroscopically removed, and a slanted net having a smooth spatial gradation change is provided.

B.第2の実施例 (B−1)第2の実施例の概略構成 第23図は、この発明の第2の実施例である画像データ生
成装置を組込んだ製版用スキャナの部分概略図である。
この第23図に描かれていない部分の構成は第2図に示し
たスキャナと同一であり、その説明は省略する。
B. Second Embodiment (B-1) Schematic Configuration of Second Embodiment FIG. 23 is a partial schematic view of a plate-making scanner incorporating an image data generating device according to a second embodiment of the present invention. Is.
The structure of the part not shown in FIG. 23 is the same as that of the scanner shown in FIG. 2, and the description thereof will be omitted.

第23図において、このスキャナは、次の点で第1の実施
例と異なる構成を有する。まずその第1は、この発明に
従って画像データ生成装置を、階調傾斜画像生成回路で
はなく、原画2から読取って得られる画像データを入力
データとするトーンジャンプ除去回路50として構成して
いることである。つまり、第1の実施例では記録すべき
画像(傾斜網)をそれ自身の内部で発生する回路を対象
としていたが、第2の実施例では外部から与えられた画
像を記録するにあたって、そのトーンジャンプを除去し
ようとしているのである。
In FIG. 23, this scanner has a configuration different from that of the first embodiment in the following points. First, the image data generating device according to the present invention is configured not as a gradation gradient image generating circuit but as a tone jump removing circuit 50 whose input data is image data obtained by reading from the original image 2. is there. That is, in the first embodiment, the circuit for generating the image (gradient net) to be recorded inside itself is targeted, but in the second embodiment, when the image given from the outside is recorded, the tone I'm trying to eliminate the jump.

したがって、第23図のトーンジャンプ除去回路50にはA/
D変換器60によってA/D変換された画像入力が与えられ
る。また、このトーンジャンプ除去回路50の出力は画像
処理回路17で階調変換などの処理を受け、その後、網点
発生器18に出力される。なお、第23図では、第2図の階
調傾斜画像生成回路20が描かれていないが、これは第2
の実施例の説明には不要であるためである。したがっ
て、階調傾斜画像生成回路20を第2図と同様の態様で第
23図の装置に組込むことは何ら差しつかえない。
Therefore, the tone jump elimination circuit 50 of FIG.
The A / D converted image input is provided by the D converter 60. The output of the tone jump removing circuit 50 is subjected to processing such as gradation conversion in the image processing circuit 17, and then output to the halftone dot generator 18. It should be noted that although FIG. 23 does not show the gradation gradient image generation circuit 20 of FIG.
This is because it is unnecessary for the description of the embodiment. Therefore, the gradation gradient image generation circuit 20 is set in the same manner as in FIG.
It can be installed in the device shown in Fig. 23 at all.

第23図の装置の第2の特徴は、A/D変換器60として、
(M+N)ビットのデジタルデータが得られるような高
分解能A/D変換器を使用することである。ただし、M
は、第1の実施例と同様に、出力すべき画像データのデ
ータ長であり、Nは後述する小数部のデータ長である。
これは、この第2の実施例では、後述するように、入力
画像データから整数部と小数部とを取出すようにしてい
るためである。
The second characteristic of the device shown in FIG. 23 is that the A / D converter 60 is
This is to use a high resolution A / D converter that can obtain (M + N) bits of digital data. However, M
Is the data length of the image data to be output, as in the first embodiment, and N is the data length of the decimal part described later.
This is because in the second embodiment, as will be described later, the integer part and the decimal part are extracted from the input image data.

(B−2)トーンジャンプ除去回路50の構成と動作 第24図は上記トーンジャンプ除去回路50の内部構成図で
ある。まず、この回路の構成について説明する。同図に
おいて、A/D変換器60で(M+N)ビットのデジタルデ
ータに変換された入力画像データのうち、上位Mビット
は整数部IとしてMビット加算器51のA入力に与えられ
る。一方、下位Nビットは小数部Dとして、Nビット加
算器54のB入力に与えられる。
(B-2) Configuration and Operation of Tone Jump Removal Circuit 50 FIG. 24 is an internal configuration diagram of the tone jump removal circuit 50. First, the configuration of this circuit will be described. In the figure, of the input image data converted to (M + N) -bit digital data by the A / D converter 60, the upper M bits are given to the A input of the M-bit adder 51 as an integer part I. On the other hand, the lower N bits are given to the B input of the N-bit adder 54 as the fractional part D.

この加算器54は、データセレクタ52およびラッチ回路53
とともに、小数部Dを画素ごとに順次累算するための累
算ループ57を形成している。そして、データセレクタ52
は主走査開始クロックCKYが入力した時点では、初期値
として、そのB入力である“0"(Nビット)を選択し、
他の期間では加算器54の出力を選択してラッチ回路53に
出力するようになっている。このため、この累算ループ
57は、第3図中の累算ループ160と同様の機能を果すこ
とになる。ただし、第24図の回路では、乱数は使用して
いない。乱数を用いる場合は乱数発生回路出力をデータ
セレクタ52のB入力に入れればよい。
The adder 54 includes a data selector 52 and a latch circuit 53.
At the same time, an accumulation loop 57 for sequentially accumulating the fractional part D for each pixel is formed. And the data selector 52
When the main scan start clock CKY is input, the B input “0” (N bit) is selected as an initial value,
In other periods, the output of the adder 54 is selected and output to the latch circuit 53. Therefore, this accumulation loop
57 will perform the same function as the accumulation loop 160 in FIG. However, the circuit of FIG. 24 does not use random numbers. When using a random number, the output of the random number generation circuit may be input to the B input of the data selector 52.

そして、第24図の加算器54に桁上げが生じた場合にはキ
ャリー信号CR3が発生し、このキャリー信号CR3は、AND
回路56を介して他方の加算器51のB入力のうちの最下位
ビットに与えられる。なお、上記AND回路56と、加算器5
1のキャリー信号CR4を反転してAND回路56に与えるイン
バータ55とは、第1の実施例と同様に、加算器51のオー
バフローを防止するために設けられている。
Then, when a carry occurs in the adder 54 of FIG. 24, a carry signal CR 3 is generated, and this carry signal CR 3 is ANDed.
It is given to the least significant bit of the B inputs of the other adder 51 via the circuit 56. The AND circuit 56 and the adder 5
The inverter 55 that inverts the carry signal CR 4 of 1 and supplies it to the AND circuit 56 is provided to prevent the overflow of the adder 51, as in the first embodiment.

次に、第25図(a)に示した入力画像データRがA/D変
換器60に与えられた場合を例にとって、このトーンジャ
ンプ除去回路50の動作を説明する。ただし、第25図の横
軸tは、時刻またはそれに応じた走査距離を示す。
Next, the operation of the tone jump removing circuit 50 will be described by taking the case where the input image data R shown in FIG. 25 (a) is given to the A / D converter 60 as an example. However, the horizontal axis t in FIG. 25 indicates the time or the scanning distance corresponding thereto.

まず、A/D変換器60で(M+N)ビットのデジタルデー
タに変換された入力画像データRは、第25図(b)に示
すようなMビットの整数部IとNビットの小数部Dとに
分離される。ただし、この第25図(b)においては、斜
線部が小数部Dに相当する。
First, the input image data R converted into (M + N) -bit digital data by the A / D converter 60 has an M-bit integer part I and an N-bit decimal part D as shown in FIG. 25 (b). Is separated into However, in FIG. 25 (b), the shaded portion corresponds to the decimal portion D.

この小数部Dは第24図の累算ループ57で画素ごとに累算
される。そして、その累算値Fが“1."に到達するごと
にキャリー信号CR3が出力され、累算値Fは、(F−
1.)の値に戻る。したがって、この累算ループ57におい
ても、実質的には、小数部Dの累算値が整数値(“1."
の倍数)に到達するごとにパルス信号としてのキャリー
信号CR3を出力する回路としての機能を有する。
This fractional part D is accumulated pixel by pixel in the accumulation loop 57 shown in FIG. Then, each time the accumulated value F reaches “1.”, the carry signal CR 3 is output, and the accumulated value F becomes (F−
Return to the value of 1.). Therefore, also in the accumulation loop 57, the accumulated value of the decimal part D is substantially an integer value (“1.”).
Of the carry signal CR 3 as a pulse signal each time it reaches the number of times).

このキャリー信号CR3は、第24図の加算器51において整
数部Iと合成される。その結果、画像データSは第25図
(c)のように変化することになる。この第25図からわ
かるように、入力画像データRのレベルが時刻tに関し
て増加している領域71では、小数部Dも順次増加する。
その結果、キャリー信号CR3は、その発生間隔が順次狭
くなって行く。一方、入力画像データRのレベルが減少
している領域72ではその逆の現象が生じる。このため、
トーンジャンプが生ずる点(たとえば点73,74)の近傍
のうち、階調が低い側の部分75,76に高密度のパルスが
与えられる。また、階調の極大点77の付近では高密度の
パルスが与えられ、極小点78の付近ではパルス密度は低
くなる。
The carry signal CR 3 is combined with the integer part I in the adder 51 shown in FIG. As a result, the image data S changes as shown in FIG. 25 (c). As can be seen from FIG. 25, in the area 71 where the level of the input image data R increases with respect to the time t, the fractional part D also sequentially increases.
As a result, carry signal CR 3 has its generation intervals gradually narrowed. On the other hand, in the area 72 where the level of the input image data R decreases, the opposite phenomenon occurs. For this reason,
A high-density pulse is applied to portions 75 and 76 on the low gradation side in the vicinity of the point where the tone jump occurs (for example, points 73 and 74). Further, a high-density pulse is given near the local maximum point 77 of the gradation, and the pulse density becomes low near the local minimum point 78.

したがって、第25図(c)の階調変化で表現される画像
は、巨視的には、第25図(a)の入力画像データRに近
い滑かな階調変化を有する画像として視認されることに
なる。
Therefore, the image represented by the gradation change in FIG. 25 (c) is macroscopically viewed as an image having a smooth gradation change close to the input image data R in FIG. 25 (a). become.

また、第26図(a)に示すように入力画像データRのレ
ベルが整数値となっているときには、小数部Dは“0"で
あるため、キャリー信号CR3は発生せず、第26図(b)
のように、入力画像データRと同一の画像データSが出
力されることになる。
Further, when the level of the input image data R, as shown in FIG. 26 (a) is an integral value, since the fractional portion D is "0", the carry signal CR 3 is not generated, Figure 26 (B)
As described above, the same image data S as the input image data R is output.

さらに、第26図(c)のように、非整数の一定レベルを
保つ入力画像データRが与えられたときには、小数部D
も一定の値を保持するため、第26図(d)のように、周
期的なキャリー信号CR3が整数部Iに重畳される。この
ため、この装置は、トーンジャンプの影響を除去する効
果があるのみでなく、入力画像データRが一定となるよ
うな部分については、中間調を忠実に表現できるという
効果もあわせ持っていることになる。
Further, as shown in FIG. 26 (c), when the input image data R keeping a non-integer constant level is given, the decimal part D
Since it also holds a constant value, a periodic carry signal CR 3 is superimposed on the integer part I as shown in FIG. For this reason, this device not only has the effect of removing the effect of tone jump, but also has the effect of faithfully expressing halftones in the portion where the input image data R is constant. become.

(B−3)装置の挿入位置について 第23図において、A/D変換器60とトーンジャンプ除去用
回路50をピックアップヘッド10、画像処理回路17間に入
れているが、これらを、画像処理回路17と網点発生器18
の間に挿入してもよい。この場合、第2図に示されてい
るA/D変換器16は不要である。当然、画像処理回路17は
アナログ処理回路を用いる。
(B-3) Insertion Position of Device In FIG. 23, the A / D converter 60 and the tone jump removing circuit 50 are inserted between the pickup head 10 and the image processing circuit 17. 17 and halftone dot generator 18
It may be inserted between. In this case, the A / D converter 16 shown in FIG. 2 is unnecessary. Of course, the image processing circuit 17 uses an analog processing circuit.

C.変形例 以上、この発明の実施例について説明したが、この発明
は上述の実施例に限定されるものではなく、たとえば次
のような変形も可能である。
C. Modifications The embodiments of the present invention have been described above, but the present invention is not limited to the above-described embodiments, and the following modifications are possible.

小数部の累算によってパルス列を得るにあたって
は、キャリー信号をそのまま利用しなくともよい。たと
えばキャリー信号を入力することによって所望のサイズ
を有するパルスを発生する回路を設け、このようにして
得られたパルスを整数部に合成してもよい。したがっ
て、倍数到達画素そのものではなく、これの近傍の画素
でパルスを発生させてもよいことになる。また、これら
双方を含む小領域(たとえば数画素分の領域)でパルス
を発生してもよい。この場合の例が第27図に示されてい
る。
When obtaining the pulse train by accumulating the fractional part, the carry signal does not have to be used as it is. For example, a circuit for generating a pulse having a desired size by inputting a carry signal may be provided, and the pulse thus obtained may be combined into an integer part. Therefore, the pulse may be generated not in the multiple arrival pixel itself but in the pixels in the vicinity thereof. Further, the pulse may be generated in a small area including both of them (for example, an area for several pixels). An example of this case is shown in FIG.

さらに、パルスの高さも“1."とせず、たとえば“2."と
することを禁ずるものではない。
Furthermore, the height of the pulse is not limited to "1.", for example, "2." is not prohibited.

したがって、この発明では、倍数到達画素および/また
はその近傍の画素について、整数部の値をパルス的に所
定量だけ変化させればよいことになる。
Therefore, according to the present invention, it is sufficient to change the value of the integer part in a pulse-like manner by a predetermined amount for the pixels reaching the multiple and / or the pixels in the vicinity thereof.

整数部の値をパルス的に変化させるにあたっては、
第28図に示すように負の方向に変化させてもよい。この
場合には、小数部の2の補数を求めて、これを累算し、
それによって負のパルスの密度変化方向を逆転させるこ
とになる。
When changing the value of the integer part in a pulse,
It may be changed in the negative direction as shown in FIG. In this case, find the two's complement of the fractional part and accumulate it,
As a result, the negative pulse density change direction is reversed.

小数部の累算によって倍数到達画素を特定するにあ
たっては、所望の基準値と累算値とをコンパレータを用
いて比較してもよい。基準値として“1."を設定するこ
とは必須ではなく、これ以外の値を設定してもよい。た
とえば、累算ループとして“2."までの範囲の数値を取
扱うことができる回路を使用し、累算値が“2."に到達
した際に発生させるキャリー信号を用いれば、基準値と
して“2."を設定したことになる。この場合のパルス密
度は、上記実施例の半分になる。
When specifying the multiple reaching pixel by the accumulation of the decimal part, a desired reference value and the accumulated value may be compared using a comparator. It is not essential to set "1." as the reference value, and any other value may be set. For example, if you use a circuit that can handle numbers up to “2.” as the accumulation loop and use the carry signal that is generated when the accumulated value reaches “2.” 2. "is set. The pulse density in this case is half that in the above-mentioned embodiment.

上記実施例では、累算値の整数桁はカウントせず、
小数桁のみを収容できる加算器150,250,54を用いてい
る。それは、“1."を基準値としていることによって、
累算値の整数桁をカウントすることなしに、キャリー信
号CRX,CRY,CR3だけで倍数到達画素を特定できるからで
ある。しかしながら、累算値を整数桁までカウントして
ゆくことを禁ずるものではない。減算器を用いて累算を
行なわせ、ボロー信号によってパルスを発生させること
もできる。
In the above example, the integer digit of the accumulated value is not counted,
The adders 150, 250, and 54 that can accommodate only decimal digits are used. By using “1.” as the standard value,
This is because the multiple arrival pixel can be specified only by the carry signals CRX, CRY, CR 3 without counting the integer digits of the accumulated value. However, it is not prohibited to count the accumulated value up to an integer digit. It is also possible to use a subtracter to perform accumulation and generate a pulse by a borrow signal.

さらに、上記実施例のように、オンラインで画像データ
Sを生成することも必須ではなく、オフラインで画像デ
ータSを求めて、これを磁気ディスクなどの大容量メモ
リに記憶させておいてもよい。このようにして得られた
画像データSを通信回線を介して他の場所へ転送し、そ
の後に記録を行なうことも可能である。
Further, it is not essential to generate the image data S online as in the above embodiment, and the image data S may be obtained offline and stored in a large capacity memory such as a magnetic disk. It is also possible to transfer the image data S obtained in this way to another place via a communication line and then record it.

第2図の実施例は網点発生器18を用いているが、網
点発生器18を用いることは必須でなく、画像データに基
づいた連続調記録でもよい。
Although the embodiment of FIG. 2 uses the halftone dot generator 18, it is not essential to use the halftone dot generator 18 and continuous tone recording based on image data may be used.

この発明は円筒走査型製版用スキャナに限らず、平
面走査型の製版用スキャナのほか、階調再現性を有する
ファクシミリや複写機などにも利用可能である。
The present invention is not limited to the cylindrical scanning type plate making scanner, but can be applied to a plane scanning type plate making scanner as well as a facsimile or a copying machine having gradation reproducibility.

D.補論 ところで、特開昭57−160264号公報には、画素ごとの階
調データの小数部に周期的小数を合成し、合成結果がス
ライスレベル以上になった画素について整数部を修正す
るという技術が開示されている。
D. Addendum By the way, in Japanese Patent Laid-Open No. 57-160264, a periodic decimal is combined with the decimal part of the gradation data for each pixel, and the integer part is corrected for the pixel whose composite result is equal to or higher than the slice level. That technology is disclosed.

しかしながらこの従来技術のうち周期的小数を合成する
場合には、上記公報の第5図に開示されているように、
整数部が修正されるような画素が空間的に連続し、その
連続幅の変化によって階調変化を疑似的に表現する形と
なる。
However, in the case of synthesizing periodic decimals in this conventional technique, as disclosed in FIG.
Pixels whose integer part is corrected are spatially continuous, and the change in the continuous width represents a pseudo gradation change.

たとえば、周期的小数が、 0.1 0.2 0.3 0.4 0.5 0.6 0.7 のような数値列の繰返しであり、変換前の階調データと
してそれぞれがほぼ「0.5」の小数部を持つ画素配列の
場合、合成結果は 0.6 0.7 0.8 0.91.0 1.1 1.2 となるため、スライスレベルが「1.0」の場合には、連
続する3画素のそれぞれの合成結果がスライスレベル以
上となって「修正画素」が連続する。
For example, if the periodic decimal is a repetition of a numerical sequence such as 0.1 0.2 0.3 0.4 0.5 0.6 0.7, and the pixel array has a decimal part of approximately "0.5" as the grayscale data before conversion, the composition result is Since 0.6 0.7 0.8 0.9 1.0 1.1 1.2 , when the slice level is “1.0”, the combined result of each of the three consecutive pixels becomes equal to or higher than the slice level, and the “corrected pixel” continues.

このため、上記公報技術では修正画素が連続しやすく、
その連続幅が大きな領域ではそれが視覚的に目だつ場合
があり、トーンジャンプの除去が不十分になる。
Therefore, in the technique of the above publication, the correction pixels are likely to be continuous,
In a region where the continuous width is large, it may be visually noticeable, resulting in insufficient removal of tone jump.

これに対して本願発明では小数部を累算するのであるた
め、比較的大きな小数部を持つ画素が連続している場合
を除き、修正画素(倍数到達画素)が連続することは少
ない。
On the other hand, in the present invention, since the fractional part is accumulated, the correction pixel (multiple arrival pixel) is unlikely to be continuous unless the pixel having a relatively large decimal part is continuous.

たとえば、小数部が、 0.30 0.31 0.32 0.33 0.34 0.35 0.36 のような画像列の場合、これらを累算して行くと、 0.30 0.61 0.93 1.26 1.80 2.15 2.51 のように下線を付した画素のみが倍数到達画素となり、
これらは離散的分布であって連続していない。
For example, if the fractional part is an image sequence such as 0.30 0.31 0.32 0.33 0.34 0.35 0.36, when accumulating these, only the underlined pixels such as 0.30 0.61 0.93 1.26 1.80 2.15 2.51 are the pixels that reached the multiple pixels. Next to
These are discrete distributions and are not continuous.

小数部が「1」に近い場合、たとえば小数部がほぼ「0.
6」であるような画素が連続する場合には、その累算値
は、 0.6 1.2 1.8 2.4 3.0 3.6 4.2 4.8 5.4… となるため、修正画素が全く連続しないわけではない
が、その連続幅は上記技術より小さく、トーンジャンプ
の視覚的防止効果が大きい。
When the decimal part is close to “1”, for example, the decimal part is almost “0.
When pixels such as "6" are consecutive, the cumulative value is 0.6 1.2 1.8 2.4 3.0 3.6 4.2 4.8 5.4 ..., so the corrected pixels are not continuous at all, but the continuous width is above. It is smaller than the technology and has a great effect of visually preventing tone jump.

(発明の効果〕 以上説明したように、この発明によれば、倍数到達画素
および/またはその近傍の画素のそれぞれでパルス的に
階調が変化し、かつそのパルス配列の間隔が階調変化に
応じて変化するため、連続調画像記録におけるトーンジ
ャンプの影響を有効に防止できる画像データ生成方法お
よびその装置を得ることができる。
(Effects of the Invention) As described above, according to the present invention, the gradation changes in a pulse manner in each of the multiple arrival pixel and / or the pixels in the vicinity thereof, and the interval of the pulse array changes in the gradation. Therefore, it is possible to obtain an image data generating method and its apparatus that can effectively prevent the influence of tone jump in continuous tone image recording.

また、この画像データの生成過程では整数部と小数部と
の2種類のデータを利用するが、生成された画像データ
それ自身は特に大きなデータ長を必要としないため、デ
ータ処理があまり複雑化することもない。
In addition, in the process of generating this image data, two types of data, an integer part and a decimal part, are used, but the generated image data itself does not require a particularly large data length, so the data processing becomes complicated. Nothing.

さらに、小数部累算による修正を行った後の画像データ
(第2の階調データ)は整数部によって構成されてお
り、小数部を含まない。このため、第2の階調データの
処理のための回路構成などが簡単になるという効果もあ
る。
Further, the image data (second tone data) after the correction by the decimal part accumulation is composed of the integer part, and does not include the decimal part. Therefore, there is an effect that the circuit configuration for processing the second gradation data is simplified.

また、小数部に周期的小数を合成する技術と比較して、
本願発明では整数部が修正されるような画素が連続しに
くくなっており、トーンジャンプの視覚的防止効果が高
い。
In addition, compared with the technique of combining periodic decimals in the decimal part,
In the present invention, pixels whose integer part is modified are less likely to be continuous, and the effect of visually preventing tone jump is high.

さらに、走査線ごとの累算初期値として乱数を使用して
いるため、整数部の修正に伴う階調変化位置が隣接する
走査線で整列してしまうこと(いわゆる「スジムラ」)
を防止可能である。
Furthermore, since a random number is used as the cumulative initial value for each scan line, the gradation change position due to the modification of the integer part will be aligned with the adjacent scan line (so-called "straight line").
Can be prevented.

また、乱数は走査線ごとに与えられるため、たとえば網
点画像記録において網点のブロックごとにスクリーンパ
ターン信号に共通の乱数を使用するような場合と比較し
ても、「スジムラ」の防止効果は高いものとなってい
る。
Further, since the random number is given for each scanning line, the effect of preventing "uniform streaks" can be obtained even when compared with a case where a common random number is used for a screen pattern signal for each block of a halftone dot image recording, for example. It is expensive.

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

第1図はこの発明の第1の実施例によって画像データが
得られるプロセスを示す波形図、 第2図は第1の実施例を組込んだ円筒走査型製版用スキ
ャナの全体構成図、 第3図は第1の実施例としての階調傾斜画像生成回路20
の内部構成を示すブロック図、 第4図は傾斜網の説明図、 第5図は主走査傾斜網の生成において外部から入力され
るデータの説明図、 第6図および第7図はそれぞれ主走査方向加算器および
副走査方向加算器の内部構成を示すブロック図、 第8図は第1の階調データの整数部および小数部の説明
図、 第9図,第10A図,第10B図,第11A図および第11B図は小
数部の加算処理と桁上げとの説明図、 第12図および第13図は小数部の累算とキャリー信号発生
との説明図、 第14図はオーバフロー禁止処理の説明図、 第15図,第16A図および第16B図は乱数付与の効果の説明
図、 第17図は乱数発生回路の内部構成図、 第18図は階調が順次減少する傾斜網の生成における第1
の実施例の動作を示す波形図、 第19図から第21図は副走査方向傾斜網についての画像デ
ータ生成動作の説明図、 第22図は任意の階調傾斜方向を有する傾斜網についての
画像データの説明図、 第23図は第2の実施例を組込んだ製版用スキャナの部分
構成図、 第24図は第2の実施例として形成されたトーンジャンプ
除去回路50の内部構成を示すブロック図、 第25図および第26図は第2の実施例の動作を示す波形
図、 第27図および第28図はこの発明の変形例の説明図、 第29図はトーンジャンプの説明図である。 1……円筒走査型製版用スキャナ、 2……原画、 20……階調傾斜画像生成回路、 30……乱数発生器、 50……トーンジャンプ除去回路、 100……主走査データ生成回路、 200……副走査データ生成回路、 160,260……累算ループ、 IX,IY,I……整数部、 DX,DY……小数部、 FX,FY,F……累算値(下位Nビット)
FIG. 1 is a waveform diagram showing a process for obtaining image data according to the first embodiment of the present invention, FIG. 2 is an overall configuration diagram of a cylindrical scanning type plate-making scanner incorporating the first embodiment, and FIG. The figure shows a gradation gradient image generation circuit 20 as the first embodiment.
FIG. 4 is an explanatory view of a slanting net, FIG. 5 is an explanatory view of data inputted from the outside in the generation of a main scanning slanting net, and FIGS. 6 and 7 are main scanning respectively. FIG. 8 is a block diagram showing an internal configuration of a direction adder and a sub-scanning direction adder, FIG. 8 is an explanatory diagram of an integer part and a decimal part of the first gradation data, FIG. 9, FIG. 10A, FIG. 10B, and FIG. 11A and 11B are explanatory views of addition processing of a decimal part and carry, FIGS. 12 and 13 are explanatory views of accumulation of a decimal part and generation of a carry signal, and FIG. 14 is overflow inhibition processing. Explanatory diagrams, FIGS. 15, 16A and 16B are explanatory diagrams of the effect of random number assignment, FIG. 17 is an internal configuration diagram of the random number generation circuit, and FIG. First
FIG. 19 to FIG. 21 are explanatory views of the image data generating operation for the sub-scanning direction slanting net, and FIG. 22 is an image for the slanting net having an arbitrary gradation slanting direction. FIG. 23 is an explanatory diagram of data, FIG. 23 is a partial configuration diagram of a plate-making scanner incorporating the second embodiment, and FIG. 24 is a block showing an internal configuration of the tone jump removing circuit 50 formed as the second embodiment. FIG. 25, FIG. 25 and FIG. 26 are waveform diagrams showing the operation of the second embodiment, FIG. 27 and FIG. 28 are explanatory views of a modified example of the present invention, and FIG. 29 is an explanatory view of tone jump. . 1 ... Cylinder scanning type plate making scanner, 2 ... original image, 20 ... gradation gradient image generation circuit, 30 ... random number generator, 50 ... tone jump removal circuit, 100 ... main scanning data generation circuit, 200 …… Sub-scan data generation circuit, 160,260 …… Accumulation loop, I X , I Y , I …… Integer part, D X , D Y …… Decimal part, F X , F Y , F …… Accumulated value ( Lower N bits)

───────────────────────────────────────────────────── フロントページの続き (56)参考文献 特開 昭57−160264(JP,A) 特開 昭58−96459(JP,A) 特開 昭61−5677(JP,A) 特開 昭54−59820(JP,A) 米国特許4196454(US,A) 米国特許4196452(US,A) ─────────────────────────────────────────────────── ─── Continuation of the front page (56) Reference JP-A-57-160264 (JP, A) JP-A-58-96459 (JP, A) JP-A 61-5677 (JP, A) JP-A 54- 59820 (JP, A) US Patent 4196454 (US, A) US Patent 4196452 (US, A)

Claims (6)

【特許請求の範囲】[Claims] 【請求項1】階調が連続的に変化する画像を離散的な階
調を有する画素配列によって走査記録するための画像デ
ータを生成する方法であって、 前記記録に使用される離散的階調数に応じたデータ長を
有する整数部と任意のデータ長を有する小数部とを含む
第1の階調データによって、画像の階調を画素ごとに表
現し、 走査線ごとに累算初期値として乱数が与えられ、前記小
数部の値を前記画素配列の方向に沿って順次累算すると
ともに、当該累算結果が所定の基準値の倍数に応じた値
に到達する各画素を倍数到達画素とし、 前記倍数到達画素の存在ごとに、前記倍数到達画素およ
び/またはその近傍の画素についての第1の階調データ
の整数部から得られる値を所定の整数量だけ変化させる
ことによって、整数部からなる第2の階調データを生成
し、 前記第2階調データを、前記画像を記録するための画像
データとすることを特徴とする、連続調画像記録のため
の画像データ生成方法。
1. A method for generating image data for scanning and recording an image, the gradation of which continuously changes, by a pixel array having discrete gradations, wherein the discrete gradations used for the recording. The first gradation data, which includes an integer part having a data length corresponding to the number and a decimal part having an arbitrary data length, expresses the gradation of the image for each pixel and sets it as a cumulative initial value for each scanning line. A random number is given, the values of the fractional part are sequentially accumulated along the direction of the pixel array, and each pixel whose accumulated result reaches a value according to a multiple of a predetermined reference value is defined as a multiple arrival pixel. , For each existence of the multiple reaching pixel, by changing the value obtained from the integer part of the first gradation data of the multiple reaching pixel and / or the pixels in the vicinity thereof by a predetermined integer amount, Second gradation data Generated, the second tone data, characterized in that the image data for recording the image, the image data generating method for the continuous tone image recording.
【請求項2】階調が連続的に変化する画像は、指定され
た階調変化方向に沿って、指定された階調変化率に応じ
て階調が変化する画像であり、 各画素についての第1の階調データは、所定の画素につ
いて指定された階調値を初期値として、前記階調変化方
向と前記階調変化率とに応じて決定される変化量を、前
記初期値に順次加算または減算して求められる、特許請
求の範囲第1項記載の連続調画像記録のための画像デー
タ生成方法。
2. An image in which gradation changes continuously is an image in which gradation changes in accordance with a specified gradation change rate along a specified gradation change direction. The first gradation data has a gradation value designated for a predetermined pixel as an initial value, and a change amount determined according to the gradation change direction and the gradation change rate is sequentially set to the initial value. The image data generating method for continuous tone image recording according to claim 1, which is obtained by addition or subtraction.
【請求項3】階調が連続的に変化する画像は、原画を読
取って得られる画像であり、 第1の階調データの整数部と小数部とは、前記原画の画
像の階調を、前記走査記録における階調数よりも多い階
調数でデジタル化した際の上位側データと下位側データ
とによってそれぞれ与えられる、特許請求の範囲第1項
記載の連続調画像記録のための画像データ生成方法。
3. An image in which gradation changes continuously is an image obtained by reading an original image, and the integer part and the fractional part of the first gradation data represent the gradation of the image of the original image. The image data for continuous tone image recording according to claim 1, which is given by upper side data and lower side data when digitized with a number of gradations larger than the number of gradations in the scan recording. Generation method.
【請求項4】階調が連続的に変化する画像を離散的な階
調を有する画素配列によって走査記録するための画像デ
ータを生成する装置であって、 前記記録に使用される離散的階調数に応じたデータ長を
有する整数部と任意のデータ長を有する小数部とを含
み、前記整数部と前記小数部とによって記録すべき画像
の階調を画素ごとに表現した第1の階調データを、走査
順に時系列的に発生する第1の階調データ発生手段と、 走査線ごとに累算初期値として乱数が与えられ、前記小
数部の値を前記画素配列の方向に沿って順次累算し、当
該累算結果が所定の基準値の倍数に応じた値に到達する
ごとに所定のサイズのパルスを発生する累算手段と、 前記第1の階調データのうち整数部から得られる値と前
記パルスとを時系列的に合成することによって、整数部
からなる第2の階調データを発生する第2の階調データ
発生手段とを備え、 前記第2階調データを、前記画像を記録するための画像
データとすることを特徴とする、連続調画像記録のため
の画像データ生成装置。
4. An apparatus for generating image data for scanning and recording an image of which gradation is continuously changed by a pixel array having discrete gradation, the discrete gradation used for the recording. A first gradation including an integer part having a data length corresponding to the number and a decimal part having an arbitrary data length, and expressing the gradation of an image to be recorded for each pixel by the integer part and the decimal part. First gradation data generating means for generating data in time series in a scanning order, random numbers are given as cumulative initial values for each scanning line, and the values of the fractional part are sequentially arranged along the direction of the pixel array. Accumulation means for accumulating and generating a pulse of a predetermined size each time the accumulation result reaches a value according to a multiple of a predetermined reference value; and an integer part of the first gradation data. By synthesizing the pulse value and the pulse in time series. A second gradation data generating means for generating second gradation data consisting of an integer part, wherein the second gradation data is image data for recording the image. , An image data generation device for continuous tone image recording.
【請求項5】階調が連続的に変化する画像は、指定され
た階調変化方向に沿って、指定された階調変化率で階調
が変化する画像であり、 第1の階調データ発生手段は、所定の画素について指定
された階調値を初期値として、前記階調変化方向と前記
階調変化率とに応じて決定される変化量を、前記初期値
に順次加算または減算して前記第1の階調データを発生
する手段である、特許請求の範囲第4項記載の連続調画
像記録のための画像データ生成装置。
5. An image in which gradation changes continuously is an image in which gradation changes at a specified gradation change rate along a specified gradation change direction. The generation unit sequentially adds or subtracts a change amount, which is determined according to the gradation change direction and the gradation change rate, to the initial value by using the specified gradation value for a predetermined pixel as an initial value. The image data generating apparatus for continuous tone image recording according to claim 4, which is a means for generating the first gradation data.
【請求項6】階調が連続的に変化する画像は、原画を読
取って得られる画像であり、 第1の階調データの整数部と小数部とは、前記原画の画
像の階調を、前記走査記録における階調数よりも多い階
調数でデジタル化した際の上位側データと下位側データ
とによってそれぞれ与えられる、特許請求の範囲第4項
記載の連続調画像記録のための画像データ生成装置。
6. An image in which gradation changes continuously is an image obtained by reading an original image, and the integer part and the decimal part of the first gradation data are gradations of the image of the original image, The image data for continuous tone image recording according to claim 4, which is given by upper side data and lower side data when digitized with a gradation number larger than the gradation number in the scan recording. Generator.
JP61199841A 1986-08-25 1986-08-25 Method and apparatus for generating image data for continuous tone image recording Expired - Lifetime JPH0792829B2 (en)

Priority Applications (4)

Application Number Priority Date Filing Date Title
JP61199841A JPH0792829B2 (en) 1986-08-25 1986-08-25 Method and apparatus for generating image data for continuous tone image recording
US07/089,331 US4809082A (en) 1986-08-25 1987-08-25 Method of and apparatus for generating image data used to record an image having gradation
EP87112335A EP0259695B1 (en) 1986-08-25 1987-08-25 Method of and apparatus for generating image data used to record an image having gradation
DE87112335T DE3786621T2 (en) 1986-08-25 1987-08-25 Method and device for generating image data used in gradation image recording.

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP61199841A JPH0792829B2 (en) 1986-08-25 1986-08-25 Method and apparatus for generating image data for continuous tone image recording

Publications (2)

Publication Number Publication Date
JPS6354675A JPS6354675A (en) 1988-03-09
JPH0792829B2 true JPH0792829B2 (en) 1995-10-09

Family

ID=16414536

Family Applications (1)

Application Number Title Priority Date Filing Date
JP61199841A Expired - Lifetime JPH0792829B2 (en) 1986-08-25 1986-08-25 Method and apparatus for generating image data for continuous tone image recording

Country Status (1)

Country Link
JP (1) JPH0792829B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20230037237A (en) * 2021-09-09 2023-03-16 에스케이하이닉스 주식회사 Image processing system and operating method thereof

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4196452A (en) 1978-12-01 1980-04-01 Xerox Corporation Tone error control for image contour removal
US4196454A (en) 1978-12-04 1980-04-01 Xerox Corporation Tone error control for relatively large image areas

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS57160264A (en) * 1981-03-30 1982-10-02 Canon Inc Recorder of half tone picture

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4196452A (en) 1978-12-01 1980-04-01 Xerox Corporation Tone error control for image contour removal
US4196454A (en) 1978-12-04 1980-04-01 Xerox Corporation Tone error control for relatively large image areas

Also Published As

Publication number Publication date
JPS6354675A (en) 1988-03-09

Similar Documents

Publication Publication Date Title
EP0198269B1 (en) Method and apparatus for interpolating image signals
US4040094A (en) Electronic screening
EP0717551B1 (en) Image processing apparatus
US4495522A (en) Recording apparatus and method of picture image
US4449150A (en) Method of processing medium tone picture
EP0507354B1 (en) Bi-level image display signal processing apparatus
US4414581A (en) Image signal processing method and apparatus therefor
EP0259695B1 (en) Method of and apparatus for generating image data used to record an image having gradation
EP0428409A2 (en) Image halftone generation by static ram look-up table
CN1013821B (en) Apparatus for generating image from digital video signal
EP0781034A2 (en) Image processing apparatus and method
JPH11164146A (en) System and method for image data processing
JPH0792829B2 (en) Method and apparatus for generating image data for continuous tone image recording
JP2563348B2 (en) Continuous tone image data generator using both random number synthesis and fractional part accumulation
EP0604759B1 (en) Method of and apparatus for processing digital image data
JP2891775B2 (en) Digitized density limit generation and storage method for halftone original image mesh screen
JPS5821979B2 (en) Image signal halftone processing method
JP3999455B2 (en) Method for reducing moire interference pattern in halftone image scanning
JPH0673141B2 (en) Continuous tone image data generation method and apparatus
US6753119B2 (en) Method of and apparatus for generating proof image
JP2607661B2 (en) Image signal processing device
JP2853465B2 (en) Image Area Separation Method for Smoothing Interpolation
JPH09146262A (en) Halftone method
JPH06339013A (en) Binarizing method and device for multilevel image
JPS61113364A (en) Image processing device