JPS6128165A - Bit location converting device - Google Patents

Bit location converting device

Info

Publication number
JPS6128165A
JPS6128165A JP14911084A JP14911084A JPS6128165A JP S6128165 A JPS6128165 A JP S6128165A JP 14911084 A JP14911084 A JP 14911084A JP 14911084 A JP14911084 A JP 14911084A JP S6128165 A JPS6128165 A JP S6128165A
Authority
JP
Japan
Prior art keywords
switch
latch
output
bit
register
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.)
Pending
Application number
JP14911084A
Other languages
Japanese (ja)
Inventor
Akira Jinzaki
明 陣崎
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.)
Fujitsu Ltd
Original Assignee
Fujitsu 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 Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP14911084A priority Critical patent/JPS6128165A/en
Publication of JPS6128165A publication Critical patent/JPS6128165A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To output an input signal to an input data latch subjected to arrangement conversion from an output data latch by designating one of patterns stored in a switch designation memory externally and controlling a switch matrix to attain easily the arrangement conversion to the input signal. CONSTITUTION:The input data latch IN consists of n-bit constitution and stores picture data. An output side of a latch IN is connected to an output data latch OUT comprising n-bits in the same way as the latch IN via an nXn-bit switch matrix SMX. The matrix SMX stores p-set of control patterns and is connected to a switch designation memory MEM storing nXnXp switch designation information. When one of p-set patterns is selected and designated externally, the matrix SMX is controlled through a control line from the memory MEM, the input signal stored in the latch IN is subjected to arrangement conversion and the result is outputted from a latch OUT.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明はビットイメージを扱う画像処理装置に係り、特
にヒツトイメージの反転、拡大、及び縮・ 小を高速で
行うことが出来るビット配置変換器に関するものである
[Detailed Description of the Invention] [Field of Industrial Application] The present invention relates to an image processing device that handles bit images, and in particular to a bit arrangement converter that can invert, enlarge, and reduce/reduce human images at high speed. It is related to.

〔従来の技術〕[Conventional technology]

従来の画像処理装置に於いてビットイメージに対してバ
レルシフタ、反転、拡大、縮小、及びOR等のヒント配
置変換操作を行う場合にば、ソフトウェアーより実施す
るのが普通であり、ハードウェアとしては補助的にシフ
トレジスタを使用する程度であった。
In conventional image processing devices, when performing hint arrangement conversion operations such as barrel shift, inversion, enlargement, reduction, and OR on a bit image, it is usually performed by software, and hardware Only a shift register was used for supplementary purposes.

バレルシフタは第3図(a)に示す様に複数ビットのシ
フトを一度に行う操作であり、ビット反転は第4図(a
lに示す様に、a、、b、c、d、eの配置をe、d、
c、b、aの配置に変更する操作であり、拡大は第5図
(alに示す様に入力a、b、c、dをa−、aSb、
b、c、c、d、dに配置する操作であり、縮小は第6
図(a)に示ず様に入力a、b、 c= dSe、、I
’、 g、 k+をa、c、e、gと配置する操作であ
り、ORは第7図(a)に示ず様に入力a又はbを出力
に、入力C又はdを出力に、入力e又はrを出力に、入
力g又はhを出力に、夫々出力する操作である。
The barrel shifter is an operation that shifts multiple bits at once as shown in Figure 3(a), and bit inversion is as shown in Figure 4(a).
As shown in l, the arrangement of a,, b, c, d, e is changed to e, d,
This is an operation to change the arrangement of inputs a, b, c, d to a-, aSb,
This is an operation to place b, c, c, d, d, and reduction is the 6th
As shown in figure (a), input a, b, c= dSe,,I
', g, k+ are arranged as a, c, e, g, and OR is as shown in Figure 7 (a), input a or b is output, input C or d is output, input This is an operation that outputs e or r as an output and input g or h as an output, respectively.

上記の様なビット配置変換操作をソフトウェアのみによ
り行う場合には非常に時間がかかり、且つ大量のソフト
ウェアを必要とする。
If the bit arrangement conversion operation as described above is performed only by software, it is very time consuming and requires a large amount of software.

又スイッチマトリックスの制御方法としては電話交換用
の制御方法が既に開発されているが、此れは元来電話線
の接続用に開発されたもので、一度スイソチをセントす
ると数秒間は其の状態を持続すると云う使われ方をして
いるので、頻繁に動作する画像処理装置のビット配置変
換用としては不適当であると云う欠点もあった。
In addition, a control method for telephone exchanges has already been developed as a control method for the switch matrix, but this method was originally developed for connecting telephone lines, and once the switch matrix is sent, it remains in that state for several seconds. Since it is used in such a way that it persists, it also has the disadvantage that it is unsuitable for bit arrangement conversion in image processing devices that operate frequently.

〔発明が解決しようとする問題点〕[Problem that the invention seeks to solve]

本発明は上記欠点を除去し、ビット配置変換を高速に行
うハードウェアにスイッチマトリックスを使用して実現
し、月つ此のスイッチマトリックスを制御するパターン
を複数個予めメモリに記憶して置き、必要に応して此の
パターンの一つを選択する機構を設&ノることにより高
速且つ多様なビット配置変換を可能とするものである。
The present invention eliminates the above-mentioned drawbacks, uses a switch matrix in hardware that performs bit arrangement conversion at high speed, and stores a plurality of patterns for controlling this switch matrix in memory in advance each month. By providing a mechanism for selecting one of these patterns according to the data, high-speed and various bit arrangement conversions are made possible.

〔問題点を解決するための手段〕 問題点を解決するための手段は、画像処理装置に於いて
、画像データを格納する複数nビットからなる第1レジ
スタ、第ルンスタの出力をn×nのスイッチマトリック
スを経由して第1レジスタと同一ビットからなる第2レ
ジスタに接続し、該スイッチマトリックスの制御パター
ンを複数種類メモリ装置に格納して置き、外部から前記
制御パターンを選択し、該メモリ装置出力の選択された
前記制御パターンにより該スイッチマトリックスを制御
して出力を第2レジスタに格納するビット配置変換器に
より達成される。
[Means for solving the problem] A means for solving the problem is to divide the output of the first register, which is composed of a plurality of n bits for storing image data, into an n×n register in the image processing device. It is connected via a switch matrix to a second register consisting of the same bits as the first register, a plurality of types of control patterns of the switch matrix are stored in a memory device, the control pattern is selected from the outside, and the control pattern is connected to the memory device. This is achieved by a bit layout converter controlling the switch matrix according to the selected control pattern of outputs and storing the outputs in a second register.

〔作用〕[Effect]

本発明に依ると第1レジスタに格納されている画像デー
タがスイッチマトリックス経由第2レジスタに格納され
、且つメモリ装置に格納されている複数種類の制御パタ
ーンを任意に選択して前記スイッチマトリックスを制御
する為に極めて容易にビット配置変換が行い得ると云う
効果が生まれる。
According to the present invention, image data stored in a first register is stored in a second register via a switch matrix, and the switch matrix is controlled by arbitrarily selecting a plurality of types of control patterns stored in a memory device. Therefore, the effect that bit arrangement conversion can be performed extremely easily is produced.

〔実施例〕〔Example〕

第1図は本発明に依るピント配置変換器の概念図である
FIG. 1 is a conceptual diagram of a focus position converter according to the present invention.

図中、MEMはスイッチ指定メモリ、S、 M Xはス
イッチマトリックス、INは入力データランチ、OUT
は出力デーフランチである。尚以下全図を通じ同一記号
は同一対象物を表す。
In the figure, MEM is switch specification memory, S, MX is switch matrix, IN is input data launch, OUT
is the output de-flanch. The same symbols represent the same objects throughout all the figures below.

以下図に従って本発明の詳細な説明する。The present invention will be described in detail below with reference to the drawings.

入力データはnビット構成とし、スイッチマトリックス
SMXのサイズはn×nとする。従ってスイッチ指定メ
モリMEMには、n×nビット×pパターンのスイッチ
指定情報が格納される。
The input data has an n-bit configuration, and the size of the switch matrix SMX is n×n. Therefore, the switch designation memory MEM stores switch designation information in an n×n bit×p pattern.

今p個のパターンの内の一つが選択指定されたとすると
、スイッチ指定メモリMEMからn×n本の制御線によ
りスイッチマトリックスSMXは制御され、入力データ
ランチINに格納されている入力信号は配置変換されて
出力データランチOUTに出て来る。
If one of the p patterns is selected and designated, the switch matrix SMX is controlled by n×n control lines from the switch designation memory MEM, and the input signals stored in the input data lunch IN are rearranged. The output data is output to the output data launch OUT.

第2図は4ビツト配置変換器の一実施例を示す図である
FIG. 2 is a diagram showing an embodiment of a 4-bit layout converter.

第2図は登録パターン数が4パターンの場合の例を示し
ている。
FIG. 2 shows an example in which the number of registered patterns is four.

図中、S41〜S44、S31〜S34.521〜S2
4、Sll−514は夫々スイッチゲート、01〜G4
はオアゲート、PAは制御パターンアドレスランチであ
る。
In the figure, S41-S44, S31-S34.521-S2
4, Sll-514 are switch gates, 01 to G4 respectively
is an OR gate, and PA is a control pattern address launch.

尚此の場合スイッチ指定メモリMEMは1語が4×4ビ
ツト構成で、4語構成となる。
In this case, the switch designation memory MEM has a 4-word configuration, with each word consisting of 4×4 bits.

スイッチ指定メモリMEM内に格納されている制御パタ
ーンのアドレスを制御パターンアドレスランチPAに入
力することにより希望の制御パターン(4×4ビツト)
がスイッチゲート (アンド回路)S41〜S44、S
31〜S34、S21〜S24、S11〜S14の一人
力に出力される。
By inputting the address of the control pattern stored in the switch specification memory MEM to the control pattern address launch PA, the desired control pattern (4 x 4 bits) can be created.
are switch gates (AND circuits) S41 to S44, S
31 to S34, S21 to S24, and S11 to S14.

一方入力データラッチINの出力線4はスイソチゲー)
341〜S44の他入力に接続され、入力デーフランチ
INの出力線3はスイソチゲー)331〜S34の他入
力に接続され、入力デーフランチINの出力線2はスイ
ッチゲート821〜S24の他入力に接続され、入力デ
ーフランチINの出力線1はスイソチゲー)S11〜S
14の他入力に接続され、341〜Sllの出力は夫々
オアゲートG1の入力となり、342〜S12の出力は
夫々オアゲー)G2の入力となり、343〜S13の出
力は夫々オアゲートG3の人力となり、544〜S14
の出力は夫々オアゲートG4の入力となり、各オアゲー
ト01〜G4の出力は夫々出力データランチOUTに入
力される。
On the other hand, the output line 4 of the input data latch IN is
341 to S44, the output line 3 of the input defnch IN is connected to the other inputs of the switch gates 331 to S34, and the output line 2 of the input defnch IN is connected to the other inputs of the switch gates 821 to S24. Output line 1 of input defrunch IN is Swiss
14, the outputs of 341 to Sll respectively become the inputs of the OR gate G1, the outputs of 342 to S12 respectively become the inputs of the OR gate G2, the outputs of 343 to S13 respectively become the human power of the OR gate G3, and the outputs of 344 to S13 become the inputs of the OR gate G3, respectively. S14
The outputs of the respective OR gates 01-G4 are input to the respective OR gates G4, and the outputs of the OR gates 01 to G4 are respectively input to the output data lunches OUT.

第3図(b)は本発明の一応用例としてバレルシフタに
適用した場合を示す。
FIG. 3(b) shows a case where the present invention is applied to a barrel shifter as an example of application.

此の場合には第3図(blに示す様にO印の個所のスイ
ッチをオンする様にすれば左に2ビツトシフトジノこ出
力を一回の操作を行うことが出来る。
In this case, by turning on the switch marked O as shown in Figure 3 (bl), you can perform a single operation of the 2-bit shift saw output to the left.

第4図tb+は別の一応用例としてビット反転に適用し
た場合を示す。
FIG. 4tb+ shows another example of application to bit inversion.

此の場合には第4図(b)に示す様に○印の個所のスイ
ッチをオンする様にすれば実現可能である。
In this case, it can be realized by turning on the switch marked with a circle, as shown in FIG. 4(b).

第5図(b)は別の一応用例として拡大(例えば2倍)
に適用した場合を示す。
Figure 5(b) is enlarged (for example, doubled) as another application example.
The case where it is applied is shown.

此の場合には第5図(blに示す様に○印の個所のスイ
ッチをオンする様にすれば実現可能である。
In this case, it can be realized by turning on the switch marked with a circle as shown in FIG. 5 (bl).

第6図(blは別の一応用例として縮小(間引き)に適
用した場合を示す。
FIG. 6 (bl shows another example of application to reduction (thinning).

此の場合には第6図(blに示す様に○印の個所のスイ
ッチをオンする様にすれば実現可能である。
In this case, it can be realized by turning on the switch marked with a circle as shown in FIG. 6 (bl).

第7図[blは別の一応用例としてORに適用した場合
を示す。
FIG. 7 [bl shows another example of application to OR.

此の場合には第7図fb)に示す様に○印の個所のスイ
ッチをオンする様にすれば実現可能である。
In this case, it can be realized by turning on the switch marked with a circle, as shown in FIG. 7 fb).

以上様々の応用例に就いて述べたが、此の様に複数種類
のパターンを予め登録して置き、此れを選択使用するこ
とにより簡単にビット配置を変換出来る。
Various application examples have been described above, but by registering a plurality of types of patterns in advance and selectively using them, the bit arrangement can be easily converted.

〔発明の効果〕〔Effect of the invention〕

以上詳細に説明した様に本発明によれば、制御パターン
を選択するだけで容易にビット配置変換が出来ると云う
大きい効果がある。
As described above in detail, the present invention has the great effect that bit arrangement conversion can be easily performed simply by selecting a control pattern.

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

第1図は本発明に依るビット配置変換器の概念図である
。 第2図は4ビツト配置変換器の一実施例を示す図である
。 第3図fa)はバレルシフタを説明する図、(b)は本
発明をバレルシフタに適用した場合を示す。 第4図talはビット変換を説明する図、[b)は本発
明をビット変換に適用した場合を示す。 第5図(alは拡大を説明する図、(blは本発明を拡
大に適用した場合を示す。 第6図(alは縮小を説明する図、[b)は本発明を縮
小に適用した場合を示す。 第7図fatはORを説明する図、(blは本発明をO
Rに適用した場合を示す。 図中、MEMはスイッチ指定メモリ、SMXはスイッチ
マトリックス、INは入力データランチ、OUTは出力
データランチ、S11〜344、S31〜S34、S2
1〜S24、Sll−514は夫々スイッチゲート、0
1〜G4はオアゲート、PAは制御パターンアドレスラ
ンチである。 牟 1 目 茅 2 釣 茅 3 密 (cL’)             (b)♀ 4−
 閃 Caフ                     (
bンotnt    bttr2 1C:    乙    r4 C久)(b) * 7 図
FIG. 1 is a conceptual diagram of a bit arrangement converter according to the present invention. FIG. 2 is a diagram showing an embodiment of a 4-bit layout converter. FIG. 3fa) is a diagram illustrating a barrel shifter, and FIG. 3(b) shows a case where the present invention is applied to a barrel shifter. FIG. 4 tal is a diagram for explaining bit conversion, and [b] shows a case where the present invention is applied to bit conversion. Figure 5 (al is a diagram explaining enlargement, (bl is a diagram showing the case in which the present invention is applied to enlargement). Figure 6 (al is a diagram explaining reduction, [b] is a diagram in which the present invention is applied to reduction) Figure 7 fat is a diagram explaining OR, (bl is a diagram explaining the present invention
The case where it is applied to R is shown. In the figure, MEM is switch specification memory, SMX is switch matrix, IN is input data launch, OUT is output data launch, S11 to 344, S31 to S34, S2
1 to S24, Sll-514 are switch gates, 0
1 to G4 are OR gates, and PA is a control pattern address launch. Mu 1 Mekaya 2 Tsurikaya 3 Close (cL') (b)♀ 4-
Flash Cafu (
bnotnt bttr2 1C: Otsu r4 Cku) (b) *7 Figure

Claims (1)

【特許請求の範囲】[Claims] 画像処理装置に於いて、画像データを格納する複数nビ
ットからなる第1レジスタ、第1レジスタの出力をn×
nのスイッチマトリックスを経由して第1レジスタと同
一ビットからなる第2レジスタに接続し、該スイッチマ
トリックスの制御パターンを複数種類メモリ装置に格納
して置き、外部から前記制御パターンを選択し、該メモ
リ装置出力の選択された前記制御パターンにより該スイ
ッチマトリックスを制御して出力を第2レジスタに格納
することを特徴とするビット配置変換器。
In an image processing device, a first register consisting of a plurality of n bits stores image data, and the output of the first register is
A second register consisting of the same bits as the first register is connected via n switch matrices, a plurality of types of control patterns of the switch matrix are stored in a memory device, and the control pattern is externally selected. A bit arrangement converter characterized in that the switch matrix is controlled by the selected control pattern of the memory device output, and the output is stored in a second register.
JP14911084A 1984-07-18 1984-07-18 Bit location converting device Pending JPS6128165A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP14911084A JPS6128165A (en) 1984-07-18 1984-07-18 Bit location converting device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP14911084A JPS6128165A (en) 1984-07-18 1984-07-18 Bit location converting device

Publications (1)

Publication Number Publication Date
JPS6128165A true JPS6128165A (en) 1986-02-07

Family

ID=15467919

Family Applications (1)

Application Number Title Priority Date Filing Date
JP14911084A Pending JPS6128165A (en) 1984-07-18 1984-07-18 Bit location converting device

Country Status (1)

Country Link
JP (1) JPS6128165A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7395337B2 (en) 2002-08-29 2008-07-01 International Business Machines Corporation Method, system, and program for establishing and requesting status on a computational resource
JP2009060184A (en) * 2007-08-29 2009-03-19 Nippon Telegr & Teleph Corp <Ntt> Thinning processing method and its circuit

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7395337B2 (en) 2002-08-29 2008-07-01 International Business Machines Corporation Method, system, and program for establishing and requesting status on a computational resource
US7941545B2 (en) 2002-08-29 2011-05-10 International Business Machines Corporation System and article of manufacture for establishing and requesting status on a computational resource
JP2009060184A (en) * 2007-08-29 2009-03-19 Nippon Telegr & Teleph Corp <Ntt> Thinning processing method and its circuit

Similar Documents

Publication Publication Date Title
JPS628817B2 (en)
JPS6238075A (en) Device for processing transposition of matrix data
US4747154A (en) Image data expanding and/or contracting method and apparatus
JPH0421025A (en) Left and right shifter
KR20010062661A (en) Fast hadamard transform device
US3524976A (en) Binary coded decimal to binary conversion
JPS6128165A (en) Bit location converting device
US5499383A (en) DMA control device controlling sequential storage of data
JP3726971B2 (en) Parallel processor device
JPS6057593B2 (en) Character pattern processing method
JPH03284054A (en) Picture density converter
JP2553726B2 (en) Method and apparatus for rotating image by 90 degrees
KR910017320A (en) Text / Shape Pattern Converter
JP2937234B2 (en) Barrel shifter
JP3006946B2 (en) Printing equipment
JP2643576B2 (en) Address generation circuit for fast Fourier transform
JPS62282325A (en) Shifter
JPH04257024A (en) Root extracting device
JPS60221848A (en) Data storage device
JPS6375849A (en) Memory device control system
JPH03282602A (en) Sequencer circuit
JPH06208454A (en) Bit operation circuit
JPS59158168A (en) Size converter for picture
JPH05334042A (en) Barrel shifter circuit
JPS5843049A (en) Correcting system of micro electronic computer