JPH0756673B2 - Image processing method by divided space filter - Google Patents

Image processing method by divided space filter

Info

Publication number
JPH0756673B2
JPH0756673B2 JP4835686A JP4835686A JPH0756673B2 JP H0756673 B2 JPH0756673 B2 JP H0756673B2 JP 4835686 A JP4835686 A JP 4835686A JP 4835686 A JP4835686 A JP 4835686A JP H0756673 B2 JPH0756673 B2 JP H0756673B2
Authority
JP
Japan
Prior art keywords
filter
space
space filter
spatial filter
spatial
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
JP4835686A
Other languages
Japanese (ja)
Other versions
JPS62206682A (en
Inventor
和紀 藤原
高敏 大平
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.)
Hitachi Ltd
Original Assignee
Hitachi 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 Hitachi Ltd filed Critical Hitachi Ltd
Priority to JP4835686A priority Critical patent/JPH0756673B2/en
Priority to CA000531358A priority patent/CA1310741C/en
Publication of JPS62206682A publication Critical patent/JPS62206682A/en
Publication of JPH0756673B2 publication Critical patent/JPH0756673B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Image Processing (AREA)

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、画像処理装置における空間フイルタに係り、
任意形状・任意サイズの空間フイルタを実行させること
に好適な分割空間フイルタによる画像処理方法に関す
る。
The present invention relates to a space filter in an image processing device,
The present invention relates to an image processing method using a divided space filter suitable for executing a space filter having an arbitrary shape and arbitrary size.

〔従来の技術〕[Conventional technology]

従来の装置は、特開昭59−146366号に記載のように、ラ
スタスキヤンとラインバツフアによる遅延回路及び空間
積和演算回路等から構成されている(第2図)。この本
式はn×mの空間フイルタを構成する場合、非常に高速
で処理することが可能であるが、空間フイルタのエリア
に比例して、ハードウエア量が増加するという欠点があ
つた。
As described in Japanese Patent Laid-Open No. 146366/1984, a conventional device is composed of a delay circuit by a raster scan and a line buffer, a spatial product sum operation circuit, etc. (FIG. 2). This formula can process at a very high speed when constructing an n × m space filter, but has a drawback that the amount of hardware increases in proportion to the area of the space filter.

一方、この本式でもハードウエア量を増加させず小エリ
アの空間フイルタ(例えば3×3)の繰り返し処理によ
り、n×nの空間フイルタを実現することが可能である
が、処理時間が空間フイルタのエリアに比例して増加す
るという欠点があつた。
On the other hand, even with this formula, it is possible to realize an n × n spatial filter by repeating the processing of a small area spatial filter (for example, 3 × 3) without increasing the amount of hardware, but the processing time is a spatial filter. There was a drawback that it increased in proportion to the area.

第2図で6は処理対象画像、7は処理結果画像、8はラ
スタスキヤンのラスタを、9は3×3の空間フイルタの
例を、10は3×3の空間フイルタ対象画素を、11は3×
3空間フイルタ処理結果画素を、12は空間積和演算部を
示している。
In FIG. 2, 6 is a processing target image, 7 is a processing result image, 8 is a raster scan raster, 9 is an example of a 3 × 3 spatial filter, 10 is a 3 × 3 spatial filter target pixel, and 11 is a spatial filter target pixel. 3x
The three spatial filter processing result pixels and the spatial product sum operation unit 12 are shown.

〔発明が解決しようとする問題点〕[Problems to be solved by the invention]

従来技術では、画像処理に用いる空間フイルタをn×n
(例えば15×15等)に拡張する場合、処理速度を優先す
れば、ハードウエア量が空間フイルタのエリアに比例し
て増大し、ハードウエア量の削減を優先すれば、処理速
度が空間フイルタのエリアに比例して増加するという欠
点があつた。
In the prior art, the spatial filter used for image processing is n × n.
For example, if the processing speed is prioritized, the amount of hardware will increase in proportion to the area of the space filter, and if the reduction of the amount of hardware is prioritized, the processing speed will increase. There is a drawback that it increases in proportion to the area.

本発明な目的は、ハードウエア量削減を優先しかつ、処
理速度の向上が図れる分割空間フイルタ方式を提供する
ものである。
An object of the present invention is to provide a divided space filter system which gives priority to reduction of the amount of hardware and can improve the processing speed.

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

上記目的は、例えば3×3程度のエリアをもつ空間フイ
ルタを、第1図に示すように任意の空間に配置し、任意
形状の空間フイルタを構築し、第2図に示すように、各
々の小エリア空間フイルタを実行させ、その出力結果
を、全体の任意形状の空間フイルタの対象画素にシフト
させ加算することにより達成することが可能である。第
1図で1は例えばn×n空間フイルタの例である。そし
て2はn×m空間フイルタの対象画素である。3a〜3hは
3×3の空間フイルタである。4は3×3空間フイルタ
を対象画素、5a〜5hは3×3空間フイルタ処理画像のシ
フト量を表わしている。
The purpose is to arrange a space filter having an area of, for example, 3 × 3 in an arbitrary space as shown in FIG. 1 to construct a space filter of an arbitrary shape, and as shown in FIG. It can be achieved by executing a small area space filter and shifting and adding the output result to the target pixels of the whole space filter of arbitrary shape. In FIG. 1, 1 is an example of an n × n space filter. 2 is the target pixel of the n × m space filter. 3a to 3h are 3 × 3 space filters. Reference numeral 4 denotes a target pixel of the 3 × 3 spatial filter, and 5a to 5h denote shift amounts of the 3 × 3 spatial filter processed image.

この場合、小エリアの空間フイルタの配置を整然と第3
図に示すように配置すれば、n×mの大エリア空間フイ
ルタを構築することもできる。
In this case, place the space filters in the small area in orderly
If arranged as shown in the figure, it is also possible to construct an n × m large area space filter.

すなわち14をn×m空間フイルタとすると、15a,15bは
3×3空間フイルタ処理対象画素、16はn×m空間フイ
ルタ処理対象画素を表わしている。
That is, when 14 is an n × m space filter, 15a and 15b represent 3 × 3 space filter processing target pixels, and 16 represents an n × m space filter processing target pixel.

このn×mの大エリア空間フイルタのデータ構成におい
て「0」データが多くあれば、(第4図)そこに配置し
た小エリア空間フイルタは演算する必要がないため、全
体としては、第5図に示すように「0」データ部分を間
引いた空間フイルタ(ハツチング部に相当)となり、演
算速度は向上する。
If there are many “0” data in the data structure of this n × m large area space filter (FIG. 4), the small area space filter arranged there does not need to be calculated, so that FIG. As shown in (3), a space filter (corresponding to a hatching portion) is obtained by thinning out the "0" data portion, and the calculation speed is improved.

第4図で17はゼロデータ以外の部分、18は0データ部
分、19はn×mの空間フイルタである。
In FIG. 4, 17 is a part other than zero data, 18 is a 0 data part, and 19 is an n × m spatial filter.

また第5図は20はn×mの空間フイルタを、21は3×3
の空間フイルタを表わしている。
Further, in FIG. 5, 20 is an n × m space filter, and 21 is 3 × 3.
Represents the space filter of.

更に、小エリア空間フイルタが重なり合うように空間的
に配置することにより、通常のn×mの空間フイルタで
は実現できない相乗効果を実現することが可能である。
Further, by arranging the small area space filters spatially so as to overlap each other, it is possible to realize a synergistic effect that cannot be realized by a normal n × m space filter.

〔作用〕[Action]

一般に空間フイルタは、空間フイルタ対象画素を有して
いる。例えば3×3の空間フイルタでは、通常その中心
を空間フイルタ対象画素に設定している。しかし、数学
的にも、物理的にも対象画素を中心以外としても何ら問
題もない。これは、第6図に示すように、対象画素と適
用した空間フイルタの配置によりn×mの空間フイルタ
を構成しているのと等価である。
Generally, a spatial filter has pixels for spatial filter. For example, in a 3 × 3 spatial filter, the center is usually set to the spatial filter target pixel. However, there is no problem mathematically or physically even if the target pixel is not the center. This is equivalent to constructing an n × m space filter by the arrangement of the target pixel and the applied space filter, as shown in FIG.

第6図で22はn×mの空間フイルタを、23は3×3の空
間フイルタを、24はn×m空間フイルタ処理対象画素
を、25は0データ部を示している。ただし適用した空間
フイルタ以外のデータは、n×mの空間フイルタ上で、
全て「0」としたものと等価であるという条件がつく。
In FIG. 6, 22 is an n × m spatial filter, 23 is a 3 × 3 spatial filter, 24 is an n × m spatial filter processing target pixel, and 25 is a 0 data part. However, the data other than the applied spatial filter, on the n × m spatial filter,
There is a condition that they are equivalent to all being "0".

この考えを拡張すれば第7図のように重ね合せの理論に
より、任意形状の空間フイルタを容易に構成することが
できる。26は前述と同様にn×m空間フイルタ、27a,27
b,27cは3×3空間フイルタ、28はn×m空間フイルタ
処理対象画素を表わしている。そして17a〜cを重ね合
わせて任意形状のフイルタを構成することができる。
If this idea is expanded, a spatial filter of an arbitrary shape can be easily constructed by the theory of superposition as shown in FIG. 26 is an n × m space filter, 27a, 27 as described above.
Reference numerals b and 27c represent 3 × 3 space filters, and 28 represents pixels subject to n × m space filter processing. And 17a-c can be piled up and a filter of arbitrary shape can be comprised.

ところで、対象画素を各々の空間フイルタを中心以外に
選ぶということは、第8図に示すように空間フイルタの
中心に対象画素を設定した空間フイルタを実行させ、そ
の出力結果を、任意の対象画素との偏差分シフトするこ
とと有効エリアにおいては等価である。
By the way, selecting a target pixel other than the center of each spatial filter means executing a spatial filter in which the target pixel is set at the center of the spatial filter as shown in FIG. 8 and outputting the output result to an arbitrary target pixel. It is equivalent in the effective area to shift by the deviation of.

この考えによる任意形状の空間フイルタの構築方式を、
ここでは分割空間フイルタ方式と呼ぶ。
Based on this idea, the construction method of the space filter of arbitrary shape is
Here, it is called a divided space filter method.

本分割空間フイルタ方式は、上述のように、3×3程度
の小エリア空間フイルタをモザイクやタイルを必要箇所
に張り付けるようなイメージで、組合せ、大エリアの空
間フイルタを構成でき、ハードウエア量を増加させるこ
となく実現できる。
As described above, this division space filter system can be combined to construct a space filter for a large area by combining small area space filters of about 3 × 3 with mosaics or tiles attached to necessary areas, and Can be realized without increasing.

第8図でいうと29は3×3空間フイルタの処理対象画
素、30は3×3空間フイルタ、31はn×m空間フイルタ
処理対象画素、32はn×mの空間フイルタ、33はn×m
の空間フイルタ実行後の有効データ範囲、34は原画像デ
ータ領域、35は3×3空間フイルタ実行後の有効データ
範囲、36は35の画像のシフトデータ領域をそれぞれ示し
ている。
In FIG. 8, 29 is a processing target pixel of the 3 × 3 spatial filter, 30 is a 3 × 3 spatial filter, 31 is an n × m spatial filtering processing pixel, 32 is an n × m spatial filter, and 33 is n × n. m
, 34 is an effective data range after execution of the spatial filter, 34 is an original image data area, 35 is an effective data range after execution of the 3 × 3 spatial filter, and 36 is a shift data area of 35 images.

〔実施例〕〔Example〕

以下、本発明の実施例を第9図〜第15図により説明す
る。
An embodiment of the present invention will be described below with reference to FIGS. 9 to 15.

尚、本発明の画像処理方式の対象となる画像はラスタス
キヤン方式により走査される画像である。
The image to be processed by the image processing method of the present invention is an image scanned by the raster scan method.

(第2図参照) ハード構成を第9図に示す。画像データを入力するため
のITVカメラ37、画像データを出力(表示)するための
モニタテレビ38、画像データを格納する画像メモリ39、
3×3空間フイルタを実行する画像処理プロセツサ40
(詳細は特開昭60−53349「画像処理プロセツサ」及び
第2図を参照)及びマンマシンインターフエースのコン
ソールCRTなどからなる。41は画像処理装置である。
(See FIG. 2) FIG. 9 shows the hardware configuration. An ITV camera 37 for inputting image data, a monitor TV 38 for outputting (displaying) image data, an image memory 39 for storing image data,
Image processing processor 40 for executing 3 × 3 space filter
(For details, refer to JP-A-60-53349 "Image processing processor" and FIG. 2) and a console CRT of Man-Machine Interface. Reference numeral 41 is an image processing device.

第10図(A),(B)に実行するn×mの大エリア空間
フイルタとそれと等価な3×3の空間フイルタの組合せ
を示す。42はn×mの空間フイルタを、43は0データ部
を、44は0データ以外を示している。
FIGS. 10A and 10B show a combination of an n × m large area space filter and an equivalent 3 × 3 space filter executed. 42 indicates an n × m space filter, 43 indicates a 0 data portion, and 44 indicates a data other than 0 data.

45はn×m空間フイルタ処理対象画素、46,47は3×3
空間フイルタ(1),(2)を、48は3×3の空間フイ
ルタの組合せを、49は3×3空間フイルタ(n)を表わ
している。
45 is the pixel for n × m space filter processing, 46 and 47 are 3 × 3
The spatial filters (1) and (2) are shown, 48 is a combination of 3 × 3 spatial filters, and 49 is a 3 × 3 spatial filter (n).

これの実行手順を第11図に示す。先ず第10図に示した3
×3の空間フイルタ番号(1)(すなわち50(1))を
実行し、この結果画像を大エリア空間フイルタの対象画
素位置と3×3の空間フイルタの対象画素位置との偏差
分シフトし画像メモリに格納する。次に空間フイルタ番
号(2)(すなわち50(2))を実行し、その結果画像
を同様にシフトさせ、そのシフト画像と空間フイルタ番
号(1)のシフト結果画像とを加算する。以下、同様に
空間フイルタ番号(k)まで繰り返す。このとき、最終
的に得られた処理結果画像は、処理対象原画像に対し、
第10に示したn×mの大エリア空間フイルタを施したも
のと同一結果となる。
The execution procedure for this is shown in FIG. First, 3 shown in FIG.
The × 3 spatial filter number (1) (that is, 50 (1)) is executed, and the resulting image is shifted by the deviation between the target pixel position of the large area spatial filter and the target pixel position of the 3 × 3 spatial filter. Store in memory. Then, the spatial filter number (2) (that is, 50 (2)) is executed, the resulting image is similarly shifted, and the shifted image and the shifted result image of the spatial filter number (1) are added. Thereafter, the process is repeated in the same manner until the space filter number (k). At this time, the finally obtained processing result image is
The result is the same as that of applying the n × m large area space filter shown in the tenth.

この根拠は、空間フイルタ演算処理が線形演算であるこ
とからきいている(式(1)を参照) 但し、k1+k2+1=n l1+l2+1=m uは0〜(n/3−3), vは0〜(n/3−3) Sp,qはx方向にp,y方向にqだけシフトする演算子と定
義している。
The reason for this is that the spatial filter arithmetic processing is a linear arithmetic operation (see the equation (1)). However, k 1 + k 2 + 1 = n l 1 + l 2 + 1 = mu is 0 to (n / 3-3), v is 0 to (n / 3-3) S p , q are p and y in the x direction. It is defined as an operator that shifts by q in the direction.

は3×3の空間フイルタ演算式であり、 fx+1+i+jは、処理対象画素、 wx+1,i+jは、空間フイルタの重み係数、 g´x,yは3×3の空間フイルタ演算結果、 gx,yはn×mの空間フイルタ演算結果、 x,y,x+i,x+j等は座標を示す。 Is a 3 × 3 spatial filter arithmetic expression, f x + 1 + i + j is a pixel to be processed, w x + 1 and i + j are weighting factors of the spatial filter, and g ′ x and y are 3 ×. 3, spatial filter operation results, g x , y indicate n × m spatial filter operation results, and x, y, x + i, x + j, etc. indicate coordinates.

尚、式(1)は、n×mのn,mが、3の倍数のとき成立
するが、3の倍数でない場合は、余つたアリアを、2×
2,2×1,1×2,1×1の組み合せで埋め(補充する)れば
良い。(式(2)参照) 但し、k1,k2,l1,l2,u,v,Sp,qは式(1)と同じ 第11図はこれまでの説明から分るように、50(),52
)はそれぞれ3×3空間フイルタ(1),(2)を
示し、51は原画像データ領域、53は3×3空間フイルタ
後の有効エリアを、54(),54()は偏差シフト量
を示す。55は加算処理を、56は加算後の有効エリアをそ
れぞれ示している。
Equation (1) holds when n, m of n × m is a multiple of 3, but when it is not a multiple of 3, the remaining aria is 2 ×
Fill (replenish) with a combination of 2,2 × 1,1 × 2,1 × 1. (See formula (2)) However, k 1 , k 2 , l 1 , l 2 , u, v, S p , q are the same as in formula (1). As can be seen from the above explanation, Fig. 11 shows 50 ( 1 ), 52
( 2 ) indicates 3 × 3 space filters (1) and (2) respectively, 51 is the original image data area, 53 is the effective area after the 3 × 3 space filter, and 54 ( 1 ), 54 ( 2 ) are Indicates the deviation shift amount. Reference numeral 55 indicates addition processing, and 56 indicates the effective area after addition.

一方、ハードウエでn×mを実現しようとすると第12図
に示すように、画像処理プロセッサは(n/3×m/3)倍に
増加する。(3×3の空間フイルタを実現する画像処理
プロセツサは第2図参照)本発明では、第12図に示すよ
うな複数の画像処理プロセツサ群を用いず、1つの画像
処理プロセツサでn×mの空間フイルタを実現すること
ができるため、ハードウエアを大巾に削減できる。
On the other hand, when trying to realize n × m by hardware, the number of image processors increases by (n / 3 × m / 3) times as shown in FIG. (Refer to FIG. 2 for an image processing processor that realizes a 3 × 3 spatial filter.) In the present invention, one image processing processor is used for n × m image processing without using a plurality of image processing processor groups as shown in FIG. Since a space filter can be realized, the hardware can be greatly reduced.

なお第12図で66は入力データライン、67は画像処理プロ
セツサ、68は出力データラインを69は演算結果データラ
イン、70は加算器、71は加算結果データラインを示す。
In FIG. 12, 66 is an input data line, 67 is an image processing processor, 68 is an output data line, 69 is a calculation result data line, 70 is an adder, and 71 is an addition result data line.

尚、3×3の空間フイルタの結果画像データをシフトす
る機能と他の3×3の空間フイルタのシフト結果画像と
の加算をパラレル処理できる機能を具備すれば更に高速
化を図ることができる。具体的なハードウエア構成を第
13図に示す。
Further, if a function of shifting the result image data of the 3 × 3 spatial filter and a function of adding the shift result image of another 3 × 3 spatial filter in parallel can be provided, the speed can be further increased. Specify the concrete hardware configuration
Shown in Figure 13.

72は画像処理エリア、73は処理対象画素、74はラスタス
キヤン、75は空間フイルタ、76は画像処理対象画像、77
は画像処理結果画像、78は画像処理プロセツサ、79はシ
フト演算器、80は加算器を示す。
72 is an image processing area, 73 is a processing target pixel, 74 is a raster scan, 75 is a spatial filter, 76 is an image processing target image, 77
Is an image processing result image, 78 is an image processing processor, 79 is a shift calculator, and 80 is an adder.

次に、本発明ノ最大の特長である処理速度の短縮につい
て説明する。
Next, the shortening of the processing speed, which is the greatest feature of the present invention, will be described.

第12図でも判るように、n×mの空間フイルタを実行し
ようとすれば、3×3の空間フイルタの演算を(n/3×m
/3)回繰り返す必要がある。つまりこれを、1個の画像
処理プロセツサで実行しようとすると(n/3×m/3)倍の
時間を必要とする。しかしながら、本発明の核心でもあ
るところの分割空間フイルタを用いれば、意味のある空
間フイルタ(0データであい空間フイルタ)のみを演算
すればよいので、式(3)に示す比率で画像処理時間を
短縮することが可能である。
As can be seen from FIG. 12, if an n × m space filter is to be executed, the calculation of the 3 × 3 space filter is (n / 3 × m
/ 3) Must be repeated. In other words, if this is executed by one image processing processor, it takes (n / 3 × m / 3) times as long. However, if the divided spatial filter, which is the core of the present invention, is used, only a meaningful spatial filter (a spatial filter that has no 0 data) needs to be calculated. Therefore, the image processing time can be reduced by the ratio shown in Expression (3). It is possible to

換言すれば、{任意形状の空間フイルタの面積(3×3
の空間フイルタの倍数)}:{n×mの空間フイルタの
面積}の割合で高速化を図ることができる。(第1,4,5,
10を参照) 更に、空間フイルタの特性を利用すれば、より高速化が
図れる。例えば第14図(a)の空間フイルタを例にとる
と、この9×9の空間フイルタは本発明の分割空間フイ
ルタでは、9個の空間フイルタを用いることで実現でき
るが更に高速化を図ることもできる。即ち、第14図
(b)の1個のフイルタを用いることで実現できる。
In other words, {area of space filter of arbitrary shape (3 × 3
The speed can be increased by the ratio of (the multiple of the space filter of)): {area of the space filter of n × m}. (No. 1,4,5,
(Refer to 10.) Furthermore, if the characteristics of the spatial filter are used, a higher speed can be achieved. For example, taking the space filter of FIG. 14 (a) as an example, this 9 × 9 space filter can be realized by using nine space filters in the divided space filter of the present invention, but further speedup is intended. You can also That is, it can be realized by using one filter shown in FIG. 14 (b).

これは、式(4),(5)から明らかである。This is clear from equations (4) and (5).

但し、注意すべきことは、加算するとき、8倍(式
(4)の場合)又は(−1)倍(式(5)の場合)する
必要がある。尚、(−1)倍は、(乗算+加算)を減算
のみに変えることで更に高速化を図ることが可能であ
る。
However, it should be noted that when adding, it is necessary to multiply by 8 (in the case of formula (4)) or (-1) times (in the case of formula (5)). Note that (-1) times can be further speeded up by changing (multiplication + addition) to only subtraction.

式(4),(5)を利用することで、空間フイルタの演
算は1回、後は、シフトと加算(又は減算)をするだけ
で第14図(a)の9×9の空間フイルタを実現すること
が可能である。このときの時間短縮比は1/9である。
By using the equations (4) and (5), the spatial filter is calculated once, and after that, the 9 × 9 spatial filter of FIG. 14 (a) can be obtained by only shifting and adding (or subtracting). It can be realized. The time reduction ratio at this time is 1/9.

最後に、本発明のもう一つの特長である相乗効果につい
て説明する。これは特に濃淡画像のパターンマツチング
に有効である。
Finally, the synergistic effect which is another feature of the present invention will be described. This is particularly effective for pattern matching of grayscale images.

例えば、第15図(a)に示すような四角形の物体にし
て、図形として最も有効な特徴をもつと考えられる頂点
の近傍にエリアの空間フイルタを重ね合せて配置し、更
に対象画素を四角形の中心に設定することで、物体の位
置検出が可能である。(第15図(b)) 均一な配置であるn×mの空間フイルタでは、あまり特
徴のない面(例えば四角形で図まれる面)も特徴のある
点(例えば頂点)も同一のレベルで処理するため、特徴
のある点の情報を、拡散(うすめる)してしまう。
For example, in the case of a quadrangular object as shown in FIG. 15 (a), the spatial filters of the area are overlapped and arranged in the vicinity of the vertices which are considered to have the most effective features as a graphic, and the target pixel is quadrangular. By setting it at the center, the position of the object can be detected. (FIG. 15 (b)) In a uniform n × m space filter, both a surface with few features (for example, a surface illustrated by a quadrangle) and a feature point (for example, a vertex) are processed at the same level. Therefore, the information on the characteristic points is diffused (thinned).

拡散の程度は、(3×3のエリア):(n×mのエリ
ア)の比率である。
The degree of diffusion is a ratio of (3 × 3 area) :( n × m area).

この欠点をなくすために、頂点等の最ま特徴ある点に対
し、重点的に空間フイルタを配置することで、重ない合
つた空間フイルタがより強力に作用する(特徴を抽出す
るという意味で)ことになる。これをここでは相乗効果
という表現で呼んでいる。
In order to eliminate this drawback, by placing the spatial filters with emphasis on the most characteristic points such as vertices, the spatial filters that are not overlapped work more strongly (in the sense of extracting the features). It will be. This is called the synergistic effect here.

尚、相乗効果例の小エリア空間フイルタは、微分系(X
方向微分,Y方向微分等)が特に有効である。
The small area space filter in the synergistic effect example is a differential system (X
Directional differentiation, Y-direction differentiation, etc.) are particularly effective.

なお、第15図(a),(b)で91は処理対象画像、92は
四角形(対象物体)、93は小エリア空間フイルタ、94は
対象画素を示している。
In FIGS. 15A and 15B, reference numeral 91 is a processing target image, 92 is a quadrangle (target object), 93 is a small area space filter, and 94 is a target pixel.

〔発明の効果〕〔The invention's effect〕

本発明によれば、任意形状の空間フイルタを、例えば3
×3の小エリア空間フイルタの組み合せ(繰り返し処
理)により、n×mの空間フイルタの処理時間に比べ
(任意形状の空間フイルタの面積):(これを包含する
n×mの空間フイルタの面積)の割合で短縮する効果が
ある。
According to the present invention, a spatial filter of arbitrary shape, for example 3
By combining (repeating) small area space filters of × 3 (repetition processing), compared to the processing time of n × m space filters (area of space filter of arbitrary shape): (area of n × m space filter including this) There is an effect of shortening at a rate of.

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

第1図は分割空間フイルタ方式概要、第2図は従来技術
により空間フイルタ方式概要、第3〜8図は分割空間フ
イルタ方式の原理説明図、第9〜11図は分割空間フイル
タ方式実施例説明図である。第12図はハードウエアで実
現する場合の例、第13図はシフト機能などの説明図を、
第14図(a),(b)は空間フイルタの例を、第15図
(a),(b)実際の物体と空間フイルタの例を示す。 1……n×m空間フイルタ、2……対象画素、3a〜3h…
…3×3空間フイルタ、5a〜5h……3×3空間フイルタ
のシフト量。
FIG. 1 is an outline of a divided space filter system, FIG. 2 is an outline of a conventional space filter system according to the prior art, FIGS. 3 to 8 are principle explanatory diagrams of the divided space filter system, and FIGS. It is a figure. Fig. 12 is an example of implementation with hardware, Fig. 13 is an explanatory diagram of the shift function,
FIGS. 14 (a) and 14 (b) show examples of space filters, and FIGS. 15 (a) and 15 (b) show examples of actual objects and space filters. 1 ... n × m space filter, 2 ... target pixel, 3a to 3h ...
… 3 × 3 space filter, 5a-5h …… Shift amount of 3 × 3 space filter.

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】濃淡画像を入力する濃淡画像データ入力手
段と、濃淡画像処理手段より成る画像処理装置における
濃淡画像データ処理方法において、 縦方向画素n、横方向画素mのm×n画素分の空間中
に、部分的に、m×n画素よりも小さい単位画素からな
る単位空間フィルタを前記濃淡画像データ入力手段から
入力される濃淡画像の特徴に応じて複数設定し、 前記濃淡画像データ入力手段によって入力された濃淡画
像に対して、複数の前記単位空間フィルタをそれぞれ作
用させ、 前記複数の単位空間フィルタの作用結果が前記m×n画
素分の空間中の特定の対象画素に集まるように、前記複
数の単位空間フィルタの作用結果をシフトして加算する
ことを特徴とする分割空間フィルタによる画像処理方
法。
1. A grayscale image data processing method in an image processing apparatus comprising a grayscale image data input means for inputting a grayscale image and a grayscale image processing means, wherein m × n pixels of vertical pixel n and horizontal pixel m. A plurality of unit spatial filters partially consisting of unit pixels smaller than m × n pixels are set in the space according to the characteristics of the grayscale image input from the grayscale image data input means, and the grayscale image data input means is set. The plurality of unit spatial filters are respectively acted on the grayscale image input by, and the operation results of the plurality of unit spatial filters are gathered at a specific target pixel in the m × n pixel space, An image processing method using a divided spatial filter, wherein the action results of the plurality of unit spatial filters are shifted and added.
JP4835686A 1986-03-07 1986-03-07 Image processing method by divided space filter Expired - Lifetime JPH0756673B2 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP4835686A JPH0756673B2 (en) 1986-03-07 1986-03-07 Image processing method by divided space filter
CA000531358A CA1310741C (en) 1986-03-07 1987-03-06 Method of processing image data

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP4835686A JPH0756673B2 (en) 1986-03-07 1986-03-07 Image processing method by divided space filter

Publications (2)

Publication Number Publication Date
JPS62206682A JPS62206682A (en) 1987-09-11
JPH0756673B2 true JPH0756673B2 (en) 1995-06-14

Family

ID=12801076

Family Applications (1)

Application Number Title Priority Date Filing Date
JP4835686A Expired - Lifetime JPH0756673B2 (en) 1986-03-07 1986-03-07 Image processing method by divided space filter

Country Status (1)

Country Link
JP (1) JPH0756673B2 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012128529A (en) * 2010-12-13 2012-07-05 Canon Inc Image processing device, control method therefor, and program
JP2012146096A (en) * 2011-01-11 2012-08-02 Canon Inc Data processing device and image processing apparatus, and method thereof

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2554255B2 (en) * 1987-03-23 1996-11-13 旭光学工業株式会社 Filtering device
JP5676968B2 (en) * 2010-08-12 2015-02-25 キヤノン株式会社 Image processing apparatus and image processing method
JP2015149554A (en) * 2014-02-05 2015-08-20 キヤノン株式会社 Image processing apparatus, image processing method and imaging device
JP6516410B2 (en) * 2014-02-21 2019-05-22 キヤノン株式会社 Image processing apparatus, image processing method and program
JP6468751B2 (en) * 2014-08-01 2019-02-13 キヤノン株式会社 Image processing apparatus, image processing method, and program
JP6465703B2 (en) * 2015-03-10 2019-02-06 キヤノン株式会社 Image signal processing apparatus, image signal processing method, and program

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012128529A (en) * 2010-12-13 2012-07-05 Canon Inc Image processing device, control method therefor, and program
JP2012146096A (en) * 2011-01-11 2012-08-02 Canon Inc Data processing device and image processing apparatus, and method thereof

Also Published As

Publication number Publication date
JPS62206682A (en) 1987-09-11

Similar Documents

Publication Publication Date Title
JPH04220780A (en) Method and apparatus for decomposing arbitrary polygon into trapezoid
JPS6053349B2 (en) image processing processor
JP2591984B2 (en) Pattern recognition device
JPS6239818B2 (en)
US6741243B2 (en) Method and system for reducing overflows in a computer graphics system
KR100594555B1 (en) Triangle polygon plotting device and triangle polygon plotting method
JPH0756673B2 (en) Image processing method by divided space filter
JPH0935084A (en) Image information processor and image information processing method
US5982377A (en) Three-dimensional graphic displaying system and method
JP3064799B2 (en) Texture mapping device
JPH0285978A (en) Method for processing hidden-surface of solid
US6856325B2 (en) Information processing method and apparatus
JP2973432B2 (en) Image processing method and apparatus
JPH09231352A (en) Method for mapping pixel picture
JPH08272960A (en) Filtering processing method for image
JPS60134991A (en) Picture processor
CA1310741C (en) Method of processing image data
JP7119682B2 (en) Image processing device and image processing program
CN117422608A (en) Image guided filtering method and system
JP2977226B2 (en) Nonlinear normalization method for characters
JP2862388B2 (en) Filtering method for ultra-high-speed image processing system
JPS63113785A (en) Graphic pattern displaying method
JP3517982B2 (en) Drawing device
JP3441858B2 (en) Image processing method and apparatus
JP2806436B2 (en) Arithmetic circuit