JPH026106B2 - - Google Patents

Info

Publication number
JPH026106B2
JPH026106B2 JP57201521A JP20152182A JPH026106B2 JP H026106 B2 JPH026106 B2 JP H026106B2 JP 57201521 A JP57201521 A JP 57201521A JP 20152182 A JP20152182 A JP 20152182A JP H026106 B2 JPH026106 B2 JP H026106B2
Authority
JP
Japan
Prior art keywords
image
word
buffer
image information
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.)
Expired - Lifetime
Application number
JP57201521A
Other languages
Japanese (ja)
Other versions
JPS5991571A (en
Inventor
Minoru Shiga
Seisuke Kazama
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.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi Electric Corp
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 Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Priority to JP57201521A priority Critical patent/JPS5991571A/en
Publication of JPS5991571A publication Critical patent/JPS5991571A/en
Publication of JPH026106B2 publication Critical patent/JPH026106B2/ja
Granted 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)
  • Controls And Circuits For Display Device (AREA)
  • Image Processing (AREA)
  • Studio Circuits (AREA)

Description

【発明の詳細な説明】 この発明は画像入力装置から、画像メモリに入
力され、そしてこれに記憶された文書または図形
等からなる画像情報をCRT画像表示装置に送り
込んで表示したり、あるいは画像印刷装置に送り
込んで印刷するようにした画像処理装置に関する
もので、特にこの発明は、各絵素をデイジタルで
表現した画像情報を右方向、または左方向に90゜
回転した画像に変換する画像回転装置を有する画
像処理装置に関するものである。
DETAILED DESCRIPTION OF THE INVENTION The present invention is capable of inputting image information from an image input device into an image memory, and sending image information consisting of documents or figures stored therein to a CRT image display device for display, or for image printing. The present invention relates to an image processing device that sends image information to a device for printing, and in particular, this invention relates to an image rotation device that converts image information that digitally represents each picture element into an image that is rotated by 90 degrees to the right or left. The present invention relates to an image processing device having:

一般に、この種画像処理装置においては、90゜
回転された状態の画像は見にくいので、本来の見
易い状態に戻すための画像回転装置を備えている
が、従来の画像処理装置においては、これに内蔵
されたプロセツサ、すなわちソフトウエアによつ
て画像を回転させるようにしているため、その回
転処理に長時間を要する欠点があつた。
Generally, this type of image processing device is equipped with an image rotation device to return the image to its original, easy-to-see state, since images rotated by 90 degrees are difficult to see, but conventional image processing devices have a built-in image rotation device. Since the image is rotated by a processor, ie, software, the rotation process takes a long time.

この発明は、かかる点に着目してなされたもの
で、画像の回転処理時間の短縮を図つた画像処理
装置を提供することを目的とするものである。
The present invention has been made with attention to this point, and an object of the present invention is to provide an image processing apparatus that can reduce the time required for image rotation processing.

本発明においては、画像情報を1ワードnビツ
トで表わしたワード構成で記憶する画像メモリ
と、画像メモリから読み出したワードの上位ビツ
トと下位ビツトを回転方向によつて交換する選択
器と、第1方向およびこれと直交する第2方向に
画像情報をワード単位で移動させることが可能な
n×nビツト構成のバツフアと、画像メモリから
連続してnワード以下の画像情報を読み出し、読
み出された画像情報を前記第1方向にワード単位
で順次移動させながら前記バツフアに書き込むバ
ツフア書き込み手段と、バツフア書き込み手段に
よつて書き込まれた画像情報を前記第2方向にワ
ード単位で順次移動させながら連続してnワード
読み出して前記画像メモリに書き込む画像メモリ
書き込み手段とを画像処理装置に設けたことによ
つて、上記の目的を達成している。
In the present invention, there is provided an image memory that stores image information in a word structure in which one word is represented by n bits, a selector that exchanges upper and lower bits of a word read from the image memory depending on the direction of rotation, and a first A buffer with an n×n bit configuration that can move image information in units of words in one direction and a second direction perpendicular to this, and a buffer that can continuously read out image information of n words or less from an image memory. buffer writing means for writing image information into the buffer while sequentially moving the image information in the first direction word by word; and buffer writing means writing the image information written by the buffer writing means in the second direction while sequentially moving the image information word by word. The above object is achieved by providing the image processing apparatus with image memory writing means for reading out n words and writing them into the image memory.

第1図は、この発明の一実施例を示すブロツク
図で、1は画像入力装置、2は画像メモリ、3は
画像表示装置、4は画像印刷装置、5は画像回転
装置で、いま、画像入力装置1から出力された文
書、または図面等の画像は、画像メモリ2に記載
されるとともに、この画像メモリ2から画像表示
装置3に出力されてこれを表示したり、または画
像印刷装置4に出力されて印刷するように構成さ
れている。
FIG. 1 is a block diagram showing an embodiment of the present invention, in which 1 is an image input device, 2 is an image memory, 3 is an image display device, 4 is an image printing device, and 5 is an image rotation device. Images such as documents or drawings outputted from the input device 1 are written in the image memory 2, and are outputted from the image memory 2 to the image display device 3 for display, or are outputted to the image printing device 4. Configured to be output and printed.

しかして、上記画像メモリ2に接続された画像
回転装置5は、画像を右方向、または左方向に
90゜回転させる装置で、画像メモリ2を読み書き
して画像を回転させるようにしたもので、第2図
は画像6と、この画像を右方向に90゜回転させた
画像7を示し、画像6よりもこれを90゜回転させ
た画像7のほうが見易いことがわかる。
The image rotation device 5 connected to the image memory 2 rotates the image rightward or leftward.
This is a 90° rotation device that rotates images by reading and writing from image memory 2. Figure 2 shows image 6 and image 7, which is the image rotated 90° to the right. It can be seen that image 7, which is rotated 90 degrees, is easier to see.

第3図は、上記第2図の画像6を所定区画に分
割した分割画像6Aと、この分割画像を右方向に
90゜回転させた分割画像8を示すもので、上記第
1図に示す画像回転装置5が含むバツフアの大き
さを16×16として、第2図に示す画像6を16×16
の方向で分割すると、第3図に示す分割画像6A
は、方形ブロツク61〜64と、長形ブロツク6
5,66とに分割される。そして、第3図に示す
分割画像8は、すべて方形の方形ブロツク81〜
86に分割される。これは、上記画像メモリ2が
水平方向の16ビツトを1ワードとし、垂直方向の
16ビツト、すなわち16ワードで1ブロツクを構成
するために、方形ブロツク85,86は、長形ブ
ロツク65,66を回転し、平行斜線を入れた部
分に零を埋めて方形にしたものである。第4図
は、第3図の分割画像6Aを右方向に180゜回転さ
せた分割画像9と、この分割画像9を左方向に
90゜回転させた分割画像8Aを示しており、この
第4図も長形ブロツク95,96が、方形ブロツ
ク85,86に変換されるとき、平行斜線を入れ
た部分に零を埋めて方形にしたものである。な
お、第3図において、方形ブロツク61と81、
方形ブロツク62と82、方形ブロツク63と8
3、および方形ブロツク64と84が互いに対応
することはいうまでもない。
FIG. 3 shows a divided image 6A obtained by dividing the image 6 in FIG.
This shows a divided image 8 rotated by 90 degrees, assuming that the size of the buffer included in the image rotation device 5 shown in FIG. 1 is 16×16, and the image 6 shown in FIG. 2 is 16×16.
When divided in the direction of , a divided image 6A shown in FIG. 3 is obtained.
are rectangular blocks 61 to 64 and rectangular block 6.
It is divided into 5 and 66. The divided image 8 shown in FIG.
It is divided into 86 parts. This means that the image memory 2 has 16 bits in the horizontal direction as one word, and the word in the vertical direction.
In order to configure one block with 16 bits, that is, 16 words, the rectangular blocks 85 and 86 are made by rotating the rectangular blocks 65 and 66 and filling the hatched areas with zeros to form rectangular blocks. Figure 4 shows a divided image 9 obtained by rotating the divided image 6A of Figure 3 by 180 degrees to the right, and a divided image 9 rotated to the left.
A divided image 8A rotated by 90 degrees is shown in FIG. This is what I did. In addition, in FIG. 3, the square blocks 61 and 81,
Square blocks 62 and 82, square blocks 63 and 8
3, and the square blocks 64 and 84 correspond to each other.

次に、第5図はこの発明の画像処理装置にかか
る画像回転装置5の詳細を示すブロツク図で、5
1は画像メモリ2からの入力53を回転方向によ
り選択する選択器、52はこの選択器51の出力
54を貯え、90゜回転した出力55が得られるバ
ツフアである。
Next, FIG. 5 is a block diagram showing details of the image rotation device 5 according to the image processing apparatus of the present invention.
1 is a selector for selecting the input 53 from the image memory 2 according to the rotation direction, and 52 is a buffer for storing the output 54 of this selector 51 to obtain an output 55 rotated by 90 degrees.

次に、第6図は上記選択器51の構成図で、こ
の選択器51は、2入力から1出力を得るように
なされたもので16ビツト入力53をそのままA入
力とし、ビツトの上位と下位を反転したものをB
入力とし、回転方向指令56により、上記A入
力、またはB入力を選択して出力54を出力する
ようになされている。また、上記回転方向指令5
6は、右回転のときに上記B入力を選択するよう
に作用するようになされている。
Next, FIG. 6 is a block diagram of the selector 51. This selector 51 is designed to obtain one output from two inputs.The 16-bit input 53 is used as the A input, and the upper and lower bits are B is the inverted version of
The A input or the B input is selected according to a rotation direction command 56, and an output 54 is output. In addition, the rotation direction command 5
6 operates to select the above-mentioned B input during clockwise rotation.

次に、第7図は上記長形ブロツク65の画像メ
モリを拡大した拡大図で、ワード「650」〜
「657」によつて構成されている。
Next, FIG. 7 is an enlarged view of the image memory of the long block 65, with words "650" to
It is composed of "657".

次に、第8図は上記バツフア52の構成図で、
上記長形ブロツク65が入力された状態を平行斜
線を入れて示しており、上記選択器51は、上記
回転方向指令56のB入力選択指示により、第7
図に示す画像を、180゜反転させて第8図に示す画
像を出力するようになされている。
Next, FIG. 8 is a configuration diagram of the buffer 52,
The state in which the long block 65 is inputted is shown with parallel diagonal lines, and the selector 51 selects the seventh block in response to the B input selection instruction of the rotation direction command 56.
The image shown in the figure is inverted by 180 degrees and the image shown in FIG. 8 is output.

以上述べた動作を更に詳細に説明すれば次の通
りである。
The above-mentioned operation will be explained in more detail as follows.

まず、画像回転装置5は、画像メモリ2から、
第7図に示すワード「650」を読み出し、選択器
51に入力する。次いで、この選択器51からB
入力を出力してバツフア52に入力し、このバツ
フア52の水平方向ワード「0」に貯える。次
に、画像回転装置5は、画像メモリ2からワード
「651」を読み出し、選択器51を介してバツフア
52に入力する。
First, the image rotation device 5 rotates the image from the image memory 2.
The word "650" shown in FIG. 7 is read out and input to the selector 51. Then, from this selector 51, B
The input is output to buffer 52 and stored in horizontal word "0" of buffer 52. Next, the image rotation device 5 reads the word "651" from the image memory 2 and inputs it to the buffer 52 via the selector 51.

ここで、このバツフア52の水平方向のワード
構成を第1のワード構成とし、垂直方向のワード
構成を第2のワード構成とする。そして、バツフ
ア52の第1のワード「0」を、ワード「1」に
移動すると同時に、ワード「0」に新しいワード
を貯える動作を繰り返してワード「650」〜
「657」をバツフア52の第1のワード「0」〜
「7」へ貯える。このあと、画像回転装置5は、
バツフア52から、第2のワード「15」を読み出
し、画像メモリ2の方形ブロツク85の先頭に書
き込むようになされている。
Here, the word structure in the horizontal direction of this buffer 52 is defined as a first word structure, and the word structure in the vertical direction is defined as a second word structure. Then, the first word "0" of the buffer 52 is moved to word "1", and at the same time, the operation of storing a new word in word "0" is repeated, and the words "650" to "650" are stored.
"657" is the first word "0" of Batsuhua 52 ~
Save to "7". After this, the image rotation device 5
The second word "15" is read from the buffer 52 and written to the beginning of the rectangular block 85 in the image memory 2.

次に、上記バツフア52の画像を右方向に1ビ
ツト移動し、第2のワード「15」からの溢れを捨
てて、第2のワード「0」に零を入れて消去する
ようになされている。そして、再びバツフア52
から第2のワード「15」を読み出し、画像メモリ
2の方形ブロツク85の次のワードへ書き込む。
かかる動作を16回繰り返すと、バツフア52の画
像は、画像メモリ2に送られ、そしてバツフア5
2は零で埋められることになる。すなわち、画像
が消去された状態となるわけである。以上述べた
操作をすべてのブロツクについて実行することに
よつて画像の回転が行なわれるわけである。
Next, the image of the buffer 52 is moved one bit to the right, the overflow from the second word "15" is discarded, and a zero is inserted into the second word "0" to erase it. . And then again Batsuhua 52
The second word "15" is read from and written into the next word of the rectangular block 85 of the image memory 2.
When this operation is repeated 16 times, the image in the buffer 52 is sent to the image memory 2, and the image in the buffer 52 is sent to the image memory 2.
2 will be filled with zero. In other words, the image is in a state of being erased. The image is rotated by executing the operations described above for all blocks.

次に、第9図は上記バツフア52の1ビツトの
ブロツク図で、選択器520と、データラツチ5
21とによつて構成されており、上記選択器52
0のA入力522は垂直方向の上段のデータラツ
チの出力〔最上段は入力54〕であり、またこの
選択器520のB入力523は水平方向の左側デ
ータラツチの出力(最左側は零入力)である。そ
して、移動方向指令57は、垂直方向の移動か、
または水平方向の移動かを示すもので、垂直方向
の移動時に、上記A入力522を選択するように
作用するものであり、また、クロツク入力58は
上記データラツチ521に選択器520の出力を
取込むタイミングである。
Next, FIG. 9 is a 1-bit block diagram of the buffer 52, which includes a selector 520 and a data latch 5.
21, and the selector 52
The A input 522 of 0 is the output of the upper data latch in the vertical direction [the top row is the input 54], and the B input 523 of this selector 520 is the output of the left data latch in the horizontal direction (the leftmost one is the 0 input). . The movement direction command 57 is a movement in the vertical direction, or
or horizontal direction movement, and acts to select the A input 522 during vertical movement, and the clock input 58 inputs the output of the selector 520 to the data latch 521. It's the timing.

以上述べたように、この発明によれば、直交す
る2方向に移動の可能な1ワードnビツトで表わ
したワード構成のn×nバツフアを組み込んだハ
ードウエアで画像を回転させるようにしたので、
画像の回転処理時間が短縮できるばかりでなく、
バツフアを構成する素子間の距離が短かく、負荷
が軽いため、画像処理装置の処理高速化および
LSI化が容易となる優れた効果を有するものであ
る。
As described above, according to the present invention, an image is rotated using hardware incorporating an n×n buffer of a word structure expressed by one word of n bits that can be moved in two orthogonal directions.
Not only can the image rotation processing time be shortened, but
Because the distance between the elements that make up the buffer is short and the load is light, the processing speed of image processing equipment can be increased and
This has the excellent effect of facilitating LSI implementation.

なお、上述した一実施例は、方形のバツフアと
して、16×16構成のものについて述べたが、この
発明はこれに限定されるものでなく、任意の方形
バツフアであつても同時の効果が得られることは
いうまでもない。
In the above-mentioned embodiment, a rectangular buffer having a 16×16 configuration was described, but the present invention is not limited to this, and the same effect can be obtained with any rectangular buffer. Needless to say, it will happen.

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

第1図はこの発明の一実施例を示すブロツク
図、第2図は画像の回転動作説明図、第3図およ
び第4図は分割された画像と、この画像の回転動
作説明図、第5図はこの発明の画像処理装置にか
かる画像回転装置を示すブロツク図、第6図は選
択器の構成図、第7図は画像メモリの拡大図、第
8図はバツフアの構成図、第9図はバツフアの1
ビツトのブロツク図である。 図面中、1は画像入力装置、2は画像メモリ、
3は画像表示装置、4は画像印刷装置、5は画像
回転装置、6,7は画像、6A,8,8A,9は
分割画像、51,520は選択器、52はバツフ
ア、521はデータラツチである。なお、図中同
一符号は同一または相当部分を示す。
FIG. 1 is a block diagram showing an embodiment of the present invention, FIG. 2 is an explanatory diagram of the rotation operation of an image, FIGS. 3 and 4 are diagrams of a divided image and the rotation operation of this image, and FIG. 6 is a block diagram showing an image rotation device according to the image processing apparatus of the present invention, FIG. 6 is a configuration diagram of a selector, FIG. 7 is an enlarged view of an image memory, FIG. 8 is a configuration diagram of a buffer, and FIG. 9 is 1 of batshua
FIG. 2 is a block diagram of a bit. In the drawing, 1 is an image input device, 2 is an image memory,
3 is an image display device, 4 is an image printing device, 5 is an image rotation device, 6 and 7 are images, 6A, 8, 8A, and 9 are divided images, 51 and 520 are selectors, 52 is a buffer, and 521 is a data latch. be. Note that the same reference numerals in the figures indicate the same or corresponding parts.

Claims (1)

【特許請求の範囲】 1 各絵素をデイジタルで表現した画像情報を回
転させる画像回転手段を有した画像処理装置にお
いて、 前記画像情報を1ワードnビツトで表わしたワ
ード構成で記憶する画像メモリを備えるととも
に、前記画像回転手段として、前記画像メモリか
ら読み出したワードの上位ビツトと下位ビツトを
回転方向によつて交換する選択器と、第1方向お
よびこれと直交する第2方向に画像情報をワード
単位で移動させることが可能なn×nビツト構成
のバツフアと、前記画像メモリから連続してnワ
ード以下の画像情報を読み出し、読み出された画
像情報を前記第1方向にワード単位で順次移動さ
せながら前記バツフアに書き込むバツフア書き込
み手段と、該バツフア書き込み手段によつて書き
込まれた画像情報を前記第2方向にワード単位で
順次移動させながら連続してnワード読み出して
前記画像メモリに書き込む画像メモリ書き込み手
段とを備えたことを特徴とする画像処理装置。
[Scope of Claims] 1. An image processing device having an image rotation means for rotating image information digitally representing each picture element, comprising an image memory that stores the image information in a word structure in which each word is represented by n bits. The image rotation means includes a selector for exchanging the upper bits and lower bits of the word read from the image memory depending on the rotation direction, and a selector for rotating the image information into the word in a first direction and a second direction perpendicular thereto. a buffer having an n×n bit configuration that can be moved in units; and image information of n words or less is continuously read from the image memory, and the read image information is sequentially moved in the first direction in units of words. buffer writing means for writing into the buffer while moving the image information, and an image memory for reading n words continuously while sequentially moving the image information written by the buffer writing means in the second direction word by word, and writing it into the image memory. An image processing device comprising: writing means.
JP57201521A 1982-11-17 1982-11-17 Picture processor Granted JPS5991571A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP57201521A JPS5991571A (en) 1982-11-17 1982-11-17 Picture processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP57201521A JPS5991571A (en) 1982-11-17 1982-11-17 Picture processor

Publications (2)

Publication Number Publication Date
JPS5991571A JPS5991571A (en) 1984-05-26
JPH026106B2 true JPH026106B2 (en) 1990-02-07

Family

ID=16442420

Family Applications (1)

Application Number Title Priority Date Filing Date
JP57201521A Granted JPS5991571A (en) 1982-11-17 1982-11-17 Picture processor

Country Status (1)

Country Link
JP (1) JPS5991571A (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS619081A (en) * 1984-06-25 1986-01-16 Oki Electric Ind Co Ltd Print system turning image pattern plane
JPS61115183A (en) * 1984-11-09 1986-06-02 Toshiba Corp Density gradation converting system in dark and light image processing
JPH065916B2 (en) * 1985-04-03 1994-01-19 富士写真フイルム株式会社 Image signal rotation method

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS55143673A (en) * 1979-04-25 1980-11-10 Matsushita Electric Ind Co Ltd Graphic pattern conversion processing system

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS60105214U (en) * 1983-12-24 1985-07-18 トヨタ自動車株式会社 Suspension buffer force adjustment mechanism
JPS6126613U (en) * 1984-07-24 1986-02-17 トヨタ自動車株式会社 Air spring suspension bushing assembly
JP2011084175A (en) * 2009-10-15 2011-04-28 Kurashiki Kako Co Ltd Strut mount
DE102011086909A1 (en) * 2011-02-08 2012-08-09 Continental Teves Ag & Co. Ohg Air strut for a vehicle
JP5568522B2 (en) * 2011-07-04 2014-08-06 東海ゴム工業株式会社 Damper mount
DE102011052706A1 (en) * 2011-08-15 2013-02-21 Dr. Ing. H.C. F. Porsche Aktiengesellschaft Elastic bearing for shock absorber of motor vehicle, has elastic intermediate element, which has contact area in contact with lower bearing area of stop element and another contact area in contact with spring plate

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS55143673A (en) * 1979-04-25 1980-11-10 Matsushita Electric Ind Co Ltd Graphic pattern conversion processing system

Also Published As

Publication number Publication date
JPS5991571A (en) 1984-05-26

Similar Documents

Publication Publication Date Title
US4916746A (en) Image rotation circuit
JPH026106B2 (en)
US6900811B2 (en) Programmable sliding window for image processing
JP2753349B2 (en) Arbitrary angle rotation image data input / output method, input / output circuit thereof, and electronic file device using the same
CN101184142A (en) Image processing method and image rotatable digital photo frame of implementing the same
JPS61107475A (en) Image enlargement and reduction device
JP2610887B2 (en) Image data rotation processor
JP3546527B2 (en) Image data rotation processing device
JPS58176686A (en) Display unit
GB2210760A (en) Image rotation circuit
KR920001619B1 (en) Image processing apparatus
JPS6385984A (en) Picture processor
JPH0863595A (en) Method and device for rotation processing of image
JPH0697462B2 (en) Image rotation method
JPH07122899B2 (en) High speed rotation circuit
JPS638951A (en) Information memory device
JPS61161576A (en) Picture signal processor
JPS6054076A (en) Picture enlarging and reducing circuit
JPS59172881A (en) Picture information processing system
JPH0520450A (en) Picture processor
JPS6061867A (en) Graphic painting method of graphic processor
JPH0563959A (en) Method and device for processing picture
JPS6031178A (en) Display controller
JPH0312752A (en) Picture data access system
JPH0821076B2 (en) Image data control device