JP2884620B2 - Digital image processing device - Google Patents
Digital image processing deviceInfo
- Publication number
- JP2884620B2 JP2884620B2 JP24129889A JP24129889A JP2884620B2 JP 2884620 B2 JP2884620 B2 JP 2884620B2 JP 24129889 A JP24129889 A JP 24129889A JP 24129889 A JP24129889 A JP 24129889A JP 2884620 B2 JP2884620 B2 JP 2884620B2
- Authority
- JP
- Japan
- Prior art keywords
- image
- image processor
- operation mode
- output
- processor
- 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 - Fee Related
Links
Landscapes
- Image Processing (AREA)
Description
【発明の詳細な説明】 〔産業上の利用分野〕 本発明はディジタル画像処理装置に関し、特にハード
ウェアによるディジタル画像データ(以下、単に画像デ
ータという)のビット配列反転処理を行うディジタル画
像処理装置に関する。Description: BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a digital image processing apparatus, and more particularly, to a digital image processing apparatus that performs a bit array inversion process of digital image data (hereinafter, simply referred to as image data) by hardware. .
従来、この種のディジタル画像処理装置では、画像デ
ータのビット配列反転処理は、画像処理プロセッサが処
理対象の画像データを画像メモリから画像処理プロセッ
サ内部のレジスタに読み込み、データシフト等のコマン
ドの実行によりビット配列反転処理を行い、処理済みデ
ータを画像メモリに書き込むことにより実現されてい
た。Conventionally, in this type of digital image processing apparatus, the bit arrangement inversion processing of image data is performed by an image processor reading image data to be processed from an image memory into a register in the image processor, and executing a command such as data shift. This has been realized by performing a bit array inversion process and writing the processed data to an image memory.
上述した従来のディジタル画像処理装置では、画像デ
ータのビット配列反転処理を画像処理プロセッサが行う
ようになっていたので、他の画像処理を含めた全体の処
理工程が多くなり、画像処理に要する時間が長くなると
いう欠点がある。In the above-described conventional digital image processing apparatus, since the image processor performs the bit array inversion processing of the image data, the entire processing steps including other image processing are increased, and the time required for the image processing is increased. Has the disadvantage of being longer.
本発明の目的は、上述の点に鑑み、画像データのビッ
ト配列反転処理を画像処理プロセッサのリード/ライト
動作サイクル中に行うビット配列反転回路を設け、画像
処理プロセッサでの画像処理工程を軽減して画像処理に
要する時間を短縮するようにしたディジタル画像処理装
置を提供することにある。In view of the above, an object of the present invention is to provide a bit arrangement inversion circuit for performing a bit arrangement inversion process of image data during a read / write operation cycle of an image processor, thereby reducing an image processing step in the image processor. To provide a digital image processing apparatus capable of reducing the time required for image processing.
本発明のディジタル画像処理装置は、ホスト装置より
設定された第1ないし第4の設定値をとる動作モードを
保持する動作モード保持回路と、画像処理プロセッサの
画像メモリのリード/ライト動作を検知し、前記動作モ
ード保持回路に保持されている動作モードが第1の設定
値で画像処理プロセッサがリード動作時には画像メモリ
の出力データを未処理のまま画像処理プロセッサのリー
ド動作サイクル中に画像処理プロセッサ側データバスに
出力し、前記動作モード保持回路に保持されている動作
モードが第1の設定値で画像処理プロセッサがライト動
作時には画像処理プロセッサの出力データを未処理のま
ま画像処理プロセッサのライト動作サイクル中に画像メ
モリ側データバスに出力し、前記動作モード保持回路に
保持されている動作モードが第2の設定値で画像処理プ
ロセッサがリード動作時には画像メモリの出力データを
未処理のまま画像処理プロセッサのリード動作サイクル
中に画像処理プロセッサ側データバスに出力し、前記動
作モード保持回路に保持されている動作モードが第2の
設定値で画像処理プロセッサがライト動作時には画像処
理プロセッサの出力データをビット配列反転処理して画
像処理プロセッサのライト動作サイクル中に画像メモリ
側データバスに出力し、前記動作モード保持回路に保持
されている動作モードが第3の設定値で画像処理プロセ
ッサがリード動作時には画像メモリの出力データをビッ
ト配列反転処理して画像処理プロセッサのリード動作サ
イクル中に画像処理プロセッサ側データバスに出力し、
前記動作モード保持回路に保持されている動作モードが
第3の設定値で画像処理プロセッサがライト動作時には
画像処理プロセッサの出力データを未処理のまま画像処
理プロセッサのライト動作サイクル中に画像メモリ側デ
ータバスに出力し、前記動作モード保持回路に保持され
ている動作モードが第4の設定値で画像処理プロセッサ
がリード動作時には画像メモリの出力データをビット配
列反転処理して画像処理プロセッサのリード動作サイク
ル中に画像処理プロセッサ側データバスに出力し、前記
動作モード保持回路に保持されている動作モードが第4
の設定値で画像処理プロセッサがライト動作時には画像
処理プロセッサの出力データをビット配列反転処理して
画像処理プロセッサのライト動作サイクル中に画像メモ
リ側データバスに出力するビット配列反転回路とを有す
る。A digital image processing apparatus according to the present invention detects an operation mode holding circuit for holding an operation mode having first to fourth set values set by a host device, and detects a read / write operation of an image memory of an image processor. When the operation mode held in the operation mode holding circuit is the first set value and the image processor performs a read operation, the output data of the image memory remains unprocessed during the read operation cycle of the image processor. When the operation mode held by the operation mode holding circuit is the first set value and the image processing processor is in the write operation, the output data of the image processing processor is not processed and the write operation cycle of the image processor is output to the data bus. During the operation, the data is output to the data bus on the image memory side, and the operation held in the operation mode holding circuit is performed. When the read mode is set to the second mode and the image processor performs a read operation, the output data of the image memory is output to the image processor side data bus during the read operation cycle of the image processor without processing, and the operation mode holding circuit When the operation mode held in the image processor is a write operation with the second set value, the output data of the image processor is subjected to bit array inversion processing and output to the image memory side data bus during the write operation cycle of the image processor. When the operation mode held by the operation mode holding circuit is the third set value and the image processing processor performs a read operation, the output data of the image memory is subjected to bit array inversion processing and the image processing is performed during the read operation cycle of the image processing processor. Output to the data bus on the processor side,
When the operation mode held by the operation mode holding circuit is the third set value and the image processor performs a write operation, the output data of the image processor remains unprocessed during the write operation cycle of the image processor. When the operation mode held in the operation mode holding circuit is the fourth set value and the image processing processor performs a read operation, the output data of the image memory is subjected to bit array inversion processing and the read operation cycle of the image processing processor is performed. During the operation, the operation mode is output to the data bus on the image processor side, and the operation mode held in the operation mode holding circuit is the fourth mode.
And a bit array inverting circuit for performing bit array inversion processing of output data of the image processor when the image processor performs a write operation at the set value and outputting the data to the image memory side data bus during a write operation cycle of the image processor.
本発明のディジタル画像処理装置では、動作モード保
持回路がホスト装置より設定された第1ないし第4の設
定値をとる動作モードを保持し、ビット配列反転回路
が、画像処理プロセッサの画像メモリのリード/ライト
動作を検知し、動作モード保持回路に保持されている動
作モードが第1の設定値で画像処理プロセッサがリード
動作時には画像メモリの出力データを未処理のまま画像
処理プロセッサのリード動作サイクル中に画像処理プロ
セッサ側データバスに出力し、動作モード保持回路に保
持されている動作モードが第1の設定値で画像処理プロ
セッサがライト動作時には画像処理プロセッサの出力デ
ータを未処理のまま画像処理プロセッサのライト動作サ
イクル中に画像メモリ側データバスに出力し、動作モー
ド保持回路に保持されている動作モードが第2の設定値
で画像処理プロセッサがリード動作時には画像メモリの
出力データを未処理のまま画像処理プロセッサのリード
動作をサイクル中に画像処理プロセッサ側データバスに
出力し、動作モード保持回路に保持されている動作モー
ドが第2の設定値で画像処理プロセッサがライト動作時
には画像処理プロセッサの出力データをビット配列反転
処理して画像処理プロセッサのライト動作サイクル中に
画像メモリ側データバスに出力し、動作モード保持回路
に保持されている動作モードが第3の設定値で画像処理
プロセッサがリード動作時には画像メモリの出力データ
をビット配列反転処理して画像処理プロセッサのリード
動作サイクル中に画像処理プロセッサ側データバスに出
力し、動作モード保持回路に保持されている動作モード
が第3の設定値で画像処理プロセッサがライト動作時に
は画像処理プロセッサの出力データを未処理のまま画像
処理プロセッサのライト動作サイクル中に画像メモリ側
データバスに出力し、動作モード保持回路に保持されて
いる動作モードが第4の設定値で画像処理プロセッサが
リード動作時には画像メモリの出力データをビット配列
反転処理して画像処理プロセッサのリード動作サイクル
中に画像処理プロセッサ側データバスに出力し、動作モ
ード保持回路に保持されている動作モードが第4の設定
値で画像処理プロセッサがライト動作時には画像処理プ
ロセッサの出力データをビット配列反転処理して画像処
理プロセッサのライト動作サイクル中に画像メモリ側デ
ータバスに出力する。In the digital image processing apparatus according to the present invention, the operation mode holding circuit holds the operation modes taking the first to fourth set values set by the host device, and the bit array inversion circuit reads the image memory of the image processor. During the read operation cycle of the image processing processor, the output mode of the image memory is unprocessed when the image processing processor performs the read operation when the operation mode held in the operation mode holding circuit is the first set value and the write mode is detected. When the operation mode held in the operation mode holding circuit is the first set value and the image processing processor performs a write operation, the output data of the image processing processor is not processed and the image processing processor outputs the data to the image processing processor side data bus. Is output to the image memory side data bus during the write operation cycle of When the operation mode is the second set value and the image processor is in the read operation, the read operation of the image processor is output to the image processor side data bus during the cycle while the output data of the image memory is not processed, and the operation mode is retained. When the operation mode held in the circuit is the second set value and the image processor performs a write operation, the output data of the image processor is subjected to bit array inversion processing, and the data is transferred to the image memory side data bus during the write operation cycle of the image processor. When the operation mode held in the operation mode holding circuit is the third set value and the image processing processor performs a read operation, the output data of the image memory is subjected to bit array inversion processing and the image processing is performed during the read operation cycle of the image processing processor. Output to the data bus on the processing processor side and held in the operation mode holding circuit When the operation mode is the third set value and the image processor is in the write operation, the output data of the image processor is output unprocessed to the image memory side data bus during the write operation cycle of the image processor, and the operation mode holding circuit When the operation mode held in the image processor is a read operation with the fourth set value, the output data of the image memory is subjected to bit array inversion processing and output to the image processor side data bus during the read operation cycle of the image processor. When the operation mode held by the operation mode holding circuit is the fourth set value and the image processor performs a write operation, the output data of the image processor is subjected to bit array inversion processing and the image is processed during the write operation cycle of the image processor. Output to the memory side data bus.
次に、本発明について図面を参照して詳細に説明す
る。Next, the present invention will be described in detail with reference to the drawings.
第1図は、本発明の一実施例に係るディジタル画像処
理装置の構成を示すブロック図である。本実施例のディ
ジタル画像処理装置は、動作モード保持回路2と、画像
処理プロセッサ3と、ビット配列反転回路4と、画像メ
モリ5とから、その主要部が構成されている。FIG. 1 is a block diagram showing a configuration of a digital image processing apparatus according to one embodiment of the present invention. The main part of the digital image processing apparatus according to the present embodiment includes an operation mode holding circuit 2, an image processor 3, a bit array inverting circuit 4, and an image memory 5.
動作モード保持回路2は、信号線6を介してホスト装
置1に接続されていて、ホスト装置1から設定された動
作モードの設定値を保持する。The operation mode holding circuit 2 is connected to the host device 1 via the signal line 6 and holds a set value of the operation mode set from the host device 1.
画像処理プロセッサ3は、画像処理プロセッサ側デー
タバス7を介してビット配列反転回路4に接続されてい
るとともに、画像メモリリード/ライト制御部信号線9
を介してビット配列反転回路4および画像メモリ5に接
続されている。The image processor 3 is connected to the bit array inverting circuit 4 via the image processor-side data bus 7 and is connected to an image memory read / write controller signal line 9.
Are connected to the bit arrangement inverting circuit 4 and the image memory 5 via the.
ビット配列反転回路4は、画像処理プロセッサ側デー
タバス7を介して画像処理プロセッサ3に接続されてい
るとともに、画像メモリ側データバス8を介して画像メ
モリ5に接続されている。また、ビット配列反転回路4
は、画像メモリリード/ライト制御信号線9を介して画
像処理プロセッサ3に接続されているとともに、動作モ
ード指定信号線10を介して動作モード保持回路10に接続
されている。The bit array inverting circuit 4 is connected to the image processor 3 via the image processor-side data bus 7 and to the image memory 5 via the image memory-side data bus 8. In addition, the bit arrangement inversion circuit 4
Are connected to the image processor 3 via the image memory read / write control signal line 9 and to the operation mode holding circuit 10 via the operation mode designation signal line 10.
画像メモリ5は、画像メモリ側データバス8を介して
ビット配列反転回路4に接続されているとともに、画像
メモリリード/ライト制御信号線9を介して画像処理プ
ロセッサ3に接続されている。The image memory 5 is connected to the bit array inversion circuit 4 via the image memory side data bus 8 and to the image processor 3 via the image memory read / write control signal line 9.
第2図は、動作モード保持回路2に設定される動作モ
ードの設定値および画像処理プロセッサ3の画像メモリ
5に対するリード/ライト動作とビット配列反転回路4
の動作との関係を表にして示す図である。FIG. 2 shows the set values of the operation mode set in the operation mode holding circuit 2, the read / write operation of the image processor 5 with respect to the image memory 5, and the bit arrangement inversion circuit 4.
FIG. 4 is a table showing the relationship with the operation of FIG.
第3図は、第2図に示した関係を満足するビット配列
反転回路4の構成の一例を示す回路ブロック図である。
このビット配列反転回路4は、4つのデータバッファ40
1〜404と、データバッファ制御部410と、4本のデータ
バッファ制御信号線421〜424と、2つのデータバスビッ
ト配列反転接続モジュール431および432とから構成され
ている。FIG. 3 is a circuit block diagram showing an example of the configuration of the bit array inversion circuit 4 that satisfies the relationship shown in FIG.
The bit arrangement inversion circuit 4 includes four data buffers 40
1 to 404, a data buffer control unit 410, four data buffer control signal lines 421 to 424, and two data bus bit array inversion connection modules 431 and 432.
データバッファ401は、入力側を画像処理プロセッサ
側データバス7に、出力側を画像メモリ側データバス8
に接続され、制御入力をデータバッファ制御信号線421
を介してデータバッファ制御部410に接続されている。The data buffer 401 has an input side connected to the image processor side data bus 7 and an output side connected to the image memory side data bus 8.
Connected to the data buffer control signal line 421
Is connected to the data buffer control unit 410 via the.
データバッファ402は、入力側を画像メモリ側データ
バス8に、出力側を画像処理プロセッサ側データバス7
に接続され、制御入力をデータバッファ制御信号線422
を介してデータバッファ制御部410に接続されている。The data buffer 402 has an input side connected to the image memory side data bus 8 and an output side connected to the image processor side data bus 7.
Connected to the data buffer control signal line 422.
Is connected to the data buffer control unit 410 via the.
データバッファ403は、入力側を画像処理プロセッサ
側データバス7に、出力側をデータバスビット配列反転
接続モジュール431を介して画像メモリ側データバス8
に接続され、制御入力をデータバッファ制御信号線423
を介してデータバッファ制御部410に接続されている。The data buffer 403 has an input side connected to the image processor side data bus 7, and an output side connected to the image memory side data bus 8 via the data bus bit array inversion connection module 431.
Connected to the data buffer control signal line 423
Is connected to the data buffer control unit 410 via the.
データバッファ404は、入力側を画像メモリ側データ
バス8に、出力側をデータバスビット配列反転接続モジ
ュール432を介して画像処理プロセッサ側データバス7
に接続され、制御入力をデータバッファ制御信号線424
を介してデータバッファ制御部410に接続されている。The data buffer 404 has an input side connected to the image memory side data bus 8 and an output side connected to the image processor side data bus 7 via the data bus bit array inversion connection module 432.
Connected to the data buffer control signal line 424
Is connected to the data buffer control unit 410 via the.
データバッファ制御部410は、画像メモリリード/ラ
イト制御信号線9と動作モード指定信号線10とに接続さ
れ、画像処理プロセッサ3の画像メモリ5に対するリー
ド/ライト信号と動作モードの設定値とを入力し、入力
した信号のパターンに応じてデータバッファ制御信号線
421〜424を通じてデータバッファ401〜404を制御する。The data buffer control unit 410 is connected to the image memory read / write control signal line 9 and the operation mode designation signal line 10 and inputs a read / write signal to the image memory 5 of the image processor 3 and an operation mode set value. Data buffer control signal line according to the pattern of the input signal.
The data buffers 401 to 404 are controlled through 421 to 424.
データバスビット配列反転接続モジュール431および4
32は、入力側データバスと出力側データバスとでビット
配列を反転接続している。Data bus bit array inversion connection module 431 and 4
Numeral 32 denotes an input-side data bus and an output-side data bus in which the bit arrangement is inverted.
次に、このように構成された本実施例のディジタル画
像処理装置の動作について説明する。Next, the operation of the digital image processing apparatus according to the present embodiment thus configured will be described.
ホスト装置1は、信号線6を介して動作モード保持回
路2に動作モードの設定値を設定する。The host device 1 sets the operation mode setting value in the operation mode holding circuit 2 via the signal line 6.
動作モード保持回路2は、ホスト装置1により設定さ
れた動作モードの設定値を次の動作モードの設定値の設
定が行われるまで保持し、動作モード指定信号線10を介
してビット配列反転回路4に動作モードの設定値を出力
する。The operation mode holding circuit 2 holds the set value of the operation mode set by the host device 1 until the next set value of the operation mode is set, and sets the bit arrangement inversion circuit 4 via the operation mode designation signal line 10. Output the set value of the operation mode.
画像処理プロセッサ3は、画像メモリリード/ライト
制御信号線9を介して画像メモリ5を制御し、画像処理
プロセッサ側データバス7を介して画像メモリ5に対し
てリード/ライトアクセスを行う。The image processor 3 controls the image memory 5 via the image memory read / write control signal line 9 and performs read / write access to the image memory 5 via the image processor-side data bus 7.
すると、ビット配列反転回路4は、画像メモリリード
/ライト制御信号線9を介して画像処理プロセッサ3が
画像メモリ5をアクセスする動作がリードかライトかを
検知し、検知した画像処理プロセッサ3のアクセス動作
と動作モード指定信号線10を介して動作モード保持回路
2から入力している動作モードの設定値に応じて、第2
図に示した関係に従って、画像処理プロセッサ側データ
バス7または画像メモリ側データバス8から入力してい
るデータをビット配列反転処理するか未処理のままかで
画像処理プロセッサ側データバス7または画像メモリ側
データバス8に出力する。Then, the bit array inversion circuit 4 detects via the image memory read / write control signal line 9 whether the operation of accessing the image memory 5 by the image processor 3 is read or write, and the detected access of the image processor 3 is performed. According to the operation mode setting value input from the operation mode holding circuit 2 via the operation and operation mode designating signal line 10, the second
According to the relationship shown in the figure, the data input from the image processor-side data bus 7 or the image memory-side data bus 8 is subjected to bit array inversion processing or unprocessed, and the image processor-side data bus 7 or image memory is not processed. Output to the side data bus 8.
例えば、第3図に示したビット配列反転回路4を例に
して詳しく説明すると、 動作モードの設定値が1で画像処理プロセッサ3が
リード動作時には、データバッファ制御部410は、デー
タバッファ制御信号線422を通じてデータバッファ402を
アクティブにして、画像メモリ側データバス8上の画像
メモリ5の出力データを未処理のまま画像処理プロセッ
サ側データバス7に出力する。For example, the bit array inversion circuit 4 shown in FIG. 3 will be described in detail. When the operation mode set value is 1 and the image processor 3 performs a read operation, the data buffer control unit 410 The data buffer 402 is activated through 422 to output the output data of the image memory 5 on the image memory side data bus 8 to the image processor side data bus 7 without processing.
動作モードの設定値が1で画像処理プロセッサ3が
ライト動作時には、データバッファ制御部410は、デー
タバッファ制御信号線421を通じてデータバッファ401を
アクティブにして、画像処理プロセッサ側データバス7
上の画像処理プロセッサ3の出力データを未処理のまま
画像メモリ側データバス8に出力する。When the set value of the operation mode is 1 and the image processor 3 performs the write operation, the data buffer control unit 410 activates the data buffer 401 through the data buffer control signal line 421 and sets the data bus 7 on the image processor side.
The output data of the above image processor 3 is output to the image memory side data bus 8 without processing.
動作モードの設定値が2で画像処理プロセッサ3が
リード動作時には、データバッファ制御部410は、デー
タバッファ制御信号線422を通じてデータバッファ402を
アクティブにして、画像メモリ側データバス8上の画像
メモリ5の出力データを未処理のまま画像処理プロセッ
サ側データバス7に出力する。When the set value of the operation mode is 2 and the image processor 3 performs a read operation, the data buffer control unit 410 activates the data buffer 402 through the data buffer control signal line 422 and sets the image memory 5 on the image memory side data bus 8. Is output to the image processor side data bus 7 without processing.
動作モードの設定値が2で画像処理プロセッサ3が
ライト動作時には、データバッファ制御部410は、デー
タバッファ制御信号線423を通じてデータバッファ403を
アクティブにして、画像処理プロセッサ側データバス7
上の画像処理プロセッサ3の出力データをデータバスビ
ット配列反転接続モジュール431を通じてビット配列反
転処理して画像メモリ側データバス8に出力する。When the set value of the operation mode is 2 and the image processor 3 performs the write operation, the data buffer control unit 410 activates the data buffer 403 through the data buffer control signal line 423 and the data bus 7 on the image processor side.
The output data of the above image processor 3 is subjected to bit array inversion processing through the data bus bit array inversion connection module 431 and output to the image memory side data bus 8.
動作モードの設定値が3で画像処理プロセッサ3が
リード動作時には、データバッファ制御部410は、デー
タバッファ制御信号線424を通じてデータバッファ404を
アクティブにして、画像メモリ側データバス8上の画像
メモリ5の出力データをデータバスビット配列反転接続
モジュール432を通じてビット配列反転処理して画像処
理プロセッサ側データバス7に出力する。When the set value of the operation mode is 3 and the image processor 3 performs a read operation, the data buffer control unit 410 activates the data buffer 404 through the data buffer control signal line 424 and sets the image memory 5 on the image memory side data bus 8. Is output through the data bus bit array inversion connection module 432 and output to the image processor side data bus 7.
動作モードの設定値が3で画像処理プロセッサ3が
ライト動作時には、データバッファ制御部410は、デー
タバッファ制御信号線421を通じてデータバッファ401を
アクティブにして、画像処理プロセッサ側データバス7
上の画像処理プロセッサ3の出力データを未処理のまま
画像メモリ側データバス8に出力する。When the set value of the operation mode is 3 and the image processor 3 performs the write operation, the data buffer control unit 410 activates the data buffer 401 through the data buffer control signal line 421 and
The output data of the above image processor 3 is output to the image memory side data bus 8 without processing.
動作モードの設定値が4で画像処理プロセッサ3が
リード動作時には、データバッファ制御部410は、デー
タバッファ制御信号線424を通じてデータバッファ404を
アクティブにして、画像メモリ側データバス8上の画像
メモリ5の出力データをデータバスビット配列反転接続
モジュール432を通じてビット配列反転処理して画像処
理プロセッサ側データバス7に出力する。When the set value of the operation mode is 4 and the image processor 3 performs a read operation, the data buffer control unit 410 activates the data buffer 404 through the data buffer control signal line 424 and activates the image memory 5 on the image memory side data bus 8. Is output through the data bus bit array inversion connection module 432 and output to the image processor side data bus 7.
動作モードの設定値が4で画像処理プロセッサ3が
ライト動作時には、データバッファ制御部410は、デー
タバッファ制御信号線423を通じてデータバッファ403を
アクティブにして、画像処理プロセッサ側データバス7
上の画像処理プロセッサ3の出力データをデータバスビ
ット配列反転接続モジュール431を通じてビット配列反
転処理して画像メモリ側データバス8に出力する。When the set value of the operation mode is 4 and the image processor 3 performs a write operation, the data buffer control unit 410 activates the data buffer 403 through the data buffer control signal line 423 and sets the image processor-side data bus 7
The output data of the above image processor 3 is subjected to bit array inversion processing through the data bus bit array inversion connection module 431 and output to the image memory side data bus 8.
以上の結果、画像処理プロセッサ3のリード/ライト
アクセスによって、ビット配列反転回路4により画像デ
ータのビット配列反転処理が行われたり行われなかった
りして、画像メモリ5に対するリード/ライト動作が行
われる。As a result, by the read / write access of the image processor 3, the bit array inversion processing of the image data is performed or not performed by the bit array inversion circuit 4, and the read / write operation to the image memory 5 is performed. .
以上説明したように本発明は、画像データのビット配
列反転処理を画像処理プロセッサのリード/ライト動作
サイクル中に行うビット配列反転回路を設けたことによ
り、画像データのビット配列反転処理をハードウェアで
行うことができ、画像処理プロセッサでの画像処理工程
が軽減して、画像処理時間を短縮することができる効果
がある。As described above, according to the present invention, by providing the bit array inversion circuit for performing the bit array inversion processing of the image data during the read / write operation cycle of the image processor, the bit array inversion processing of the image data is performed by hardware. This can reduce the number of image processing steps in the image processing processor, thereby shortening the image processing time.
第1図は本発明の一実施例に係るディジタル画像処理装
置の構成を示すブロック図、 第2図は本実施例のディジタル画像処理装置における動
作モードの設定値および画像処理プロセッサの画像メモ
リに対するリード/ライト動作とビット配列反転回路の
動作との関係を表にして示す図、 第3図は第1図中のビット配列反転回路の構成の一例を
示す回路ブロックである。 図において、 1……ホスト装置、 2……動作モード保持回路、 3……画像処理プロセッサ、 4……ビット配列反転回路、 5……画像メモリ、 6……信号線、 7……画像処理プロセッサ側データバス、 8……画像メモリ側データバス、 9……画像メモリリード/ライト制御信号線、 10……動作モード指定信号線、 401〜404……データバッファ、 410……データバッファ制御部、 421〜424……データバッファ制御信号線、 431,432……データバスビット配列反転接続モジュール
である。FIG. 1 is a block diagram showing the configuration of a digital image processing apparatus according to one embodiment of the present invention, and FIG. 2 is a diagram showing operation mode set values and reading of an image processor from an image memory in the digital image processing apparatus of this embodiment. FIG. 3 is a table showing the relationship between the / write operation and the operation of the bit array inverting circuit. FIG. 3 is a circuit block showing an example of the configuration of the bit array inverting circuit in FIG. In the figure, 1 ... host device, 2 ... operation mode holding circuit, 3 ... image processing processor, 4 ... bit array inversion circuit, 5 ... image memory, 6 ... signal line, 7 ... image processor 8: Image memory side data bus, 9: Image memory read / write control signal line, 10: Operation mode designation signal line, 401 to 404: Data buffer, 410: Data buffer control unit, 421 to 424: Data buffer control signal lines, 431, 432: Data bus bit array inversion connection modules.
Claims (1)
るディジタル画像処理装置において、 ホスト装置より設定された第1ないし第4の設定値をと
る動作モードを保持する動作モード保持回路と、 画像処理プロセッサの画像メモリのリード/ライト動作
を検知し、前記動作モード保持回路に保持されている動
作モードが第1の設定値で画像処理プロセッサがリード
動作時には画像メモリの出力データを未処理のまま画像
処理プロセッサのリード動作サイクル中に画像処理プロ
セッサ側データバスに出力し、前記動作モード保持回路
に保持されている動作モードが第1の設定値で画像処理
プロセッサがライト動作時には画像処理プロセッサの出
力データを未処理のまま画像処理プロセッサのライト動
作サイクル中に画像メモリ側データバスに出力し、前記
動作モード保持回路に保持されている動作モードが第2
の設定値で画像処理プロセッサがリード動作時には画像
メモリの出力データを未処理のまま画像処理プロセッサ
のリード動作サイクル中に画像処理プロセッサ側データ
バスに出力し、前記動作モード保持回路に保持されてい
る動作モードが第2の設定値で画像処理プロセッサがラ
イト動作時には画像処理プロセッサの出力データをビッ
ト配列反転処理して画像処理プロセッサのライト動作サ
イクル中に画像メモリ側データバスに出力し、前記動作
モード保持回路に保持されている動作モードが第3の設
定値で画像処理プロセッサがリード動作時には画像メモ
リの出力データをビット配列反転処理して画像処理プロ
セッサのリード動作サイクル中に画像処理プロセッサ側
データバスに出力し、前記動作モード保持回路に保持さ
れている動作モードが第3の設定値で画像処理プロセッ
サがライト動作時には画像処理プロセッサの出力データ
を未処理のまま画像処理プロセッサのライト動作サイク
ル中に画像メモリ側データバスに出力し、前記動作モー
ド保持回路に保持されている動作モードが第4の設定値
で画像処理プロセッサがリード動作時には画像メモリの
出力データをビット配列反転処理して画像処理プロセッ
サのリード動作サイクル中に画像処理プロセッサ側デー
タバスに出力し、前記動作モード保持回路に保持されて
いる動作モードが第4の設定値で画像処理プロセッサが
ライト動作時には画像処理プロセッサの出力データをビ
ット配列反転処理して画像処理プロセッサのライト動作
サイクル中に画像メモリ側データバスに出力するビット
配列反転回路と を有することを特徴とするディジタル画像処理装置。1. A digital image processing device comprising an image processor and an image memory, comprising: an operation mode holding circuit for holding an operation mode taking first to fourth set values set by a host device; The read / write operation of the image memory is detected, the operation mode held in the operation mode holding circuit is the first set value, and when the image processor is in the read operation, the output data of the image memory is not processed and the image processing is performed. During the read operation cycle of the processor, the data is output to the data bus on the image processor side, and when the operation mode held in the operation mode holding circuit is the first set value and the image processor is in the write operation, the output data of the image processor is output. The data bus on the image memory side during the write operation cycle of the image processor without processing Output, the operation mode holding circuit operation mode stored in the second
During the read operation of the image processor, the output data of the image memory is output unprocessed to the image processor-side data bus during the read operation cycle of the image processor when the image processor performs the read operation, and is held in the operation mode holding circuit. When the operation mode is the second set value and the image processor performs a write operation, the output data of the image processor is subjected to bit array inversion processing and output to the image memory side data bus during a write operation cycle of the image processor. When the operation mode held in the holding circuit is the third set value and the image processor performs a read operation, the output data of the image memory is subjected to bit array inversion processing, and the image processor side data bus is executed during the read operation cycle of the image processor. To the operation mode held in the operation mode holding circuit. When the image processing processor performs the write operation with the third set value, the output data of the image processing processor is output to the image memory side data bus during the write operation cycle of the image processing processor without being processed, and is held in the operation mode holding circuit. When the operation mode is the fourth set value and the image processor performs a read operation, the output data of the image memory is subjected to bit array inversion processing and output to the image processor side data bus during the read operation cycle of the image processor. When the operation mode held by the operation mode holding circuit is the fourth set value and the image processor performs a write operation, the output data of the image processor is subjected to bit array inversion processing and the image memory is written during the write operation cycle of the image processor. And a bit array inverting circuit for outputting to the side data bus. Digital image processing apparatus for.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP24129889A JP2884620B2 (en) | 1989-09-18 | 1989-09-18 | Digital image processing device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP24129889A JP2884620B2 (en) | 1989-09-18 | 1989-09-18 | Digital image processing device |
Publications (2)
Publication Number | Publication Date |
---|---|
JPH03102577A JPH03102577A (en) | 1991-04-26 |
JP2884620B2 true JP2884620B2 (en) | 1999-04-19 |
Family
ID=17072200
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP24129889A Expired - Fee Related JP2884620B2 (en) | 1989-09-18 | 1989-09-18 | Digital image processing device |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2884620B2 (en) |
-
1989
- 1989-09-18 JP JP24129889A patent/JP2884620B2/en not_active Expired - Fee Related
Also Published As
Publication number | Publication date |
---|---|
JPH03102577A (en) | 1991-04-26 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JPH0472255B2 (en) | ||
US4835684A (en) | Microcomputer capable of transferring data from one location to another within a memory without an intermediary data bus | |
JP2884620B2 (en) | Digital image processing device | |
JP2577071B2 (en) | Digital signal processor | |
JP3323526B2 (en) | Digital signal processor | |
KR920004414B1 (en) | Communication method between processor and coprocessor | |
JPS6381557A (en) | Dual port memory | |
JPH02207363A (en) | Data transfer system, device controller, and memory controller | |
JP3217815B2 (en) | Address translation method | |
KR0120598B1 (en) | Memory board designing method and device | |
JP2919357B2 (en) | CPU interface circuit | |
JPH03189755A (en) | Inter-memory transfer device | |
JPH04130943A (en) | Memory diagnostic system | |
JPS59119456A (en) | Access system of segmented memory | |
JPH05334099A (en) | Write circuit for state setting register | |
JPH04176094A (en) | Memory ic | |
JPH01223689A (en) | Dual port memory device | |
JPH05159042A (en) | Picture processor | |
JPH02161536A (en) | Bus interface device | |
JPS61292739A (en) | Memory device | |
JPH05181690A (en) | Error retry system | |
JPH01233515A (en) | Information processor | |
JPH0325539A (en) | Storage device | |
JPS63178320A (en) | Multi-window display device | |
JPS61156089A (en) | Display unit |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
LAPS | Cancellation because of no payment of annual fees |