JPH02259884A - Image processing system - Google Patents

Image processing system

Info

Publication number
JPH02259884A
JPH02259884A JP8052889A JP8052889A JPH02259884A JP H02259884 A JPH02259884 A JP H02259884A JP 8052889 A JP8052889 A JP 8052889A JP 8052889 A JP8052889 A JP 8052889A JP H02259884 A JPH02259884 A JP H02259884A
Authority
JP
Japan
Prior art keywords
image
rotation
angle
point
image 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
JP8052889A
Other languages
Japanese (ja)
Inventor
Satoru Nishida
悟 西田
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.)
NEC Office Systems Ltd
Original Assignee
NEC Office Systems 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 NEC Office Systems Ltd filed Critical NEC Office Systems Ltd
Priority to JP8052889A priority Critical patent/JPH02259884A/en
Publication of JPH02259884A publication Critical patent/JPH02259884A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To obtain satisfactory rotation by one time of operation and to improve operability by defining an angle, which is made by a line segment connecting two points and a reference direction determined in advance, as a rotational angle. CONSTITUTION:An image is read by an image reader 11 and image data are developed on a picture memory 12. Then, a picture is displayed by an image display means 21. Next, when a point P1 is designated as a rotary axis and a point P2 is designated as the other point by a mouse 23, a rotational angle calculating means 14 calculates an angle A made by a line segment L, which connects the points P1 and P2, and a Y direction. An editing means 13 executes rotation processing according to the calculated angle A and the point P1 and the picture display of the image data, to which the rotation processing is executed, is executed. Thus, the satisfactory rotation can be obtained by one time of operation without repeating the rotation processing.

Description

【発明の詳細な説明】 〔産業上の利用分野1 本発明はイメージデータを回転させる回転処理が可能な
イメージ処理システムに関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application 1] The present invention relates to an image processing system capable of rotation processing of rotating image data.

[従来の技術] 第7図はイメージ処理システムの従来例による回転処理
の作業を示す流れ図である。
[Prior Art] FIG. 7 is a flowchart showing the operation of rotation processing in a conventional example of an image processing system.

まず、スキャナ等のイメージリーダよりイメージを読み
取る(ステップ51)。読み取ったイメージを示すイメ
ージデータな画像メモリ上に展開する(ステップ52)
。展開したイメージデータを画面表示する(ステップ5
3)。回転軸として画面上の一点を指示する(ステップ
54)。
First, an image is read using an image reader such as a scanner (step 51). Develop image data representing the read image on the image memory (step 52)
. Display the expanded image data on the screen (Step 5)
3). A point on the screen is designated as the rotation axis (step 54).

また、回転角度を数値で指示する(ステップ55)。指
示した回転軸と回転角度とによって、回転処理をする(
ステップ56)。回転処理をしイメージデータな画面表
示する(ステップ57)。回転処理の結果を判断して(
ステップ58)、満足であれば終了し、満足でなければ
ステップ54へ戻り、満足な回転が得られるまでステッ
プ54からステップ57までの処理を繰り返す。
Further, the rotation angle is indicated numerically (step 55). Performs rotation processing using the specified rotation axis and rotation angle (
Step 56). Rotation processing is performed and image data is displayed on the screen (step 57). Judging the result of rotation processing (
Step 58), if satisfied, ends; if not, returns to step 54, and repeats the processes from step 54 to step 57 until a satisfactory rotation is obtained.

[発明が決しようとする課題] 上述した従来のイメージ処理システムは、回転角度を数
値で指示することとなっているので、微妙な角度を数値
的に表現することが難しく、結果的に何回か同じ処理を
繰り返さないと満足な回転が得られないことが多く起こ
るという欠点がある。
[Problem to be solved by the invention] In the conventional image processing system described above, the rotation angle is specified numerically, so it is difficult to express delicate angles numerically, and as a result, it is difficult to express the rotation angle numerically. The drawback is that satisfactory rotation is often not obtained unless the same process is repeated.

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

本発明のイメージ処理システムは、 イメージデータを回転させる回転処理が可能なイメージ
処理システムにおいて、 画面上の点を指示する指示手段と、 指示手段により画面上の二点が指示されると、指示され
た二点を結ぶ線分と画面上で予め定められた基準方向と
の角度を算出し、算出した角度を前記回転処理の際の回
転角度とする回転角度算出手段とを有する。
An image processing system of the present invention is an image processing system capable of rotation processing of rotating image data, and includes an instruction means for indicating a point on a screen, and when two points on the screen are specified by the instruction means, the instruction is performed. The rotation angle calculation means calculates the angle between a line segment connecting the two points and a reference direction predetermined on the screen, and uses the calculated angle as the rotation angle during the rotation process.

[作   用] 二点を結ぶ線分と予め定められた基準方向との角度を回
転角度として回転するので、回転処理後、二点を結ぶ線
分は、基準方向を向く。
[Function] Since the rotation angle is set to the angle between the line segment connecting the two points and the predetermined reference direction, the line segment connecting the two points faces the reference direction after the rotation process.

[実 施 例] 次に、本発明の実施例について図面を参照して説明する
[Example] Next, an example of the present invention will be described with reference to the drawings.

第1図は本発明のイメージ処理システムの一実施例な示
すシステム構成図、第2図は本実施例による回転処理の
作業を示す流れ図、第3図は回転処理をする前のイメー
ジを示す説明図、第4図は回転処理をした後のイメージ
を示す説明図、第5回転処理をする前の画像メモリ12
上のドツトパターンを示す説明図、第6図は回転処理を
した後の画像メモリ12上のドツトパターンを示す説明
図である。
Fig. 1 is a system configuration diagram showing one embodiment of the image processing system of the present invention, Fig. 2 is a flowchart showing the rotation processing work according to this embodiment, and Fig. 3 is an explanation showing an image before rotation processing. Figure 4 is an explanatory diagram showing the image after the rotation process, and the image memory 12 before the fifth rotation process.
FIG. 6 is an explanatory diagram showing the dot pattern on the image memory 12 after rotation processing.

本実施例のイメージ処理システムlは、第1図に示すよ
うに、イメージリーダ11と画像メモリ12と編集手段
13と回転角度算出手段14と制御手段15と人力イン
タフェース16と人出力インタフェース17とイメージ
表示手段21とキーボード22とマウス23と外部記憶
手段24゜25とから構成されている。
As shown in FIG. 1, the image processing system l of this embodiment includes an image reader 11, an image memory 12, an editing means 13, a rotation angle calculation means 14, a control means 15, a human power interface 16, a human output interface 17, and an image processing system. It is composed of a display means 21, a keyboard 22, a mouse 23, and external storage means 24 and 25.

イメージリーダ11は、イメージを読み取るスキャナで
あり、読み取ったイメージを示すイメージデータを出力
する。画像メモリ12は、イメージリーダ11が出力し
たイメージデータを入力インタフェース16を介して受
は取り、受は取ったイメージデータを記憶する0m集手
段13は、画像メモリ12が記憶しているイメージデー
タを指示に従って回転させる回転処理をする。回転角度
算出手段14は、画像メモリ12が記憶しているイメー
ジデータ中の二点が指示されると、指示された二点を結
ぶ線分と基準方向とである画面上の垂直方向、すなわち
矢印Y方向との角度を三角関数によって算出し、算出し
た角度を回転角度として編集手段13に指示する。制御
手段15は、イメージ処理システム1内のデータの授受
を制御する。イメージ表示手段21は、画像メモリ12
が記憶しているイメージデータを画面表示する。
The image reader 11 is a scanner that reads images, and outputs image data representing the read images. The image memory 12 receives the image data output by the image reader 11 via the input interface 16, and the 0m collection means 13 for storing the received image data stores the image data stored in the image memory 12. Perform the rotation process according to the instructions. When two points in the image data stored in the image memory 12 are specified, the rotation angle calculating means 14 calculates the direction between the line segment connecting the specified two points and the reference direction in the vertical direction on the screen, that is, the arrow. The angle with the Y direction is calculated using trigonometric functions, and the calculated angle is instructed to the editing means 13 as the rotation angle. The control means 15 controls the exchange of data within the image processing system 1 . The image display means 21 includes an image memory 12
Displays the stored image data on the screen.

キーボード22およびマウス23は、操作者の指示を入
力する。特に、マウス23は、イメージデータ中の二点
を指示する指示手段として使用される。外部記憶手段2
4.25は、イメージデータを含む、イメージ処理シス
テム1で使用される種棒のデータを記憶する。
The keyboard 22 and mouse 23 are used to input instructions from the operator. In particular, the mouse 23 is used as an indicating means for indicating two points in the image data. External storage means 2
4.25 stores seed rod data used in the image processing system 1, including image data.

次に、本実施例の処理の作業について説明する。Next, the processing operations of this embodiment will be explained.

まず、イメージリーダ11よりイメージを読み取る(ス
テップ41)。読み取ったイメージを示すイメージデー
タな画像メモリ12上に展開する(ステップ42)。展
開したイメージデータをイメージ表示手段21で、第3
図に示すように、画面表示する(ステップ43)。マウ
ス23によって、回転軸として点P1を指示する(ステ
ップ44)。また、別の一点として点P2を指示する(
ステップ45)。回転角度算出手段14が、点PL、P
2を結ぶ線分りとY方向との角度△を算出し、算出した
角度Aと点P1とによって、編集手段13が回転処理を
する(ステップ46)。回転処理をしたイメージデータ
を、第4図に示すように、画面表示する(ステップ47
)。
First, an image is read from the image reader 11 (step 41). Image data representing the read image is developed on the image memory 12 (step 42). The expanded image data is displayed on the third image display means 21.
As shown in the figure, the screen is displayed (step 43). Point P1 is designated as the rotation axis using the mouse 23 (step 44). Also, specify point P2 as another point (
Step 45). The rotation angle calculating means 14 calculates the points PL, P
2 and the Y direction, and the editing means 13 performs rotation processing using the calculated angle A and point P1 (step 46). The rotated image data is displayed on the screen as shown in FIG. 4 (step 47).
).

以上、第2図に示すように、第7図に示す従来の作業に
比べて回転処理を繰り返すことなく1回で満足な回転が
得られる。
As described above, as shown in FIG. 2, a satisfactory rotation can be obtained in one operation without repeating the rotation process, compared to the conventional operation shown in FIG.

本実施例では、垂直方向を基準方向としたが、水平方向
等、ほかの方向を基準方向としてもよい。
In this embodiment, the vertical direction is used as the reference direction, but other directions such as the horizontal direction may be used as the reference direction.

なお、回転処理をすることによって次のような利点があ
る。
Note that the rotation process has the following advantages.

例えば、原稿上の水平な直線が画像メモリ上に斜めに傾
いて展開されたとすると、第5図に示すようなドツトパ
ターンに展開されて直線ではなくなってしまい、このま
まのイメージデータな圧縮符号化する場合に圧縮効率が
悪化する。そこで画像メモリ上のイメージデータを回転
させることによって表示角度補正を行なえば第6図に示
すようなドツトパターンとなり、このような正しい水平
な直線は圧縮符号化する際に効率が良くなる。圧縮率の
良さはデータの絶対量を少なくできるということであり
、データが小さければ転送時間を短縮することができ、
システム全体の性能を上げることが期待できる。
For example, if a horizontal straight line on a document is developed diagonally on the image memory, it will be developed into a dot pattern as shown in Figure 5 and will no longer be a straight line, and the image data will not be compressed and encoded as it is. In some cases, compression efficiency deteriorates. Therefore, if the display angle is corrected by rotating the image data on the image memory, a dot pattern as shown in FIG. 6 will be obtained, and such a correct horizontal straight line will improve efficiency in compression encoding. A good compression ratio means that the absolute amount of data can be reduced, and if the data is small, the transfer time can be shortened.
It is expected that the performance of the entire system will be improved.

[発明の効果] 以上説明したように本発明は、二点を結ぶ線分と予め定
められた基準方向との角度を回転角度とすることにより
、1回で満足な回転を得られ、操作性を向上できる効果
がある。
[Effects of the Invention] As explained above, the present invention provides a rotation angle that is the angle between a line segment connecting two points and a predetermined reference direction. It has the effect of improving

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

第1図は本発明のイメージ処理システムの一実施例を示
すシステム構成図、第2図は本実施例による回転処理の
作業を示す流れ図、第3図は回転処理をする前のイメー
ジを示す説明図、第4図は回転処理をした後のイメージ
を示す説明図、第5図は回転処理をする前の画像メモリ
12上のドツトパターンを示す説明図、第6図は回転処
理をした後の画像メモリ12ジヨウノドツトパターンを
示す説明図、第7図はイメージ処理システムの従来例の
よる回転処理の作業を示す流れ図である。 1・・・イメージ処理システム 11・・・イメージ リーダ、 12・・・画  像  メ  モ  リ、13・・・編
   集   手   段、14・・・回転角度算出手
段、 15・・・制   御   手   段、16・・・入
力インタフェース、 17・・・入出力インタフェース 21・・・イメージ表示手段、 22・・・キ −  ボ −  ド、 23・・・マ   ウ   ス− 24,25・・・外部記憶手段。
Fig. 1 is a system configuration diagram showing an embodiment of the image processing system of the present invention, Fig. 2 is a flowchart showing the rotation processing operation according to this embodiment, and Fig. 3 is an explanation showing an image before rotation processing. Figure 4 is an explanatory diagram showing the image after the rotation process, Figure 5 is an explanatory diagram showing the dot pattern on the image memory 12 before the rotation process, and Figure 6 is an explanatory diagram showing the image after the rotation process. FIG. 7 is an explanatory diagram showing the dot pattern of the image memory 12, and FIG. 7 is a flowchart showing the operation of rotation processing in a conventional example of the image processing system. DESCRIPTION OF SYMBOLS 1... Image processing system 11... Image reader, 12... Image memory, 13... Editing means, 14... Rotation angle calculation means, 15... Control means , 16... Input interface, 17... Input/output interface 21... Image display means, 22... Keyboard, 23... Mouse 24, 25... External storage means .

Claims (1)

【特許請求の範囲】 1、イメージデータを回転させる回転処理が可能なイメ
ージ処理システムにおいて、 画面上の点を指示する指示手段と、 指示手段により画面上の二点が指示されると、指示され
た二点を結ぶ線分と画面上で予め定められた基準方向と
の角度を算出し、算出した角度を前記回転処理の際の回
転角度とする回転角度算出手段とを有することを特徴と
するイメージ処理システム。
[Claims] 1. An image processing system capable of rotation processing of rotating image data, comprising: an instruction means for indicating a point on a screen; and when two points on the screen are indicated by the instruction means, and a rotation angle calculation means that calculates the angle between a line segment connecting the two points and a reference direction predetermined on the screen, and uses the calculated angle as the rotation angle during the rotation process. Image processing system.
JP8052889A 1989-03-30 1989-03-30 Image processing system Pending JPH02259884A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP8052889A JPH02259884A (en) 1989-03-30 1989-03-30 Image processing system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP8052889A JPH02259884A (en) 1989-03-30 1989-03-30 Image processing system

Publications (1)

Publication Number Publication Date
JPH02259884A true JPH02259884A (en) 1990-10-22

Family

ID=13720832

Family Applications (1)

Application Number Title Priority Date Filing Date
JP8052889A Pending JPH02259884A (en) 1989-03-30 1989-03-30 Image processing system

Country Status (1)

Country Link
JP (1) JPH02259884A (en)

Similar Documents

Publication Publication Date Title
EP0715276A2 (en) Method and apparatus for mapping texture
JPS62266680A (en) Picture signal inputting and editing device
JPH0353668B2 (en)
JPH02259884A (en) Image processing system
JPH0457570A (en) Picture processor
JP2891862B2 (en) Image compression apparatus and image compression method
JPH0679334B2 (en) Data compression method
JPH0652300A (en) Picture processor
JP4309987B2 (en) Raster data editing method and apparatus
JPH02199579A (en) Method of forming animation
JPH06342468A (en) Computer graphic image compressing and encoding system
US6400369B1 (en) Information processing method and apparatus for generating texture-data for computer graphics
JP2721348B2 (en) Image processing device
JPH01205383A (en) Picture processor
JPS63146571A (en) Image processor
JPH06231219A (en) Method and apparatus for formation of electronic image
JP3187137B2 (en) Image processing method and apparatus
JPH02103680A (en) Picture information processor
JP3795564B2 (en) Image expansion processing method
JPS63241625A (en) Line drawing input device
JPH0744730A (en) Picture conversion processing method
JPS60250482A (en) Picture rotation indicating system
JPS63113770A (en) Image processing system
JPH09198497A (en) Working processing system for image data
JPH01220962A (en) Picture processor