JPH02238517A - Picture data conversion circuit - Google Patents

Picture data conversion circuit

Info

Publication number
JPH02238517A
JPH02238517A JP6030589A JP6030589A JPH02238517A JP H02238517 A JPH02238517 A JP H02238517A JP 6030589 A JP6030589 A JP 6030589A JP 6030589 A JP6030589 A JP 6030589A JP H02238517 A JPH02238517 A JP H02238517A
Authority
JP
Japan
Prior art keywords
data
picture
primary colors
memory
ram
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
JP6030589A
Other languages
Japanese (ja)
Inventor
Hiroyuki Kurokawa
裕之 黒川
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.)
Seiko Instruments Inc
Original Assignee
Seiko Instruments 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 Seiko Instruments Inc filed Critical Seiko Instruments Inc
Priority to JP6030589A priority Critical patent/JPH02238517A/en
Publication of JPH02238517A publication Critical patent/JPH02238517A/en
Pending legal-status Critical Current

Links

Landscapes

  • Digital Computer Display Output (AREA)

Abstract

PURPOSE:To process the picture data at a high speed by using the coded data as an address to separate the picture data into the densities of three primary colors for production of the density data before the picture data is stored in a picture memory. CONSTITUTION:The hardware is added to decode data with no use of a CPU of a recording device after providing a logic arithmetic circuit before the picture data containing the encoded density information is sent to a picture memory 6. A decoding means consists of an S-RAM 5, a counter 4, and a data latch mechanism 2. For the inputted data, the picture codes are inputted to the lower rank addresses as the memory addresses of the S-RAM 5. At the same time, the higher rank addresses serve as the selection addresses of three primary colors and the output serves directly as the density data corresponding to the three primary colors. Thus the picture data is converted at a high speed.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 近年カラー画像は、高精細、高解像度、フルカラー化が
進み、記録装置に転送する画像データ量が膨大化してい
る。この為、従来は3原色に分離していた画像データが
一般的であったがデータ量の増大と共に、HOST処理
側でコード化圧縮した形の画像データを扱うようになっ
てきた。本発明はこのコード化された画像データを記録
するカラー記録装置に関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] In recent years, color images have become more precise, higher resolution, and full-color, and the amount of image data transferred to recording devices has become enormous. For this reason, in the past, image data separated into three primary colors was common, but as the amount of data has increased, image data in the form of coded compression has come to be handled on the HOST processing side. The present invention relates to a color recording device that records this coded image data.

〔発明の概要〕[Summary of the invention]

3原色に分離された濃度情報を必要とするカラー記録装
置の画像処理部において、コード化されて入力された画
像データを画像メモリーに格納する前にコード化された
データをアトレスとして扱い、デコード用論理回路の入
力アドレスとし、この入力アドレスに対応した演算を行
い、3原色の濃度に分離し、出力データを3原色の濃度
データとして画像メモリーに格納するようにしたもので
、論理回路を一般的なS−RAMにした場合は、入力デ
ータがRAMのアドレスになり、RAMの出力は各色の
濃度データとなる。
In the image processing section of a color recording device that requires density information separated into three primary colors, the coded data is handled as an address before being stored in the image memory, and is used for decoding. The input address of the logic circuit is used as an input address, the calculation corresponding to this input address is performed, the data is separated into the densities of the three primary colors, and the output data is stored in the image memory as the density data of the three primary colors. If S-RAM is used, the input data will be the address of the RAM, and the output of the RAM will be the density data of each color.

〔従来の技術〕[Conventional technology]

コード化されたカラー画像データを処理する為には、あ
らかしめそのコードと対応した3原色の濃度データが画
像データの転送に先立ち記録装置側に知らされており、
この情報を元に、従来では記録装置側に搭載されている
cpuが論理展開を行っていた。コード化された画像デ
ータはいったん全てメモリーに格納され、記録に先立ち
CPUが前述のコード対応情報を元に画像メモリーへ再
転送していた。
In order to process coded color image data, the density data of the three primary colors corresponding to the code is informed to the recording device before the image data is transferred.
Conventionally, a CPU mounted on the recording device side performs logical expansion based on this information. All encoded image data is once stored in memory, and prior to recording, the CPU retransfers it to the image memory based on the above-mentioned code correspondence information.

〔発明が解決しようとする課題〕[Problem to be solved by the invention]

上述した従来技術によると、コード化された画像データ
の3原色へのデコード処理は全画素にわたる為、1画素
あたりの処理時間は記録装置に搭載されているCPUの
処理能力で決まり、画像サイズが大きい場合は、全体の
記録時間に対してこのデコード時間が無視出来なくなる
。又コード化された画像データを一旦メモリーに格納し
なくてはならず、3原色の画像メモリエリアとは別に、
エリアを確保する必要がある。またエリアを別に設けず
に、1画素ずつ入力時に処理を行い、3原色に変換しな
がらメモリーに格納するというシーケンスをとった場合
には、記録装置へのデータ転送時間が、CPUの処理時
間分付加される為、システムのスループソトが低下する
ことになる。
According to the above-mentioned conventional technology, since the decoding process of coded image data into the three primary colors covers all pixels, the processing time per pixel is determined by the processing capacity of the CPU installed in the recording device, and the image size is If it is large, this decoding time cannot be ignored compared to the entire recording time. Also, the encoded image data must be stored in memory, separate from the image memory area for the three primary colors.
It is necessary to secure the area. In addition, if you do not set up a separate area and use a sequence in which each pixel is processed as it is input and stored in memory while being converted to the three primary colors, the data transfer time to the recording device will be equivalent to the CPU processing time. As a result, the throughput of the system decreases.

〔課題を解決するための手段〕[Means to solve the problem]

本発明は、コード化された濃度情報をもった画像データ
を画像メモリーに転送する前に、論理演算回路を儲け記
録装置側のCPUを使用せず、デコードする為のハード
ウエアを追加するものである。デコードの手段としては
、1つのS−RAM.1つのカウンター、1つのデータ
ランチ機構とで構成され、単純なハードウエアの構成で
可能となるものである。入力されたデータは、そのまま
SRAMのメモリーアドレスとして画像コードが下位ア
ドレスに入力され、上位アドレスは、3原色の選択アド
レスとして働き出力はそのまま、各3原色に対応した濃
度データとなる。1回のコートデータ入力に対して、画
像メモリーへの転送は3原色分必要な事は言うまでもな
いが、3原色分のメモリーがブロノク化されている場合
は、3回転送を行う事になり、この時S−RAMの上位
アドレスは色に対応して変化して行く。この様にSRA
Mを用いた変換回路はいたって単純な回路=3 構成となり、データ変換時間はS−RAMのアクセスタ
イムによって決定される為、処理スピードは非常に早い
The present invention adds hardware for decoding the image data containing coded density information before transferring it to the image memory, saving the logic operation circuit and not using the CPU of the recording device. be. As a decoding means, one S-RAM. It consists of one counter and one data launch mechanism, and is possible with a simple hardware configuration. The input data is directly inputted as a memory address of the SRAM, and the image code is inputted to the lower address, and the upper address serves as the selection address for the three primary colors, and the output is the density data corresponding to each of the three primary colors. It goes without saying that it is necessary to transfer data for three primary colors to the image memory for one coat data input, but if the memory for the three primary colors is formatted, the data will be transferred three times. At this time, the upper address of the S-RAM changes in accordance with the color. In this way SRA
The conversion circuit using M has a very simple circuit configuration of 3 circuits, and since the data conversion time is determined by the S-RAM access time, the processing speed is extremely fast.

〔作用〕[Effect]

デコード回路を専用ハードウエアで行っているため、記
録装置側のCPUの処理能力は、本画像データの処理に
おいて問題とする必要がなく、SRAMのアクセスタイ
ムによって処理スピードが決定される為、CPUを用い
て処理を行う方式に選べ、非常に高速なデータ変換が可
能となる。
Since the decoding circuit is performed by dedicated hardware, the processing power of the CPU on the recording device side does not need to be a problem in processing the main image data.The processing speed is determined by the SRAM access time, so the CPU This allows for very high-speed data conversion.

又、一旦全画像データをメモリーに格納する必要がない
ため、1画素ずつ変換し、3原色の画像メモリーへ転送
することも可能となり、余分なメモリエリアを必要とし
ていだけでなく、コードが固定されている場合はS−R
AMをROM化、又は専用ゲート化が可能になり、周辺
回路はさらに単純なものとなる。
In addition, since it is not necessary to store all image data in memory, it is possible to convert pixel by pixel and transfer it to the three primary color image memories, which not only requires extra memory area but also requires a fixed code. S-R if
It becomes possible to convert the AM into a ROM or a dedicated gate, and the peripheral circuitry becomes even simpler.

〔実施例〕〔Example〕

以下図面を参照して本発明の好適な実施例を説明する。 Preferred embodiments of the present invention will be described below with reference to the drawings.

第1図のブロック図を示す如く、本実施例は入力データ
1を一時確保しておくラソチ2とメモリーへの転送によ
って発生するDMACLK(クロソク)をもとにカウン
トする3進カウンタ4及びデコードデータが書き込まれ
ているS−RAM5より構成される。この実施例では、
爾像データ中を一般的な8ビノトとして説明すると、ま
ずコードデータは00h〜FFhの256通りの値を持
つ。この場合、同時に表現できる色数としては356色
であるわけであるが、この各1色中の3原色の割合はこ
のコードでは表現されていないため、デコードが必要と
なるコード、256の各原色との割合はあらかじめホス
ト、又はシステムを動かしているプログラムによって、
記録装置に与えられている。例えばOOhを真白と定義
した例では3原色のR (レッド)100%,G(グリ
ーン)100%,B(ブルー)100%となるわけで、
これが青みがかった白と定義している場合は、R. G
が少ない比率になるわけである。出力のデータとして多
色8ビソI− (256諧調)とした場合は共に100
%とはFFhの値となる。すなわち入力データは00h
であるから、S−RAMのアドレスは00hであるが、
上位のA8.A9は出力の原色に対応してカウンク4の
値により変化する。初めは00であるので仮にRとすれ
ばRの成分を示すSRAMのアドレスは第2図7に相当
する。同様にGは8,Bは9に相当でき、前述のように
原色の成分割合が異なる場合はそのアドレス内のデータ
を変更すれば良いことになる。又、表に示すように80
hを灰色に規定した場合は、各原色の割合は50%にな
るので同様にS−RAMのデータは80hが出力される
事になる。
As shown in the block diagram of FIG. 1, this embodiment includes a laser chip 2 that temporarily secures input data 1, a ternary counter 4 that counts based on DMACLK (cross clock) generated by transfer to memory, and decoded data. It is composed of S-RAM 5 in which is written. In this example,
To explain the image data as a general 8-bit code, the code data has 256 values from 00h to FFh. In this case, the number of colors that can be expressed simultaneously is 356 colors, but the ratio of the three primary colors in each color is not expressed in this code, so the code that needs to be decoded, each of the 256 primary colors. The ratio is determined in advance by the host or the program running the system.
given to the recording device. For example, in an example where OOh is defined as pure white, the three primary colors are R (red) 100%, G (green) 100%, and B (blue) 100%.
If this is defined as bluish white, then R. G
This means that the ratio will be small. If the output data is multicolor 8-viso I- (256 tones), both are 100
% is the value of FFh. In other words, the input data is 00h
Therefore, the address of S-RAM is 00h,
Upper A8. A9 changes depending on the value of count 4 corresponding to the primary color of the output. Since the initial value is 00, if it is assumed to be R, the SRAM address indicating the R component corresponds to FIG. 7. Similarly, G can correspond to 8 and B can correspond to 9, and if the component ratios of the primary colors are different as described above, it is sufficient to change the data in the address. Also, as shown in the table, 80
If h is defined as gray, the proportion of each primary color will be 50%, so 80h will be output as S-RAM data.

表 メモリーへの転送は本例では8ビット単位で行うのでR
を転送したならば、D M A C L Kによってカ
ウンク4がカウン1−アンプし、S−RAMの上位アト
レスがGを示す事になる。同様のンーケンスを繰り返し
、合計3回のメモリー転送を行う事によって1画素分の
コート変換が終了する。これらのタイミングを第2図に
示す。本例では、出力を8ビットとしているが3原色同
時に画像メモリーへ転送する様な構成も当然考えられ、
この場合は24ビソ1・1回の転送で一度に変換処理が
終了することになる。又、入力のコートも8ビソ1・に
とらわれず、同時1024色となる10ビノト等もあり
、他の多くのビット数についても同様の構成が可能であ
り、この例にとらわれるものではない。又、S−RAM
をROMに置き換える事も同様である。
In this example, transfer to table memory is performed in 8-bit units, so R
If this is transferred, Count 4 will amplify Count 1 by DMAC L K, and the upper address of S-RAM will indicate G. The code conversion for one pixel is completed by repeating the same sequence and performing memory transfer a total of three times. These timings are shown in FIG. In this example, the output is 8 bits, but of course a configuration in which the three primary colors are transferred to the image memory at the same time can also be considered.
In this case, the conversion process will be completed at once by transferring 24 bis once. Furthermore, the input code is not limited to 8 bits and 1 bits, but may also be 10 bits, which is 1024 colors at the same time, and a similar configuration is possible for many other bit numbers, and is not limited to this example. Also, S-RAM
The same applies to replacing ROM with ROM.

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

本発明はコード化された画像データを高速に処理する事
が可能となり、記録装置の処理能力を上げる効果がある
、又システム全体としてのスルプノトが向上することも
言うまでもない。
It goes without saying that the present invention makes it possible to process coded image data at high speed, has the effect of increasing the processing capacity of the recording device, and also improves the performance of the entire system.

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

第1図は本発明のデータ変換回路ブロソク図、第2図は
データの流れを示すタイミングチャートである。 2・・・データラソチ 4・・・3進カウンク 5・・・S−RAM 6・・・画像メモリ 以上 出願人 セイコー電子工業株式会社 代理人 弁理士 林  敬 之 助
FIG. 1 is a block diagram of a data conversion circuit according to the present invention, and FIG. 2 is a timing chart showing the flow of data. 2...Data rasochi 4...Ternary count 5...S-RAM 6...Image memory or more Applicant Seiko Electronic Industries Co., Ltd. Agent Patent attorney Keinosuke Hayashi

Claims (2)

【特許請求の範囲】[Claims] (1)記録装置におけるデータ変換回路において、コー
ド化された濃度情報を持ったカラー画像データを画像メ
モリーに格納する前に論理演算を行い、3原色の濃度デ
ータに分離することを特徴とする画像データ変換回路。
(1) An image characterized in that, in a data conversion circuit in a recording device, a logical operation is performed on color image data having encoded density information before storing it in an image memory, and the data is separated into three primary color density data. Data conversion circuit.
(2)専用メモリーを用いて前記論理演算を行う為の回
路を設けたことを特徴とする特許請求の範囲第1項に示
す画像データ変換回路。
(2) The image data conversion circuit according to claim 1, further comprising a circuit for performing the logical operation using a dedicated memory.
JP6030589A 1989-03-13 1989-03-13 Picture data conversion circuit Pending JPH02238517A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP6030589A JPH02238517A (en) 1989-03-13 1989-03-13 Picture data conversion circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP6030589A JPH02238517A (en) 1989-03-13 1989-03-13 Picture data conversion circuit

Publications (1)

Publication Number Publication Date
JPH02238517A true JPH02238517A (en) 1990-09-20

Family

ID=13138316

Family Applications (1)

Application Number Title Priority Date Filing Date
JP6030589A Pending JPH02238517A (en) 1989-03-13 1989-03-13 Picture data conversion circuit

Country Status (1)

Country Link
JP (1) JPH02238517A (en)

Similar Documents

Publication Publication Date Title
US6792150B1 (en) Method, apparatus and computer program product for image data compression and decompression capable of high-speed processing
JPS59178077A (en) Method for compressing data of binary picture
US5638464A (en) Image processing apparatus
US5159443A (en) Image signal encoding/decoding apparatus and system
JPS60140980A (en) Method and device for encoding signal representing flow of digital data group
JPH02238517A (en) Picture data conversion circuit
US7340101B2 (en) Device and method for compressing and decompressing data for graphics display
US6205251B1 (en) Device and method for decompressing compressed video image
JP3382358B2 (en) Image processing apparatus and method
US5912677A (en) Method for forming a sum in a signal processing system
US7460718B2 (en) Conversion device for performing a raster scan conversion between a JPEG decoder and an image memory
JP3193285B2 (en) Coding noise reduction filter circuit
JP2798025B2 (en) Video coding method and apparatus
JPH01229382A (en) image processing system
US20020090137A1 (en) Encoding and decoding apparatuses and image processing apparatus using the same
JP3330308B2 (en) Color image information encoding processing method
JP3227237B2 (en) Encoding device
JPS5964969A (en) Coded signal decoding device
JP2942282B2 (en) Digital image processing equipment
JPS5957576A (en) Picture data compressing circuit
US5894568A (en) Apparatus and method for computing a difference in a digital processing system
JPS62239689A (en) Digital picture compression method
JPS59110274A (en) Compression and expansion system for color image data
JPH09135347A (en) Image storage device
JPS63172584A (en) Vector encoding method for image data