JPH0635442A - Data converting device - Google Patents

Data converting device

Info

Publication number
JPH0635442A
JPH0635442A JP4185294A JP18529492A JPH0635442A JP H0635442 A JPH0635442 A JP H0635442A JP 4185294 A JP4185294 A JP 4185294A JP 18529492 A JP18529492 A JP 18529492A JP H0635442 A JPH0635442 A JP H0635442A
Authority
JP
Japan
Prior art keywords
bit
pixel data
bit data
pixel
data
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
JP4185294A
Other languages
Japanese (ja)
Inventor
Akira Akiyama
晃 秋山
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.)
Fujifilm Business Innovation Corp
Original Assignee
Fuji Xerox Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Fuji Xerox Co Ltd filed Critical Fuji Xerox Co Ltd
Priority to JP4185294A priority Critical patent/JPH0635442A/en
Publication of JPH0635442A publication Critical patent/JPH0635442A/en
Pending legal-status Critical Current

Links

Landscapes

  • Controls And Circuits For Display Device (AREA)

Abstract

PURPOSE:To convert bit data into pixel data fast by providing a conversion table for the batch conversion of a specific bit data sequence into a specific pixel data sequence. CONSTITUTION:A setting part 5 sets pixel data 'P1' corresponding to a bit '1' in the conversion table 3 and pixel data 'P0' corresponding to a bit '0' according to an instruction from a control part 4. In the conversion 3, a corresponding pixel data sequence is arranged for every 16 indexes corresponding to a 4-bit data sequence. A successive bit data sequence L1 is read out of a bit data storage part 1 and one 4-bit data is converted into a corresponding pixel data sequence at a time by the conversion table 3. Then the converted pixel data sequence is stored sequentially in a pixel data storage part 3.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、ビットデータをピクセ
ルデータに変換するデータ変換装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a data conversion device for converting bit data into pixel data.

【0002】[0002]

【従来の技術】従来、ビットデータを指定されたピクセ
ル値に基づいてピクセルデータに変換する場合、1ビッ
トごとに”1”か”0”かの検査を行い、それぞれに応
じたピクセルデータに変換し、転送を行っていたが、大
量のビットデータを変換する場合、ピクセルデータへの
変換処理に時間がかかってしまうという問題点があっ
た。例えば、カラービットマップディスプレイを備えた
コンピュータにおいて、ビットイメージをカラーイメー
ジに変換して表示する場合、その表示がモノクロディス
プレイへの表示に比べ遅くなるという問題点があった。
2. Description of the Related Art Conventionally, when converting bit data into pixel data based on a specified pixel value, it is inspected for each bit "1" or "0" and converted into pixel data corresponding to each of them. However, the transfer was performed, but when converting a large amount of bit data, there was a problem that conversion processing into pixel data took time. For example, in a computer equipped with a color bitmap display, when a bit image is converted into a color image and displayed, the display is slower than the display on a monochrome display.

【0003】なお、この問題点を解消する技術として、
特開平3−186980号がある。これは、マイクロプ
ロセッサが、ビット列からデータ配列に展開する処理を
1命令で行える命令を備えることにより、命令読み込み
に必要なメモリへのアクセス回数を減らすとともに、命
令解読に必要な時間を短縮する等により、変換処理の高
速化を実現するものである。
As a technique for solving this problem,
There is JP-A-3-186980. This is because the microprocessor has an instruction that can perform the process of expanding from a bit string to a data array with one instruction, thereby reducing the number of accesses to the memory required for instruction reading and reducing the time required for instruction decoding, etc. Thus, the conversion processing can be speeded up.

【0004】[0004]

【発明が解決しようとする課題】前述したように、従
来、大量のビットデータをピクセルデータに変換する場
合は、その変換処理に時間がかかるという問題点があっ
た。
As described above, conventionally, when converting a large amount of bit data into pixel data, there has been a problem that the conversion process takes time.

【0005】そこで、本発明は、かかる問題点を除去
し、ビットデータのピクセルデータへの高速変換処理を
行うことができるデータ変換装置を提供することを目的
とする。
It is therefore an object of the present invention to provide a data conversion device which eliminates such problems and can perform a high speed conversion process of bit data into pixel data.

【0006】[0006]

【課題を解決するための手段】本発明は、ビットデータ
を所定のピクセル値に基づいてピクセルデータに変換す
るデータ変換装置において、入力された所定のビットデ
ータ列を記憶する第1の記憶手段と、前記ビットデータ
列を構成する各ビットに対応する前記所定のピクセル値
を設定する設定手段と、前記所定のビットデータ列の値
をもとに前記所定のビットデータ列を前記設定手段によ
り設定されたピクセル値からなる所定のピクセルデータ
列に一括変換する変換テーブルと、前記変換テーブルに
より変換されたピクセルデータ列を記憶する第2の記憶
手段とを具備したことを特徴とする。
According to the present invention, in a data conversion device for converting bit data into pixel data based on a predetermined pixel value, a first storage means for storing an input predetermined bit data string is provided. , Setting means for setting the predetermined pixel value corresponding to each bit forming the bit data string, and the predetermined bit data string set by the setting means based on the value of the predetermined bit data string. It is characterized by comprising a conversion table for collectively converting into a predetermined pixel data string composed of the pixel values, and a second storage means for storing the pixel data string converted by the conversion table.

【0007】[0007]

【作用】本発明は、 第1の記憶手段から取り出された
所定のビットデータ列が、このビットデータ列を構成す
る”1”または”0”の各ビットに対応する所定のピク
セル値からなる前記所定のビットデータ列の組み合わせ
を全て有する変換テーブルで一括変換され、この変換さ
れたピクセルデータ列は第2の記憶手段に記憶される。
また、この所定のビットデータ列を構成する各ビット”
1”または”0”に対応する所定のピクセル値は、設定
変更することができる。
According to the present invention, the predetermined bit data string retrieved from the first storage means comprises a predetermined pixel value corresponding to each bit of "1" or "0" forming the bit data string. It is collectively converted by a conversion table having all combinations of predetermined bit data strings, and the converted pixel data strings are stored in the second storage means.
In addition, each bit that constitutes the predetermined bit data string
The predetermined pixel value corresponding to 1 "or" 0 "can be set and changed.

【0008】[0008]

【実施例】以下、図面を参照して本発明の一実施例につ
いて説明する。図1は、本発明の第1の実施例であるデ
ータ変換装置の構成ブロック図である。図1において、
データ変換装置は、変換されるビットデータが記憶され
ているビットデータ記憶部1、所定数のビットデータを
ピクセルデータ列に一括変換する変換テーブル3、変換
テーブル3により一括変換されたピクセルデータ列を記
憶するピクセルデータ記憶部2、変換テーブル3内のビ
ットデータに対応するピクセルデータの値を設定する設
定部5およびデータの読出し、書込等の全体制御を行う
制御部4から構成される。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of the present invention will be described below with reference to the drawings. FIG. 1 is a block diagram showing the configuration of a data conversion device that is a first embodiment of the present invention. In FIG.
The data converter includes a bit data storage unit 1 in which bit data to be converted is stored, a conversion table 3 for collectively converting a predetermined number of bit data into a pixel data string, and a pixel data string collectively converted by the conversion table 3. It is composed of a pixel data storage unit 2 for storing, a setting unit 5 for setting a value of pixel data corresponding to bit data in the conversion table 3, and a control unit 4 for performing overall control such as reading and writing of data.

【0009】図2は、4ビットデータを一括してピクセ
ルデータ列に変換するデータ変換装置を説明する図であ
る。すなわち、図1における所定ビットデータ列が4ビ
ットであり、変換されるピクセルデータ列が4ビットデ
ータ列L1に対応するピクセルデータ列L2になる。図
2において、設定部5は、制御部4からの指示に基づ
き、変換テーブル3におけるビット”1”に対応するピ
クセルデータ”P1”、およびビット”0”に対応する
ピクセルデータ”P0”を設定しておく。なお、本実施
例では、変換される1ピクセルの値は、8ビットとして
いる。図2において、変換テーブルは、4ビットデータ
列に対応する16個のインデックスを有し、この16個
のインデックスごとに、対応するピクセルデータ列が配
置されている。このため、ビットデータ記憶部1から読
み出されて連続するビットデータ列の1つの4ビットデ
ータは、4ビットデータの情報、例えば、インデックス
「1011」に対応するピクセルデータ列「P1,P
0,P1,P1」に一括変換される。そして、この変換
されたピクセルデータ列「P1,P0,P1,P1」
は、順次、ピクセルデータ記憶部2に記憶されることに
なる。
FIG. 2 is a diagram for explaining a data conversion device for collectively converting 4-bit data into a pixel data string. That is, the predetermined bit data string in FIG. 1 is 4 bits, and the converted pixel data string is the pixel data string L2 corresponding to the 4-bit data string L1. In FIG. 2, the setting unit 5 sets pixel data “P1” corresponding to the bit “1” and pixel data “P0” corresponding to the bit “0” in the conversion table 3 based on the instruction from the control unit 4. I'll do it. In this embodiment, the value of one pixel to be converted is 8 bits. In FIG. 2, the conversion table has 16 indexes corresponding to a 4-bit data string, and a corresponding pixel data string is arranged for each of these 16 indexes. Therefore, one piece of 4-bit data of a continuous bit data string read from the bit data storage unit 1 is represented by 4-bit data information, for example, the pixel data string “P1, P1” corresponding to the index “1011”.
0, P1, P1 ". Then, the converted pixel data string “P1, P0, P1, P1”
Are sequentially stored in the pixel data storage unit 2.

【0010】図3は、データ変換装置の変換フローチャ
ートである。図3において、まず、設定部5は、ビット
データ”1”および”0”に対応するピクセルデータ”
P1”および”P0”を設定変更する(ステップ3
1)。その後、ビットデータ記憶部1から、4ビットデ
ータ列を読み込み(ステップ32)、4ビットデータ列
の検査を行う(ステップ33)。次に、ステップ32の
検査インデックスをもとに変換テーブル3からピクセル
データ列を取り出す(ステップ34)。そして、この変
換されたピクセルデータ列をピクセルデータ記憶部2に
記憶する(ステップ35)。最後に、さらに4ビットデ
ータ列があるか否かを判断し(ステップ36)、4ビッ
トデータ列がある場合には、ステップ31に移行して、
さらに4ビットデータのピクセルデータへの変換を行
い、4ビットデータ列がない場合には処理を終了する。
なお、変換テーブル内のピクセルデータ値の変更は、ビ
ットデータ”1”および”0”の2種類のみであるた
め、変更時間は少なくて済む。
FIG. 3 is a conversion flowchart of the data conversion device. In FIG. 3, first, the setting unit 5 sets the pixel data “corresponding to the bit data“ 1 ”and“ 0 ””.
Change the settings of P1 "and" P0 "(step 3
1). Then, the 4-bit data string is read from the bit data storage unit 1 (step 32), and the 4-bit data string is inspected (step 33). Next, a pixel data string is extracted from the conversion table 3 based on the inspection index in step 32 (step 34). Then, the converted pixel data string is stored in the pixel data storage unit 2 (step 35). Finally, it is determined whether or not there is a further 4-bit data string (step 36), and if there is a 4-bit data string, the process proceeds to step 31,
Further, the 4-bit data is converted into pixel data, and when there is no 4-bit data string, the processing is ended.
Note that the pixel data value in the conversion table can be changed only in two types of bit data “1” and “0”, so the change time can be short.

【0011】このようにして、ビットデータからピクセ
ルデータへの変換を所定ビット数分を一括変換するよう
にしているので、変換処理の高速化が図れる。
In this way, since the conversion from bit data to pixel data is carried out collectively for a predetermined number of bits, the conversion processing can be speeded up.

【0012】[0012]

【発明の効果】以上説明したように、本発明は、第1の
記憶手段から取り出された所定のビットデータ列が、こ
のビットデータ列を構成する”1”または”0”の各ビ
ットに対応する所定のピクセル値からなる前記所定のビ
ットデータ列の組み合わせを全て有する変換テーブルで
一括変換されるため、ビットデータからピクセルデータ
への高速変換ができるという利点を有する。
As described above, according to the present invention, the predetermined bit data string retrieved from the first storage means corresponds to each bit of "1" or "0" forming this bit data string. Since the conversion table having all the combinations of the predetermined bit data strings composed of the predetermined pixel values is collectively converted, there is an advantage that the bit data can be converted into the pixel data at a high speed.

【0013】また、本データ変換装置の使用する際の変
換データの特性および変換テーブルのピクセルデータ値
の変更時間を考慮して、最適な一括変換量を設定するこ
とにより、さらに高速変換処理が可能となる利点を有す
る。
Further, the conversion speed can be further increased by setting the optimum batch conversion amount in consideration of the characteristics of the conversion data and the change time of the pixel data value of the conversion table when the data conversion apparatus is used. Has the advantage that

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

【図1】本発明の第1の実施例であるデータ変換装置の
構成ブロック図。
FIG. 1 is a configuration block diagram of a data conversion device that is a first embodiment of the present invention.

【図2】4ビットデータを一括してピクセルデータ列に
変換するデータ変換装置を説明する図。
FIG. 2 is a diagram illustrating a data conversion device that collectively converts 4-bit data into a pixel data string.

【図3】データ変換装置の変換フローチャート。FIG. 3 is a conversion flowchart of the data conversion device.

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

1 ビットデータ記憶部 2 ピクセルデータ記憶部
3 変換テーブル 4 制御部 5 設定部 L1 ビットデータ列 L2
ピクセルデータ列
1-bit data storage unit 2 Pixel data storage unit
3 conversion table 4 control unit 5 setting unit L1 bit data string L2
Pixel data string

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】ビットデータを所定のピクセル値に基づい
てピクセルデータに変換するデータ変換装置において、 入力された所定のビットデータ列を記憶する第1の記憶
手段と、 前記ビットデータ列を構成する各ビットに対応する前記
所定のピクセル値を設定する設定手段と、 前記所定のビットデータ列の値をもとに前記所定のビッ
トデータ列を前記設定手段により設定されたピクセル値
からなる所定のピクセルデータ列に一括変換する変換テ
ーブルと、 前記変換テーブルにより変換されたピクセルデータ列を
記憶する第2の記憶手段とを具備したことを特徴とする
データ変換装置。
1. A data conversion device for converting bit data into pixel data based on a predetermined pixel value, comprising first storage means for storing an input predetermined bit data string, and the bit data string. Setting means for setting the predetermined pixel value corresponding to each bit, and a predetermined pixel having a pixel value set by the setting means for the predetermined bit data string based on the value of the predetermined bit data string A data conversion device comprising: a conversion table for collectively converting into a data string, and a second storage means for storing the pixel data string converted by the conversion table.
JP4185294A 1992-07-13 1992-07-13 Data converting device Pending JPH0635442A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP4185294A JPH0635442A (en) 1992-07-13 1992-07-13 Data converting device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP4185294A JPH0635442A (en) 1992-07-13 1992-07-13 Data converting device

Publications (1)

Publication Number Publication Date
JPH0635442A true JPH0635442A (en) 1994-02-10

Family

ID=16168346

Family Applications (1)

Application Number Title Priority Date Filing Date
JP4185294A Pending JPH0635442A (en) 1992-07-13 1992-07-13 Data converting device

Country Status (1)

Country Link
JP (1) JPH0635442A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8904155B2 (en) 2006-03-17 2014-12-02 Qualcomm Incorporated Representing loop branches in a branch history register with multiple bits

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8904155B2 (en) 2006-03-17 2014-12-02 Qualcomm Incorporated Representing loop branches in a branch history register with multiple bits

Similar Documents

Publication Publication Date Title
JPH0635442A (en) Data converting device
JP3270665B2 (en) Encoding / decoding apparatus and method
JPH07271656A (en) Image data processing system
JP2767815B2 (en) Image data conversion circuit
US20050210087A1 (en) Apparatus and method for scaling digital data information
JPH1027130A (en) Picture processor and its processing method
JPS58121484A (en) Context analyzing circuit
JP2508190B2 (en) Drawing method
JPH0728444A (en) Method for revising tone of image data
JP3061230B2 (en) Image processing device
JPH0689089A (en) Acquisition system for character image data
JPS6165370A (en) Data processing circuit
JP2771350B2 (en) Image processing device
JPH08305839A (en) Method for storing image data in image processing system
JP2001505674A (en) Method and apparatus for performing an efficient memory read operation using a video display adapter compatible with VGA
JPS59172881A (en) Picture information processing system
JPH0311474A (en) Image editing device
JPH0594166A (en) System for displaying image data on display
JPH03206578A (en) Data conversion circuit
JPH07182514A (en) Histogram constructing circuit
JPS6165369A (en) Data processing circuit
JPH047596A (en) Image memory control system
JPS5851371A (en) Book processing system
JPH0757079A (en) Dotting processing circuit of image processor
JPS6265079A (en) Image display unit