JPS62279477A - Image data rotating system - Google Patents

Image data rotating system

Info

Publication number
JPS62279477A
JPS62279477A JP12133286A JP12133286A JPS62279477A JP S62279477 A JPS62279477 A JP S62279477A JP 12133286 A JP12133286 A JP 12133286A JP 12133286 A JP12133286 A JP 12133286A JP S62279477 A JPS62279477 A JP S62279477A
Authority
JP
Japan
Prior art keywords
image
picture element
rotation
image data
interpolating
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
JP12133286A
Other languages
Japanese (ja)
Inventor
Yasukazu Ito
伊藤 能一
Michiko Iwasaki
岩崎 美知子
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 JP12133286A priority Critical patent/JPS62279477A/en
Publication of JPS62279477A publication Critical patent/JPS62279477A/en
Pending legal-status Critical Current

Links

Landscapes

  • Image Processing (AREA)

Abstract

PURPOSE:To decrease a distortion generated in an image, and to improve a recognition rate by generating an interpolating black picture element in an intermediate position, when continuous black picture elements exist in one direction, and thereafter, converting a real number coordinate value which has been obtained by a rotation processing, to an integer coordinate value. CONSTITUTION:An inclination angle detecting part 15 segments an image data of a graphic to be recognized, from an image memory 14, and detects an inclination angle theta of its graphic. On the other hand, when continuous black picture elements P and Q exist in one direction of vertical, horizontal and diagonal directions on a main lattice of an image, an interpolating picture element generating part 11 generates an interpolating black picture element S in its intermediate position. A rotation arithmetic part 12 is rotated in the reverse direction by magnitude of the inclination angle thetawhich is detected by the detecting part 11, namely, by -theta against each black picture element and the interpolating picture element for constituting an image on the main lattice. A rounding arithmetic part 13 rounds a coordinate value of each black picture element and the interpolating picture element, which is derived by the arithmetic part 12 and executes a processing for converting a real number value to an integer value. In such a way, even after the rotation processing, as for the picture element P and Q, the adjacent relation is held and no interruption is generated.

Description

【発明の詳細な説明】 3、発明の詳細な説明 〔概 要〕 画像を所定角回転した回転画像を生成する画像データ回
転方式において、画像の主格子上の縦。
[Detailed Description of the Invention] 3. Detailed Description of the Invention [Summary] In an image data rotation method that generates a rotated image by rotating an image by a predetermined angle, the image data is rotated vertically on the main grid of the image.

横及び斜めのいずれかの方向に連続した黒画素が存在す
るときに、その中間位置に補間黒画素を生成した後、回
転処理及びこの回転処理によって得られた実数座標値を
整数座標値に変換する処理を行う。これにより、回転処
理後の画像に途切れ、凹凸、黒画素中の穴等の発生をな
くし、図形の認識率゛を向上させることが出来る。
When there are continuous black pixels in either the horizontal or diagonal direction, an interpolated black pixel is generated at the intermediate position, and then the rotation process and the real number coordinate values obtained by this rotation process are converted to integer coordinate values. Perform the processing to do. This eliminates the occurrence of discontinuities, irregularities, holes in black pixels, etc. in the image after rotation processing, and improves the figure recognition rate.

〔産業上の利用分野〕[Industrial application field]

本発明は、文字認識や図面読み取り等、図形を認識する
場合に、傾いて書かれた図形を正しい位置に回転する画
像データ回転方式に関する。
The present invention relates to an image data rotation method for rotating a tilted figure to the correct position when recognizing a figure, such as character recognition or drawing reading.

文字やシンボル等の図形を認識する場合、被認識図形の
画像と辞書に登録されている標準パターンとをマツチン
グさせて認識するパターンマツチング方式が多く用いら
れている。その場合、被認熾図形の画像と標準パターン
の傾きを一敗させる必要があるので、被認識図形が傾い
て書かれている場合は、前処理として、正しい位置まで
画像データを回転する処理が行われる。
When recognizing figures such as characters and symbols, a pattern matching method is often used in which an image of the figure to be recognized is matched with a standard pattern registered in a dictionary. In that case, it is necessary to completely adjust the inclination of the image of the recognized figure and the standard pattern, so if the figure to be recognized is written at an angle, the process of rotating the image data to the correct position is necessary as preprocessing. It will be done.

〔従来の技術〕[Conventional technology]

第7図は、従来の画像データの回転方式を示したもので
ある。
FIG. 7 shows a conventional image data rotation method.

第7図において、21は回転演算部で、画像データの回
転演算処理を行う。22は丸め演算部で回転処理された
画像データの実数のX及びY座標値がそれぞれ整数値に
なる様に丸め演算処理を行う。
In FIG. 7, reference numeral 21 denotes a rotation calculation unit that performs rotation calculation processing on image data. A rounding unit 22 performs a rounding operation so that the real X and Y coordinate values of the rotated image data become integer values.

次に、第7図の動作を、第6図の画像データ回転方式の
説明図を参照して説明する。
Next, the operation shown in FIG. 7 will be explained with reference to the explanatory diagram of the image data rotation method shown in FIG.

いま、文字Cが第6図(alに示す様に、X座標に対し
てθだけ傾いているとする。回転演算部21は、このθ
だけ傾いた文字Cの画像を、次の(1)式に従って、時
計方向にθだけ回転する処理を行う。
Now, suppose that the character C is tilted by θ with respect to the X coordinate, as shown in FIG. 6 (al).
The image of the letter C tilted by 0 is rotated clockwise by θ according to the following equation (1).

但し、θの方向は反時計方向を正とする。However, regarding the direction of θ, the counterclockwise direction is positive.

ここで、X及びyは回転処理前の文字Cの各黒画素のX
及びY座標であり、X及びYは回転処理後のX及びY座
標である。
Here, X and y are the X of each black pixel of character C before rotation processing.
and Y coordinates, and X and Y are the X and Y coordinates after rotation processing.

所で、画像の各画素は主格子上に生成されるので、その
座標は整数値で表される。然しなから、前述の(1)で
求められたX及びY座標は、一般に実数値であるので、
整数値に変換することが必要である。
By the way, since each pixel of the image is generated on the main grid, its coordinates are represented by integer values. However, since the X and Y coordinates determined in (1) above are generally real values,
It is necessary to convert it to an integer value.

丸め演算部22は、(1)式によって求められた実数値
のX及びY座標値を、四捨五入等の丸め処理を行うこと
により、整数値のX及びY座標値に変換する処理を行う
The rounding calculation unit 22 converts the real-valued X and Y coordinate values obtained by equation (1) into integer-valued X and Y coordinate values by performing rounding such as rounding.

以上の様にして、第6図(blに示す様に、傾きのない
正しい位置における文字Cの回転画像を得ることが出来
る。
In the manner described above, it is possible to obtain a rotated image of the letter C in the correct position without any inclination, as shown in FIG. 6 (bl).

〔発明が解決しようとする問題点〕[Problem that the invention seeks to solve]

従来の画像データ回転処理方式は、前述の様に、(11
弐で求めたX及びY座標値に丸め処理を施して整数値の
X及びY座標値を発生させる様にしていた。
As mentioned above, the conventional image data rotation processing method is (11
The X and Y coordinate values obtained in step 2 were rounded to generate integer X and Y coordinate values.

然しなから、この様な丸め処理によりX及びY座標値を
整数値に変換すると、変換後の画素に位置にずれが生じ
る。この為、変換前には隣接していた画素同士が変換後
に隣接しなくなったり、あるいは画像を構成する黒画素
中に穴が生しる等の現象が生じる。
However, when the X and Y coordinate values are converted into integer values by such rounding processing, a shift occurs in the position of the converted pixel. For this reason, phenomena such as pixels that were adjacent to each other before conversion are no longer adjacent to each other after conversion, or holes are created among the black pixels that make up the image occur.

例えば、第8図(a)に示す様に、x、y座標値が(5
、6)及び(6、5)である2個の黒画素P及びQを、
30°だけ反時計方向に回転すると、回転後のP点のX
及びY座標値(Xp、Yp)は、前記(1)式において
θ=3001x−5、y=6と置くことにより、XP=
1.33、y、=7.70となる。又、回転後のQ点の
X及びY座標値(Xo 。
For example, as shown in Figure 8(a), the x and y coordinate values are (5
, 6) and (6, 5),
When rotated counterclockwise by 30 degrees, the X of point P after rotation
And the Y coordinate values (Xp, Yp) are set as θ=3001x-5 and y=6 in the above equation (1), so that XP=
1.33,y,=7.70. Also, the X and Y coordinate values of point Q after rotation (Xo.

y、)は(1)式においてθ=30’、x=6、Y−5
と置くことにより、Xo=2.70、’y’、=7.3
3となる。
y,) is θ=30', x=6, Y-5 in equation (1)
By setting, Xo=2.70, 'y', =7.3
It becomes 3.

これらのP(XP、Y、)及びQ (xo  、YQ 
)にそれぞれ四捨五入による丸め処理を行って整数値に
変換した場合の座標をP’  (XP ’  、Yp 
’ )及びQ’  (Xa ’  、Ya ’ )とす
ると、(Xp’  。
These P (XP, Y,) and Q (xo , YQ
) are rounded off and converted to integer values, and the coordinates are P' (XP ', Yp
) and Q'(Xa',Ya'), then (Xp').

YF’)=(1,8)、(xo’、yo’)=(3,7
)となる。このP′及びQ′は、第8図(blに示す様
に、隣接せずに途切れた2点を形成する。
YF') = (1, 8), (xo', yo') = (3, 7
). These P' and Q' form two discontinuous points that are not adjacent to each other, as shown in FIG. 8 (bl).

この様に、従来の画像データ回転方式においては、回転
処理前に隣接していた2点が回転処理によって途切れた
ものとなったり、黒く■りつぶした領域内に回転処理後
に穴が生じたりする等、回転処理による図形の歪が大き
く、その為、認識率が低下するという問題があった。
In this way, with conventional image data rotation methods, two points that were adjacent before the rotation process become disconnected due to the rotation process, or a hole appears in a blackened area after the rotation process. etc., there is a problem in that the distortion of the figure due to the rotation process is large, resulting in a reduction in the recognition rate.

本発明は、回転処理後の画像に生じる歪を少くし、認識
率を向上させる様にした画像データ回転方式を堤供する
ことを目的とする。
SUMMARY OF THE INVENTION An object of the present invention is to provide an image data rotation method that reduces distortion occurring in images after rotation processing and improves recognition rate.

〔問題点を解決する為の手段〕[Means for solving problems]

従来の画像データ回転方式における前述の問題点を解決
する為に本発明が講じた手段を、第1図を参照して説明
する。
The means taken by the present invention to solve the above-mentioned problems in the conventional image data rotation method will be explained with reference to FIG.

第1図は、本発明の基本構成をブロック図で示したもの
である。
FIG. 1 is a block diagram showing the basic configuration of the present invention.

第1図において、11は補間画素生成部で、画像の主格
子上の縦、横及び斜めのいずれかの方向に連続した黒画
素が存在するときは、その中間位置に補間黒画素を生成
する。−黒画素は、画像を構成する画素である。
In FIG. 1, 11 is an interpolation pixel generation unit, which generates an interpolation black pixel at an intermediate position when there are continuous black pixels in any of the vertical, horizontal, and diagonal directions on the main grid of the image. . - Black pixels are pixels that make up an image.

12は回転演算部で、主格子上の黒画素及び補間画素生
成部11で生成された補間黒画素の座標に対して所定の
角度だけ回転させる演算処理を行う。
Reference numeral 12 denotes a rotation calculation unit that performs calculation processing to rotate the coordinates of the black pixels on the main grid and the interpolation black pixels generated by the interpolation pixel generation unit 11 by a predetermined angle.

13は丸め演算部で、回転演算部12によって求められ
た黒画素及び補間黒画素の座標値を、実数値から整数値
に変換する処理を行う。
A rounding calculation unit 13 performs a process of converting the coordinate values of black pixels and interpolated black pixels obtained by the rotation calculation unit 12 from real values to integer values.

〔作 用〕[For production]

第1図の作用を、第3図及び第4図を参照して説明する
The operation of FIG. 1 will be explained with reference to FIGS. 3 and 4.

第3図は本発明の補間画素生成処理の説明図、第4図は
本発明の画像データ回転処理及び丸め処理例の説明図で
ある。
FIG. 3 is an explanatory diagram of interpolation pixel generation processing of the present invention, and FIG. 4 is an explanatory diagram of an example of image data rotation processing and rounding processing of the present invention.

補間画素生成部11は、第3図(a)〜+dlに示す様
に、画像の主格子の縦、横及び斜めのいずれかの方向に
連続した黒画素P及びQが存在するときは、その中間位
置、例えば1/2格子点上に補間黒画素Sを生成する。
As shown in FIG. 3(a) to +dl, when there are continuous black pixels P and Q in any of the vertical, horizontal, and diagonal directions of the main grid of the image, the interpolation pixel generation unit 11 An interpolated black pixel S is generated at an intermediate position, for example, on a 1/2 grid point.

回転演算部12は、主格子上の黒画素(P 、 Q)及
び補間黒画素(S)に対して所定の角度(θ)だけ回転
させる演算処理を行う。この回転演算処理は、例えば、
前掲の(1)式によって行われる。
The rotation calculation unit 12 performs calculation processing to rotate the black pixels (P, Q) on the main grid and the interpolated black pixels (S) by a predetermined angle (θ). This rotation calculation process is, for example,
This is performed using the above-mentioned equation (1).

丸め演算部13は、回転演算部12によって求められた
黒画素(P 、 Q)及び補間黒画素(S)の座標値を
、実数値から整数値に変換する処理を行う。
The rounding calculation unit 13 performs a process of converting the coordinate values of the black pixels (P, Q) and the interpolated black pixel (S) obtained by the rotation calculation unit 12 from real values to integer values.

いま、第4図の場合を例にとって、具体的に説明すると
、第4図(alは、主格子上の黒画素p (XP=51
 yp =6)及びQ (XQ = 6− yo = 
5)並びに補間黒画素S (Xs =5.5 、 )’
s −5,5)を示したものである。
Now, taking the case of Fig. 4 as an example, a concrete explanation will be given. Fig. 4 (al is the black pixel p (XP=51
yp = 6) and Q (XQ = 6- yo =
5) and interpolated black pixel S (Xs = 5.5, )'
s −5,5).

これらのP、Q及び8点の各座標を、回転演算部12に
より例えば反時計方向に30度回転した後、その各X及
びY座標値を丸め演算部13により例えば四捨五入を行
って実数値から整数値に変換する処理を行うと、P、Q
及び8点は第4図(blに示す様に、P’  (XP 
’ =1 、YP ’ =8)、Q’  (xo ’ 
=3 、Yo ’ =7)及びS’  (xs’=2 
、Ys ’ =8)に変換される。従って、回転処理前
に隣り合う関係にあったP及びQ点は、回転処理後にも
隣り合う関係を保持することになって途切れを生じない
(第4図については、後述の〔実施例〕の項において更
に詳しく説明する)。
After the coordinates of these P, Q, and 8 points are rotated, for example, by 30 degrees counterclockwise by the rotation calculation unit 12, the respective X and Y coordinate values are rounded off by the rounding calculation unit 13, for example, and converted from real values. When converting to integer values, P, Q
and 8 points are P' (XP
' = 1, YP ' = 8), Q'(xo'
=3, Yo' =7) and S'(xs'=2
, Ys' = 8). Therefore, points P and Q, which were adjacent to each other before the rotation process, will maintain their adjacent relationship after the rotation process, and no discontinuity will occur. (Explained in more detail in Section 1).

以上の様に、画像の主格子上の縦、横及び斜めのいずれ
かの方向に連続した黒画素が存在するときに、その中間
位置に補間黒画素を生成した後、回転及び丸め処理を行
う様にしたので、回転処理後の図形に生じる歪を少くし
て、認識率を向上させることが出来る。
As described above, when there are continuous black pixels in any of the vertical, horizontal, and diagonal directions on the main grid of the image, after generating interpolated black pixels at intermediate positions, rotation and rounding processing is performed. As a result, it is possible to reduce the distortion that occurs in the figure after rotation processing and improve the recognition rate.

〔実施例〕〔Example〕

本発明の実施例を、第2図〜第5図を参照して説明する
Embodiments of the present invention will be described with reference to FIGS. 2 to 5.

第2図は本発明の一実施例の構成のブロック説明図、第
5図は同実施例によって生成された回転画像例の説明図
である。第3図及び第4図については、既に説明した通
りである。
FIG. 2 is an explanatory block diagram of the configuration of an embodiment of the present invention, and FIG. 5 is an explanatory diagram of an example of a rotated image generated by the embodiment. 3 and 4 have already been described.

(A)実施例の構成 第2図において、補間画素生成部11、回転演算部12
及び丸め演算部13については、既に説明した通りであ
る。
(A) Configuration of the embodiment In FIG. 2, an interpolation pixel generation section 11, a rotation calculation section 12
and the rounding calculation unit 13 are as already described.

14は画像メモリで、被認識図形の画像データが格納さ
れている。
Reference numeral 14 denotes an image memory in which image data of the figure to be recognized is stored.

15は傾斜角検出部で、画像メモリ14より被認識図形
の画像データを取り出して、被認識図形の傾斜角を検出
する。
Reference numeral 15 denotes an inclination angle detection section which takes out image data of the figure to be recognized from the image memory 14 and detects the inclination angle of the figure to be recognized.

(B)実施例の動作 実施例の動作を、第3図〜第5図を参照して説明する。(B) Operation of the embodiment The operation of the embodiment will be explained with reference to FIGS. 3 to 5.

傾斜角検出部15は、画像メモリ14より被認識図形の
画像データを取り出し、公知の各種の方式により被認識
図形の傾斜角θを検出する。
The tilt angle detection section 15 takes out the image data of the figure to be recognized from the image memory 14, and detects the tilt angle θ of the figure to be recognized using various known methods.

一方、補間画素生成部11は、第3図の(al〜(dl
に示す様に、画像の主格子上の縦、横及び斜めのいずれ
かの方向に連続した黒画素P及びQが存在するときは、
その中間位置に補間黒画素Sを生成する。この実施例で
は、図示の様に1/2格子点上に補間黒画素Sが生成さ
れる。
On the other hand, the interpolation pixel generation unit 11 generates (al to (dl)
As shown in , when there are continuous black pixels P and Q in any of the vertical, horizontal, and diagonal directions on the main grid of the image,
An interpolated black pixel S is generated at the intermediate position. In this embodiment, interpolated black pixels S are generated on 1/2 grid points as shown.

回転演算部12は、主格子上の画像を構成する各黒画素
及び補間画素に対し、傾斜角検出部15によって検出さ
れた傾斜角θの大きさで方向は逆の方向、即ち(−θ)
だけ回転する。
The rotation calculation unit 12 calculates, for each black pixel and interpolation pixel constituting the image on the main grid, the magnitude of the tilt angle θ detected by the tilt angle detection unit 15 in the opposite direction, that is, (-θ).
only rotates.

この回転演算は、前掲の(1)式において、θの所に(
−〇)を代入することにより行われる。
This rotation calculation is performed at θ in equation (1) above.
−〇).

丸め演算部】3は、回転演算部12によって求められた
各黒画素及び補間黒画素の座標値を、この実施例では四
捨五入することにより実数値から整数値に変換する処理
を行う。
Rounding operation unit 3 performs a process of converting the coordinate values of each black pixel and interpolated black pixel obtained by the rotation operation unit 12 from real values to integer values by rounding them off in this embodiment.

いま、傾斜角検出部15によって検出された傾斜角θが
30°であるとし、第4図の場合を例にとって具体的に
説明すると、第4図(a)において、黒画素P及びQは
、主格子上に存在する被認識図形の黒画素である。黒画
素P及びQのX及びY座標を(xpsyp)及び(xo
+3’o)とすると、X9=5、)’p=6及びX0=
6、yo−5である。
Now, assuming that the tilt angle θ detected by the tilt angle detection unit 15 is 30 degrees, and specifically explaining the case of FIG. 4 as an example, in FIG. 4(a), black pixels P and Q are as follows. These are black pixels of the figure to be recognized existing on the main grid. The X and Y coordinates of black pixels P and Q are (xpsyp) and (xo
+3'o), then X9=5,)'p=6 and X0=
6, yo-5.

黒画素P及びQは斜め方向に連続して存在するので、そ
の中間位置に補間黒画素Sが生成される。
Since the black pixels P and Q exist consecutively in the diagonal direction, the interpolated black pixel S is generated at an intermediate position.

この実施例では1/2格子点を中間位置としているので
、補間黒画素SのX及びY座標をX5及びy、とすると
、x、=5.5及びyi −5,5である。
In this embodiment, the 1/2 grid point is the intermediate position, so if the X and Y coordinates of the interpolated black pixel S are X5 and y, then x = 5.5 and yi -5,5.

回転演算部12は、(11式により各黒画素P、Q及び
Sをθ(=30度)だけ回転する演算処理を行う。回転
処理後の各黒画素P、Q及び8点の各X及びY座標を(
XP、Y、、)、(XQ、YQ)及び(Xs、Ys)と
すると、これらは、それぞれ次の様に算出される。
The rotation calculation unit 12 performs calculation processing to rotate each black pixel P, Q, and S by θ (=30 degrees) using equation 11. After rotation processing, each black pixel P, Q and each of the 8 points Y coordinate (
Assuming that XP, Y, ), (XQ, YQ) and (Xs, Ys), these are calculated as follows.

XP=1.33  、   YP=7.70xo =2
.70  、   Yd =7.33Xs =2.01
  、   y、 =7.51丸め演算部13が四捨五
入を行って、これらの実数の座標値を整数の座標値に変
換すると、変換後のP、Q及びSに対応する点をP’ 
 、Q’  、S’とし、そのX及びY座標を(XP’
、YP’)、(xa ’  tYo ’ )及び(Xs
’  、Ys’)とすると、これらは、それぞれ次の様
に算出される。
XP=1.33, YP=7.70xo=2
.. 70, Yd = 7.33Xs = 2.01
, y, =7.51 When the rounding unit 13 performs rounding and converts these real number coordinate values into integer coordinate values, the points corresponding to P, Q, and S after conversion are converted to P'
, Q', S', and their X and Y coordinates are (XP'
, YP'), (xa'tYo') and (Xs
', Ys'), these are calculated as follows.

X、’=]、   、   YP’=8X、’=3  
 、   Y、’−7 x、’=2   、   YS’ −8第4図(b)は
、この様にして求められた黒画素P′Q′及びS′を図
示したもので、回転処理前に隣り合う関係にあった黒画
素P及びQは、回転処理後にも隣り合う関係が保持され
て途切れが生しない。同じ黒画素P及びQに対して従来
方式で回転処理及び丸め処理を行って形成される黒画素
P′及びQ′の場合は、隣り合う関係が保持されずに途
切れが生じることは、第8図で既に説明した通りである
X,'=], , YP'=8X,'=3
, Y,'-7 The black pixels P and Q, which were adjacent to each other, maintain their adjacent relationship even after the rotation process, and no discontinuity occurs. In the case of black pixels P' and Q' that are formed by performing rotation processing and rounding processing on the same black pixels P and Q using the conventional method, the adjacent relationship is not maintained and discontinuities occur, which is the eighth problem. This is as already explained in the figure.

第5図は、従来方式及び本発明による画像データ回転方
式によって得られた回転画像の例を示したもので、同図
(alは文字Aの原画像、同図(blは従来方式によっ
て得られた文字Aの回転画像、同図(c)は本発明の方
式によって得られた文字Aの回転画像をそれぞれ示した
ものである。(bl及び(C)の回転画像を対比すると
明らかな様に、本発明によれば、従来方式よりも凹凸や
画像中の穴等が減少し、きれいな回転画像を生成するこ
とが出来る。
FIG. 5 shows examples of rotated images obtained by the conventional method and the image data rotation method according to the present invention. (c) shows the rotated image of the letter A obtained by the method of the present invention. (As is clear from comparing the rotated images in bl and (C), According to the present invention, unevenness and holes in the image are reduced compared to the conventional method, and a clean rotated image can be generated.

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

、  以上説明した様に、本発明によれば、回転処理後
の画像に途切れ、凹凸、黒画素領域中の穴等の発生がな
くなり、傾いて書かれた文字、シンボル等の図形の認識
率を向上させることが出来る。
As explained above, according to the present invention, there are no interruptions, irregularities, holes in black pixel areas, etc. in the image after rotation processing, and the recognition rate of characters, symbols, etc. written at an angle is improved. It can be improved.

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

第1図・・・本発明の基本構成の説明図、第2図・・・
本発明の一実施例の構成の説明図、第3図・・・本発明
の補間画素生成処理の説明図、第4図・・・本発明の画
像データ回転処理及び丸め処理例の説明図、 第5図・・・本発明の方式及び従来方式による回転画像
生成例の説明図、 第6図・・・画像データ回転方式の説明図、第7図・・
・従来の画像データ回転方式の説明図、第8図・・・従
来の画像データ回転処理及び丸め処理例の説明図。 第1図及び第2図において、 11・・・補間画素生成部、12・・・回転演算部、1
3・・・丸め演算部、14・・・画像メモリ、15・・
・傾斜角検出部。
Fig. 1...Explanatory diagram of the basic configuration of the present invention, Fig. 2...
FIG. 3 is an explanatory diagram of the configuration of an embodiment of the present invention. FIG. 4 is an explanatory diagram of an example of the image data rotation process and rounding process of the present invention. Fig. 5: An explanatory diagram of an example of rotating image generation using the method of the present invention and a conventional method. Fig. 6: An explanatory diagram of an image data rotation method. Fig. 7...
- An explanatory diagram of a conventional image data rotation method, FIG. 8: An explanatory diagram of an example of conventional image data rotation processing and rounding processing. 1 and 2, 11... interpolation pixel generation unit, 12... rotation calculation unit, 1
3... Rounding calculation unit, 14... Image memory, 15...
・Inclination angle detection section.

Claims (1)

【特許請求の範囲】 画像を所定角回転した回転画像を生成する画像データ回
転方式において、 (a)画像の主格子上の縦、横及び斜めのいずれかの方
向に連続した黒画素が存在するときは、その中間位置に
補間黒画素を生成する補間画素生成部(11)と、 (b)主格子上の黒画素及び補間画素生成部(11)で
生成された補間黒画素の座標に対して所定の角度だけ回
転させる演算処理を行う回転演算部(12)と、 (c)回転演算部(12)によって求められた黒画素及
び補間黒画素の座標値を、実数値から整数値に変換する
処理を行う丸め演算部(13)、を備えたことを特徴と
する画像データ回転方式。
[Claims] In an image data rotation method that generates a rotated image by rotating an image by a predetermined angle, (a) continuous black pixels exist in any one of the vertical, horizontal, and diagonal directions on the main grid of the image. (b) For the black pixel on the main grid and the coordinates of the interpolated black pixel generated by the interpolated pixel generator (11), (c) converting the coordinate values of the black pixels and interpolated black pixels obtained by the rotation calculation unit (12) from real values to integer values; An image data rotation method characterized by comprising a rounding calculation unit (13) that performs processing.
JP12133286A 1986-05-28 1986-05-28 Image data rotating system Pending JPS62279477A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP12133286A JPS62279477A (en) 1986-05-28 1986-05-28 Image data rotating system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP12133286A JPS62279477A (en) 1986-05-28 1986-05-28 Image data rotating system

Publications (1)

Publication Number Publication Date
JPS62279477A true JPS62279477A (en) 1987-12-04

Family

ID=14808640

Family Applications (1)

Application Number Title Priority Date Filing Date
JP12133286A Pending JPS62279477A (en) 1986-05-28 1986-05-28 Image data rotating system

Country Status (1)

Country Link
JP (1) JPS62279477A (en)

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5972568A (en) * 1982-10-20 1984-04-24 Sony Corp Picture converter

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5972568A (en) * 1982-10-20 1984-04-24 Sony Corp Picture converter

Similar Documents

Publication Publication Date Title
US8515130B2 (en) Conference system, monitoring system, image processing apparatus, image processing method and a non-transitory computer-readable storage medium
WO2016192494A1 (en) Image processing method and device
JP3005296B2 (en) Rotate run-length coded images
JP2612260B2 (en) Texture mapping equipment
JPH077616A (en) Inclination detection device
KR20080009870A (en) Apparatus and method for rotation bitmap image
JPS62279477A (en) Image data rotating system
CN114495105A (en) Image tilt correction method, device, storage medium and computer equipment
JP2644724B2 (en) Document image skew correction method
JP2019121062A (en) Image enlargement device
JP2005190383A (en) Dot area discrimination apparatus and dot area discrimination method
JPH0391877A (en) Picture processing device
JP3327961B2 (en) Image processing device
JPH1040367A (en) Method and device for correcting distortion of thermal image
JP2578116B2 (en) Straight line detection method
JPS60179877A (en) Pattern thickening system
JPH06259531A (en) Method for correcting inclination of dot pattern
JPH10340337A (en) Correction method for inclination, extension and contraction of image data of drawing with drawing frame line graphic
KR940005827B1 (en) Method for rotation of text image data
JP2002288649A (en) Image rotation processing method and device
JPH0512438A (en) Method for extracting line segment with hough transformation
JPH04241683A (en) Method for correcting picture
CN114882199A (en) Depth design map generation method and system based on pixel-level image fusion
JP3615375B2 (en) Image processing method, apparatus, and storage medium
JP2861106B2 (en) Shading image generation method and apparatus