JPH0591306A - Line buffering processing circuit - Google Patents

Line buffering processing circuit

Info

Publication number
JPH0591306A
JPH0591306A JP3251883A JP25188391A JPH0591306A JP H0591306 A JPH0591306 A JP H0591306A JP 3251883 A JP3251883 A JP 3251883A JP 25188391 A JP25188391 A JP 25188391A JP H0591306 A JPH0591306 A JP H0591306A
Authority
JP
Japan
Prior art keywords
line
counter
memory
output
processing circuit
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP3251883A
Other languages
Japanese (ja)
Other versions
JP3093359B2 (en
Inventor
Masami Kato
政美 加藤
Yasunori Hashimoto
康訓 橋本
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Canon Inc
Original Assignee
Canon Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Canon Inc filed Critical Canon Inc
Priority to JP03251883A priority Critical patent/JP3093359B2/en
Publication of JPH0591306A publication Critical patent/JPH0591306A/en
Application granted granted Critical
Publication of JP3093359B2 publication Critical patent/JP3093359B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

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

Abstract

PURPOSE:To provide the line buffering processing circuit which performs the delay processing shorter than one line by (n) picture elements at the same operation speed as a line buffering circuit for one line delay. CONSTITUTION:Input data is inputted to a memory 14 through a three-state buffer 15. Data subjected to the delay processing shorter than one line by (n) picture elements is outputted from the memory 14. The read/write address to the memory 14 is controlled by a counter 13. The counter 13 is connected to an adder 11 and a flip flop 12 for the purpose of reading out data written in the memory n picture elements ahead. Thus, the delay processing shorter than one line by (n) picture elements is quickly executed because a selector to select the counted value from the counter is unnecessary.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は画像処理装置等に用いら
れるラインバッファリング処理回路に関するものであ
る。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a line buffering processing circuit used in an image processing apparatus or the like.

【0002】[0002]

【従来の技術】ラスタスキヤンされたシリアル画像デー
タ列に対して例えば図2に示す平滑化フイルタ処理をリ
アルタイムで行う場合、参照する画像データを取り出す
為に図3に示す様に1ライン遅延回路(31a,31
b)、即ちラインバッファリング処理回路を構成上必要
とする。図3中、32a〜fは1画素遅延素子、33は
図2に示すフイルタ係数に従う加重平均演算を行う演算
回路である。従来、1ライン分の画像データを蓄積し遅
延させるラインバッファリング処理回路は図4に示す様
な構成で実現される。図4に於て、41はメモリに対す
るアドレス信号を発生するカウンタ、42は画像データ
列を1ライン分蓄積する事が可能な容量を有するRAM
(ランダム・アクセス・メモリ)、43はライトサイク
ル時に入力データをコントロールするスリーステート・
バッファ、44はリードサイクル時にSRAM42から
出力されたリードデータをストローブするフリツプ・フ
ロツプである。図5はここで取り扱う画像信号のタイミ
ング例を示す図である。画像クロツクに同期して、1画
素のデータが、ライン同期信号に同期して1ライン分の
画像データが、ページ同期信号に同期して1ページ分の
画像データが入力されるものとする。従って図4に示す
回路は図6に示すタイミングでラインバッファリング処
理が行われる。ここでは説明のために1ラインに7個の
画像データがある場合についてのタイミングチヤートを
示す。入力データは画像クロツク(CLK)及びライン
同期信号(LSYN)に同期して1ラインずつ入力され
る。カウンタはCLKに同期してライン同期信号をカウ
ント動作イネーブル信号として動作する。入力データは
ライト信号WRによりデータバス上に出力され、同時に
カウンタ出力をアドレスとしてメモリに書き込まれる。
2. Description of the Related Art When a smoothing filter process shown in FIG. 2 is performed in real time on a raster-scanned serial image data string, a 1-line delay circuit (shown in FIG. 3) is used to extract image data to be referred to. 31a, 31
b), that is, a line buffering processing circuit is required in the configuration. In FIG. 3, reference numerals 32a to 32f are 1-pixel delay elements, and 33 is an arithmetic circuit for performing a weighted average operation according to the filter coefficient shown in FIG. Conventionally, a line buffering processing circuit for accumulating and delaying image data for one line is realized by the configuration shown in FIG. In FIG. 4, reference numeral 41 is a counter for generating an address signal for the memory, and 42 is a RAM having a capacity capable of accumulating one line of an image data string.
(Random access memory), 43 is a three-state memory that controls input data during a write cycle
A buffer 44 is a flip-flop that strobes the read data output from the SRAM 42 during a read cycle. FIG. 5 is a diagram showing a timing example of the image signals handled here. It is assumed that one pixel of data is input in synchronization with the image clock, one line of image data is input in synchronization with the line synchronization signal, and one page of image data is input in synchronization with the page synchronization signal. Therefore, the circuit shown in FIG. 4 performs the line buffering process at the timing shown in FIG. Here, for the sake of explanation, a timing chart when there are seven image data in one line is shown. The input data is input line by line in synchronization with the image clock (CLK) and the line synchronization signal (LSYN). The counter operates using the line synchronization signal as a count operation enable signal in synchronization with CLK. The input data is output on the data bus by the write signal WR, and at the same time, the counter output is written in the memory using the address.

【0003】メモリに書き込まれたデータは、次ライン
処理時にRD信号により読み出されフリツプフロツプに
ストローブされる。以上の処理を各ラインに対し順次行
う事で出力データには1ライン分遅延した入力データを
得る事ができる。
The data written in the memory is read by the RD signal during the next line processing and strobed to the flip-flop. By sequentially performing the above processing for each line, input data delayed by one line can be obtained as output data.

【0004】[0004]

【発明が解決しようとしている課題】ところが、処理の
内容によっては1ラインよりn画素少ない遅延処理の必
要が生じる場合がある。例えば図14に示す誤差拡散法
による2値化処理回路では図15に示すマトリクス(注
目画素に対する周辺4画素に対する誤差e1〜e4の拡
散)に従う誤差分配処理を行う場合1ラインより3画素
少ない遅延処理が必要である。ここで図14において1
41a〜eはそれぞれ入力画像データを1画素分遅延さ
せる1画素遅延素子、142a〜dは2値化で生じた量
子化誤差を近傍画素に加算するための加算器、143は
1ラインより3画素少ない遅延処理を行うラインバッフ
ァ、144は周辺画素の2値化誤差を含む注目画素の多
値データを2値化する2値化回路、145は注目画素を
2値化した際に生じる量子化誤差を演算する誤差演算回
路、146は前記量子化誤差を周辺画素に分配する値を
演算する誤差分配回路である。
However, depending on the contents of the processing, it may be necessary to perform the delay processing with n pixels less than one line. For example, in the binarization processing circuit by the error diffusion method shown in FIG. 14, when the error distribution processing according to the matrix shown in FIG. 15 (diffusion of the errors e1 to e4 with respect to the peripheral 4 pixels with respect to the target pixel) is performed, the delay processing with 3 pixels less than one line is performed. is necessary. Here, in FIG.
41a to e are 1-pixel delay elements for delaying the input image data by 1 pixel, 142a to d are adders for adding the quantization error generated by binarization to neighboring pixels, and 143 is 3 pixels from 1 line. A line buffer for performing a small amount of delay processing, 144 is a binarization circuit for binarizing multivalued data of a target pixel including a binarization error of peripheral pixels, and 145 is a quantization error generated when the target pixel is binarized. Is an error calculation circuit for calculating the value of ## EQU1 ## and an error distribution circuit 146 for calculating a value for distributing the quantization error to peripheral pixels.

【0005】この様な回路を実現するラインバッファの
構成を図7に示す。図7に示す様に1クロツク内でリー
ドアドレス信号にnを加算したものをリードアドレス信
号とすることで1ラインよりn画素少ない遅延処理を行
う方法が考えられる。図7に於て、71はメモリに対す
るアドレス信号を発生するカウンタ、72はカウンタ出
力にnを加算する加算器、73はセレクタでありリード
サイクル時には加算結果を選択し、ライトサイクル時に
はカウンタ71の出力結果を選択する。74は画像デー
タ列を1ライン分蓄積する事が可能な容量を有するRA
M(ランダム・アクセス・メモリ)、75はライトサイ
クル時に入力データをコントロールするスリーステート
・バッファ、76はリードサイクル時にSRAMから出
力されたリードデータをストローブするフリツプ・フロ
ツプである。図8にn=2とした場合のタイミングチヤ
ートを示す。入力データは画像クロツク(CLK)及び
ライン同期信号(LSYN)に同期して1ラインずつ入
力される。カウンタはCLKに同期してライン同期信号
をカウント動作イネーブル信号として動作する。入力デ
ータはライト信号WRによりデータバス上に出力され、
同時にメモリに書き込まれる。カウンタ出力は選択信号
R/Wによりリードサイクル時には加算器72からの加
算出力が選択され、ライトサイクル時にはカウンタ71
からの出力が選択される。メモリに書き込まれたデータ
は、次ライン処理時に加算器出力をアドレスとしてRD
信号により読み出されフリツプフロツプにストローブさ
れる。以上の処理を各ラインに対し順次行う事で出力デ
ータには1ラインより2画素分遅延した入力信号を得る
事ができる。
FIG. 7 shows the structure of a line buffer that realizes such a circuit. As shown in FIG. 7, there can be considered a method in which a read address signal obtained by adding n to a read address signal within one clock is used as a read address signal to perform delay processing with n pixels less than one line. In FIG. 7, 71 is a counter that generates an address signal for the memory, 72 is an adder that adds n to the counter output, and 73 is a selector that selects the addition result during the read cycle and outputs the counter 71 during the write cycle. Select a result. 74 is an RA having a capacity capable of accumulating one line of an image data string
M (random access memory), 75 is a three-state buffer that controls input data during a write cycle, and 76 is a flip-flop that strobes read data output from the SRAM during a read cycle. FIG. 8 shows a timing chart when n = 2. The input data is input line by line in synchronization with the image clock (CLK) and the line synchronization signal (LSYN). The counter operates using the line synchronization signal as a count operation enable signal in synchronization with CLK. The input data is output on the data bus by the write signal WR,
At the same time it is written to memory. As the counter output, the addition output from the adder 72 is selected in the read cycle by the selection signal R / W, and the counter 71 is selected in the write cycle.
Output from is selected. The data written in the memory is RD using the adder output as an address during the next line processing.
It is read by the signal and strobed to the flip-flop. By sequentially performing the above processing for each line, it is possible to obtain an input signal which is delayed by 2 pixels from one line in the output data.

【0006】ところがこの方法ではアドレス出力がセレ
クタにより遅延を生じ、更に1クロツク内にアドレス信
号の加算処理をおこなわねばならずデータビツト数(例
えばA3サイズで400DPIの画像を処理する場合ア
ドレス幅は13bit必要)の多いラインバッファ処理
においては加算器の処理に時間がかかりアドレスの出力
が遅延し動作速度の低下を来す問題がある。
In this method, however, the address output is delayed by the selector, and the addition processing of the address signal must be performed within one clock, and the number of data bits (for example, when processing an image of 400 DPI of A3 size, the address width is 13 bits). In the line buffer processing, which has a lot of necessity, there is a problem that the processing of the adder takes a long time and the output of the address is delayed and the operation speed is lowered.

【0007】第2の方法として図9に示すようにカウン
タ出力をフリツプフロツプによりnクロツク分だけ遅延
させた結果とカウンタ出力をそれぞれライトアドレス、
リードアドレスとして選択する方法が考えられる。図9
に於て、91はメモリに対するアドレス信号を発生する
カウンタ、92はカウンタ出力をnクロツク遅延させる
n個のフリツプフロツプ、93はセレクタでありリード
サイクル時には加算結果を選択し、ライトサイクル時に
はカウンタ出力結果を選択する。94は画像データ列を
1ライン分蓄積する事が可能な容量を有するRAM(ラ
ンダム・アクセス・メモリ)、95はライトサイクル時
に入力データをコントロールするスリーステート・バッ
ファ、96はリードサイクル時にSRAMから出力され
たリードデータをストローブするフリツプ・フロツプで
ある。図10にn=2とした場合のタイミングチヤート
を示す。入力データは画像クロツク(CLK)及びライ
ン同期信号(LSYN)に同期して1ラインずつ入力さ
れる。カウンタはCLKに同期してライン同期信号をカ
ウント動作イネーブル信号として動作する。入力データ
はライト信号WRによりデータバス上に出力され、同時
にメモリに書き込まれる。カウンタ出力は選択信号R/
Wによりライトサイクル時にはnクロツク遅延された結
果が選択され、リードサイクル時にはカウンタ出力が選
択される。メモリに書き込まれたデータは、次ライン処
理時にRD信号により読み出されフリツプフロツプにス
トローブされる。以上の処理を各ラインに対し順次行う
事で出力データには1ラインより2画素分遅延した入力
信号を得る事ができる。
As a second method, as shown in FIG. 9, the result of delaying the counter output by n clocks by flip-flop and the counter output are the write address and the write address, respectively.
A method of selecting as the read address can be considered. Figure 9
In the figure, 91 is a counter for generating an address signal to the memory, 92 is n flip-flops for delaying the counter output by n clocks, 93 is a selector for selecting the addition result in the read cycle and the counter output result in the write cycle. select. Reference numeral 94 is a RAM (random access memory) having a capacity capable of storing one line of an image data string, 95 is a three-state buffer that controls input data in a write cycle, and 96 is output from SRAM in a read cycle. It is a flip-flop that strobes the read data that has been read. FIG. 10 shows a timing chart when n = 2. The input data is input line by line in synchronization with the image clock (CLK) and the line synchronization signal (LSYN). The counter operates using the line synchronization signal as a count operation enable signal in synchronization with CLK. The input data is output on the data bus by the write signal WR and simultaneously written in the memory. Counter output is selection signal R /
By W, the result delayed by n clocks is selected in the write cycle, and the counter output is selected in the read cycle. The data written in the memory is read by the RD signal at the time of the next line processing and strobed to the flip-flop. By sequentially performing the above processing for each line, it is possible to obtain an input signal which is delayed by 2 pixels from one line in the output data.

【0008】ところがこの場合もアドレス出力がセレク
タにより遅延され動作速度の低下を来し、更にnが大き
くなるに従ってアドレスを遅延させるためのレジスタ数
が増え回路規模が増大する問題がある。
However, even in this case, there is a problem that the address output is delayed by the selector to lower the operation speed, and the number of registers for delaying the address increases and the circuit scale increases as n becomes larger.

【0009】本発明は上記問題点に鑑みてなされたもの
であり動作速度の低下がなく、更に、回路規模の増大を
押えて、1ラインよりn画素少ないデータの遅延処理を
行うラインバッファリング処理回路を提供する事を目的
としている。
The present invention has been made in view of the above problems and does not decrease the operation speed, and further suppresses an increase in the circuit scale, and performs a line buffering process for delaying data having n pixels less than one line. The purpose is to provide a circuit.

【0010】[0010]

【課題を解決するための手段】本発明は上記目的を達成
するために、ラスタスキヤンされたシリアル画像データ
列を1ラインよりn画素少なく遅延させるラインバッフ
ァリング処理回路であって、入力画像データを制御する
スリーステート・バッファと、アドレス信号を出力する
初期値設定可能なカウンターと当該カウンター出力に前
記値nを加算する加算器と当該加算結果をライン同期信
号によりストローブするレジスタと前記カウンタ出力を
アドレスとするRAM(ランダム・アクセス・メモリ)
と、当該RAMの出力データをストローブするレジスタ
を有し、前記カウンターは前記ストローブされたレジス
タ値がライン同期信号毎にカウンタ初期値として設定さ
れる事を特徴としている。
In order to achieve the above object, the present invention is a line buffering processing circuit for delaying a raster-scanned serial image data sequence by n pixels less than one line. A three-state buffer for controlling, an initial value settable counter for outputting an address signal, an adder for adding the value n to the counter output, a register for strobing the addition result by a line synchronization signal, and the counter output for addressing. RAM (random access memory)
And a register for strobeing the output data of the RAM, and the counter is configured such that the strobeed register value is set as a counter initial value for each line synchronization signal.

【0011】[0011]

【実施例】以下、添付図面を参照して本発明にかかる好
適な1実施例を説明する。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENT A preferred embodiment of the present invention will be described below with reference to the accompanying drawings.

【0012】図1は本発明によるラインバッファリング
処理回路の1実施例を示す図である。このラインバッフ
ァリング処理回路は図14のラインバッファ143に適
用されるものである。11は加算器でありカウンタ出力
にnを加算する。12はフリツプフロツプであり加算結
果をライン同期信号の立ち下がりでストローブする。1
3はカウンタであり、前記ストローブ結果を初期値とし
て画像クロツクに同期して動作する。14は画像データ
列を1ライン分蓄積する事が可能な容量を有するRAM
(ランダム・アクセス・メモリ)、15はライトサイク
ル時に入力データをコントロールするスリーステート・
バッファ、16はリードサイクル時にSRAMから出力
されたリードデータをストローブするフリツプ・フロツ
プである。
FIG. 1 is a diagram showing an embodiment of a line buffering processing circuit according to the present invention. This line buffering processing circuit is applied to the line buffer 143 of FIG. An adder 11 adds n to the counter output. A flip-flop 12 strobes the addition result at the trailing edge of the line sync signal. 1
A counter 3 operates in synchronization with the image clock with the strobe result as an initial value. Reference numeral 14 is a RAM having a capacity capable of accumulating one line of an image data string.
(Random access memory), 15 three-state control input data during write cycle
The buffer 16 is a flip-flop that strobes the read data output from the SRAM during the read cycle.

【0013】次に図11に従って本実施例の動作を説明
する。画像データは前述したように、画像同期信号(C
LK)、及びライン同期信号(LSYN)に同期してシ
リアルに入力するものとする。ここでも説明の為に1ラ
インの画素数が7の場合について説明する。カウンタ1
3はLSYNをカウントイネーブル信号及び初期値ロー
ド信号として与えることでLSYNが無効な区間に於て
はフリツプフロツプ12の出力を初期値して設定し、有
効な区間に於ては設定された値を初期値としてカウント
アツプする。n=2とし1ライン目のフリツプフロツプ
出力を0とすると当該ラインの間加算器は2を出力す
る。フリツプフロツプ12はLSYNの立ち下がりで加
算器出力をストローブし、カウンタは初期値=2に設定
される。2ライン目処理時にカウンタは初期値2として
カウントアツプし3ライン目では同様に初期値4として
動作する。以下カウンタは2をライン単位に蓄積した値
を初期値として動作する。入力データはライト信号WR
によりデータバス上に出力され、同時にカウンタ出力を
アドレスとしてメモリに書き込まれる。メモリに書き込
まれたデータは、次ライン処理時にRD信号により読み
出されフリツプフロツプ16にストローブされる。次ラ
イン処理時のアドレスは2クロツク分進んでいる事にな
るため前ラインでライトされたデータが2画素早く読み
だされる、即ち1ラインより2画素少ない遅延処理が行
われる。
Next, the operation of this embodiment will be described with reference to FIG. As described above, the image data includes the image synchronization signal (C
LK) and the line synchronization signal (LSYN) are input serially. Here, for the sake of explanation, the case where the number of pixels in one line is 7 will be described. Counter 1
3 gives LSYN as a count enable signal and an initial value load signal to set the output of the flip-flop 12 as an initial value in a section where LSYN is invalid, and sets the set value as an initial value in a valid section. Count up as a value. When n = 2 and the flip-flop output of the first line is set to 0, the adder outputs 2 during the line. The flip-flop 12 strobes the adder output at the falling edge of LSYN, and the counter is set to the initial value = 2. At the time of processing the second line, the counter counts up with an initial value of 2, and similarly operates with an initial value of 4 on the third line. Below, the counter operates with a value of 2 being accumulated in line units as an initial value. Input data is write signal WR
Is output to the data bus, and at the same time, the counter output is written in the memory using the address. The data written in the memory is read by the RD signal in the next line processing and strobed to the flip-flop 16. Since the address at the time of processing the next line is advanced by 2 clocks, the data written in the previous line is read out by 2 pixels earlier, that is, the delay processing is performed by 2 pixels less than that of 1 line.

【0014】本発明による実施例によれば、カウンタ出
力がセレクタを通す事なく直接メモリに接続される事か
ら、図4に示す1ライン遅延ラインバッファリング回路
と等しい動作速度でメモリのアクセスを行う事が可能で
ある。又、nが大きい値である場合にも、加算値を変更
するだけで回路規模の増大は無い。
According to the embodiment of the present invention, since the counter output is directly connected to the memory without passing through the selector, the memory is accessed at the same operation speed as the 1-line delay line buffering circuit shown in FIG. Things are possible. Further, even when n is a large value, the circuit scale does not increase only by changing the added value.

【0015】[他の実施例]前述した実施例ではメモリ
を1個使用し、時分割によりリード動作及びライト動作
を実行する場合について説明した。本発明はこれに限る
わけではなく、高速動作を目的としてメモリを2個使用
しリード動作及びライト動作を同時に実行するいわゆる
ダブルバッファ構成にも実施できる。図12にダブルバ
ッファ構成の実施例を示す。図12に於て121は加算
器でありカウンタ出力にnを加算する。122はフリツ
プフロツプであり加算結果をライン同期信号の立ち下が
りでストローブする。123はカウンタであり、前記ス
トローブ結果を初期値として画像クロツクに同期して動
作する。124、125は画像データ列を1ライン分蓄
積する事が可能な容量を有するRAM(ランダム・アク
セス・メモリ)、126、127はラントサイクル時に
入力データをコントロールするスリーステート・バッフ
ァ、128はリードデータをメモリ1、メモリ2の出力
から選択するセレクタ、129は選択されたリードデー
タをストローブするフリツプ・フロツプである。
[Other Embodiments] In the above-described embodiments, the case where one memory is used and the read operation and the write operation are executed by time division has been described. The present invention is not limited to this, and can be implemented in a so-called double buffer configuration in which two memories are used and a read operation and a write operation are simultaneously performed for the purpose of high-speed operation. FIG. 12 shows an embodiment of the double buffer structure. In FIG. 12, 121 is an adder, which adds n to the counter output. A flip-flop 122 strobes the addition result at the falling edge of the line sync signal. Reference numeral 123 is a counter, which operates in synchronization with the image clock with the strobe result as an initial value. Reference numerals 124 and 125 are RAMs (random access memories) having a capacity capable of accumulating one line of image data sequence, 126 and 127 are three-state buffers that control input data during runt cycle, and 128 is read data. Are selected from the outputs of the memory 1 and the memory 2, and a flip-flop 129 strobes the selected read data.

【0016】次に図13に従って本実施例の動作を説明
する。画像データは前述したように、画像同期信号(C
LK)、及びライン同期信号(LSYN)に同期してシ
リアルに入力するものとする。ここでも説明の為に1ラ
インの画素数が7の場合について説明する。カウンタ1
21はLSYNをカウントイネーブル信号及び初期値ロ
ード信号として与えることでLSYNが有効な間フリツ
プフロツプ122の出力を初期値としてカウントアツプ
する。n=2とし1ライン目のフリツプフロツプ出力を
0とすると当該ラインの間加算器は2を出力する。フリ
ツプフロツプ122はLSYNの立ち下がりで加算器出
力をストローブし、カウンタ123は2ライン目の処理
を初期値2としてカウントアツプする。以上説明したよ
うに、カウンタはnをライン単位に累積和した値を初期
値として動作する。入力データは1ライン目処理時はW
R1信号によりメモリ1への書き込がなされる。2ライ
ン目処理時はOE1によりメモリ1からライトされたデ
ータの読み出しが行われる。セレクタ128はリード状
態のメモリ出力を選択する。即ちOE1がアクテイブの
場合メモリ1の出力を選択する。2ライン目処理時のア
ドレスは前記アドレス初期値の処理により2クロツク分
進んでいる事になるため1ライン目でライトされたデー
タが2画素早く読みだされる、即ち1ラインより2画素
少ない遅延処理が行われる。又、2ライン目の入力デー
タはWR2信号によりメモリ2に、メモリ1からの読み
出しと同時に、書き込まれる。以上の処理によりダブル
バッファ構成の処理に於ても同様な構成で1ラインより
n画素少ない遅延処理が実現できる。
Next, the operation of this embodiment will be described with reference to FIG. As described above, the image data includes the image synchronization signal (C
LK) and the line synchronization signal (LSYN) are input serially. Here, for the sake of explanation, the case where the number of pixels in one line is 7 will be described. Counter 1
Reference numeral 21 applies LSYN as a count enable signal and an initial value load signal to count up the output of the flip-flop 122 as an initial value while LSYN is valid. When n = 2 and the flip-flop output of the first line is set to 0, the adder outputs 2 during the line. The flip-flop 122 strobes the adder output at the falling edge of LSYN, and the counter 123 counts up the processing of the second line with an initial value of 2. As described above, the counter operates with a value obtained by cumulatively adding n to each line as an initial value. Input data is W when processing the first line
Writing to the memory 1 is performed by the R1 signal. During the processing of the second line, the data written from the memory 1 is read by the OE1. The selector 128 selects the memory output in the read state. That is, the output of the memory 1 is selected when OE1 is active. Since the address at the time of processing the second line is advanced by 2 clocks due to the processing of the address initial value, the data written in the first line is read out by 2 pixels earlier, that is, a delay of 2 pixels less than that in 1 line. Processing is performed. Further, the input data of the second line is written into the memory 2 by the WR2 signal at the same time when it is read from the memory 1. With the above processing, even in the processing of the double buffer structure, the delay processing with n pixels less than one line can be realized with the same structure.

【0017】前記実施例と同様に本実施例でもカウンタ
出力がセレクタを通す事なく直接メモリに接続される事
から、従来の1ライン遅延ラインバッファと等しい動作
速度でメモリのアクセスを行う事が可能である。
Since the counter output is directly connected to the memory without passing through the selector in this embodiment as in the above embodiment, it is possible to access the memory at an operation speed equal to that of the conventional 1-line delay line buffer. Is.

【0018】以上説明した様に、高速動作を目的として
構成されるダブルバッファ回路に本発明を実施した場合
その効果がより有効になる。
As described above, when the present invention is applied to the double buffer circuit constructed for the purpose of high speed operation, the effect becomes more effective.

【0019】又、図1、図12に示したラインバッファ
リング処理回路を図14に示した誤差拡散法の回路に用
いることで、文字及び中間調画像いずれの画像に対して
も、高品位な画像を高速で得ることが可能となる。
Further, by using the line buffering processing circuit shown in FIGS. 1 and 12 in the circuit of the error diffusion method shown in FIG. 14, a high-quality image is obtained for both the character and halftone images. Images can be obtained at high speed.

【0020】[0020]

【発明の効果】以上説明した様に、本発明によれば動作
速度の低下がなく、更に、回路規模の増大を押えて、1
ラインよりn画素少ないデータを遅延処理するラインバ
ッファリング処理回路を実現する事が可能になる。
As described above, according to the present invention, the operation speed does not decrease, and the increase in circuit size is suppressed,
It is possible to realize a line buffering processing circuit that delays data that is n pixels less than the line.

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

【図1】本発明の第1の実施例であるラインバッファリ
ング処理回路の構成を示したブロツク図。
FIG. 1 is a block diagram showing the configuration of a line buffering processing circuit that is a first embodiment of the present invention.

【図2】平滑化フイルタのマトリクス例を示す図。FIG. 2 is a diagram showing a matrix example of a smoothing filter.

【図3】平滑化フイルタの構成を示す図。FIG. 3 is a diagram showing a configuration of a smoothing filter.

【図4】1ライン遅延処理を行うラインバッファリング
処理回路の例を示す図。
FIG. 4 is a diagram showing an example of a line buffering processing circuit that performs 1-line delay processing.

【図5】画像信号のタイミングを示す図。FIG. 5 is a diagram showing a timing of an image signal.

【図6】1ライン遅延処理を行うラインバッファリング
処理回路のタイミングチヤートを示す図。
FIG. 6 is a diagram showing a timing chart of a line buffering processing circuit that performs 1-line delay processing.

【図7】従来の1ラインよりn画素少ないラインバッフ
ァリング処理回路の第1の例を示す図。
FIG. 7 is a diagram showing a first example of a conventional line buffering processing circuit having n pixels less than one line.

【図8】従来の1ラインよりn画素少ない第1のライン
バッファリング処理回路のタイミングチヤートを示す
図。
FIG. 8 is a diagram showing a timing chart of a first line buffering processing circuit in which n pixels are smaller than the conventional one line by n pixels.

【図9】従来の1ラインよりn画素少ないラインバッフ
ァリング処理回路の第2の例を示す図。
FIG. 9 is a diagram showing a second example of a conventional line buffering processing circuit having n pixels less than one line.

【図10】従来の1ラインよりn画素少ない第2のライ
ンバッファリング処理回路のタイミングチヤートを示す
図。
FIG. 10 is a diagram showing a timing chart of a second line buffering processing circuit in which n pixels are smaller than the conventional one line by n pixels.

【図11】本実施例による1ラインよりn画素少ない第
1のラインバッファリング処理回路のタイミングチヤー
トを示す図。
FIG. 11 is a diagram showing a timing chart of the first line buffering processing circuit in which n pixels are smaller than one line by n pixels according to the present embodiment.

【図12】本実施例による1ラインよりn画素少ないラ
インバッファリング処理回路の第2の実施例を示す図。
FIG. 12 is a diagram showing a second embodiment of a line buffering processing circuit in which n pixels are smaller than one line by n pixels according to the present embodiment.

【図13】本実施例による1ラインよりn画素少ない第
2のラインバッファリング処理回路のタイミングチヤー
トを示す図。
FIG. 13 is a diagram showing a timing chart of a second line buffering processing circuit in which n pixels are smaller than one line by n pixels according to the present embodiment.

【図14】1ラインよりn画素少ない遅延処理を必要と
する誤差拡散法による2値化処理回路の構成例を示す
図。
FIG. 14 is a diagram showing a configuration example of a binarization processing circuit by an error diffusion method that requires a delay process in which n pixels are smaller than one line.

【図15】誤差拡散法の拡散マトリクスの1例を示す
図。
FIG. 15 is a diagram showing an example of a diffusion matrix of the error diffusion method.

【符号の説明】[Explanation of symbols]

11 加算器 12 フリツプフロツプ 13 カウンタ 14 メモリ 15 スリーステートバッファ 16 フリツプフロツプ 11 adder 12 flip-flop 13 counter 14 memory 15 three-state buffer 16 flip-flop

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】 ラスタスキヤンされたシリアル画像デー
タ列を1ラインよりn画素少なく遅延させるラインバッ
ファリング処理回路であって、 入力画像データを制御するスリーステート・バッファと
アドレス信号を出力する初期値設定可能なカウンターと
当該カウンター出力に前記値nを加算する加算器と当該
加算結果をライン同期信号によりストローブするレジス
タと前記カウンタ出力をアドレスとするRAM(ランダ
ム・アクセス・メモリ)と当該RAMの出力データをス
トローブするレジスタを有することを特徴とするライン
バッファリング処理回路。
1. A line buffering processing circuit for delaying a raster-scanned serial image data sequence by n pixels less than one line, wherein a three-state buffer for controlling input image data and an initial value setting for outputting an address signal. A possible counter, an adder that adds the value n to the counter output, a register that strobes the addition result with a line synchronization signal, a RAM (random access memory) that uses the counter output as an address, and output data of the RAM A line buffering processing circuit having a register for strobe.
【請求項2】 前記カウンターは前記ストローブされた
レジスタ値がライン同期信号毎にカウンタ初期値として
設定される事を特徴とする請求項1記載のラインバッフ
ァリング処理回路。
2. The line buffering processing circuit according to claim 1, wherein the strobeed register value of the counter is set as a counter initial value for each line synchronization signal.
JP03251883A 1991-09-30 1991-09-30 Line buffering processing circuit Expired - Fee Related JP3093359B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP03251883A JP3093359B2 (en) 1991-09-30 1991-09-30 Line buffering processing circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP03251883A JP3093359B2 (en) 1991-09-30 1991-09-30 Line buffering processing circuit

Publications (2)

Publication Number Publication Date
JPH0591306A true JPH0591306A (en) 1993-04-09
JP3093359B2 JP3093359B2 (en) 2000-10-03

Family

ID=17229364

Family Applications (1)

Application Number Title Priority Date Filing Date
JP03251883A Expired - Fee Related JP3093359B2 (en) 1991-09-30 1991-09-30 Line buffering processing circuit

Country Status (1)

Country Link
JP (1) JP3093359B2 (en)

Also Published As

Publication number Publication date
JP3093359B2 (en) 2000-10-03

Similar Documents

Publication Publication Date Title
US4644502A (en) Semiconductor memory device typically used as a video ram
EP0640979A2 (en) Checkerboard image buffer system
JPH08194679A (en) Method and device for processing digital signal and memory cell reading method
US5068914A (en) Apparatus for reducing artifacts in error diffused images
JP2007213055A (en) Method of transferring frame data using synchronous dynamic random access memory, method of transferring frame data to source driver, and timing control module
CA1287398C (en) Electronic image processing circuit
JPH01291387A (en) Image processor
JPH0591306A (en) Line buffering processing circuit
KR19990008388A (en) Semiconductor memory with arithmetic function and processing apparatus using same
JPS60124764A (en) Direct memory access controller
JPH10177647A (en) Picture processor
US5331598A (en) Memory control device
JPH07107706B2 (en) Line buffer with variable number of delay stages
JP3553376B2 (en) Parallel image processor
JPH1027130A (en) Picture processor and its processing method
JP2824708B2 (en) Graphic drawing device
JP2523687Y2 (en) Image data processing device
JP2806043B2 (en) Pipeline image processing circuit
JP2842071B2 (en) Resolution conversion method
SU1336108A1 (en) Storage unit with multiple-format data access
JPH06324935A (en) Address generator and address generation system
JPS59149391A (en) Fast frame buffer writing system
JPS62127975A (en) Picture memory controller
JP2002312235A (en) Memory access control device
JP2002216128A (en) Logical filter and its control method

Legal Events

Date Code Title Description
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20000711

LAPS Cancellation because of no payment of annual fees