JPH05189553A - Image processing system - Google Patents

Image processing system

Info

Publication number
JPH05189553A
JPH05189553A JP4003760A JP376092A JPH05189553A JP H05189553 A JPH05189553 A JP H05189553A JP 4003760 A JP4003760 A JP 4003760A JP 376092 A JP376092 A JP 376092A JP H05189553 A JPH05189553 A JP H05189553A
Authority
JP
Japan
Prior art keywords
original image
thinning
pixels
pixel
pattern
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.)
Withdrawn
Application number
JP4003760A
Other languages
Japanese (ja)
Inventor
Hiroshi Katsuma
弘史 葛馬
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 JP4003760A priority Critical patent/JPH05189553A/en
Publication of JPH05189553A publication Critical patent/JPH05189553A/en
Withdrawn legal-status Critical Current

Links

Abstract

PURPOSE:To process the image at a high speed and to attain the effective development in an image processing system where the images are moved, tilted, reduced, rotated, etc. CONSTITUTION:An original image storing means 1 is provided to store plural picture elements forming an original image together with an original image reading means 2 which reads out the picture elements of the original image, a thinning out pattern storing means 3 which stores a thinning out pattern to decide whether the picture elements of the original image should be thinned out or not in 1:1 correspondence, a pattern reading means 4 which reads the thinning out pattern out of the means 3, a picture element thinning out means 5 which compares the picture elements of the original image with those of the thinning out pattern and then thins out the picture elements from the original image, and a processed image storing means 7 which stores the processing result of the means 5. In such a constitution, the picture elements of the original image data are compared with those of the thinning out pattern and the original image data are thinned out based on the thinning out pattern. Thus the original image can be processed.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は,2次元,3次元もしく
はそれ以上の多次元の画像について,切り出し,移動,
斜体化,縮小,回転,変形等の画像の加工処理を行う画
像処理方式に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention cuts out, moves, and moves two-dimensional, three-dimensional or higher multi-dimensional images.
The present invention relates to an image processing method for processing an image such as italicization, reduction, rotation, and deformation.

【0002】2次元,3次元等の画像は,画素の配置を
変更することにより様々に加工することができるが,1
画面を構成する画素は膨大な数なので,その加工処理は
効率的に行う必要がある。
Two-dimensional and three-dimensional images can be variously processed by changing the arrangement of pixels.
Since the number of pixels that make up a screen is enormous, it is necessary to perform the processing efficiently.

【0003】本発明は,2値,多値,カラーの静止画
像,動画像を簡単な構成で高速に加工処理ができるよう
にした。
According to the present invention, binary, multi-valued, color still images and moving images can be processed at high speed with a simple structure.

【0004】[0004]

【従来の技術】図7は従来の技術を示す。図において,
50は原画像格納手段であって,半導体メモリ等の記憶
装置よりなり,原画像の画素を格納するものである。5
1は読み出し手段であって,原画像格納手段50に格納
されているデータを読み出すものである。52は書き込
み手段であって,読み出し手段51の読み出した画素を
処理後画像格納手段53に格納するものである。53は
処理後画像格納手段であって,原画像格納手段50と同
じ大きさを持ち,画像処理された後の画素を格納するも
のである。54は画素アドレス変換手段であって,原画
像格納手段50から画素を読み出すアドレスを指定し,
加工処理に応じて定められる処理後画像格納手段53に
画素を格納するアドレスを算出するものである。
2. Description of the Related Art FIG. 7 shows a conventional technique. In the figure,
Reference numeral 50 denotes an original image storage means, which comprises a storage device such as a semiconductor memory and stores pixels of the original image. 5
Reference numeral 1 is a reading means for reading the data stored in the original image storage means 50. Reference numeral 52 denotes a writing unit that stores the pixels read by the reading unit 51 in the processed image storage unit 53. Reference numeral 53 denotes a processed image storage means, which has the same size as the original image storage means 50 and stores pixels after image processing. Reference numeral 54 is a pixel address conversion means for designating an address for reading a pixel from the original image storage means 50,
An address for storing a pixel in the post-processing image storage means 53 determined according to the processing is calculated.

【0005】なお,処理後画像格納手段53は原画像格
納手段50と同じ記憶装置により共用される場合もあ
る。図の構成の動作を説明する。
The processed image storage means 53 may be shared by the same storage device as the original image storage means 50. The operation of the configuration shown in the figure will be described.

【0006】画素アドレス変換手段54は原画像格納手
段50から読み出す画素のアドレスを指定する。読み出
し手段51は原画像格納手段50から指定されたアドレ
スの画素データを読み出す。1回の読み出しにより,1
画素もしくは複数画素が読み出される。
The pixel address conversion means 54 designates the address of the pixel read from the original image storage means 50. The reading means 51 reads the pixel data of the specified address from the original image storage means 50. 1 by reading once
A pixel or multiple pixels are read.

【0007】画素アドレス変換手段54は,移動,回転
等の加工処理に応じて,読み出した画素をどこに移動す
るかを計算し,書き込むアドレスを求める。そして,書
き込み手段52に変換したアドレスをアドレス指定す
る。
The pixel address conversion means 54 calculates where to move the read pixel in accordance with processing such as movement and rotation, and obtains an address to write. Then, the converted address is designated in the writing means 52.

【0008】書き込み手段52は画素アドレス変換手段
54に指定されたアドレスに読み出された画素データを
書き込む。
The writing means 52 writes the read pixel data at the address designated by the pixel address converting means 54.

【0009】[0009]

【発明が解決しようとする課題】従来の画像処理方式
は,画像の回転,縮小等のさまざまな画像処理毎に異な
るアドレス変換手段を用意する必要があり,それぞれの
種類を使い分けるための手段が必要であった。
In the conventional image processing method, it is necessary to prepare different address converting means for various image processing such as image rotation and reduction, and a means for properly using each type is required. Met.

【0010】また,従来のアドレス変換手段は画素毎に
処理後の画素位置を算出していたので処理に長時間を要
するものであった。そして,装置テストも画像処理の種
類毎に行う必要があり,開発能率の悪いものであった。
Further, since the conventional address conversion means calculates the pixel position after processing for each pixel, it takes a long time for processing. Also, the device test needs to be performed for each type of image processing, and the development efficiency is poor.

【0011】本発明は,高速に画像処理をするととも
に,開発効率の良い画像処理方式を提供することを目的
とする。
It is an object of the present invention to provide an image processing system which performs image processing at high speed and has a high development efficiency.

【0012】[0012]

【課題を解決するための手段】本発明は,原画像の画素
を間引くための間引きパターンを用意し,間引きパター
ンに従って原画像を間引き,間引かれずに残った画素は
一軸上で原点方向に移動することにより,画素の移動,
縮小,拡大,斜体化あるいは回転等の画像処理を行うよ
うにした。
According to the present invention, a thinning pattern for thinning out pixels of an original image is prepared, the original image is thinned according to the thinning pattern, and the remaining pixels that have not been thinned move toward the origin on one axis. By moving the pixel,
Image processing such as reduction, enlargement, italicization, and rotation was performed.

【0013】図1は本発明の基本構成を示す。図におい
て,1は原画像格納手段であって,半導体記憶メモリ等
により構成されるものである。2は原画像読み出し手
段,3は間引きパターン格納手段であって,半導体メモ
リにより構成され,原画像の画素位置に対応して,2値
の間引きパターンの画素を格納するものである。4は間
引きパターン読み出し手段であって,間引きパターン格
納手段3に格納された画素を読み出すものである。間引
きパターンの画素は2値であり例えば,「0」は間引か
ず,「1」は間引くとするものである。あるいはその逆
に,「1」は間引かず,「0」は間引くとするものであ
る。5は画素間引き手段であって,原画像と間引きパタ
ーンに基づいて,原画像データを間引き,間引かない画
素は間引いた画素の分だけ一軸方向で原点に向かって移
動処理を行うものである。6は処理後画像書き込み手段
であって,画素間引き手段5の画像処理結果の画素デー
タを処理後画像格納手段7に格納するものである。7は
処理後画像格納手段であって,画素間引き手段5の処理
結果の画素を格納するものである。
FIG. 1 shows the basic configuration of the present invention. In the figure, reference numeral 1 is an original image storage means, which is constituted by a semiconductor memory or the like. Reference numeral 2 is an original image reading means, and 3 is a thinning pattern storage means, which is composed of a semiconductor memory and stores pixels of a binary thinning pattern corresponding to pixel positions of the original image. Reference numeral 4 denotes a thinning-out pattern reading means for reading out the pixels stored in the thinning-out pattern storing means 3. The pixels of the thinning pattern are binary, and for example, "0" is not thinned and "1" is thinned. On the contrary, "1" is not thinned out, and "0" is thinned out. A pixel thinning means 5 thins out the original image data based on the original image and the thinning pattern, and performs non-thinning pixel moving processing toward the origin in the uniaxial direction by the thinned pixels. A post-processing image writing means 6 stores the pixel data of the image processing result of the pixel thinning means 5 in the post-processing image storage means 7. Reference numeral 7 denotes a processed image storage means for storing pixels resulting from the processing performed by the pixel thinning means 5.

【0014】[0014]

【作用】図1の基本構成の動作を説明する。以下,間引
きパターンの画素(以後,間引き画素と称する)の値が
「0」は間引き,「1」は間引かないものとする。
The operation of the basic configuration of FIG. 1 will be described. Hereinafter, it is assumed that the value of the pixel of the thinning pattern (hereinafter referred to as the thinning pixel) is "0", and that the value thereof is "1".

【0015】原画像読み出し手段2は,原画像格納手段
1から画素データを読み出す。間引きパターン読み出し
手段4は,原画像格納手段1から読み出した画素位置に
対応する位置の間引き画素を読み出す。
The original image reading means 2 reads pixel data from the original image storage means 1. The thinning-out pattern reading unit 4 reads out thinned-out pixels at positions corresponding to the pixel positions read out from the original image storage unit 1.

【0016】画素間引き手段5は,間引きパターン読み
出し手段4の読み出した間引き画素に基づいて,原画像
の画素を間引き,間引いた画素の位置に間引かない画素
を詰めるように移動する。
The pixel thinning means 5 thins out the pixels of the original image based on the thinned pixels read by the thinning pattern reading means 4, and moves so as to close the thinned pixels at the positions of the thinned pixels.

【0017】処理後画像書き込み手段6は画素間引き手
段5の移動した画素を,処理後画像格納手段7に格納す
る。2次元画像の場合について,画素間引き手段5によ
る画素移動方法を説明する。
The processed image writing means 6 stores the moved pixels of the pixel thinning means 5 in the processed image storage means 7. A pixel moving method by the pixel thinning means 5 will be described in the case of a two-dimensional image.

【0018】原画像の大きさをX方向にX画素配列さ
れ,Y方向にY画素配列されているとする。間引きパタ
ーンも同様にX方向にX画素,Y方向にY画素配列され
る。原画像の画素値を次のように表す。
The size of the original image is assumed to be X pixels arranged in the X direction and Y pixels arranged in the Y direction. Similarly, in the thinning pattern, X pixels are arranged in the X direction and Y pixels are arranged in the Y direction. The pixel value of the original image is expressed as follows.

【0019】A(n,m) (但し,0<m≦X,0<
n≦Y),A(n,m)は画素の種類(2値,濃淡,カ
ラー等)に応じた種類のデータである。
A (n, m) (where 0 <m ≦ X, 0 <
n ≦ Y) and A (n, m) are data of a type corresponding to the type of pixel (binary, shade, color, etc.).

【0020】同様に,処理後のパターンを次のように表
す。 B(n,m) (但し,0<m≦X,0<n≦Y),B
(n,m)は画素の種類(2値,濃淡,カラー等)に応
じた種類のデータである。
Similarly, the processed pattern is expressed as follows. B (n, m) (where 0 <m ≦ X, 0 <n ≦ Y), B
(N, m) is data of a type corresponding to the type of pixel (binary, shade, color, etc.).

【0021】間引きパターンは次のように表す。 I(n,m) (但し,0<m≦X,0<n≦Y),I
(n,m)は2値データである。例えば,「0」は間引
くための画素,1は間引かないための画素を表す。
The thinning pattern is expressed as follows. I (n, m) (where 0 <m ≦ X, 0 <n ≦ Y), I
(N, m) is binary data. For example, “0” represents a pixel for thinning out, and 1 represents a pixel for not thinning out.

【0022】画素の移動前の位置と移動後の位置の関係
は次の通りである。 B(n,k)=A(n,m) 但し, 以上は2次元画像の場合であったが,3次元画像の場合
には,原画像A(p,n,m),処理後画像B(p,
n,k)としたとき, B(p,n,k)=A(p,n,m) 但し, 一般のn次元画像についても同様に定義することができ
る。
The relationship between the position of the pixel before the movement and the position after the movement is as follows. B (n, k) = A (n, m) The above is the case of the two-dimensional image, but in the case of the three-dimensional image, the original image A (p, n, m), the processed image B (p,
n (k), B (p, n, k) = A (p, n, m) A general n-dimensional image can be similarly defined.

【0023】本発明によれば,この演算における間引き
パターンI(n,m)の値を変更するだけで,同一の演
算方法により,切り出し,移動,斜体変換,縮小等の処
理を行うことができる。また,X方向に処理した後に他
方向の処理を行うことにより,回転等の処理も実現する
ことが可能である。
According to the present invention, by simply changing the value of the thinning pattern I (n, m) in this calculation, the cutting, moving, italic transformation, reduction and the like can be performed by the same calculation method. .. Further, processing such as rotation can be realized by performing processing in the other direction after processing in the X direction.

【0024】[0024]

【実施例】図2は本発明の実施例を示す。図において,
20は原画像,21は間引きパターン,22は処理後画
像である。
FIG. 2 shows an embodiment of the present invention. In the figure,
Reference numeral 20 is an original image, 21 is a thinning pattern, and 22 is a processed image.

【0025】図は,例として,1画面がX軸方向(横方
向)に8画素,Y軸方向(縦方向)に8画素を持つ場合
を示す。間引きパターン21は,列2,列4,列7につ
いて間引く場合の例である。
As an example, the figure shows a case where one screen has 8 pixels in the X-axis direction (horizontal direction) and 8 pixels in the Y-axis direction (vertical direction). The thinning-out pattern 21 is an example of thinning out the columns 2, 4, and 7.

【0026】原画像20の列1の各行の画素は,間引き
パターン21に従って,各画素ともアドレスが変更され
ずに,処理後画像22の列1のぞれぞれの行に移され
る。原画像20の列2,列4,列7の各行の画素は,間
引かれて削除される。
The pixels of each row of column 1 of the original image 20 are moved to the respective rows of column 1 of the processed image 22 according to the thinning pattern 21 without changing the address of each pixel. Pixels in each row of column 2, column 4, and column 7 of the original image 20 are thinned out and deleted.

【0027】原画像20の列3の各行の画素は,処理後
画像においてX方向に1画素分左に移動される。(画素
位置を表すアドレスにおけるY座標は原点から数えて2
とする(前数式(1) において,k=1+1=2))。
The pixels in each row of column 3 of the original image 20 are moved to the left by one pixel in the X direction in the processed image. (The Y coordinate in the address indicating the pixel position is 2 from the origin.
(K = 1 + 1 = 2 in the previous formula (1)).

【0028】原画像20の列5の各行の画素は,処理後
画像においてX方向に2画素分左に移動される。(画素
位置を表すアドレスにおけるY座標は原点から数えて3
とする(前数式(1) において,k=1+1+1=
3))。
The pixels in each row of column 5 of the original image 20 are moved two pixels to the left in the X direction in the processed image. (The Y coordinate in the address indicating the pixel position is 3 counting from the origin.
(In the previous formula (1), k = 1 + 1 + 1 =
3)).

【0029】原画像20の列6の各行の画素は,処理後
画像においてX方向に2画素分左に移動される。(画素
位置を表すアドレスにおけるY座標は原点から数えて4
とする(前数式(1) において,k=1+1+1+1=
4))。
The pixels in each row of column 6 of the original image 20 are moved two pixels to the left in the X direction in the processed image. (The Y coordinate at the address indicating the pixel position is 4 counting from the origin.
(In the previous formula (1), k = 1 + 1 + 1 + 1 =
4)).

【0030】原画像20の列8の各行の画素は,処理後
画像においてX方向に3画素分左に移動される。(画素
位置を表すアドレスにおけるY座標は原点から数えて5
とする(前数式(1) において,k=1+1+1+1+1
=5))。
The pixels in each row of column 8 of the original image 20 are moved to the left by 3 pixels in the X direction in the processed image. (The Y coordinate at the address indicating the pixel position is 5 counting from the origin.
(In the previous formula (1), k = 1 + 1 + 1 + 1 + 1 + 1
= 5)).

【0031】図3は本発明の実施例(2) を示す。図にお
いて,30は原画像,31は間引きパターン,32は処
理後画像である。
FIG. 3 shows an embodiment (2) of the present invention. In the figure, 30 is an original image, 31 is a thinning pattern, and 32 is a processed image.

【0032】原画像30の行1は,間引きパターン31
の行1の間引きパターンに従って,列4〜8の各画素が
左に3画素分移動されて,それぞれ処理後画像32の行
1の列1〜5に移動される。
Row 1 of the original image 30 has a thinning pattern 31
In accordance with the thinning-out pattern of row 1, the pixels in columns 4 to 8 are moved to the left by 3 pixels and are respectively moved to columns 1 to 5 in row 1 of the processed image 32.

【0033】原画像30の行2は,間引きパターン31
の行2の間引きパターンに従って,列4〜8の各画素が
左に3画素分移動されて,それぞれ処理後画像32の行
2の列1〜5に移動される。
Line 2 of the original image 30 has a thinning pattern 31
Each pixel in columns 4 to 8 is moved to the left by 3 pixels in accordance with the thinning-out pattern of row 2 of the above, and is moved to columns 1 to 5 of row 2 of the processed image 32, respectively.

【0034】原画像30の行3および4は,それぞれ間
引きパターン31の行3および4の間引きパターンに従
って,列3〜7の各画素が左に2画素分移動されて,そ
れぞれ処理後画像32の行3の列1〜5に移動される。
The rows 3 and 4 of the original image 30 are moved to the left by 2 pixels in the pixels of columns 3 to 7 in accordance with the thinning patterns of the rows 3 and 4 of the thinning pattern 31, respectively, and the rows of the processed image 32 respectively Moved to columns 1-5 of row 3.

【0035】原画像30の行5および6は,それぞれ間
引きパターン31の行5および6の間引きパターンに従
って,列2〜6の各画素が左に1画素分移動されて,そ
れぞれ処理後画像32の行5および6の列1〜5に移動
される。
Rows 5 and 6 of the original image 30 are moved to the left by one pixel for each pixel of columns 2 to 6 in accordance with the thinning pattern of rows 5 and 6 of the thinning pattern 31, respectively. Moved to columns 1-5 of rows 5 and 6.

【0036】原画像30の行7および8は,それぞれ間
引きパターン31の行7および8の間引きパターンに従
って,列1〜5の各画素が,それぞれ処理後画像32の
行7および8の列1〜5に移動される。
Rows 7 and 8 of the original image 30 have pixels of columns 1 to 5 corresponding to rows 7 and 8 of the thinning pattern 31, respectively, and columns 1 to 1 of rows 7 and 8 of the processed image 32, respectively. Moved to 5.

【0037】なお,各画素のY軸上での原点方向への移
動(左方向)への移動後の画素位置はそれぞれ上記数式
(1) に従って演算される。図4は本発明の画素間引き手
段の実施例を示す。
The pixel position after the movement of each pixel in the direction of the origin on the Y-axis (to the left) is expressed by the above formula.
Calculated according to (1). FIG. 4 shows an embodiment of the pixel thinning means of the present invention.

【0038】図は8ドットの画像についての画素間引き
手段である。図において,x1 , 2 ,x3 ,x4 ,x
5 ,x6 ,x7 ,x8 は横一列の入力画素,y1
2 ,y3 ,y4 ,y5 ,y6 ,y7 ,y8 は出力画素
である。I1 ,I2 ,I3 ,I4 ,I5 ,I6 ,I7
8 はそれぞれ,画素x1 ,x2 ,x3 ,x4 ,x5
6 ,x7 ,x8 に対応する間引き画素の値を表す。
A,B,C,Dはそれぞれ入力画素と間引きパターンに
基づいて画素を間引き,移動する間引き回路を表す(図
5参照)。図の構成の動作は後述する。
The figure shows pixel thinning means for an 8-dot image. In the figure, x 1, x 2 , x 3 , x 4 , x
5 , x 6 , x 7 , and x 8 are horizontal row input pixels, y 1 ,
y 2, y 3, y 4 , y 5, y 6, y 7, y 8 represents an output pixel. I 1 , I 2 , I 3 , I 4 , I 5 , I 6 , I 7 ,
I 8 are pixels x 1 , x 2 , x 3 , x 4 , x 5 , respectively.
It represents the values of the thinned pixels corresponding to x 6 , x 7 , and x 8 .
A, B, C, and D represent thinning circuits for thinning and moving pixels based on the input pixel and thinning pattern, respectively (see FIG. 5). The operation of the configuration shown in the figure will be described later.

【0039】図の各間引き回路「A」,「B」,
「C」,「D」に対して,1段目の間引き回路「D」に
はI7 が入力され,2段目の各間引き回路「A」,
「B」,「C」にはそれぞれI5 ,I6 が入力され,3
段目の各間引き回路「A」,「B」,「B」,「B」,
「C」にはそれぞれI3 ,I4 が入力され,4段目の各
間引き回路「A」,「B」,「B」,「B」,「B」,
「B」,「C」にはそれぞれI1 ,I2 が入力される。
Each thinning circuit "A", "B",
I 7 is input to the thinning circuit “D” of the first stage with respect to “C” and “D”, and the thinning circuit “A” of the second stage,
I 5 and I 6 are input to “B” and “C”, respectively, and 3
Each thinning circuit “A”, “B”, “B”, “B”,
I 3 and I 4 are input to “C”, respectively, and the thinning circuits “A”, “B”, “B”, “B”, “B”, and
I 1 and I 2 are input to “B” and “C”, respectively.

【0040】図5は画素間引き回路実施例であって,図
4における画素間引き回路A,B,C,Dである。図に
おいて,xK はK番目の画素の入力を表し,xK+1 ,
K+2 ’はそれぞれK+1番目,K+2番目の画素入力
ラインのデータを表す。PK =0,PK +1=0はそれぞ
れ画素xK , K+1 に対応する間引きパターンの画素の
値IK ,IK+1 の反転を表す。また,PK =1,PK +1
=1はそれぞれ画素xK , K+1 に対応する間引きパタ
ーンの画素の値「I」(非反転)を表す。
FIG. 5 shows an embodiment of a pixel thinning circuit, which is the pixel thinning circuits A, B, C and D in FIG. In the figure, x K represents the input of the Kth pixel, and x K + 1 ' ,
x K + 2 'represents the data of the K + 1-th and K + 2-th pixel input lines, respectively. P K = 0 and P K +1 = 0 represent inversions of the pixel values I K and I K + 1 of the thinning pattern corresponding to the pixels x K and x K + 1 , respectively. Also, P K = 1 and P K +1
= 1 represents the value "I" (non-inverted) of the pixel of the thinning pattern corresponding to the pixels x K and x K + 1 , respectively.

【0041】以下の説明において,間引き画素の値をI
K =0は間引くことを表し,間引き画素の値IK =1は
間引かないことを表すものとする。(A)は,IK =1
(xK を間引かない)であればxK を出力し,IK =0
(xK を間引く)で,IK+1 =1であればxK+1 を出力
し,IK =0(xK を間引く)で,IK+1 =0であれば
K+2 を出力するものである。
In the following description, the value of the thinned pixel is I
K = 0 represents thinning-out, and the value I K = 1 of thinned-out pixels represents non-thinning-out. In (A), I K = 1
If (not thinning x K ), output x K and I K = 0
If I K + 1 = 1 in (thinning x K ), x K + 1 is output, and if I K = 0 (thinning x K ), I K + 1 = 0, x K + 2 Is output.

【0042】(B)は,IK =1,IK+1 =1(xK
K+1 を間引かない)であればxK を出力する。IK
0でIK+1 =1ならxK+1 ’を出力し,IK =0(xK
を間引く)でIK+1 =1ならxK+2 を出力する。
(B) shows that I K = 1 and I K + 1 = 1 (x K ,
If x K + 1 is not thinned out), output x K. I K =
If I K + 1 = 1 at 0, x K + 1 'is output, and I K = 0 (x K
If I K + 1 = 1 in (thinning), x K + 2 is output.

【0043】(C)は,IK =1,IK+1 =1ならxK
を出力し,それ以外(IK ,IK+1 の少なくとも1つが
0)ならxK+1 ’を出力する。(D)は,IK =1なら
K を出力し,IK =0であればxK+1 ’を出力する。
(C) is x K if I K = 1 and I K + 1 = 1
Is output, and otherwise (at least one of I K and I K + 1 is 0), x K + 1 'is output. (D) outputs x K if I K = 1 and outputs x K + 1 'if I K = 0.

【0044】図6は,図4の間引き手段の動作説明図で
ある。図は4画素の場合についての説明である。図にお
いて,(A),(B),(C),(D)は図5と同じ間
引き回路である。図に示す間引きパターン49の場合に
ついて,動作を説明する(図6は,図4の1段目から2
段目までの回路であるが,各入力はx1 ,x2 ,x3
4 ,I1 ,I2 ,出力はy1 ,y2 ,y3 ,y4 とし
た)。
FIG. 6 is a diagram for explaining the operation of the thinning means of FIG. The drawing is for the case of 4 pixels. In the figure, (A), (B), (C) and (D) are the same thinning circuits as in FIG. The operation will be described for the case of the thinning pattern 49 shown in FIG.
Although the circuit up to the stage, each input is x 1 , x 2 , x 3 ,
x 4 , I 1 , I 2 , and the outputs are y 1 , y 2 , y 3 , y 4. )

【0045】間引き回路(D)には入力画素x3 , 4
およびI3 ,I3 の反転が図示のように入力され,アン
ド回路35の出力はx3 となり,オア回路37の出力は
3 となる。
The thinning circuit (D) has input pixels x 3, x 4
And inversion of I 3, I 3 are inputted as shown, the output of the AND circuit 35 is x 3, and the output of the OR circuit 37 becomes x 3.

【0046】間引き回路(C)には,オア回路(D)の
出力,x4 およびI1 , 2 ,I1 の反転,I2 の反転
に基づく論理値が図示のように入力される。その結果
,アンド回路39の出力がx4 となりオア回路40の
出力がx4 となり,y4 =x4 となる。
The output of the OR circuit (D), x 4 and the inversion of I 1, I 2 , I 1 , and the logical value based on the inversion of I 2 are input to the decimation circuit (C) as shown. As a result, the output of the AND circuit 39 becomes x 4 , the output of the OR circuit 40 becomes x 4 , and y 4 = x 4 .

【0047】間引き回路(B)には,x2 ,間引き回路
(D)の出力,x4 ,I1 ,I2 ,I1 の反転,I2
反転に基づく論理値が入力される。そして,アンド回路
42の出力がx3 となり,オア回路44からx3 が出力
される(y2 =x3 )。
To the decimation circuit (B), x 2 , the output of the decimation circuit (D), the inversion of x 4 , I 1 , I 2 , I 1 and the inversion of I 2 are input. Then, the output of the AND circuit 42 becomes x 3 , and the OR circuit 44 outputs x 3 (y 2 = x 3 ).

【0048】間引き回路(A)には,x1 ,x2 ,間引
き回路(D)の出力,I1 ,I2 ,I1 の反転,I2
反転に基づく論理値が図示のように入力される。そし
て,アンド回路46の出力がx2 となり,オア回路48
からx2 が出力される(y1 =x2 )。
The decimation circuit (A) inputs x 1 , x 2 , the output of the decimation circuit (D), the inversion of I 1 , I 2 , I 1 , and the logical value based on the inversion of I 2 as shown in the figure. To be done. The output of the AND circuit 46 becomes x 2 and the OR circuit 48
To output x 2 (y 1 = x 2 ).

【0049】以上の動作により,入力画素列(x1 ,x
2 ,x3 ,x4 )に対して,間引きパターン49に従っ
て間引かれて移動された出力画素列(x1 ,x2
3 ,x4 )が得られる。
By the above operation, the input pixel columns (x 1 , x
2 , x 3 , x 4 ), output pixel columns (x 1 , x 2 ,
x 3 , x 4 ) is obtained.

【0050】なお,本実施例においては,右端のx
4 (図4ではx8 )はそのままy4 (図4ではy8 )と
して,出力されるが,後続の回路において,出力の左か
ら間引かれず残されて移動した画素のみ取り出すので,
差支えない。間引かれずに前画素を取り出す場合には,
そのy4 (図4ではy8 )を取り出せばよい。また,左
ずめされている間の位置には同様にx4 (図4では
8 )が書き込まれるが,後続回路において,間引いた
画素数を考慮して左側に移動した画素のみ取り出すので
差支えない。
In this embodiment, x at the right end
4 (x 8 in FIG. 4) is output as it is as y 4 (y 8 in FIG. 4), but in the subsequent circuit, only the pixels that have moved without being thinned out from the left of the output are taken out.
It doesn't matter. If you want to extract the previous pixel without thinning out,
The y 4 (y 8 in FIG. 4) should be taken out. Similarly, x 4 (x 8 in FIG. 4) is written in the position while left-shifting, but in the subsequent circuit, only the pixels that have moved to the left are taken into consideration in consideration of the number of thinned pixels, which is a problem. Absent.

【0051】[0051]

【発明の効果】本発明よれば,間引きパターンに従って
画素を間引き,1軸上での簡単な移動処理をするだけで
あるので高速に画像処理ができる。また,間引きパター
ンを変えるだけで多種類の画像処理が簡単にできるの
で,装置コストを低減することができるとともに,装置
テストも容易になる。
According to the present invention, since pixels are thinned out in accordance with the thinning pattern and a simple movement process on one axis is performed, image processing can be performed at high speed. In addition, since various types of image processing can be easily performed only by changing the thinning pattern, the device cost can be reduced and the device test can be easily performed.

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

【図1】本発明の基本構成を示す図である。FIG. 1 is a diagram showing a basic configuration of the present invention.

【図2】本発明の実施例(1) を示す図である。FIG. 2 is a diagram showing an embodiment (1) of the present invention.

【図3】本発明の実施例(2) を示す図である。FIG. 3 is a diagram showing an embodiment (2) of the present invention.

【図4】本発明の画素間引き手段の実施例(縮小)を示
す図である。
FIG. 4 is a diagram showing an embodiment (reduction) of pixel thinning means of the present invention.

【図5】本発明の画素間引き回路の実施例(縮小)を示
す図である。
FIG. 5 is a diagram showing an embodiment (reduction) of a pixel thinning circuit of the present invention.

【図6】本発明の画素間引き手段の動作説明図(4画素
の場合)を示す図である。
FIG. 6 is a diagram showing an operation explanatory view (in the case of 4 pixels) of the pixel thinning means of the present invention.

【図7】従来の技術を示す図である。FIG. 7 is a diagram showing a conventional technique.

【符号の説明】[Explanation of symbols]

1 :原画像格納手段 2 :原画像読み出し手段 3 :間引きパターン格納手段 4 :間引きパターン読み出し手段 5 :画素間引き手段 6 :処理後画像書き込み手段 7 :処理後画像格納手段 1: Original image storage means 2: Original image reading means 3: Thinning pattern storage means 4: Thinning pattern reading means 5: Pixel thinning means 6: Post-processing image writing means 7: Post-processing image storage means

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】 原画像を構成する複数画素を格納する原
画像格納手段(1) と,原画像の画素を読み出す原画像読
み出し手段(2) と,原画像の画素に一対一に対応して原
画像の画素を間引くかあるいは間引かないかを決定する
間引きパターンを格納する間引きパターン格納手段(3)
と,間引きパターン格納手段(3) から間引きパターンを
読み出す間引きパターン読み出し手段(4) と,原画像の
画素と間引きパターンの画素を比較し,原画像から画素
を間引く画素間引き手段(5) と,画素間引き手段(5) の
処理結果を格納する処理後画像格納手段(7) とを備え,
原画像データの画素と,間引きパターンの画素とを比較
し,間引きパターンに従って原画像データを間引くこと
により,原画像を加工処理することを特徴とする画像処
理方式。
1. An original image storage means (1) for storing a plurality of pixels forming an original image, an original image reading means (2) for reading out pixels of the original image, and one-to-one correspondence with the pixels of the original image. Decimation pattern storage means for storing a decimation pattern for determining whether or not to decimate the pixels of the original image (3)
A thinning pattern reading means (4) for reading the thinning pattern from the thinning pattern storage means (3), a pixel thinning means (5) for thinning pixels from the original image by comparing the pixels of the original image with the pixels of the thinning pattern, A post-processing image storage means (7) for storing the processing result of the pixel thinning means (5),
An image processing method characterized by processing the original image by comparing the pixels of the original image data with the pixels of the thinning pattern and thinning the original image data according to the thinning pattern.
【請求項2】 請求項1において,画素間引き手段(5)
は,間引かれない画素を,間引かれた画素数に応じて一
軸上で原点方向に移動し,原画像の移動,縮小,斜体化
を行うことを特徴とする画像処理方式。
2. The pixel thinning means (5) according to claim 1.
Is an image processing method characterized by moving pixels that are not thinned out toward the origin on one axis according to the number of thinned pixels, and moving, reducing, or italicizing the original image.
【請求項3】 請求項1もしくは2において,原画像の
一方向をX方向,他方向をY方向としたとき,X方向で
の原画像の加工処理をし,X方向の加工処理結果につい
てY方向について加工処理をすることにより回転処理を
することを特徴とする画像処理方式。
3. The method according to claim 1 or 2, wherein, when one direction of the original image is the X direction and the other direction is the Y direction, the original image is processed in the X direction, and the result of the processing in the X direction is Y. An image processing method characterized by performing rotation processing by performing processing processing on a direction.
JP4003760A 1992-01-13 1992-01-13 Image processing system Withdrawn JPH05189553A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP4003760A JPH05189553A (en) 1992-01-13 1992-01-13 Image processing system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP4003760A JPH05189553A (en) 1992-01-13 1992-01-13 Image processing system

Publications (1)

Publication Number Publication Date
JPH05189553A true JPH05189553A (en) 1993-07-30

Family

ID=11566137

Family Applications (1)

Application Number Title Priority Date Filing Date
JP4003760A Withdrawn JPH05189553A (en) 1992-01-13 1992-01-13 Image processing system

Country Status (1)

Country Link
JP (1) JPH05189553A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6024504A (en) * 1997-06-07 2000-02-15 Man Roland Druckmaschinen Ag Process for correcting geometric errors in the transfer of information to a printing stock

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6024504A (en) * 1997-06-07 2000-02-15 Man Roland Druckmaschinen Ag Process for correcting geometric errors in the transfer of information to a printing stock

Similar Documents

Publication Publication Date Title
JP3163215B2 (en) Line extraction Hough transform image processing device
US5740285A (en) Image reduction/enlargement technique
US4791677A (en) Image signal processor
JPS61249175A (en) Graphic processor
US4853971A (en) Method and apparatus for processing image data
US4845767A (en) Image signal processor
JP2010102584A (en) Image processor and image processing method
JPH05189553A (en) Image processing system
US20210294852A1 (en) Method and apparatus for tensor processing
JPS6097474A (en) Method and apparatus for rotating picture
JPH07118002B2 (en) Image processing device
JP2986185B2 (en) Line width classification method for line figures
JP3352761B2 (en) Image data position conversion method
JP2753349B2 (en) Arbitrary angle rotation image data input / output method, input / output circuit thereof, and electronic file device using the same
JP2838556B2 (en) Image processing device
KR0122093B1 (en) Rotation method of digital image data and apparatus thereof
JPH0312752A (en) Picture data access system
CN112132155A (en) SIFT algorithm image boundary expansion method and processing method based on hardware circuit
JP2512252B2 (en) Image scaling device
JPS62154177A (en) Image converter
JP3037504B2 (en) Image processing method and apparatus
JPH0589238A (en) Image processing device, image reducing method, and image processing method
JPS6137666B2 (en)
JPS63128484A (en) Image processor
JPS62219078A (en) Arithmetic and processing device for expanded picture

Legal Events

Date Code Title Description
A300 Application deemed to be withdrawn because no request for examination was validly filed

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 19990408