JPS60205674A - Image data expansion processing device - Google Patents

Image data expansion processing device

Info

Publication number
JPS60205674A
JPS60205674A JP59061901A JP6190184A JPS60205674A JP S60205674 A JPS60205674 A JP S60205674A JP 59061901 A JP59061901 A JP 59061901A JP 6190184 A JP6190184 A JP 6190184A JP S60205674 A JPS60205674 A JP S60205674A
Authority
JP
Japan
Prior art keywords
image data
image
memory
data
image memory
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
JP59061901A
Other languages
Japanese (ja)
Inventor
Yukichi Ikuta
生田 祐吉
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 JP59061901A priority Critical patent/JPS60205674A/en
Publication of JPS60205674A publication Critical patent/JPS60205674A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T3/00Geometric image transformations in the plane of the image
    • G06T3/60Rotation of whole images or parts thereof
    • G06T3/606Rotation of whole images or parts thereof by memory addressing or mapping

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Image Processing (AREA)
  • Digital Computer Display Output (AREA)

Abstract

PURPOSE:To realize easily and at high speed minute angle rotation when outputting picture information by using a vector generator to rotate image data. CONSTITUTION:Compression coded image data from a host computer 1 are restored to a dot image through an image expander 16 and stored in specified position of an image memory 12. The content of the memory 12 is read out laterally, parallel/series converted 14 and supplied to a video controller 9, and a picture is displayed by a CRT device 10. A vector generator 15 generates an address of oblique direction following DELTAX and DELTAY in the memory 12. Accordingly, by generating an address of oblique direction by the generator 15 and generating image data by the expander 16 synchronizing with above-mentioned process and writing in the memory 12, the image data can be rotated.

Description

【発明の詳細な説明】 (A)発明の技術分野 本発明はイメージデータ展開処理装置、特に例えばスキ
ャナから入力されたイメージデータが、用紙のズレ等に
より、斜めに入力された場合に、そのイメージデータを
逆方向に微小角回転して補正するイメージデータ展開処
理装置に関するものである。
DETAILED DESCRIPTION OF THE INVENTION (A) Technical Field of the Invention The present invention relates to an image data development processing device, particularly for example, when image data input from a scanner is input diagonally due to misalignment of paper, etc. The present invention relates to an image data development processing device that corrects data by rotating it by a small angle in the opposite direction.

(B)技術の背景と問題点 最近、画像のディジタル処理化が盛んになり、例えばス
キャナやファクシミリ等から入力されたイメージデータ
を、CRTディスプレイやプリンタ等に出力することが
望まれている。
(B) Technical Background and Problems Recently, digital processing of images has become popular, and it is desired to output image data input from a scanner, facsimile, etc., to a CRT display, printer, etc., for example.

第1図は技術の背景を説明するための図を示す。FIG. 1 shows a diagram for explaining the background of the technology.

例えば第1図(イ)図示の如き原パターンのイメージデ
ータをスキャナにより入力する場合、原パターンの用紙
が、スキャナの走査方向に対して第1図(ロ)に点線で
示すように斜めにズしていたとすると、入力されたイメ
ージデータのパターンは第1図(ハ)のようになる。こ
のようなイメージデータを、そのままディスプレイやプ
リンタ等に出力するのは、見栄えが悪く、好ましくない
For example, when image data of an original pattern as shown in FIG. 1(a) is inputted by a scanner, the sheet of paper with the original pattern is diagonally shifted as shown by the dotted line in FIG. 1(b) with respect to the scanning direction of the scanner. If so, the pattern of the input image data will be as shown in FIG. 1(c). It is not desirable to output such image data as is to a display, printer, etc. because it looks bad.

そこで、入力したイメージデータを逆方向に微小角回転
し、原パターンと同様なパターンが出力されるよう補正
することがa・要となる。
Therefore, it is essential to rotate the input image data by a small angle in the opposite direction and correct it so that a pattern similar to the original pattern is output.

従来、入力時における用紙のズレ等を補正するために、
イメージデータを微小角回転する場合、ドツトで表され
るイメージデータを、例えばマイクロプロセッサの制御
により補正計算を行い、1ドツトづつ読み出しては、算
出された補正位置に書き込むようにされていた。そのた
め、この補正に要する微小角回転処理には、非常に多く
の時間がかかるという問題があった。
Conventionally, in order to correct misalignment of paper during input,
When image data is rotated by a small angle, correction calculations are performed on the image data represented by dots under the control of, for example, a microprocessor, and each dot is read out and written at the calculated correction position. Therefore, there is a problem in that the minute angle rotation processing required for this correction takes a very long time.

(C)発明の目的と構成 本発明は上記問題点の解決を図り、文字データ、グラフ
データ、イメージデータ等の画像情報をディスプレイや
プリンタに出力するにあたって、多大の時間をかけるこ
となく、微小角回転を実現できるようにすることを目的
としている。そのため、本発明のイメージデータ展開処
理装置は、ドツトパターン化されたイメージデータが格
納されるイメージメモリを備え、所与のデータから得ら
れるパターンを回転して上記イメージメモリに展開する
装置において、指定された変位に従って上記イメージメ
モリ上における斜線方向のイメージメモリアドレスを生
成するベクトル発生器と、ドツトパターン化されたイメ
ージデータの各ビットを上記ベクトル発生器が生成する
イメ−ジメモリアドレスに同期して上記イメージメモリ
に書き込む制御を行うイメージメモリ制御部とを備え、
イメージデータの回転を行うことを特徴としている。以
下、図面を参照しつつ、実施例に従って説明する。
(C) Object and Structure of the Invention The present invention aims to solve the above-mentioned problems, and is capable of outputting image information such as character data, graph data, image data, etc. to a display or a printer without spending a lot of time. The purpose is to enable rotation. Therefore, the image data development processing device of the present invention includes an image memory in which dot-patterned image data is stored, and rotates a pattern obtained from given data and develops it in the image memory. a vector generator that generates an image memory address in the diagonal direction on the image memory according to the displacement, and a vector generator that synchronizes each bit of the dot patterned image data with the image memory address generated by the vector generator. and an image memory control unit that controls writing to the image memory,
It is characterized by rotating image data. Hereinafter, embodiments will be described with reference to the drawings.

(D)発明の実施例 第2図は本発明を用いたディスプレイ・システムの構成
例、第3図は文字データとイメージメモリの内容との合
成を説明する図、第4図はベクトル発生器によるアドレ
ス生成を説明するための図、第5図はベクトル発生器の
構成例、第6図はベクトル発生コントローラの制御ステ
ート説明図、第7図はイメージ伸長器の構成例、第8図
は本発明の一実施例処理態様を説明する図を示す。
(D) Embodiment of the Invention Fig. 2 is an example of the configuration of a display system using the present invention, Fig. 3 is a diagram illustrating the composition of character data and the contents of an image memory, and Fig. 4 is a diagram illustrating the combination of character data and the contents of an image memory. A diagram for explaining address generation, FIG. 5 is an example of the configuration of a vector generator, FIG. 6 is an explanatory diagram of the control state of the vector generation controller, FIG. 7 is an example of the configuration of an image decompressor, and FIG. 8 is the invention of the present invention. FIG. 2 is a diagram illustrating a processing mode of an embodiment.

図中、lはホスト計算機、2はホストインクフェース、
3はマイクロプロセッサ、4はメモリ、5はCRTコン
トローラ、6はコードバッファ、7は文字発生用メモリ
、8は並列直列変換器、9はビデオコントローラ、10
はCRTディスプレイ、11はイメージメモリコントロ
ーラ、12はイメージメモリ、13はリードバッファ、
14は並列直列変換器、15はベクトル発生器、16は
イメージ伸長器を表す。
In the figure, l is the host computer, 2 is the host interface,
3 is a microprocessor, 4 is a memory, 5 is a CRT controller, 6 is a code buffer, 7 is a character generation memory, 8 is a parallel to serial converter, 9 is a video controller, 10
is a CRT display, 11 is an image memory controller, 12 is an image memory, 13 is a read buffer,
14 represents a parallel-to-serial converter, 15 represents a vector generator, and 16 represents an image decompressor.

本発明は、ディスプレイに表示するデータの制御に限ら
れるわけではないが、以下第2図に示すディスプレイ・
システムを例にして説明する。ホスト計算機1は、例え
ばスキャナやファクシミリ等から入力された画像情報を
処理する装置であって、ホストインタフェース2を経由
して、CRTディスプレイ10へ表示すべきデータを供
給する装置である。これらのデータには、例えばコード
情報からなる文字データ、ベクトル情報からなるグラフ
データ、ドツトパターンのイメージデータを圧縮したデ
ータ等がある。マイクロプロセッサ3は、ホスト計算機
1からの要求に従って、CRTディスプレイ1oにイメ
ージデータを正しい角度で表示するために、予めメモリ
4に格納された命令に基づき、ディスプレイ制御を行う
装置である。
Although the present invention is not limited to controlling data displayed on a display, the display shown in FIG.
This will be explained using a system as an example. The host computer 1 is a device that processes image information input from, for example, a scanner or facsimile, and is a device that supplies data to be displayed on the CRT display 10 via the host interface 2. These data include, for example, character data consisting of code information, graph data consisting of vector information, data obtained by compressing dot pattern image data, and the like. The microprocessor 3 is a device that performs display control based on instructions stored in the memory 4 in advance in order to display image data at the correct angle on the CRT display 1o in accordance with a request from the host computer 1.

ホスト計算機1から転送されてくるデータが文字データ
である場合には、文字表示位置に従って、文字コードが
コードバッファ6に格納される。コードバッファ6は、
第3図に示すように、例えば横48字×縦64行からな
るバッファメモリであって、1つの文字位置に1つの文
字コードを記憶する。コードバッファ6上の文字コード
は、CRTコントローラ5の制御により、1文字づつ横
方向に読み出され、これをアドレスとして文字発生用メ
モリ7へのアクセスが行われ、ドツトによる文字パター
ンに変換される。文字発生用メモリ7は、キャラクタジ
ェネレータ用のROMである。
If the data transferred from the host computer 1 is character data, the character code is stored in the code buffer 6 according to the character display position. Code buffer 6 is
As shown in FIG. 3, the buffer memory is made up of, for example, 48 horizontal characters x 64 vertical lines, and stores one character code in one character position. The character codes on the code buffer 6 are read out horizontally one character at a time under the control of the CRT controller 5, and the character generation memory 7 is accessed using this address as an address, where it is converted into a character pattern of dots. . The character generation memory 7 is a ROM for a character generator.

文字発生用メモリ7から得られた文字パターンは、並列
直列変換器8によって、シリアルデータに変換され、ビ
デオコントローラ9に入力される。
The character pattern obtained from the character generation memory 7 is converted into serial data by a parallel-to-serial converter 8 and input to a video controller 9.

ホスト計算機lから転送されてくるデータがグラフデー
タである場合には、その変位をベクトル発生器15にセ
ットすることにより、詳しくは後述する如く、イメージ
メモリ12上にグラフパターンがドツト展開される。
When the data transferred from the host computer 1 is graph data, by setting its displacement in the vector generator 15, a graph pattern is developed into dots on the image memory 12, as will be described in detail later.

イメージデータの場合には、通常イメージデータはデー
タ量が大量となるため、例えばファクシミリ画像の符号
化方式として知られたMH方式等による圧縮符号化が利
用される。ホスト計算機1から圧縮符号化されたイメー
ジデータが送られてくると、イメージデータは、デコー
ダであるイメージ伸長器16を通してドツトイメージに
復元され、イメージメモリ12上の指定位置に記憶され
る。
In the case of image data, since image data usually has a large amount of data, compression encoding such as the MH method, which is known as a facsimile image encoding method, is used. When compression-encoded image data is sent from the host computer 1, the image data is restored to a dot image through an image decompressor 16, which is a decoder, and is stored in a designated location on the image memory 12.

イメージメモリ12は、イメージメモリコントローラ1
1に含まれるXアドレス(XAR)とYアドレス(YA
R)とによりアドレスされるビットマツプメモリであり
、例えば横768ドツト×縦1024ドツトの大きさを
持つ。グラフデータ、イメージデータは、Xアドレスお
よびYアドレスを更新しながら1ドツトづつ、イメージ
メモリ12上にドツトパターン化されて記憶される。イ
メージメモリ12の内容をCRTディスプレイ1゜へ表
示するにあたって、CRTコントローラ5の制御の下に
、イメージメモリ12の内容を横方向に32ビット読み
出し、リードバッファ13にセットした後、並列直列変
換器14によって、パラレル/シリアル変換してビデオ
コントローラ9に1ビツトづつ供給する。これによって
、CRTディスプレイ10に画像が表示されることにな
る。
The image memory 12 is connected to the image memory controller 1
The X address (XAR) and Y address (YA
This is a bit map memory addressed by R), and has a size of, for example, 768 dots horizontally by 1024 dots vertically. Graph data and image data are stored in a dot pattern on the image memory 12 one dot at a time while updating the X address and Y address. To display the contents of the image memory 12 on the CRT display 1°, under the control of the CRT controller 5, 32 bits of the contents of the image memory 12 are read in the horizontal direction and set in the read buffer 13, and then the parallel to serial converter 14 The data is parallel-to-serial converted and supplied to the video controller 9 one bit at a time. As a result, an image will be displayed on the CRT display 10.

文字データとイメージメモリ12の内容との合成は、第
3図に示す如く行われ、ビデオコントローラ9への入力
時に、ドツト間で論理和をとることにより合成される。
The character data and the contents of the image memory 12 are synthesized as shown in FIG. 3, and when input to the video controller 9, they are synthesized by performing a logical sum between the dots.

なお、文字発生用メモリ7の出力を直接イメージメモリ
12の対応する位置に、OR論理でもって書き込むよう
に制御してもよい。
Note that the output of the character generation memory 7 may be controlled to be written directly into the corresponding position of the image memory 12 using OR logic.

ビットマツプメモリ上に直線を引く方式としては、ディ
ジタル・ディファレンシャル・アナライザ(DDA)方
式が良く知られている。以下、第4図に従って、A点(
0,0)からB点(ΔX。
A digital differential analyzer (DDA) method is well known as a method for drawing straight lines on a bitmap memory. Hereinafter, according to Figure 4, point A (
0,0) to point B (ΔX.

ΔY)へ直線を引く場合について簡単に説明する。A case in which a straight line is drawn to ΔY) will be briefly explained.

■ A点に対応するメモリ上に“1″を書く。■ Write “1” on the memory corresponding to point A.

■ ΣΔYに初期値ΔYをセントし、次の評価および処
理■を行う。
■ Set the initial value ΔY to ΣΔY and perform the following evaluation and processing ■.

■(i)ΣΔYがΔX/2以上のとき、x=x+1 Y=Y+1 ΣΔY=ΣΔY+ΔY−ΔX とする。■(i) When ΣΔY is ΔX/2 or more, x=x+1 Y=Y+1 ΣΔY=ΣΔY+ΔY−ΔX shall be.

(ii )ΣΔYがΔX/2より小さいとき、X=X+
1 Y=Y ΣΔYミΣΔY+ΔY とする。
(ii) When ΣΔY is smaller than ΔX/2, X=X+
1 Y=Y ΣΔYmi ΣΔY+ΔY.

■ 処理■の結果により更新されたX、Yの位置に1ド
ツトの点を書き、引き続き■の評価および処理を続ける
(2) Draw a dot at the X and Y positions updated by the result of (2) and continue the evaluation and processing (2).

■ XがΔXになったとき、処理を終える。■ When X becomes ΔX, end the process.

ベクトル発生器15は、第5図図示の如く構成され、例
えば上記D()A方式による直線のグラフパターンを発
生する。第5図において、2oないし22はそれぞれΔ
X、ΔY、ΣΔYを保持する各12ビツトのレジスタ、
23は加算、減算および比較の機能を持つ12ビツト幅
の演算器、24はベクトル発生コントローラ、25はア
ドレスレジスタを表す。
The vector generator 15 is constructed as shown in FIG. 5, and generates a straight line graph pattern according to the D()A method, for example. In FIG. 5, 2o to 22 are respectively Δ
12-bit registers each holding X, ΔY, and ΣΔY;
Reference numeral 23 represents a 12-bit wide arithmetic unit having addition, subtraction and comparison functions, 24 represents a vector generation controller, and 25 represents an address register.

演算器23においては、ΔX/2とΣΔYとの比較が行
われ、その比較結果を示す1ビツトの信号が出力される
。ベクトル発生コントローラ24は、この比較結果の信
号をもとに、アドレスレジスタ25のXアドレスXAR
,YアドレスYARの更新制御を行う、また、ベクトル
発生コントローラ24は、ΣΔYの更新を制御し、演算
器23によって、ΣΔYとΔYとの加算を行って、結果
をレジスタ22に導くと共に、さらに上記比較結果によ
って、ΣΔYからΔXを減算する制御を行う。イメージ
メモリ12へのベクトルのドツト展開は、更新されたX
アドレスXAR,YアドレスYARの位置に、1ビツト
の“1”のデータを書き込むことにより行われる。
The arithmetic unit 23 compares ΔX/2 and ΣΔY, and outputs a 1-bit signal indicating the comparison result. Based on the signal of this comparison result, the vector generation controller 24 sets the X address XAR of the address register 25.
, Y address YAR, and the vector generation controller 24 controls the updating of ΣΔY, and the arithmetic unit 23 performs addition of ΣΔY and ΔY, leads the result to the register 22, and further performs the above-mentioned process. Depending on the comparison result, control is performed to subtract ΔX from ΣΔY. The dot expansion of the vector into the image memory 12 is the updated
This is done by writing 1-bit data of "1" to the positions of address XAR and Y address YAR.

第6図はベクトル発生コントローラ24の制御ステート
を示しており、ステー1−3lでは、演算器23による
ΔX/2とΣΔYとの比較、およびXAR,YARで指
定される不タージメモリ12の位置への書き込みが行わ
れる。ステー1−32でΣΔYとΔYとの加算を行い、
新たなΣΔYとすると共に、ステー)Slでの比較結果
によって、XAR,YARにそれぞれ1加算する。ステ
ートS3で、ΣΔYがΔX/2以上のときにΣΔYから
ΔXを減算する処理を実行する。
FIG. 6 shows the control state of the vector generation controller 24, and in stage 1-3l, the arithmetic unit 23 compares ΔX/2 and ΣΔY, and moves to the location of the non-terge memory 12 specified by XAR and YAR. is written. At stay 1-32, ΣΔY and ΔY are added,
A new ΣΔY is set, and 1 is added to each of XAR and YAR according to the comparison result in stay) Sl. In state S3, when ΣΔY is greater than or equal to ΔX/2, a process of subtracting ΔX from ΣΔY is executed.

次にイメージ伸長器16の構成例について、第7図を参
照して説明する。なお、圧縮符号はMH符号とする。第
7図において、30はシフトレジスタ、31はシフト制
御部、32はMH子テーブルOM、33はMHレジスタ
、34はイメージ出力制御部を表す。
Next, a configuration example of the image decompressor 16 will be explained with reference to FIG. Note that the compression code is an MH code. In FIG. 7, 30 represents a shift register, 31 a shift control section, 32 an MH child table OM, 33 an MH register, and 34 an image output control section.

ホスト計算機から供給された圧縮データは、メモリから
シフトレジスタ30のSR1部に入力される。SR1部
のデータは、SR0部が空のときに、SR0部の左端ま
で左シフトして詰められる。
Compressed data supplied from the host computer is input from the memory to the SR1 section of the shift register 30. When the SR0 section is empty, the data in the SR1 section is left-shifted and packed to the left end of the SR0 section.

SR0部の上位13ビツトを用いてMH子テーブルOM
32がアクセスされ、読み出されたデータがMHレジス
タ33にセットされる。MH子テーブルOM32は、M
H符号に対応するアドレスに、そのMH符号のコード長
とラン長とを記憶する読み出し専用メモリである。
MH child table OM using the upper 13 bits of SR0 part
32 is accessed, and the read data is set in the MH register 33. MH child table OM32 is M
This is a read-only memory that stores the code length and run length of the MH code at the address corresponding to the H code.

MHレジスタ33の上位部には、コード長がセットされ
、SR0部の左端にあるMH符号のコード長を示す。M
Hレジスタ33の下位部には、白ドツトまたは黒ドツト
のラン長を示すカウント値がセットされる。このカウン
ト値はイメージ出力制御部34に送られ、カウント値の
長さだけ白のビット“θ″または黒のビット“1”がイ
メージデータとして出力される。この出力が、第2図に
図示するイメージメモリ12へ書き込まれることになる
A code length is set in the upper part of the MH register 33, indicating the code length of the MH code at the left end of the SR0 part. M
A count value indicating the run length of white dots or black dots is set in the lower part of the H register 33. This count value is sent to the image output control section 34, and white bits "θ" or black bits "1" corresponding to the length of the count value are output as image data. This output will be written to the image memory 12 shown in FIG.

MHレジスタ33にセットされたコード長は、シフト制
御部31へ送られ、シフト制御部31は、シフトレジス
タ30のSR0部およびSR1部を一緒に左方向にコー
ド製分だけシフトさせる。こ−の左シフトにより、SR
1部が空になると、次の圧縮データがセットされ、同様
に復号が繰り返される。圧縮符号がMH符号でない場合
にも、同様に、周知のイメージ伸長器を用いることがで
きる。
The code length set in the MH register 33 is sent to the shift control section 31, and the shift control section 31 shifts both the SR0 section and the SR1 section of the shift register 30 to the left by the number of codes. By this left shift, SR
When one copy becomes empty, the next compressed data is set and decoding is repeated in the same way. Similarly, when the compression code is not an MH code, a well-known image decompressor can be used.

第4図および第5図で説明したように、ベクトル発生器
15には、イメージメモリ12上において、ΔXおよび
ΔYに従った斜め方向のアドレスを生成する機能がある
。従って、イメージデータを微小角回転して補正を行う
場合、第8図に示すようにイメージデータの各スキャン
ラインをΔXおよびΔYで指定される斜線上に書き込む
ようにすればよい。即ち、ベクトル発生器15により斜
線方向のアドレスを発生しながら、これに同期してイメ
ージデータをイメージ伸長器16により生成し、イメー
ジメモリ12へ書き込むと、イメージデータの回転が可
能となる。
As explained in FIGS. 4 and 5, the vector generator 15 has a function of generating diagonal addresses on the image memory 12 according to ΔX and ΔY. Therefore, when performing correction by rotating the image data by a small angle, each scan line of the image data may be written on a diagonal line designated by ΔX and ΔY, as shown in FIG. That is, when the vector generator 15 generates an address in the diagonal direction, the image data is generated by the image decompressor 16 in synchronization with this, and is written into the image memory 12, thereby making it possible to rotate the image data.

第8図に示すようなイメージデータの回転は、第2図図
示イメージメモリコントローラ11が次のような制御に
より行う。
The rotation of image data as shown in FIG. 8 is performed by the image memory controller 11 shown in FIG. 2 under the following control.

イメージデータの1行目(Ll)の場合、XAR,MA
Rに開始座標の初期値xo、y、をセットし、ΔXに横
ドツト数XD、ΔYに変位YDをそれぞれセットする。
For the first line (Ll) of image data, XAR, MA
The initial values xo and y of the start coordinates are set in R, the number of horizontal dots XD is set in ΔX, and the displacement YD is set in ΔY.

そして、イメージ伸長器16の出力ビットに同期して、
ベクトル発生器15を動作させ、イメージメモリ12ヘ
イメージデータを書き込む。
Then, in synchronization with the output bits of the image decompressor 16,
The vector generator 15 is operated to write image data to the image memory 12.

イメージデータの2行目(L2)の場合、2行目の座標
X+、Y+のアドレスは、次のようにめられる0例えば
第5図に示したベクトル発生器の回路を2つ独立に用意
し、一方のベクトル発生器の回路でイメージデータの横
方向のアドレスをめ、他方のベクトル発生器の回路でイ
メージデータの縦方向の斜線のアドレスを横方向1行に
付き1回計算してめ、これをMAR,YARにセットす
る。
In the case of the second line (L2) of the image data, the addresses of the coordinates X+, Y+ of the second line are as follows: 0For example, if two vector generator circuits shown in Figure 5 are prepared independently, , one vector generator circuit calculates the horizontal address of the image data, and the other vector generator circuit calculates the vertical diagonal address of the image data once per horizontal row, Set this to MAR, YAR.

また、ベクトル発生器の回路が1つの場合には、第2図
図示マイクロプロセッサ3で、X 1. Y rアドレ
スを第4図で説明した方式によってめ、これをXAR,
YARにセットする。
If there is only one vector generator circuit, the microprocessor 3 shown in FIG. Determine the Y r address using the method explained in Fig. 4, and convert it to XAR,
Set it to YAR.

上記ベクトル発生器の回路を2つ用いる場合と1つだけ
用いる場合とを比較すると、1つだけ用いるほうは、処
理が遅くなるが、従来のように全ドツト位置をマイクロ
プロセッサで計算する場合に比べ、計算回数がl/XD
 (但し、XDはイメージデータの横ドツト数)となり
、例えばXDが300ドツトであれば、1/300の計
算回数で済むので、計算時間が大幅に短くなる。
Comparing the case of using two vector generator circuits and the case of using only one, using only one circuit slows down the processing, but when calculating all dot positions with a microprocessor as in the past, In comparison, the number of calculations is l/XD
(However, XD is the number of horizontal dots in the image data.) For example, if XD is 300 dots, the number of calculations is 1/300, so the calculation time is significantly shortened.

以上、ディスプレイ・システムに本発明を適用した場合
を例にして説明し穴が、例えばプリンタにイメージデー
タを微小角回転して出力する装置に対しても、同様に本
発明を用いることができる。
The present invention has been described above using an example in which the present invention is applied to a display system, but the present invention can be similarly applied to a device that rotates image data by a small angle and outputs the image data to a printer, for example.

(E)発明の詳細 な説明した如く、本発明によれば、イメージデータの微
小角回転を、ベクトル発生器を用いることにより、容易
かつ高速に行うことが可能になる。
(E) Detailed Description of the Invention As described above, according to the present invention, image data can be rotated by a small angle easily and at high speed by using a vector generator.

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

第1図は技術の背景を説明するための図、第2図は本発
明を用いたディスプレイ・システムの構成例、第3図は
文字データとイメージメモリの内容との合成を説明する
図、第4図はベクトル発生器によるアドレス生成を説明
するための図、第5図はベクトル発生器の構成例、第6
図はベクトル発生コントローラの制御ステート説明図、
第7図はイメージ伸長器の構成例、第8図は本発明の一
実施例処理態様を説明する図を示す。 図中、1はホスト計算機、2はホストインタフェース、
3はマイクロプロセッサ、4はメモリ、5はCRTコン
トローラ、6はコードバッファ、7は文字発生用メモリ
、10はCRTディスプレイ、11はイメージメモリコ
ントローラ、12はイメージメモリ、15はベクトル発
生器、16はイメージ伸長器を表す。 特許出願人 富士通株式会社 代理人弁理士 森1)寛(外1名) 矛1図 第3図 第4 図 オ6目 オ6回
FIG. 1 is a diagram for explaining the background of the technology, FIG. 2 is a configuration example of a display system using the present invention, FIG. 3 is a diagram for explaining the composition of character data and the contents of an image memory, and FIG. Figure 4 is a diagram for explaining address generation by a vector generator, Figure 5 is a configuration example of a vector generator, and Figure 6 is a diagram for explaining address generation by a vector generator.
The figure is an explanatory diagram of the control state of the vector generation controller.
FIG. 7 shows an example of the configuration of an image decompressor, and FIG. 8 shows a diagram illustrating a processing mode of an embodiment of the present invention. In the figure, 1 is the host computer, 2 is the host interface,
3 is a microprocessor, 4 is a memory, 5 is a CRT controller, 6 is a code buffer, 7 is a character generation memory, 10 is a CRT display, 11 is an image memory controller, 12 is an image memory, 15 is a vector generator, 16 is a Represents an image stretcher. Patent Applicant: Fujitsu Ltd. Representative Patent Attorney Hiroshi Mori 1) (1 other person) 1 Figure 3 Figure 4 Figure O 6 O 6 times

Claims (1)

【特許請求の範囲】[Claims] ドツトパターン化されたイメージデータが格納されるイ
メージメモリを備え、所与のデータから得られるパター
ンを回転して上記イメージメモリに展開する装置におい
て、指定された変位に従って上記イメージメモリ上にお
ける斜線方向のイメージメモリアドレスを生成するベク
トル発生器と、ドツトパターン化されたイメージデータ
の各ビットを上記ベクトル発生°器が生成するイメージ
メモリアドレスに同期して上記イメージメモリに書き込
む制御を行うイメージメモリ制御部とを備え、イメージ
データの回転を行うことを特徴とするイメージデータ展
開処理装置。
In an apparatus that includes an image memory in which dot-patterned image data is stored, and rotates a pattern obtained from given data and develops it in the image memory, a diagonal direction on the image memory is changed according to a specified displacement. a vector generator that generates an image memory address; and an image memory control unit that controls writing each bit of dot patterned image data into the image memory in synchronization with the image memory address generated by the vector generator. An image data expansion processing device comprising: and rotating image data.
JP59061901A 1984-03-29 1984-03-29 Image data expansion processing device Pending JPS60205674A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP59061901A JPS60205674A (en) 1984-03-29 1984-03-29 Image data expansion processing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP59061901A JPS60205674A (en) 1984-03-29 1984-03-29 Image data expansion processing device

Publications (1)

Publication Number Publication Date
JPS60205674A true JPS60205674A (en) 1985-10-17

Family

ID=13184509

Family Applications (1)

Application Number Title Priority Date Filing Date
JP59061901A Pending JPS60205674A (en) 1984-03-29 1984-03-29 Image data expansion processing device

Country Status (1)

Country Link
JP (1) JPS60205674A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO1996003715A1 (en) * 1994-07-22 1996-02-08 Monash University A graphical display system

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO1996003715A1 (en) * 1994-07-22 1996-02-08 Monash University A graphical display system

Similar Documents

Publication Publication Date Title
US4914729A (en) Method of filling polygonal region in video display system
US4763119A (en) Image processing system for area filling of graphics
US5670982A (en) System for fast 90-degree rotation of bi-level images
JPS60205674A (en) Image data expansion processing device
AU7802881A (en) Graphic and textual image generator for a raster scan display
EP0677822A2 (en) Digital image rotation
JPH04199975A (en) Image forming device
JPS5823086A (en) Display unit
JPH07311568A (en) Method and device for outputting image
JP3129717B2 (en) Image processing apparatus and image processing method
JPS61277250A (en) Display system
JP2836617B2 (en) Rendering processor
JPH06295171A (en) Image processor
JPH05151350A (en) Method for correcting position distortion of image data
JPS6362750B2 (en)
JPH06175637A (en) Method for generating character
JP2537223B2 (en) Graphic processing device
JP2853749B2 (en) Television screen display device
JP2767810B2 (en) Editing area specification method
JPH01281546A (en) Error detector for bit map memory
JPH07146932A (en) Image display device
JPH06342280A (en) Video character pattern processor
JPH07325561A (en) Generation system for character pattern with halftone
JPH02238581A (en) Closed-area surface painting-out processing system for graphic drawing
JPS63196987A (en) Graphic processor