JPS5864577A - Shifting circuit for digital picture - Google Patents

Shifting circuit for digital picture

Info

Publication number
JPS5864577A
JPS5864577A JP56163585A JP16358581A JPS5864577A JP S5864577 A JPS5864577 A JP S5864577A JP 56163585 A JP56163585 A JP 56163585A JP 16358581 A JP16358581 A JP 16358581A JP S5864577 A JPS5864577 A JP S5864577A
Authority
JP
Japan
Prior art keywords
data
output
state
random access
picture
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
JP56163585A
Other languages
Japanese (ja)
Other versions
JPS6411991B2 (en
Inventor
Makoto Imamura
誠 今村
Norihisa Miki
徳久 三木
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.)
Yokogawa Electric Corp
Original Assignee
Yokogawa Electric Corp
Yokogawa Hokushin Electric Corp
Yokogawa Electric Works 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 Yokogawa Electric Corp, Yokogawa Hokushin Electric Corp, Yokogawa Electric Works Ltd filed Critical Yokogawa Electric Corp
Priority to JP56163585A priority Critical patent/JPS5864577A/en
Publication of JPS5864577A publication Critical patent/JPS5864577A/en
Publication of JPS6411991B2 publication Critical patent/JPS6411991B2/ja
Granted legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V10/00Arrangements for image or video recognition or understanding
    • G06V10/20Image preprocessing
    • G06V10/36Applying a local operator, i.e. means to operate on image points situated in the vicinity of a given point; Non-linear local filtering operations, e.g. median filtering

Landscapes

  • Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Nonlinear Science (AREA)
  • General Physics & Mathematics (AREA)
  • Multimedia (AREA)
  • Theoretical Computer Science (AREA)
  • Image Generation (AREA)
  • Closed-Circuit Television Systems (AREA)
  • Character Input (AREA)
  • Image Processing (AREA)

Abstract

PURPOSE:To handle a picture consisting of many picture elements through simple constitution, by obtaining a shifted picture signal from an RAM in an output state while transferring data between two RAMs alternately. CONSTITUTION:When the (k)th line of a picture is scanned, a control circuit 9 places an RAM1 in an input state and an RAM2 in an output state. In this state, when a write signal is supplied, (k)th-line data is written in the D0 of the RAM1, and (k-1)th and (k-2)th line data are written in the D1 and D2 of the RAM1 from the RAM2. At this time, the data on the (k)th, (k-1)th, and (k-2)th lines are inputted to a shift register 7 and outputted to a picture processing logical device 8. Then, the circuit 9 places the RAM1 in an output state and the RAM2 in an input state. In this state, the data on (k)th, (k-1)th, and (k-2)th lines are written from the RAM1 to the RAM2 and also outputted to the register 7. Similarly, picture-shifted data are obtained from the register 7.

Description

【発明の詳細な説明】 本発明は、TVカメラ等から得られる画像を処理して、
そこに映っている対象の種類や位置などの質的性状を認
識するような画像処理装置に使用されるディジタル画像
シフト回路に関するものである、 第1図は、ディジタル画像シフトを説明するための説明
図、第2図は、従来のディジタル画像シフト回路の一例
を示す接続図である。
DETAILED DESCRIPTION OF THE INVENTION The present invention processes images obtained from a TV camera, etc.
This relates to a digital image shift circuit used in an image processing device that recognizes qualitative characteristics such as the type and position of an object shown therein. Figure 1 is an explanation for explaining digital image shift. 2 are connection diagrams showing an example of a conventional digital image shift circuit.

前記したような画像処理装置においては、第1図に示す
ように、画像の一部MA(これをマスクと呼び、このマ
スクの形は二こに示すように3×3要素からなる場合の
他に、画像処理の目的によって種々選定される)を設足
し、マスクM Aを画像上で走査し、各画素間で演算を
することにより、新しい画像を作ることが行なわれてい
る。このような画像シフトを行うために、従来、第2図
に示すような回路手段が用いられている。この回路は、
A B −Xの要素からなる3×3のマスクを用〜・ろ
場合のものであって、画像の横方向の画素数nと同じだ
けのビット数をもつnビ、トのシフトレジスタ3R1,
8R2を必要とする。
In the above-mentioned image processing apparatus, as shown in FIG. A new image is created by scanning the mask MA over the image and performing calculations between each pixel. Conventionally, circuit means as shown in FIG. 2 has been used to perform such image shifting. This circuit is
An n-bit shift register 3R1, which has the same number of bits as the number of pixels in the horizontal direction of the image, n, is used when a 3×3 mask consisting of A B -X elements is used.
Requires 8R2.

しかしながら、通常シフトレジスタのビット数は2の累
乗であって、横方向の画素数が例えば64以上と多くな
るような場合、これに応じたビット数をもつシフトレジ
スタを用意することは容易でなく、また高価如なる問題
点がある。シフトレジスタに画素数に対応したものがな
い場合、ビット数の少ないシフトレジスタを複数個並べ
て使用することとなる。
However, the number of bits in a shift register is usually a power of 2, and when the number of pixels in the horizontal direction increases, for example 64 or more, it is not easy to prepare a shift register with a corresponding number of bits. However, there are also problems such as high cost. If there is no shift register corresponding to the number of pixels, a plurality of shift registers with a small number of bits will be used in parallel.

ここにおいて、本発明は、このような問題点を解決し、
簡単な構成で画素数の多い画像を扱うことのできるディ
ンタル画像シフト回路を実現しようとするものである。
Here, the present invention solves such problems,
The objective is to realize a digital image shift circuit that can handle images with a large number of pixels with a simple configuration.

本発明に係る装置におい”〔は、安価なラソグムアクセ
スメモリ(以下RAMと略す)を用いることによって、
任意のビット数のシフトレジスタを得ろ点にひとつの特
徴がある。
In the device according to the present invention, by using an inexpensive RAM access memory (hereinafter referred to as RAM),
One feature is that a shift register with an arbitrary number of bits can be obtained.

口、り図、第4図はその動作波形図である。ここでH,
,5X3の!8!党からなるマスクの場合を想冗しであ
る。
Figure 4 is a diagram of its operating waveforms. Here H,
, 5X3! 8! I am imagining the case of a mask consisting of a party.

図において、1は第1のILAM、2は第2 ノRAM
こ3.4はいずれもゲート回路、5.6はバラツマ ゛
アップ、7げ出力ソフトレジスタ、8は出力シフ 。
In the figure, 1 is the first ILAM, 2 is the second RAM
3.4 are all gate circuits, 5.6 is a variable speed up, 7 output soft register, and 8 is an output shift.

べ〉 トレジメタ7からの出力(Ft号が印加される画偉処理
ロジ、り、9は全体回路を統括制御する制御n路で、こ
れには例えばマイクロプロセッサが使用 ”されろ、 第1のRAM jと第2のILAM2とは、制御回路9
からp+l −のアi゛1/スが与えら矛1ており、両
者の間でデータのやりとりがでとるように結合されてい
 。
The output from the register meter 7 (the processing logic to which the Ft signal is applied), and 9 is a control path for controlling the entire circuit, for example, a microprocessor is used for this. j and the second ILAM 2 are the control circuit 9
The i1/ice of p+l- is given to the two, and the two are connected so that data can be exchanged between them.

る。端子INに印加される画像信号Tmは、パラ ・7
丁アンプ5を介して第1のItAMlに印加されてJ・
(す、ソフト1″L第1I−T  々(11名11八N
譬1.2から。
Ru. The image signal Tm applied to the terminal IN is para.7
is applied to the first ItAMl via the amplifier 5.
(Software 1″L 1st I-T (11 people 118N)
From Parable 1.2.

出力ンフトンジスタ群7に出力されるようになっている いま、画像の1行分の走査に1秒間がかるもの(5ノ とすれば、入力端子INには、第4図(Olに示すよつ
IC1はじめの1秒間は、k行目を走査した画像(W 
’Qが印加され、次の瞳秒間は入力されず、その次の電
秒間はに+11行目走査した画像信号が印加されるよう
になっている。また、第2の774AM 2のアドレス
φ〜n−1には、k行目を走査した画r象信弓が印加さ
れている状BVCJ、Jいて、1)11には% −1行
目(前回の走査)のデータが、T)1にはに一2行目(
前々回の走査)のデータが既に14 #込まれているも
のとする。
Now that the output is output to the output register group 7, if it takes one second to scan one line of the image (5 seconds), the input terminal IN has an IC1 as shown in Figure 4 (Ol). For the first second, the image scanned in the kth row (W
'Q is applied, no input is made for the next pupil second, and an image signal scanned from the +11th line is applied for the next electric second. In addition, the address φ~n-1 of the second 774AM 2 has the state BVCJ,J where the image R-elements scanned on the k-th line is applied, and 1) 11 has the %-1st line ( The data of the previous scan) is in the 12th row (T)1 in T)1.
It is assumed that 14 # data from the previous scan) have already been stored.

k行目を定食するとき、制御回路9は、ゲートカイネー
ブル端子)をハイレベルとするとともに、ノ;2ファア
ンプ群5をイネーブルとする。これ釦よって、第1のI
LAM 1は、出力ディスエーブルとtcす、入力状態
になる。一方、ゲート回路4のひとつの入力線ID V
 B Nを第4図(10ンこ示すようにハイレベルとす
ることにより、第2のILAM2の0EI41子をロー
レベルとするとともに、バ、ファアンブ群(4) 6をディスエーブルとし、第2のiuM2を出力状態と
する− このような状1075(・て、各ItAMj、2の7ド
レス端子釦、第4図(flに示すようにφ〜n−+と順
次アドレス信号を与えるとともに、第4図←4に示すよ
うにライトパルス(書と込み信号)をゲート回路5.4
に与えると、第1のTtAMiのDQKは、アドレスφ
〜n−1に入力TN K印加されているに行目のデータ
がバッファアップを介して順次t+e込まれる。また、
ItAMlのDlには、バッファアップ5を介してIL
AM2のT)oからの出力データが書き込まれる。ここ
で、RAM 2のnoには、既圧前回走査時に得られた
1(−1行目のデータが得き込まれているので、このに
−1行目のデータがRAMIのT)+ K書き込まれろ
こととなる。同様にRA、M jの幻には、バッファア
ンプ5を介1−てRAM 2のDlがらの出力データ、
即ち、k−2行目のデータが書き込まれる。したがって
、このときは、出力シフトレジスタフには、111にに
行目、k−1行目、k−4行目の各データが入力され、
これが画像処理ロン、り8に出力される。
When the k-th row is set for a set meal, the control circuit 9 sets the gate enable terminal to a high level and also enables the second amplifier group 5. According to this button, the first I
LAM 1 goes to the input state with the output disabled. On the other hand, one input line ID V of the gate circuit 4
By setting B N to a high level as shown in FIG. Set iuM2 to the output state - In such a state 1075 (*), each ItAMj, 7 dress terminal buttons of 2, sequentially apply address signals from φ to n-+ as shown in FIG. Gate circuit 5.4 for write pulse (write signal) as shown in figure ←4
, the DQK of the first TtAMi is given at address φ
The data of the 2nd row, which is applied to the input TNK to n-1, is sequentially inputted to t+e via the buffer up. Also,
IL is connected to Dl of ItAMl via buffer up 5.
Output data from T)o of AM2 is written. Here, the no of RAM 2 contains 1 (the data of the -1st line obtained during the previous pressure scan, so the data of the -1st line is T of the RAMI) + K It will be written. Similarly, RA, Mj's output data from RAM 2's Dl via buffer amplifier 5,
That is, the data on the k-2nd row is written. Therefore, at this time, each data of the 2nd row, the k-1st row, and the k-4th row is input to the output shift register 111,
This is output to the image processing unit 8.

次の1秒間(画像信号Imが入力されていない期間)で
は、制御回路9は、ODD線をハイレベル、EVEN線
をローレベルとすることによって、第1のRAM 1を
出力状態とし、第2のRAM 2を入力状態とさせる。
During the next one second (period in which no image signal Im is input), the control circuit 9 sets the ODD line to a high level and the EVEN line to a low level, thereby bringing the first RAM 1 into an output state and the second RAM 1 into an output state. RAM 2 is brought into the input state.

このような状態において、アドレス4i号がφ〜n−j
と順次変化すると、第1の几AM1のDQからは、k行
目のデータが、出力シフトレジスタZ側に出力されろと
ともに、バッフ了アンプ6を介して第2のl’tAM 
2のT)Q [書き込まれる。また、同様にRAM i
のDlから、k−+行目のデータが、出力シフトレジス
タZ側に出力されるとともに、ULAM2のDlへ書き
込まれろ。なお、R,AMlのD2からは、k−2行目
のデータが出力シフトレジスタ7側に出力される。した
が〜て、この状態では、出力シフトレジスタ7には、を
秒前と同様に、順にに行目、l(−1行目、k−2行目
の各データが入力される。
In such a state, address No. 4i is φ~n-j
, the data of the k-th row is outputted from the DQ of the first AM1 to the output shift register Z side, and is also sent to the second AM through the buffer amplifier 6.
2 T) Q [Written. Similarly, RAM i
The data on the k-+th row from Dl is output to the output shift register Z side and written to Dl of ULAM2. Note that from D2 of R and AMl, the data of the k-2nd row is output to the output shift register 7 side. Therefore, in this state, the data of the row, l(-1, and k-2) are input to the output shift register 7 in the same way as seconds ago.

以下、同じようにして2個のRAM 1.2間でデ(7
) 一夕のやり取りを行うことによって、出力シフトレジス
タ7から、順次画像シフトされたデータを得ることがで
きる。
Below, in the same way, data (7
) By performing the overnight exchange, sequential image-shifted data can be obtained from the output shift register 7.

第1表は、以上の動作において、RAM1.2間のデー
タのやり取りを示したものである。
Table 1 shows the data exchange between the RAMs 1 and 2 in the above operation.

第1表 このように構成される装置によれば、アドレスの最大値
n−1は、RλM1.2のワード数に応じて任意に決め
ることができるので、容易にビット数の多いシフトレジ
スタと同様の機能をさせることができる。例えば、8ビ
ツトX 2048ワードのRAMでは、最大2048ビ
、トのシフトレジスタと同様の機能をもたせることが可
能である。
Table 1 According to the device configured as described above, the maximum address value n-1 can be arbitrarily determined according to the number of words of RλM1.2, so it can be easily configured in the same way as a shift register with a large number of bits. function. For example, a RAM of 8 bits x 2048 words can have the same function as a shift register of up to 2048 bits.

なお、この実施例では、マスクとして3×3要素のもの
について例示したが、このマスクの形は任意でよく、R
AMのデータ入出力D3、D4・・を使用することによ
って、多くの行のシフトが行なえる。
In addition, in this embodiment, a mask with 3×3 elements was illustrated, but the shape of this mask may be arbitrary, and R
By using the AM data inputs and outputs D3, D4, etc., many rows can be shifted.

第5図は本発明の他の実施例を示す構成ブロック図であ
る。
FIG. 5 is a block diagram showing another embodiment of the present invention.

この実施例においては、RAM1の出力とRAM 2の
出力を交互に切換えて出力シフトレジスタ7に入力させ
るマルチプレクサ10ヶ設けたものである。
In this embodiment, ten multiplexers are provided to alternately switch the output of RAM 1 and the output of RAM 2 and input them to the output shift register 7.

また、画像信号をRAM 1.2のDIQ入力に与え、
各RAM 1.2のD01DO2を他方のRA、MのD
I+、DI2にそれぞれ接続し、各RAM 1.2のD
OQ −DO2出力をマルチプレクサ10によって切換
えて取り出すようにしている。
Also, give the image signal to the DIQ input of RAM 1.2,
D01DO2 of each RAM 1.2 to the other RA, D of M
Connect to I+ and DI2, respectively, and D of each RAM 1.2.
The OQ-DO2 output is switched and taken out by a multiplexer 10.

この装置において、R,AM2には、既に順番にk(8
) −1、k−2、k−3行目のデータが書き込まれている
とし、画像信号としてに行目のデータが入力された場合
、RAM i、2間のデータのやり取りは、第2表の通
りとなる。
In this device, R, AM2 already have k(8
) If the data in rows -1, k-2, and k-3 are written, and the data in rows is input as an image signal, data exchange between RAM i and RAM 2 is as shown in Table 2. It will be as follows.

第2表 マルチプレクサ10は、出力状態にあるRAMからの出
力データを選択し、これを出力シフトレジスタ7に送り
出す。これによって、この実施例においては、シフトさ
れた画像データをt秒ごとに連続的に得ることができる
The table 2 multiplexer 10 selects output data from the RAM in the output state and sends it to the output shift register 7. Accordingly, in this embodiment, shifted image data can be continuously obtained every t seconds.

以上説明したように、本発明によれば、高価なシフトレ
ジスタを使用することなく画素数の多い1iji (1
1を扱うことのできるディジタル画像シフト回路が実現
で弾る。
As explained above, according to the present invention, 1iji (1
A digital image shift circuit that can handle 1 has been realized.

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

第1図はディンクルジグシフトを説明するための説明図
、第2図は従来のディジグル画偉シフト回路の一例を示
す接続図、第3図は本発明に係る回路の一例を示す構成
プp7り図、第4@はその動作波形図、纂5図は本発明
の他の実施例を示す構成プロ、り図である。 1.2・・・ランダムアクセスメモリ、5.4°“ゲー
ト回路、5.6・・・バッフ丁アンプ、7・・・出力シ
フトレジスタ、8・・・画像処理ρシック、9・・・制
御回路。 (11) 第1図 第2図
Fig. 1 is an explanatory diagram for explaining the Dinkle jig shift, Fig. 2 is a connection diagram showing an example of a conventional Diggle shift circuit, and Fig. 3 is a configuration diagram showing an example of the circuit according to the present invention. Figure 4 is a waveform diagram of its operation, and Figure 5 is a diagram showing a configuration of another embodiment of the present invention. 1.2... Random access memory, 5.4° gate circuit, 5.6... Buffer amplifier, 7... Output shift register, 8... Image processing ρ thick, 9... Control Circuit. (11) Figure 1 Figure 2

Claims (2)

【特許請求の範囲】[Claims] (1)互に入力状態と出力状態とが交互に入れ換わりデ
ータのやり取りが交互に行なわれるように接続されると
ともに同一のアドレス信号が与えられる第1、第2のラ
ンダムアクセスメモリを具備し、これらの第1、第2の
ランダムアクセスメモリには少なくとも前回の走査時の
画像信号が書き込まれ、今回の走査時の画像信号を入力
状態にあるランダムアクセスメモリに与えたとき、この
ランダムアクセスメモリに前回の走作時の画像信号が出
力状態にあるランダムアクセスメモリから移動するよう
にし、出力状態にあるランダムアクセスメモリからシフ
トされた画像信号を得るようにしたディジタル画像シフ
ト回路。
(1) comprising first and second random access memories connected so that the input state and output state are alternately exchanged and data exchange is performed alternately, and to which the same address signal is applied; At least the image signal from the previous scan is written into these first and second random access memories, and when the image signal from the current scan is given to the random access memory in the input state, the random access memory is A digital image shift circuit in which an image signal from a previous run is moved from a random access memory in an output state, and a shifted image signal is obtained from a random access memory in an output state.
(2)  第1、第2のランダムアクセスメモリからの
出力信号をマルチプレクサを介して交互に選択して得る
ようにした特許請求の範囲第1項記載のディジタル画像
シフト回路。
(2) The digital image shift circuit according to claim 1, wherein the output signals from the first and second random access memories are alternately selected and obtained via a multiplexer.
JP56163585A 1981-10-14 1981-10-14 Shifting circuit for digital picture Granted JPS5864577A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP56163585A JPS5864577A (en) 1981-10-14 1981-10-14 Shifting circuit for digital picture

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP56163585A JPS5864577A (en) 1981-10-14 1981-10-14 Shifting circuit for digital picture

Publications (2)

Publication Number Publication Date
JPS5864577A true JPS5864577A (en) 1983-04-16
JPS6411991B2 JPS6411991B2 (en) 1989-02-28

Family

ID=15776704

Family Applications (1)

Application Number Title Priority Date Filing Date
JP56163585A Granted JPS5864577A (en) 1981-10-14 1981-10-14 Shifting circuit for digital picture

Country Status (1)

Country Link
JP (1) JPS5864577A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS60151789A (en) * 1984-01-19 1985-08-09 Hitachi Ltd Multifunctional processor of picture

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS60151789A (en) * 1984-01-19 1985-08-09 Hitachi Ltd Multifunctional processor of picture

Also Published As

Publication number Publication date
JPS6411991B2 (en) 1989-02-28

Similar Documents

Publication Publication Date Title
CN110246448B (en) Display driving circuit
JPS5864577A (en) Shifting circuit for digital picture
JP3668305B2 (en) Solid-state imaging device
JPH0422922A (en) Shift register and solid state image pickup device or liquid crystal display device using the register
JP2977051B2 (en) Solid-state imaging device and driving method thereof
JP4313907B2 (en) Imaging apparatus and control method thereof
JP2977050B2 (en) Solid-state imaging device and driving method thereof
JP3675071B2 (en) Liquid crystal drive device
JPS6039988A (en) Picture signal converter
KR100227981B1 (en) Image processing circuit
JPH0142195Y2 (en)
JPH0654416B2 (en) Liquid crystal driving device and liquid crystal display device using the same
JPH07264395A (en) Image reducing device
JPH02135880A (en) Image pickup device
JP2514989B2 (en) Sequential circuit
JP2989193B2 (en) Image memory interleaved input / output circuit
JPH04100179A (en) Image processor
JPH06274607A (en) Parallel signal processor
JPH08123683A (en) Parallel processor device
JPH06208614A (en) Image processor
JPH06303530A (en) Solid-state image pickup device
JPH07162676A (en) Picture data processor, picture reduction device and picture magnification device
JPH03289784A (en) Interlace/noninterlace conversion circuit
JPS62140183A (en) Image processor
JPS63283361A (en) Parallel picture signal output circuit