JPH1185996A - Separation degree filtering processor - Google Patents

Separation degree filtering processor

Info

Publication number
JPH1185996A
JPH1185996A JP24871497A JP24871497A JPH1185996A JP H1185996 A JPH1185996 A JP H1185996A JP 24871497 A JP24871497 A JP 24871497A JP 24871497 A JP24871497 A JP 24871497A JP H1185996 A JPH1185996 A JP H1185996A
Authority
JP
Japan
Prior art keywords
area
sum
partial
current
squares
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
JP24871497A
Other languages
Japanese (ja)
Inventor
Nobuyuki Takeda
信之 武田
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.)
Toshiba Corp
Original Assignee
Toshiba Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Toshiba Corp filed Critical Toshiba Corp
Priority to JP24871497A priority Critical patent/JPH1185996A/en
Publication of JPH1185996A publication Critical patent/JPH1185996A/en
Pending legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To lower the calculation cost for a separation degree filtering process by calculating the sum of partial areas and the total sum of squares of the partial areas in an area in an image and calculating a separation degree from the current total sum and the current sum of the squares. SOLUTION: An initializing process part 11 calculates the total sum or the sum of squares in an area 1, an area 2, and the entire area through an initializing process at a first point of separation degree filtering. This calculation result is an initial value for a recurrence formula. Then a partial area total sum and square sum calculating process part 12 calculates the total sum and the sum of squares through a partial area sum and square sum calculating process for partial areas generated from the relation between the areas 1 and 2. Then a separation degree calculating process part 13 calculates a separation degree by using the total sum and square sum in the initializing process or partial areas. Then a control part 14 adds a temporary variable to decide whether or not the process ends. Consequently, the calculation cost is reduced to make the scale of a processing circuit small.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、画像による顔認識
や画像監視等で用いられる特徴点抽出法や輪郭検出法の
一手法である分離度フィルタリング処理の高速化法に関
する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a method for speeding up a degree of separation filtering process, which is one of feature point extraction methods and contour detection methods used in face recognition and image monitoring using images.

【0002】[0002]

【従来の技術】画像による特徴点抽出法として分離度フ
ィルタリングを用いた手法が提案されている。この手法
は、画像中の2つの領域間の統計的な性質の違いから輪
郭や瞳、鼻孔、口端などの特徴点を高精度に抽出する手
法である。分離度フィルタリングの詳細は特願平9−3
3704号で説明されている。なお、分離度フィルタリ
ングについては、本明細書でも後から説明する。
2. Description of the Related Art As a feature point extraction method using an image, a method using separation filtering has been proposed. This method is a method of extracting feature points such as a contour, a pupil, a nostril, and a mouth end with high accuracy from a difference in statistical properties between two regions in an image. For details of the separation filtering, refer to Japanese Patent Application No. 9-3.
This is described in 3704. The filtering of the degree of separation will be described later in this specification.

【0003】[0003]

【発明が解決しようとする課題】しかし、特願平9−3
3704号内で述べられている分離度フィルタリングア
ルゴリズムは一般性を持っているが、全画面処理等の大
領域処理の場合、その演算コストの高さが問題となる。
SUMMARY OF THE INVENTION However, Japanese Patent Application No. Hei 9-3
Although the separation degree filtering algorithm described in Japanese Patent No. 3704 has generality, in the case of large-area processing such as full-screen processing, the high calculation cost becomes a problem.

【0004】本発明は、分離度フィルタリング処理の演
算コストを下げ、上記の題点を解決することを目的とし
ている。
[0004] It is an object of the present invention to reduce the operation cost of the separation degree filtering process and to solve the above-mentioned problems.

【0005】[0005]

【課題を解決するための手段】請求項1の発明は、画像
中の領域1、領域2から部分領域総和と部分領域2乗和
を計算し、これら部分領域総和と部分領域2乗和から分
離度をさらに計算することにより前記画像中の特徴点を
抽出する分離度フィルタリング処理装置において、現時
点の領域1とその現時点より前の時点である前時点の領
域1との重なり部分である部分領域1を求め、現時点の
領域2と前時点の領域2との重なり部分である部分領域
2を求め、現時点の領域1と領域2より生成される和領
域と前時点の和領域との重なり部分である部分和領域と
を求める部分領域処理手段と、部分領域1、部分領域2
及び部分和領域の画素値の総和である部分領域総和を計
算する部分領域総和計算手段と、部分領域1、部分領域
2及び部分和領域の画素値の2乗和である部分領域2乗
和を計算する部分領域2乗和計算手段と、前時点での領
域1、領域2及び和領域の画素値の総和である前時点総
和と、部分領域総和とから、現時点での領域1、領域2
及び和領域の画素値の総和である現時点総和を求める現
時点総和計算手段と、前時点での領域1、領域2及び和
領域の画素値の2乗和である前時点2乗和と、部分領域
2乗和とから、現時点での領域1、領域2及び和領域の
画素値の2乗和である現時点2乗和を求める現時点2乗
和計算手段と、現時点総和と現時点2乗和とから分離度
を計算する分離度計算手段とからなることを特徴とする
分離度フィルタリング処理装置である。
According to a first aspect of the present invention, a partial area sum and a partial area square sum are calculated from the areas 1 and 2 in an image and separated from the partial area sum and the partial area square sum. In the separation degree filtering processing apparatus for extracting a feature point in the image by further calculating the degree, a partial area 1 which is an overlapping part of the current area 1 and the previous time point 1 which is a time point before the current time. Is obtained, and a partial region 2 which is an overlapping portion between the current region 2 and the previous time region 2 is obtained. The partial region 2 is a portion where the sum region generated from the current region 1 and the current time region 2 overlaps with the previous time sum region. Partial area processing means for obtaining a partial sum area, partial area 1 and partial area 2
And a partial area sum calculating means for calculating a partial area sum which is a sum of pixel values of the partial sum areas, and a partial area sum of squares which is a sum of squares of the pixel values of the partial areas 1, 2 and the partial area. From the sum of the partial area squares to be calculated, the sum of the pixel values of the area 1, the area 2 and the sum area at the previous time, and the sum of the partial areas, the current area 1 and the area 2 are calculated.
Current sum calculating means for obtaining a current sum that is a sum of pixel values of the sum area and a sum of squares of pixel values of the area 1, the area 2 and the sum area at the previous time, and a partial area Current square sum calculating means for calculating the current square sum which is the sum of the squares of the pixel values of the current region 1, the region 2 and the sum region from the square sum, and separating the current sum and the current square sum from each other And a separation degree calculating means for calculating the degree of separation.

【0006】なお、前時点の領域1、領域2及び和領域
内の画素値の総和または2乗和は、分離度を計算する際
に、その初期値を求め、それから順番に時点を積み重ね
るように計算する。また、画像中の領域1、領域2から
計算した部分領域総和と部分領域2乗和とが、後から述
べる分離度マスクである。
The sum or square sum of the pixel values in the regions 1, 2 and the sum region at the previous time is obtained by calculating the initial value when calculating the degree of separation, and then sequentially stacking the time. calculate. Further, the partial area sum and the partial area square calculated from the areas 1 and 2 in the image are the separation degree masks described later.

【0007】請求項2の発明は、画像中の領域1、領域
2から部分領域総和と部分領域2乗和を計算し、これら
部分領域総和と部分領域2乗和から分離度をさらに計算
することにより前記画像中の特徴点を抽出する分離度フ
ィルタリング処理装置において、矩形大領域の中に矩形
中領域を重ねて得られる枠状の大領域を領域1として設
定する領域1設定手段と、矩形中領域の中に矩形小領域
を重ねて得られる枠状の小領域を領域2として設定する
領域2設定手段と、領域1、領域2及び領域1と領域2
の和領域の画素値の総和を矩形大領域、矩形中領域及び
矩形小領域の総和から計算する総和計算手段と、領域
1、領域2及び和領域の画素値の2乗和を矩形大領域、
矩形中領域及び矩形小領域の2乗和から計算する2乗和
計算手段と、領域1、領域2及び和領域の画素値の総和
及び2乗和から分離度を計算する分離度計算手段とから
なることを特徴とする分離度フィルタリング処理装置で
ある。
According to a second aspect of the present invention, the sum of partial areas and the sum of partial areas are calculated from the areas 1 and 2 in the image, and the degree of separation is further calculated from the sum of the partial areas and the sum of partial areas. A region 1 setting means for setting a frame-shaped large region obtained by superimposing a middle rectangular region on a large rectangular region as a region 1; Area 2 setting means for setting a frame-shaped small area obtained by superimposing a rectangular small area in the area as an area 2, area 1, area 2, area 1 and area 2
Sum calculation means for calculating the sum of the pixel values of the sum area of the large area, the middle area of the rectangle and the small area of the rectangle, and the square sum of the pixel values of the areas 1, 2 and the large area,
A square sum calculating means for calculating from the sum of squares of the rectangular medium area and the rectangular small area, and a separation degree calculating means for calculating the degree of separation from the sum of the pixel values of the area 1, the area 2, and the sum area and the square sum. A filtering apparatus for filtering a degree of segregation.

【0008】請求項3の発明は、前記総和計算手段は、
各矩形領域の画素値の総和の計算を、水平方向と垂直方
向の処理に分離して行い、前記2乗和計算手段は、各矩
形領域の画素値の2乗和の計算を、水平方向と垂直方向
の処理に分離して行うことを特徴とする請求項2記載の
分離度フィルタリング処理装置である。
According to a third aspect of the present invention, the sum calculation means includes:
The calculation of the sum of the pixel values of each rectangular area is performed separately in the horizontal and vertical directions, and the square sum calculation means calculates the sum of the squares of the pixel values of each rectangular area in the horizontal direction and the horizontal direction. 3. The separation degree filtering apparatus according to claim 2, wherein the separation degree filtering processing is performed separately in vertical processing.

【0009】請求項4の発明は、現時点の水平方向領域
1とその現時点より前の時点である前時点の水平方向領
域1との重なり部分である水平方向部分領域1を求め、
現時点の水平方向領域2と前時点の水平方向領域2との
重なり部分である水平方向部分領域2を求め、現時点の
水平方向領域1と水平方向領域2より生成される水平方
向和領域と前時点の水平方向和領域との重なり部分であ
る水平方向部分和領域とを求める水平方向部分領域処理
手段と、現時点の垂直方向領域1とその現時点より前の
時点である前時点の垂直方向領域1との重なり部分であ
る垂直方向部分領域1を求め、現時点の垂直方向領域2
と前時点の垂直方向領域2との重なり部分である垂直方
向部分領域2を求め、現時点の垂直方向領域1と垂直方
向領域2より生成される垂直方向和領域と前時点の垂直
方向和領域との重なり部分である垂直方向部分和領域と
を求める垂直方向部分領域処理手段と、前記総和計算手
段は、水平方向と垂直方向毎に、部分領域1、部分領域
2及び部分和領域の画素値の総和である部分領域総和を
計算する部分領域総和計算手段と、前時点での領域1、
領域2及び和領域の画素値の総和である前時点総和と、
部分領域総和とから、現時点での領域1、領域2及び和
領域の画素値の総和である現時点総和を求める現時点総
和計算手段とを有し、前記2乗和計算手段は、水平方向
と垂直方向毎に、部分領域1、部分領域2及び部分和領
域の画素値の2乗和である部分領域2乗和を計算する部
分領域2乗和計算手段と、前時点での領域1、領域2及
び和領域の画素値の2乗和である前時点2乗和と、部分
領域2乗和とから、現時点での領域1、領域2及び和領
域の画素値の2乗和である現時点2乗和を求める現時点
2乗和計算手段とを有することを特徴とする請求項3記
載の分離度フィルタリング処理装置である。
According to a fourth aspect of the present invention, a horizontal partial area 1 which is an overlapping portion between the current horizontal area 1 and the previous horizontal area 1 which is a time before the current time is obtained.
A horizontal partial area 2 which is an overlapping portion between the current horizontal area 2 and the previous horizontal area 2 is obtained, and the horizontal sum area generated from the current horizontal areas 1 and 2 and the previous time Horizontal partial area processing means for obtaining a horizontal partial sum area that is an overlapping part with the horizontal sum area of the following; a current vertical area 1 and a previous vertical area 1 which is a time point earlier than the current vertical area 1; Is obtained as a vertical partial area 1 which is an overlapping part of
And a vertical partial area 2 which is an overlapping part of the previous vertical area 2 and a vertical sum area generated from the current vertical area 1 and the vertical area 2 and a vertical sum area at the previous time. A vertical partial area processing means for obtaining a vertical partial sum area which is an overlapping part of: and the sum calculating means, for each of the horizontal direction and the vertical direction, the pixel values of the partial area 1, the partial area 2, and the partial sum area. A partial area sum calculating means for calculating a partial area sum that is a sum;
A sum at a previous time point which is a sum of pixel values of the area 2 and the sum area;
Current sum calculating means for obtaining a current sum that is the sum of the pixel values of the current area 1, the area 2 and the sum area from the partial area sum, wherein the square sum calculating means comprises a horizontal direction and a vertical direction. A partial area sum-of-squares calculation means for calculating a partial area sum-of-squares which is a sum of squares of the pixel values of the partial areas 1, 2 and the partial sum areas; From the previous sum of squares of the sum of the pixel values of the sum area and the sum of the squares of the partial area, the current sum of squares, which is the sum of the squares of the pixel values of the area 1, the area 2, and the sum area at the current time 4. The apparatus for filtering the degree of separation according to claim 3, further comprising: a current sum-of-squares calculating means for obtaining the sum of squares.

【0010】請求項5の発明は、画像中の領域1、領域
2から部分領域総和と部分領域2乗和を計算し、これら
部分領域総和と部分領域2乗和から分離度をさらに計算
することにより前記画像中の特徴点を抽出する分離度フ
ィルタリング処理方法において、現時点の領域1とその
現時点より前の時点である前時点の領域1との重なり部
分である部分領域1を求め、現時点の領域2と前時点の
領域2との重なり部分である部分領域2を求め、現時点
の領域1と領域2より生成される和領域と前時点の和領
域との重なり部分である部分和領域とを求める部分領域
処理ステップと、部分領域1、部分領域2及び部分和領
域の画素値の総和である部分領域総和を計算する部分領
域総和計算ステップと、部分領域1、部分領域2及び部
分和領域の画素値の2乗和である部分領域2乗和を計算
する部分領域2乗和計算ステップと、前時点での領域
1、領域2及び和領域の画素値の総和である前時点総和
と、部分領域総和とから、現時点での領域1、領域2及
び和領域の画素値の総和である現時点総和を求める現時
点総和計算ステップと、前時点での領域1、領域2及び
和領域の画素値の2乗和である前時点2乗和と、部分領
域2乗和とから、現時点での領域1、領域2及び和領域
の画素値の2乗和である現時点2乗和を求める現時点2
乗和計算ステップと、現時点総和と現時点2乗和とから
分離度を計算する分離度計算ステップとからなることを
特徴とする分離度フィルタリング処理方法である。
According to a fifth aspect of the present invention, the sum of partial areas and the sum of partial areas are calculated from the areas 1 and 2 in the image, and the degree of separation is further calculated from the sum of the partial areas and the sum of partial areas. In the separation degree filtering processing method for extracting the feature points in the image, a partial area 1 which is an overlapping part of the current area 1 and the previous time area 1 which is a time point earlier than the current time area is obtained. A partial area 2 which is an overlapping portion between the area 2 at the previous time and the area 2 at the previous time is obtained, and a partial sum area which is an overlapping part between the sum area generated from the current area 1 and the area 2 and the sum area at the previous time are obtained. A partial area processing step; a partial area sum calculating step of calculating a partial area sum that is the sum of pixel values of the partial areas 1, 2 and the pixels of the partial areas 1, 2 and 2. value A partial area square sum calculation step of calculating a partial area square sum which is a square sum; a previous time total which is a sum of pixel values of the area 1, the area 2 and the sum area at a previous time; And a current sum calculation step for obtaining a current sum that is the sum of the pixel values of the current region 1, the region 2 and the sum region, and a square sum of the pixel values of the region 1, the region 2 and the sum region at the previous time. The present time 2 which is the sum of the squares of the pixel values of the current area 1, the area 2 and the sum area from the sum of the previous time square and the sum of the partial areas square
A separation filtering processing method comprising: a sum of squares calculation step; and a separation degree calculation step of calculating a separation degree from the current sum and the current square sum.

【0011】請求項6の発明は、画像中の領域1、領域
2から部分領域総和と部分領域2乗和を計算し、これら
部分領域総和と部分領域2乗和から分離度をさらに計算
することにより前記画像中の特徴点を抽出する分離度フ
ィルタリング処理方法において、矩形大領域の中に矩形
中領域を重ねて得られる枠状の大領域を領域1として設
定する領域1設定ステップと、矩形中領域の中に矩形小
領域を重ねて得られる枠状の小領域を領域2として設定
する領域2設定ステップと、領域1、領域2及び領域1
と領域2の和領域の画素値の総和を矩形大領域、矩形中
領域及び矩形小領域の総和から計算する総和計算ステッ
プと、領域1、領域2及び和領域の画素値の2乗和を矩
形大領域、矩形中領域及び矩形小領域の2乗和から計算
する2乗和計算ステップと、領域1、領域2及び和領域
の画素値の総和及び2乗和から分離度を計算する分離度
計算ステップとからなることを特徴とする分離度フィル
タリング処理方法である。
According to a sixth aspect of the present invention, a sum of partial areas and a sum of partial areas are calculated from areas 1 and 2 in an image, and a degree of separation is further calculated from the sum of partial areas and the sum of partial areas. In the separation degree filtering processing method for extracting the feature points in the image, a region 1 setting step of setting a frame-shaped large region obtained by superimposing a rectangular middle region on a rectangular large region as a region 1; An area 2 setting step of setting a frame-shaped small area obtained by superimposing a rectangular small area in the area as an area 2, and an area 1, an area 2, and an area 1
Sum calculation step of calculating the sum of the pixel values of the sum area of the area and the area 2 from the sum of the large rectangular area, the middle area of the rectangle and the small area of the rectangle, and the square sum of the pixel values of the area 1, the area 2 and the sum area Sum-of-squares calculation step of calculating from the sum of squares of the large area, the middle area of the rectangle, and the small area of the rectangle, and separation degree calculation of calculating the degree of separation from the sum of the pixel values of the areas 1, 2 and the sum area and the sum of squares And a separation degree filtering processing method characterized by comprising:

【0012】請求項7の発明は、前記総和計算ステップ
は、各矩形領域の画素値の総和の計算を、水平方向と垂
直方向の処理に分離して行い、前記2乗和計算ステップ
は、各矩形領域の画素値の2乗和の計算を、水平方向と
垂直方向の処理に分離して行うことを特徴とする請求項
6記載の分離度フィルタリング処理方法である。
According to a seventh aspect of the present invention, in the total sum calculating step, the calculation of the total sum of the pixel values of each rectangular area is performed separately in horizontal and vertical directions. 7. The separation filtering method according to claim 6, wherein the calculation of the sum of squares of the pixel values of the rectangular area is performed separately in horizontal and vertical directions.

【0013】請求項8の発明は、現時点の水平方向領域
1とその現時点より前の時点である前時点の水平方向領
域1との重なり部分である水平方向部分領域1を求め、
現時点の水平方向領域2と前時点の水平方向領域2との
重なり部分である水平方向部分領域2を求め、現時点の
水平方向領域1と水平方向領域2より生成される水平方
向和領域と前時点の水平方向和領域との重なり部分であ
る水平方向部分和領域とを求める水平方向部分領域処理
ステップを有し、現時点の垂直方向領域1とその現時点
より前の時点である前時点の垂直方向領域1との重なり
部分である垂直方向部分領域1を求め、現時点の垂直方
向領域2と前時点の垂直方向領域2との重なり部分であ
る垂直方向部分領域2を求め、現時点の垂直方向領域1
と垂直方向領域2より生成される垂直方向和領域と前時
点の垂直方向和領域との重なり部分である垂直方向部分
和領域とを求める垂直方向部分領域処理ステップを有
し、前記総和計算ステップは、水平方向と垂直方向毎
に、部分領域1、部分領域2及び部分和領域の画素値の
総和である部分領域総和を計算する部分領域総和計算ス
テップと、前時点での領域1、領域2及び和領域の画素
値の総和である前時点総和と、部分領域総和とから、現
時点での領域1、領域2及び和領域の画素値の総和であ
る現時点総和を求める現時点総和計算ステップとを有
し、前記2乗和計算ステップは、水平方向と垂直方向毎
に、部分領域1、部分領域2及び部分和領域の画素値の
2乗和である部分領域2乗和を計算する部分領域2乗和
計算ステップと、前時点での領域1、領域2及び和領域
の画素値の2乗和である前時点2乗和と、部分領域2乗
和とから、現時点での領域1、領域2及び和領域の画素
値の2乗和である現時点2乗和を求める現時点2乗和計
算ステップとを有することを特徴とする請求項7記載の
分離度フィルタリング処理方法である。
According to the present invention, a horizontal partial area 1 which is an overlapping portion of the current horizontal area 1 and a previous horizontal area 1 which is a time before the current time is obtained.
A horizontal partial area 2 which is an overlapping portion between the current horizontal area 2 and the previous horizontal area 2 is obtained, and the horizontal sum area generated from the current horizontal areas 1 and 2 and the previous time , A horizontal partial area processing step of obtaining a horizontal partial sum area that is an overlapping part with the horizontal sum area, and the current vertical area 1 and the previous vertical area that is a time point earlier than the current vertical area 1 1 is obtained, a vertical partial area 2 which is an overlapping part of the current vertical area 2 and the previous vertical area 2 is obtained, and the current vertical area 1 is obtained.
And a vertical partial area processing step of obtaining a vertical partial sum area that is an overlapping portion of the vertical sum area generated from the vertical area 2 and the vertical sum area at the previous time. A partial area sum calculation step of calculating a partial area sum that is the sum of the pixel values of the partial area 1, the partial area 2 and the partial sum area for each of the horizontal direction and the vertical direction; A current sum calculation step of calculating a current sum that is the sum of the pixel values of the current region 1, the region 2, and the sum region from the previous time sum that is the sum of the pixel values of the sum region and the sum of the partial regions. Calculating the sum of squares of the partial area, which is the sum of the squares of the pixel values of the partial area 1, the partial area 2, and the partial sum area for each of the horizontal direction and the vertical direction. Calculation step and previous time From the previous time point sum of squares of the pixel values of the area 1, the area 2 and the sum area, and the square sum of the pixel values of the area 1, the area 2 and the sum area at the present time A current square sum calculation step of obtaining a current square sum as a sum.

【0014】請求項9の発明は、画像中の領域1、領域
2から部分領域総和と部分領域2乗和を計算し、これら
部分領域総和と部分領域2乗和から分離度をさらに計算
することにより前記画像中の特徴点を抽出する分離度フ
ィルタリング処理を実現するプログラムを記録した記録
媒体において、現時点の領域1とその現時点より前の時
点である前時点の領域1との重なり部分である部分領域
1を求め、現時点の領域2と前時点の領域2との重なり
部分である部分領域2を求め、現時点の領域1と領域2
より生成される和領域と前時点の和領域との重なり部分
である部分和領域とを求める部分領域処理機能と、部分
領域1、部分領域2及び部分和領域の画素値の総和であ
る部分領域総和を計算する部分領域総和計算機能と、部
分領域1、部分領域2及び部分和領域の画素値の2乗和
である部分領域2乗和を計算する部分領域2乗和計算機
能と、前時点での領域1、領域2及び和領域の画素値の
総和である前時点総和と、部分領域総和とから、現時点
での領域1、領域2及び和領域の画素値の総和である現
時点総和を求める現時点総和計算機能と、前時点での領
域1、領域2及び和領域の画素値の2乗和である前時点
2乗和と、部分領域2乗和とから、現時点での領域1、
領域2及び和領域の画素値の2乗和である現時点2乗和
を求める現時点2乗和計算機能と、現時点総和と現時点
2乗和とから分離度を計算する分離度計算機能とを実現
するためのプログラムを記録したことを特徴とする分離
度フィルタリング処理のプログラムを記録した記録媒体
である。
According to a ninth aspect of the present invention, a partial area sum and a partial area square sum are calculated from the area 1 and the area 2 in the image, and the degree of separation is further calculated from the partial area sum and the partial area square sum. In the recording medium on which the program for realizing the degree of separation filtering for extracting the feature points in the image is recorded, a portion which is an overlapping portion between the current region 1 and the previous region 1 which is a time point before the current time. An area 1 is obtained, a partial area 2 which is an overlapping portion of the current area 2 and the previous area 2 is obtained, and the current area 1 and the current area 2 are obtained.
Partial area processing function for obtaining a partial sum area which is an overlapping part of the sum area generated by the sum area and the previous sum area, and a partial area which is the sum of the pixel values of the partial areas 1, 2 and 2. A partial area sum calculating function for calculating the sum, a partial area square sum calculating function for calculating a partial area square sum that is a sum of squares of the pixel values of the partial area 1, the partial area 2, and the partial sum area; From the previous time sum that is the sum of the pixel values of the area 1, the area 2 and the sum area, and the sum of the partial areas, the current sum that is the sum of the pixel values of the area 1, the area 2 and the sum area at the present time is obtained. From the current time sum calculation function, the previous time sum of squares, which is the sum of the squares of the pixel values of the area 1, the area 2, and the sum area at the previous time, and the partial area sum of squares,
A current square sum calculation function for calculating a current square sum that is a sum of squares of pixel values of the area 2 and the sum area, and a separation degree calculation function for calculating a separation degree from the current sum and the current square sum are realized. Recording medium storing a program for a filtering process of the degree of separation, characterized by recording a program for the separation.

【0015】請求項10の発明は、画像中の領域1、領
域2から部分領域総和と部分領域2乗和を計算し、これ
ら部分領域総和と部分領域2乗和から分離度をさらに計
算することにより前記画像中の特徴点を抽出する分離度
フィルタリング処理を実現するプログラムを記録した記
録媒体において、矩形大領域の中に矩形中領域を重ねて
得られる枠状の大領域を領域1として設定する領域1設
定機能と、矩形中領域の中に矩形小領域を重ねて得られ
る枠状の小領域を領域2として設定する領域2設定機能
と、領域1、領域2及び領域1と領域2の和領域の画素
値の総和を矩形大領域、矩形中領域及び矩形小領域の総
和から計算する総和計算機能と、領域1、領域2及び和
領域の画素値の2乗和を矩形大領域、矩形中領域及び矩
形小領域の2乗和から計算する2乗和計算機能と、領域
1、領域2及び和領域の画素値の総和及び2乗和から分
離度を計算する分離度計算機能とを実現するためのプロ
グラムを記録したことを特徴とする分離度フィルタリン
グ処理のプログラムを記録した記録媒体である。
According to a tenth aspect of the present invention, the partial area sum and the partial area square sum are calculated from the area 1 and the area 2 in the image, and the degree of separation is further calculated from the partial area sum and the partial area square sum. A large frame-shaped area obtained by superimposing a middle rectangular area on a large rectangular area is set as an area 1 in a recording medium on which a program for realizing a degree of separation filtering process for extracting feature points in the image is recorded. An area 1 setting function, an area 2 setting function of setting a frame-shaped small area obtained by superimposing a rectangular small area in a rectangular middle area as an area 2, an area 1, an area 2 and a sum of the areas 1 and 2 A sum calculation function for calculating the sum of the pixel values of the areas from the sum of the large rectangular area, the middle rectangular area, and the small rectangular area, and the sum of the squares of the pixel values of the areas 1, 2, and the sum of the square areas. Sum of squares of area and rectangular small area A program for realizing a sum-of-squares calculation function to calculate the degree of separation and a separation degree calculation function of calculating the degree of separation from the sum of the pixel values of the areas 1, 2, and the sum area and the sum of squares is recorded. This is a recording medium on which a program for a degree of separation filtering process is recorded.

【0016】請求項11の発明は、前記総和計算機能
は、各矩形領域の画素値の総和の計算を、水平方向と垂
直方向の処理に分離して行い、前記2乗和計算機能は、
各矩形領域の画素値の2乗和の計算を、水平方向と垂直
方向の処理に分離して行うことを特徴とする請求項10
記載の分離度フィルタリング処理のプログラムを記録し
た記録媒体である。
According to an eleventh aspect of the present invention, the sum calculation function performs the calculation of the sum of the pixel values of each rectangular area separately in horizontal and vertical processes.
11. The method according to claim 10, wherein the calculation of the sum of squares of the pixel values of each rectangular region is performed separately in horizontal and vertical directions.
It is a recording medium on which a program for the degree of separation filtering process described above is recorded.

【0017】請求項12の発明は、現時点の水平方向領
域1とその現時点より前の時点である前時点の水平方向
領域1との重なり部分である水平方向部分領域1を求
め、現時点の水平方向領域2と前時点の水平方向領域2
との重なり部分である水平方向部分領域2を求め、現時
点の水平方向領域1と水平方向領域2より生成される水
平方向和領域と前時点の水平方向和領域との重なり部分
である水平方向部分和領域とを求める水平方向部分領域
処理機能を有し、現時点の垂直方向領域1とその現時点
より前の時点である前時点の垂直方向領域1との重なり
部分である垂直方向部分領域1を求め、現時点の垂直方
向領域2と前時点の垂直方向領域2との重なり部分であ
る垂直方向部分領域2を求め、現時点の垂直方向領域1
と垂直方向領域2より生成される垂直方向和領域と前時
点の垂直方向和領域との重なり部分である垂直方向部分
和領域とを求める垂直方向部分領域処理機能を有し、前
記総和計算機能は、水平方向と垂直方向毎に、部分領域
1、部分領域2及び部分和領域の画素値の総和である部
分領域総和を計算する部分領域総和計算機能と、前時点
での領域1、領域2及び和領域の画素値の総和である前
時点総和と、部分領域総和とから、現時点での領域1、
領域2及び和領域の画素値の総和である現時点総和を求
める現時点総和計算機能とを有し、前記2乗和計算機能
は、水平方向と垂直方向毎に、部分領域1、部分領域2
及び部分和領域の画素値の2乗和である部分領域2乗和
を計算する部分領域2乗和計算機能と、前時点での領域
1、領域2及び和領域の画素値の2乗和である前時点2
乗和と、部分領域2乗和とから、現時点での領域1、領
域2及び和領域の画素値の2乗和である現時点2乗和を
求める現時点2乗和計算機能とを有することを特徴とす
る請求項11記載の分離度フィルタリング処理のプログ
ラムを記録した記録媒体である。
According to a twelfth aspect of the present invention, a horizontal partial area 1 which is an overlapping portion of a current horizontal area 1 and a previous horizontal area 1 which is a time earlier than the current time is obtained, Region 2 and previous horizontal region 2
Is obtained, and a horizontal portion which is an overlapping portion of the horizontal sum region generated from the current horizontal region 1 and the horizontal direction region 2 and the previous horizontal sum region is obtained. It has a horizontal partial area processing function for obtaining a sum area, and obtains a vertical partial area 1 which is an overlapping part of the current vertical area 1 and the previous vertical area 1 which is a time point before the current time. A vertical partial area 2 which is an overlapping part of the current vertical area 2 and the previous vertical area 2 is obtained, and the current vertical area 1 is obtained.
And a vertical partial area processing function for obtaining a vertical partial sum area that is an overlapping part of the vertical sum area generated from the vertical area 2 and the previous vertical sum area. A partial area sum calculation function for calculating a partial area sum that is the sum of the pixel values of the partial areas 1, 2 and the partial sum area for each of the horizontal direction and the vertical direction; From the sum at the previous point in time, which is the sum of the pixel values of the sum area, and the sum of the partial areas, the current area 1,
A current sum calculation function for calculating a current sum that is a sum of pixel values of the area 2 and the sum area. The square sum calculation function includes a partial area 1 and a partial area 2 for each of the horizontal direction and the vertical direction.
And a partial area square sum calculation function for calculating a partial area square sum that is a square sum of the pixel values of the partial sum area, and a square sum of the pixel values of the area 1, the area 2, and the sum area at the previous time. One point before 2
It has a current square sum calculation function for calculating a current square sum that is a sum of squares of pixel values of the current region 1, the region 2, and the sum region from the sum of squares and the sum of squares of partial regions. A recording medium storing a program for a degree-of-separation filtering process according to claim 11.

【0018】[0018]

【発明の実施の形態】BEST MODE FOR CARRYING OUT THE INVENTION

(分離度フィルタリングの概要)まず、本発明の前提と
なる分離度フィルタリングについて簡単に説明する。
(Outline of Separation Filtering) First, the separation filtering which is a premise of the present invention will be briefly described.

【0019】「分離度」は、画像上のある2つの領域内
の画像の統計的性質の違いを表す測度で、主に画像の輪
郭検出や特徴点検出に用いられる。
The "separation degree" is a measure indicating the difference in the statistical properties of images in two certain regions on the image, and is mainly used for detecting the contours and feature points of the image.

【0020】そして、分離度ηは式(1)で定義され
る。
The degree of separation η is defined by equation (1).

【0021】[0021]

【数1】 式(1)における各符号は、画像上の2つの任意の領域
について、下記のように定義する。
(Equation 1) Each code in the expression (1) is defined as follows for two arbitrary regions on the image.

【0022】Nを領域1内の画素数、Nを領域2内
の画素数、Nを全領域内の画素数、σa 2 を領域全体
の分散値、f(i)を位置iにおける輝度レベル、平均
を領域1内の平均輝度レベル、平均fを領域2内
の平均輝度レベル、平均fを全領域内の平均輝度レベ
ル。
[0022] N 1 the number of pixels in the region 1, N 2 the number of pixels in the region 2, N a number of pixels in the entire area, the dispersion value of the entire sigma a 2 region, f (i) the position i luminance level, the average luminance level of an average f 1 region 1, the average luminance level of an average f 2 region 2, the average f m average luminance level of the entire area in.

【0023】但し、全領域とは領域1と領域2の和であ
り、画像全体の領域を表すものではない事に注意する
(画像全体の領域が全画像領域と記述する)。
Note that the entire area is the sum of the area 1 and the area 2 and does not represent the entire image area (the entire image area is described as the entire image area).

【0024】分離度ηは0<η≦1の範囲の値を持ち、
画像上の任意の領域1と2の情報が完全に分離されてい
る場合に1となる。
The degree of separation η has a value in the range of 0 <η ≦ 1;
It becomes 1 when the information of the arbitrary areas 1 and 2 on the image is completely separated.

【0025】分離度は2つの領域内の画像の統計的性質
の違いを表す測度であるため、ノイズの影響を受け難
く、分離度フィルタリングは特にノイズを多く含む画像
の領域分割や輪郭検出、特徴抽出等に効果を発揮する。
Since the degree of separation is a measure indicating the difference in the statistical properties of the images in the two regions, it is hardly affected by noise. Effective for extraction.

【0026】領域1,2の選び方の例として図1を示
す。
FIG. 1 shows an example of how to select the regions 1 and 2.

【0027】図1(a)は2つの領域を1次元的に選
び、輪郭検出を行う場合に用いられる。参考文献として
は、福井和広、”領域間の分離度を用いた輪郭検出”、
情処研報CV88-2,pp.9-16,1994.山口、福井、”分離度特
徴を用いた顔画像解析−目瞳の検出”、情処学会第52回
全国大会(2)-pp.187-188,1996.が挙げられる。この時、
画像輪郭部(図のマスクでは縦方向の輪郭)で分離度が
大きくなり輪郭に沿って局所を持つ。
FIG. 1A shows a case where two areas are one-dimensionally selected and contour detection is performed. References include Kazuhiro Fukui, "Contour detection using separation between regions",
JIJI-Kyoho CV88-2, pp.9-16,1994.Yamaguchi, Fukui, "Face Image Analysis Using Separation Features-Eye Pupil Detection", The 52nd Annual Conference of the Japan Society of Jisho (2) -pp. .187-188, 1996. At this time,
The degree of separation increases in the image outline portion (vertical outline in the mask in the figure), and the image has a local portion along the outline.

【0028】図1(b)は特願平9−33704号内で
用いられている例であり、領域を2次元的に選んでい
る。この例では円形形状の検出に用いるマスク(以下、
「分離度マスク」という)となる。分離度は瞳等の円形
形状部で局所最大値を持つことになる。従って、この分
離度が局所最大値を持つ点(画素座標)が特徴点候補と
なる。なお、このような分離度マスクによる処理を分離
度フィルタリングと呼んでいる。
FIG. 1B shows an example used in Japanese Patent Application No. 9-33704, in which an area is selected two-dimensionally. In this example, a mask used for detecting a circular shape (hereinafter, referred to as a mask)
"Separation degree mask"). The degree of separation has a local maximum value in a circular portion such as the pupil. Therefore, a point (pixel coordinate) where the degree of separation has a local maximum value is a feature point candidate. It should be noted that such processing using the separation mask is called separation filtering.

【0029】但し、以上の例では画像輝度レベルを用い
たが、代わりに色相、彩度等の他の画像特徴量にも適用
可能である。更にソナーレーダから得られる深さ情報等
の画像とは全く異なる特徴量でも良い。
In the above example, the image brightness level is used. However, the present invention can be applied to other image features such as hue and saturation instead. Furthermore, a feature amount completely different from an image such as depth information obtained from a sonar radar may be used.

【0030】(実施例1)分離度フィルタリングを行う
上での問題は、分離度の定義式からも分かるように、大
領域処理や大きな分離度マスクを使用する場合のその演
算コストの高さである。もし演算コストを低くできれ
ば、処理装置の回路規模を小さくしたり、反対により高
フレームレートの処理や分離度マスクの選択の幅が広が
るため、その効果は非常に大きい。本発明は、分離度フ
ィルタリング処理の演算コストを従来より低くすること
を目的としており、分離度フィルタリングを画像領域内
の比較的大きな領域で行うことを仮定し、演算の過程に
おける冗長性を排し、その演算量を削減することを特徴
としている。
(Embodiment 1) The problem in performing the filtering of the degree of separation is, as can be seen from the definition equation of the degree of separation, the high computational cost in the case of using a large area processing or a large degree of separation mask. is there. If the operation cost can be reduced, the effect is very large because the circuit scale of the processing device is reduced, and conversely, the processing at a high frame rate and the selection of the isolation mask are widened. An object of the present invention is to reduce the computation cost of the separation filtering process as compared with the related art, and assume that the separation filtering is performed on a relatively large area in the image area, thereby eliminating redundancy in the computation process. , The amount of calculation is reduced.

【0031】以下で本発明の詳細を説明する。The details of the present invention will be described below.

【0032】但し、本発明は主に図1(b)のような2
次元的なマスクを用いた画像大領域内の分離度フィルタ
リングを行う場合に特に有効であり、2次元的なマスク
に限定して実施例を説明する。
However, the present invention is mainly applicable to the case shown in FIG.
This embodiment is particularly effective when filtering the degree of separation in a large area of an image using a two-dimensional mask, and the embodiment will be described with reference to a two-dimensional mask.

【0033】なお、以下に説明する分離度フィルタリン
グ処理を、これから「逐次型分離度フィルタリング処
理」という。
The separation filtering process described below is hereinafter referred to as a "sequential separation filtering process".

【0034】まず、分離度の定義式を書き直す。但し、
表記法が異なることに注意する。画像上の点X=(x,
y)に於いて分離度を計算するとき、この計算に用いる
領域1,領域2を各々R(X),R(X)とする。
ここで、R,Rが関数となっていることに注意す
る。これはR(X),R(X)が位置Xにおける分
離度計算に使用する領域1,2であることを表してい
る。
First, the definition equation of the degree of separation is rewritten. However,
Note that the notation is different. Point X = (x,
When calculating the degree of separation in y), the area 1 and the area 2 used for this calculation are R 1 (X) and R 2 (X), respectively.
Note that R 1 and R 2 are functions. This indicates that R 1 (X) and R 2 (X) are regions 1 and 2 used for calculating the degree of separation at position X.

【0035】[0035]

【数2】 である。(Equation 2) It is.

【0036】但し、S,Sは領域1,2内のの画素
値の総和、Sは全領域内の画素値の総和、Tは全領
域の画素値の2乗和、N,N,Nは各々領域1,
領域2,全領域の画素数である。
[0036] However, S 1, S 2 is the sum of the pixel values of the region 1, 2, S a total sum of pixel values in the entire area, T a is the sum of the squares of the pixel values of the entire region, N 1 , N 2, N a are each region 1,
Region 2 is the number of pixels in all regions.

【0037】次に、分離度フィルタリングを画像中のあ
る領域内で行う場合を考える。
Next, consider a case where the filtering of the degree of separation is performed within a certain area in the image.

【0038】分離度の計算を行う領域内(フィルタリン
グ領域内)の画素点をX:i=1,2,……nと表
す。
The pixel points in the area where the degree of separation is calculated (in the filtering area) are represented by X i : i = 1, 2,... N.

【0039】分離度の計算過程では、式(5)〜(8)
より、分離度マスク領域内の総和また2乗和を求める必
要がある。図2は、ある画素点Xとその前時点のX
i−1の分離度マスクの領域1の関係を示したものであ
る。この図から明からも明かなように、それらの領域間
で共有する領域が存在する場合、領域1内の総和または
2乗和の計算過程には冗長性があり、共通領域の重複し
た計算を省くことが可能であることが分かる。従って、
共有する領域の重複する計算を省くことにより演算量の
大幅な削減が可能になる。この議論は勿論、領域2及び
全体領域(領域1と領域2の和)についても成り立つ。
In the process of calculating the degree of separation, equations (5) to (8)
Therefore, it is necessary to calculate the sum or the sum of squares in the isolation mask area. 2, X of the previous time and a certain pixel point X i
It shows the relationship of the area 1 of the i-1 isolation mask. As is clear from this figure, when there is an area shared between the areas, there is redundancy in the process of calculating the sum or the sum of squares in the area 1, and the overlapping calculation of the common area is performed. It turns out that it is possible to omit. Therefore,
By omitting overlapping calculations in the shared area, the amount of calculation can be significantly reduced. This discussion is of course valid for the region 2 and the entire region (the sum of the region 1 and the region 2).

【0040】以下では、この計算過程を示す。Hereinafter, this calculation process will be described.

【0041】[0041]

【数3】 従って、分離度フィルタリングを行う画像上の2つの点
i−1,Xにおける各々の分離度マスク領域間に共
通領域が存在すれば、上式のように総和・2上総和計算
を逐次化することにより、演算量を削減でき分離度フィ
ルタリング処理の高速化が可能となる。
(Equation 3) Therefore, if there is a common area between each of the isolation mask areas at the two points X i−1 and X i on the image on which the isolation filtering is performed, the summation and the two-summation calculation are serialized as in the above equation. By doing so, the amount of calculation can be reduced, and the speed of the separation filtering process can be increased.

【0042】図3は、逐次型分離度フィルタリング処理
の全体の流れを示したフローチャートである。図4は、
逐次型分離度フィルタリング処理を行うための分離度フ
ィルタリング装置10のブロック図である。
FIG. 3 is a flowchart showing the entire flow of the sequential type separation degree filtering process. FIG.
FIG. 2 is a block diagram of a separation degree filtering device 10 for performing a sequential separation degree filtering process.

【0043】まず、初期化処理部11において初期化処
理(ステップ1−1)により、分離度フィルタリングを
行う最初の点において、領域1,領域2と全体領域内の
総和または2乗和を計算する。この計算結果が、漸化式
の初期値となる。また、計算の終了判定を行うための一
時変数の初期化(i=0を初期位置とした場合に、i=
1に初期化する)を行う。
First, the initialization processing section 11 calculates the sum or the sum of squares of the areas 1 and 2 and the whole area at the first point where the separation filtering is performed by the initialization processing (step 1-1). . This calculation result is the initial value of the recurrence formula. Also, initialization of a temporary variable for determining the end of calculation (when i = 0 is the initial position, i =
(Initialize to 1).

【0044】次に、部分領域総和・2乗和計算処理(ス
テップ1−2)において、部分領域総和・2乗和計算処
理部12によって(i−1)時点とiの時点における領
域1,2の関係により生成される部分領域に対し、総和
及び2乗和を計算する。
Next, in the partial area sum / square sum calculation processing (step 1-2), the partial area sum / square sum calculation processing unit 12 calculates the areas 1 and 2 at time (i-1) and time i. The sum and the square sum are calculated for the partial areas generated by the relationship

【0045】ステップ1−3では、初期化処理(ステッ
プ1−1)またはi−1における総和・2乗和の計算結
果とステップ1−2で得られた部分領域内の総和・2乗
和計算結果を用い、分離度計算処理部13によってi時
点での分離度を計算する。
In step 1-3, the summation / square sum calculation result in the initialization processing (step 1-1) or i-1 and the sum / square sum calculation in the partial area obtained in step 1-2 Using the result, the degree of separation at the time point i is calculated by the degree of separation calculation processing unit 13.

【0046】ステップ1−4では、制御部14において
一時変数を加算し、処理の終了を判定し、終了でない場
合にはステップ1−2に戻り処理を続けるようにさせ
る。
In step 1-4, the control section 14 adds a temporary variable to determine the end of the processing, and if not, returns to step 1-2 to continue the processing.

【0047】図5は、上記の処理の詳細例を示したフロ
ーチャートである。
FIG. 5 is a flowchart showing a detailed example of the above processing.

【0048】まず、ステップ2−1において、S(X
),S(X),S(X),T(X)を各
々、式(5),式(6),式(7),式(8)により計
算する。
First, in step 2-1, S 1 (X
0 ), S 2 (X 0 ), S a (X 0 ), and T a (X 0 ) are calculated by equations (5), (6), (7), and (8), respectively.

【0049】次に、画像上の点列を順序付けする変数i
を1に初期化する(ステップ2−2)。
Next, a variable i for ordering the point sequence on the image
Is initialized to 1 (step 2-2).

【0050】ステップ2−3では式(9)の第2項,第
3項を計算する。
In step 2-3, the second and third terms of equation (9) are calculated.

【0051】同様に、ステップ2−4では式(10)の
ステップ2−5では式(11)の、ステップ2−6では
式(12)の第2項,第3項を計算する。
Similarly, in step 2-4, the second and third terms of equation (11) are calculated in step 2-5 of equation (10), and in step 2-6, equation (12) is calculated.

【0052】ステップ2−7においては、i=1の場合
にはステップ2−1で、iが1でない場合には前回のス
テップ2−7で計算されたS(Xi−1),S(X
i− ),S(Xi−1),T(Xi−1)とステ
ップ2−3〜2−6の結果を用い、式(9)〜式(1
2)によりS(X),S(X),S
(X),T(X)を計算する。
In step 2-7, if i = 1, step 2-1 is performed. If i is not 1, S 1 (X i-1 ) and S 1 calculated in the previous step 2-7 are calculated. 2 (X
i- 1), S a (X i-1), using the results of T a (X i-1) and step 2-3~2-6 formula (9) to (1
2), S 1 (X i ), S 2 (X i ), S
a (X i), to calculate the T a (X i).

【0053】ステップ2−9ではステップ2−7で得ら
れたS(X),S(X),S(X),T
(X)を式(2)〜(4)に代入し、分離度η
(X)を求める。
In step 2-9, S 1 (X i ), S 2 (X i ), S a (X i ), and T a obtained in step 2-7.
(X i ) is substituted into Expressions (2) to (4) to obtain the degree of separation η.
(X i ) is obtained.

【0054】次に、iをインクリメントする(ステップ
2−9)。
Next, i is incremented (step 2-9).

【0055】最後に、i<nであったならばステップ2
−3に処理を移し、i=nの場合には処理を終了する。
Finally, if i <n, step 2
The process is shifted to -3, and when i = n, the process ends.

【0056】[0056]

【数4】 図6は領域R,Rの間に共有領域がない場合の処理
の流れを示したフローチャートの一例である。
(Equation 4) FIG. 6 is an example of a flowchart showing the flow of processing when there is no shared area between the areas R 1 and R 2 .

【0057】この例では共有領域のある場合(図5)に
対し一部のステップが変更されているのみであるため、
ここではこの変更点のみ説明する。
In this example, only some steps are changed from the case where there is a shared area (FIG. 5).
Here, only this change will be described.

【0058】まず、図5における処理ステップ2−7の
処理のうち、共有領域を持たないためSを式(11)
によらず、式(13)に変更している。更に、ステップ
2−5に相当する処理は必要無いため、この処理を削除
している。
[0058] First, of the processing of the processing step 2-7 in FIG. 5, the S a for no shared area (11)
Regardless of this, the expression (13) is changed. Further, since the processing corresponding to step 2-5 is not necessary, this processing is deleted.

【0059】(実施例2)次に第2の実施例について説
明する。
(Embodiment 2) Next, a second embodiment will be described.

【0060】本実施例では、分離度マスクを図7に示す
ような矩形ブロックにし、領域1,領域2,領域3が各
々互いに共有する領域を持たないように設定することに
より演算量を削減する。以下では演算量の削減法の詳細
について説明する。なお、最終的に得られる分離度は第
1の実施例と同様に、領域1及び領域2に関するもので
ある。また、分離度フィルタリング装置10の内容も図
4のものと同様である。
In this embodiment, the amount of calculation is reduced by setting the isolation mask to a rectangular block as shown in FIG. 7 and setting the areas 1, 2, and 3 so as not to have any areas shared by each other. . Hereinafter, the details of the method for reducing the amount of computation will be described. Note that the finally obtained degree of separation relates to the region 1 and the region 2 as in the first embodiment. The content of the separation degree filtering device 10 is the same as that of FIG.

【0061】更に、説明を簡単にするために幾つかの条
件を仮定する。まず、分離度フィルタリングを行う領域
(フィルタリング領域)を画像中の矩形領域とする。分
離度はこの領域内を辞書順で計算する例のみを取り上げ
るが、一般的にはこの走査法以外にも簡単に拡張可能で
ある。更に、画像は十分大きいものと仮定する。この仮
定は、画像境界部での例外的な処理を省くためである。
但し、これらの仮定は説明や式の展開を容易にするため
であり、以下で説明するアルゴリズムになんら制約を課
すものではない。
Further, several conditions are assumed for the sake of simplicity. First, a region (filtering region) in which separation filtering is performed is set as a rectangular region in an image. Although only the example of calculating the degree of separation in this area in dictionary order is taken up, in general, it can be easily extended to other than this scanning method. Further assume that the image is large enough. This assumption is for eliminating an exceptional process at the image boundary.
However, these assumptions are for facilitating the explanation and the expansion of equations, and do not impose any restrictions on the algorithm described below.

【0062】まず、このマスクを図8のように3つの領
域に分離する。両者のマスク間には次の関係が成り立
つ。
First, this mask is divided into three regions as shown in FIG. The following relationship holds between the two masks.

【0063】[0063]

【数5】 このとき、両者の領域内の総和または2乗和には図8に
示されるような関係がある。すなわち、P,P,P
を各々領域R’,R’,R’の画素値の総和、
,Qを各々領域R’,R’内の画素値の2乗
和とすれば、S,S,S,TとP,P,P
,Q,Qとの間には次に関係が成り立つ。
(Equation 5) At this time, the sum or square sum in both regions has a relationship as shown in FIG. That is, P 1 , P 2 , P
3 is the sum of the pixel values of the regions R ′ 1 , R ′ 2 , R ′ 3 respectively;
Q 1, if the sum of the squares of the Q 3 each region R '1, R' pixel values in the 3, S 1, S 2, S a, T a and P 1, P 2, P
3 , Q 1 and Q 3 have the following relationship.

【0064】[0064]

【数6】 従って、領域R,R内の総和または2乗和を直接す
るかわりに、領域R’,R’,R’内の総和また
は2乗和からそれらを求めてもよい。この他にも等価な
式が存在するがここでは式(16)〜(19)を用い
る。
(Equation 6) Therefore, instead of the sum or square sum in the region R 1, R 2 directly, region R '1, R' 2, R ' may be obtained them from the sum or square sum of 3. There are other equivalent equations, but equations (16) to (19) are used here.

【0065】ところで、分離度計算領域内の各点におけ
る矩形領域内(即ちR’,R’,R’)の総和ま
たは2乗和を計算する場合、図10で示されるように、
水平方向の処理と垂直方向の処理に分離することが可能
である。処理を水平方向・垂直方向に分離することによ
り、演算量の削減が可能となるが、これらの処理に対し
て実施例1で示したような逐次型分離度フィルタリング
処理に加え、更に計算量を削減する。
By the way, when calculating the sum or the sum of the squares in the rectangular area (that is, R ′ 1 , R ′ 2 , R ′ 3 ) at each point in the separation degree calculation area, as shown in FIG.
It is possible to separate the processing in the horizontal direction and the processing in the vertical direction. By separating the processing in the horizontal direction and the vertical direction, the amount of calculation can be reduced. However, in addition to the sequential type separation degree filtering processing as described in the first embodiment, the calculation amount is further reduced. Reduce.

【0066】図10は垂直方向の処理についてその例を
示したものである。
FIG. 10 shows an example of processing in the vertical direction.

【0067】まず、最初の点(y)ではy+lyiからy
+uyiまでの総和を計算する。但し、y+lyi,y+u
yiは矩形領域の大きさを示す定数である(図8)。次の
点(y+1)では、yにおける計算結果とy+liy,y
+uiyにおける画素値とを用い、y+1における総和を
計算する。従って、この処理を逐次的に行うことにより
計算量の削減が可能となる。
First, at the first point (y), y + l yi to y
Calculate the sum up to + u yi . Where y + l yi , y + u
yi is a constant indicating the size of the rectangular area (FIG. 8). At the next point (y + 1), the calculation result at y and y + liy , y
Using the pixel value at + u iy, the sum at y + 1 is calculated. Therefore, by sequentially performing this processing, the amount of calculation can be reduced.

【0068】Pを例にして、この処理を式により示
す。まず、
[0068] In the P 1 as an example, illustrates this process by the equation. First,

【数7】 である。l1x,l1y,u1x,u1yは図7で示すような領
域の大きさを表す定数である(図中では垂直座標は下へ
いくほど値が大きくなる)。この例の場合、式(24)
で垂直方向の総和を逐次的に求め、式(21)でその結
果の水平方向の総和(即ち領域R’の画素値の総和)
を逐次的に求めていることになる。
(Equation 7) It is. l 1x , l 1y , u 1x , and u 1y are constants representing the size of the region as shown in FIG. 7 (in the figure, the vertical coordinate becomes larger as going downward). In the case of this example, equation (24)
In sequentially obtains the vertical summation, equation (21) As a result of the horizontal sum (ie sum of area R '1 of the pixel value)
Are sequentially obtained.

【0069】ここで、式(20)で演算するのが従来の
方法であり、式(22),式(24)で演算するのが本
発明の方法であり、この式の演算の行い易さ差が演算速
度の差となる。
Here, the conventional method is to perform the calculation using the equation (20), and the method of the present invention is to perform the calculation using the equations (22) and (24). The difference is the difference in the calculation speed.

【0070】同様にP,P,Q,Qは各々以下
のようになる。
Similarly, P 2 , P 3 , Q 1 and Q 2 are as follows.

【0071】[0071]

【数8】 次に、具体的な処理の流れについて、その一例を示す。
フィルタリング領域を図12のように仮定する。但し、
前述のように画像境界部付近での例外的な処理が生じな
いものと仮定する。
(Equation 8) Next, an example of a specific processing flow will be described.
Assume that the filtering area is as shown in FIG. However,
It is assumed that no exceptional processing occurs near the image boundary as described above.

【0072】P’,Pを例にとり説明する。逐次計
算における初期値を求める必要があるため、計算点によ
って計算法を変更する必要がある。また、式(22)よ
り、Pを求める際にフィルタリング領域外のP’
必要なためP’を計算する領域を予めフィルタリング
領域より大きめにとる。
Description will be made by taking P ' 1 and P 1 as examples. Since it is necessary to obtain the initial value in the sequential calculation, it is necessary to change the calculation method depending on the calculation point. Also, from the equation (22) takes the larger than a pre-filtering region an area for calculating the 1 'P for 1 requires' filtering region outside of P when determining the P 1.

【0073】 (a) 領域(x+l,y)−(x+u,y) 式(23)を用いて計算 (b) 領域(x+l,y+1)−(x+u,y
) 式(24)を用いて計算 ここでは、処理(a)が初期値計算処理となる。従っ
て、処理(a)を行った後、処理(b)を行うことより
P’を求める。
[0073] (a) region (x 0 + l x, y o) - (x 1 + u x, y 0) calculated using equation (23) (b) area (x 0 + l x, y o +1) - ( x 1 + u x, y
1 ) Calculation using Expression (24) Here, the process (a) is an initial value calculation process. Therefore, after processing (a), process the P '1 from performing the (b) determining.

【0074】次に、この計算結果を用いPを求める。
やはりこの場合も、初期値計算により、計算点によって
は計算法を変更する必要がある。
Next, determine the P 1 using the calculation result.
Also in this case, it is necessary to change the calculation method depending on the calculation point by the initial value calculation.

【0075】 (c) 処理領域(x,y)−(x+l,y) 式(21)により計算 (d) 処理領域(x+l,y)−(x,y) 式(22)により計算 この場合、処理(c)が初期値処理である。従って、処
理(c)の後、処理(d)を行うことにより各計算点に
おけるPが求まる。
(C) Processing area (x 0 , y o ) − (x 1 +1, y 1 ) Calculated by equation (21) (d) Processing area (x 0 +1, y o ) − (x 1 , y 1) In this case, the process (c) is the initial value process. Accordingly, after the process (c), P 1 is obtained in each calculation point by performing processing (d).

【0076】同様にP’,P’,Q’,Q’
計算できる。従って、式(16)〜(19)により
,S,S,Tが計算でき、式(2),
(3),(4)から、分離度を求めることができる。
Similarly, P ′ 2 , P ′ 3 , Q ′ 1 , and Q ′ 2 can be calculated. Therefore, S 1 by the equation (16) ~ (19), S 2, S a, T a can be calculated, equation (2),
From (3) and (4), the degree of separation can be obtained.

【0077】なお、実施例1,2の逐次型分離度フィル
タリング処理を行うための分離度フィルタリング装置1
0は、パソコンで実現でき、また、この逐次型分離度フ
ィルタリング処理を実現させる機能のためのプログラム
は、FDやCD−ROMに記録されておく。
It should be noted that the separation degree filtering device 1 for performing the sequential separation degree filtering processing of the first and second embodiments.
0 can be realized by a personal computer, and a program for a function of realizing the sequential separation degree filtering processing is recorded in an FD or a CD-ROM.

【0078】[0078]

【発明の効果】本発明によれば、分離度フィルタリング
を行う上で、分離度の定義式からも分かるように、大領
域処理や大きな分離度マスクを使用する場合のその演算
コストの低くでき、処理装置の回路規模を小さくした
り、また、高フレームレートの処理や分離度マスクの選
択の幅が広がる。
According to the present invention, as can be seen from the definition formula of the degree of separation in performing the degree of separation filtering, the operation cost in the case of using a large area processing or a large degree of separation mask can be reduced. The circuit scale of the processing device can be reduced, and the range of processing at a high frame rate and the selection of a separation mask can be widened.

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

【図1】分離度計算に用いる領域形状の例(分離度マス
ク例1)である。
FIG. 1 is an example of a region shape used for calculation of a degree of separation (separation degree mask example 1).

【図2】領域間の関係である。FIG. 2 is a relationship between regions.

【図3】分離度フィルタリングの全体の流れである。FIG. 3 is an overall flow of separation degree filtering.

【図4】分離度フィルタリング装置のブロック図であ
る。
FIG. 4 is a block diagram of a separation degree filtering device.

【図5】分離度フィルタリング処理例1である。FIG. 5 is a first example of separation filtering processing;

【図6】分離度フィルタリング処理例2である。FIG. 6 is a second example of the separation filtering process.

【図7】矩形分離度マスクの例(分離度マスク例2)で
ある。
FIG. 7 is an example of a rectangular separation mask (separation mask example 2).

【図8】矩形分離度マスクの分割である。FIG. 8 illustrates division of a rectangular separation mask.

【図9】分割マスクと分離度マスクの関係FIG. 9 shows a relationship between a division mask and a separation mask.

【図10】水平方向処理と垂直方向処理の分離例であ
る。
FIG. 10 is an example of separation between horizontal processing and vertical processing.

【図11】垂直方向における逐次計算の例である。FIG. 11 is an example of sequential calculation in the vertical direction.

【図12】フィルタリング領域である。FIG. 12 is a filtering area.

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

10 分離度フィルタリング装置 11 初期化処理部 12 部分領域総和・2乗和計算処理部 13 分離度計算処理部 14 制御部 REFERENCE SIGNS LIST 10 separation degree filtering device 11 initialization processing part 12 partial area sum / square sum calculation processing part 13 separation degree calculation processing part 14 control part

Claims (12)

【特許請求の範囲】[Claims] 【請求項1】画像中の領域1、領域2から部分領域総和
と部分領域2乗和を計算し、これら部分領域総和と部分
領域2乗和から分離度をさらに計算することにより前記
画像中の特徴点を抽出する分離度フィルタリング処理装
置において、 現時点の領域1とその現時点より前の時点である前時点
の領域1との重なり部分である部分領域1を求め、現時
点の領域2と前時点の領域2との重なり部分である部分
領域2を求め、現時点の領域1と領域2より生成される
和領域と前時点の和領域との重なり部分である部分和領
域とを求める部分領域処理手段と、 部分領域1、部分領域2及び部分和領域の画素値の総和
である部分領域総和を計算する部分領域総和計算手段
と、 部分領域1、部分領域2及び部分和領域の画素値の2乗
和である部分領域2乗和を計算する部分領域2乗和計算
手段と、 前時点での領域1、領域2及び和領域の画素値の総和で
ある前時点総和と、部分領域総和とから、現時点での領
域1、領域2及び和領域の画素値の総和である現時点総
和を求める現時点総和計算手段と、 前時点での領域1、領域2及び和領域の画素値の2乗和
である前時点2乗和と、部分領域2乗和とから、現時点
での領域1、領域2及び和領域の画素値の2乗和である
現時点2乗和を求める現時点2乗和計算手段と、 現時点総和と現時点2乗和とから分離度を計算する分離
度計算手段とからなることを特徴とする分離度フィルタ
リング処理装置。
1. A partial area sum and a partial area square sum are calculated from an area 1 and an area 2 in an image, and the degree of separation is further calculated from the partial area sum and the partial area square sum. In a separation degree filtering processing apparatus for extracting a feature point, a partial area 1 which is an overlapping portion of a current area 1 and a previous time area 1 which is a time point earlier than the current time area is obtained, and a current area 2 and a previous time area 2 A partial area processing means for determining a partial area 2 which is an overlapping part of the area 2 and obtaining a partial sum area which is an overlapping part of the sum area generated from the current area 1 and the area 2 and the previous sum area; A partial area sum calculating means for calculating a sum of partial areas which is a sum of pixel values of the partial areas 1, 2 and the sum of squares of pixel values of the partial areas 1, 2 and 2. Partial area 2 which is A partial area square sum calculating means for calculating the sum; a previous time total which is the sum of the pixel values of the area 1, the area 2 and the sum area at the previous time; Current sum calculation means for calculating a current sum total which is a sum of pixel values of the sum 2 and the sum area; a previous sum of squares which is a sum of squares of the pixel values of the area 1, the area 2 and the sum area at the previous time; Current square sum calculating means for calculating the current square sum which is the sum of the squares of the pixel values of the current area 1, the area 2 and the sum area from the area sum of squares; A separation degree filtering processing apparatus, comprising: a separation degree calculation unit for calculating a separation degree.
【請求項2】画像中の領域1、領域2から部分領域総和
と部分領域2乗和を計算し、これら部分領域総和と部分
領域2乗和から分離度をさらに計算することにより前記
画像中の特徴点を抽出する分離度フィルタリング処理装
置において、 矩形大領域の中に矩形中領域を重ねて得られる枠状の大
領域を領域1として設定する領域1設定手段と、 矩形中領域の中に矩形小領域を重ねて得られる枠状の小
領域を領域2として設定する領域2設定手段と、 領域1、領域2及び領域1と領域2の和領域の画素値の
総和を矩形大領域、矩形中領域及び矩形小領域の総和か
ら計算する総和計算手段と、 領域1、領域2及び和領域の画素値の2乗和を矩形大領
域、矩形中領域及び矩形小領域の2乗和から計算する2
乗和計算手段と、 領域1、領域2及び和領域の画素値の総和及び2乗和か
ら分離度を計算する分離度計算手段とからなることを特
徴とする分離度フィルタリング処理装置。
2. A partial area sum and a partial area square sum are calculated from the areas 1 and 2 in the image, and a degree of separation is further calculated from the partial area sum and the partial area square sum. A separation degree filtering processing apparatus for extracting a feature point, comprising: a region 1 setting means for setting a frame-shaped large region obtained by superimposing a rectangular medium region on a rectangular large region as a region 1; Area 2 setting means for setting a frame-shaped small area obtained by superimposing small areas as area 2; area 1, area 2, and the sum of pixel values of the sum area of area 1 and area 2, A sum calculating means for calculating the sum of the pixel values of the area 1, the area 2, and the sum area from the sum of the squares of the large rectangular area, the medium rectangular area, and the small rectangular area;
A separation filtering processing apparatus, comprising: a sum of squares calculating means; and a separation degree calculating means for calculating the degree of separation from the sum of the pixel values of the area 1, the area 2, and the sum area and the sum of squares.
【請求項3】前記総和計算手段は、各矩形領域の画素値
の総和の計算を、水平方向と垂直方向の処理に分離して
行い、 前記2乗和計算手段は、各矩形領域の画素値の2乗和の
計算を、水平方向と垂直方向の処理に分離して行うこと
を特徴とする請求項2記載の分離度フィルタリング処理
装置。
3. The method according to claim 1, wherein the sum calculating means calculates the sum of the pixel values of each rectangular area separately in horizontal and vertical processing. 3. The apparatus for filtering the degree of separation according to claim 2, wherein the calculation of the sum of squares is performed separately in horizontal and vertical directions.
【請求項4】現時点の水平方向領域1とその現時点より
前の時点である前時点の水平方向領域1との重なり部分
である水平方向部分領域1を求め、現時点の水平方向領
域2と前時点の水平方向領域2との重なり部分である水
平方向部分領域2を求め、現時点の水平方向領域1と水
平方向領域2より生成される水平方向和領域と前時点の
水平方向和領域との重なり部分である水平方向部分和領
域とを求める水平方向部分領域処理手段と、 現時点の垂直方向領域1とその現時点より前の時点であ
る前時点の垂直方向領域1との重なり部分である垂直方
向部分領域1を求め、現時点の垂直方向領域2と前時点
の垂直方向領域2との重なり部分である垂直方向部分領
域2を求め、現時点の垂直方向領域1と垂直方向領域2
より生成される垂直方向和領域と前時点の垂直方向和領
域との重なり部分である垂直方向部分和領域とを求める
垂直方向部分領域処理手段と、 前記総和計算手段は、水平方向と垂直方向毎に、 部分領域1、部分領域2及び部分和領域の画素値の総和
である部分領域総和を計算する部分領域総和計算手段
と、 前時点での領域1、領域2及び和領域の画素値の総和で
ある前時点総和と、部分領域総和とから、現時点での領
域1、領域2及び和領域の画素値の総和である現時点総
和を求める現時点総和計算手段とを有し、 前記2乗和計算手段は、水平方向と垂直方向毎に、 部分領域1、部分領域2及び部分和領域の画素値の2乗
和である部分領域2乗和を計算する部分領域2乗和計算
手段と、 前時点での領域1、領域2及び和領域の画素値の2乗和
である前時点2乗和と、部分領域2乗和とから、現時点
での領域1、領域2及び和領域の画素値の2乗和である
現時点2乗和を求める現時点2乗和計算手段とを有する
ことを特徴とする請求項3記載の分離度フィルタリング
処理装置。
4. A horizontal partial area 1 which is an overlapping portion between the current horizontal area 1 and the previous horizontal area 1 which is a time before the current time is obtained, and the current horizontal area 2 and the previous time The horizontal part area 2 which is an overlapping part of the horizontal area 2 is obtained, and the overlapping part of the horizontal sum area generated from the current horizontal areas 1 and 2 and the previous horizontal sum area A horizontal partial area processing means for obtaining a horizontal partial sum area which is a vertical partial area which is an overlapping part of a current vertical area 1 and a previous vertical area 1 which is a time point before the current vertical area 1 1 is obtained, a vertical partial area 2 which is an overlapping portion of the current vertical area 2 and the previous vertical area 2 is obtained, and the current vertical area 1 and the current vertical area 2 are obtained.
Vertical partial area processing means for obtaining a vertical partial sum area which is an overlapping part of the vertical sum area generated from the previous vertical sum area and the vertical sum area at the previous point in time. A partial area sum calculating means for calculating a sum of partial areas which is a sum of pixel values of the partial areas 1, 2 and the sum of pixel values of the areas 1, 2 and the sum area at the previous time. And a current sum calculating means for calculating a current sum that is a sum of pixel values of the current area 1, the area 2 and the sum area from the previous time sum and the partial area sum. Means for calculating a partial area sum of squares which is a sum of the squares of the pixel values of the partial area 1, the partial area 2 and the partial sum area for each of the horizontal direction and the vertical direction; Of the pixel values of the region 1, the region 2 and the sum region Current sum of squares calculation means for obtaining the current sum of squares, which is the sum of the squares of the pixel values of the current region 1, the region 2, and the sum region, from the previous sum of squares of the previous time and the sum of the squares of the partial regions. The filtering apparatus according to claim 3, further comprising:
【請求項5】画像中の領域1、領域2から部分領域総和
と部分領域2乗和を計算し、これら部分領域総和と部分
領域2乗和から分離度をさらに計算することにより前記
画像中の特徴点を抽出する分離度フィルタリング処理方
法において、 現時点の領域1とその現時点より前の時点である前時点
の領域1との重なり部分である部分領域1を求め、現時
点の領域2と前時点の領域2との重なり部分である部分
領域2を求め、現時点の領域1と領域2より生成される
和領域と前時点の和領域との重なり部分である部分和領
域とを求める部分領域処理ステップと、 部分領域1、部分領域2及び部分和領域の画素値の総和
である部分領域総和を計算する部分領域総和計算ステッ
プと、 部分領域1、部分領域2及び部分和領域の画素値の2乗
和である部分領域2乗和を計算する部分領域2乗和計算
ステップと、 前時点での領域1、領域2及び和領域の画素値の総和で
ある前時点総和と、部分領域総和とから、現時点での領
域1、領域2及び和領域の画素値の総和である現時点総
和を求める現時点総和計算ステップと、 前時点での領域1、領域2及び和領域の画素値の2乗和
である前時点2乗和と、部分領域2乗和とから、現時点
での領域1、領域2及び和領域の画素値の2乗和である
現時点2乗和を求める現時点2乗和計算ステップと、 現時点総和と現時点2乗和とから分離度を計算する分離
度計算ステップとからなることを特徴とする分離度フィ
ルタリング処理方法。
5. A partial area sum and a partial area square sum are calculated from the areas 1 and 2 in the image, and the degree of separation is further calculated from the partial area sum and the partial area square sum. In the separation degree filtering processing method for extracting a feature point, a partial area 1 which is an overlapping portion of a current area 1 and a previous time area 1 which is a time point earlier than the current time area is obtained, and a current area 2 and a previous time area 2 A partial area processing step of obtaining a partial area 2 which is an overlapping part of the area 2 and obtaining a partial sum area which is an overlapping part of the sum area generated from the current area 1 and the area 2 and the previous sum area; Calculating a partial area sum that is a sum of pixel values of the partial area 1, the partial area 2, and the partial sum area; and a square sum of pixel values of the partial area 1, the partial area 2, and the partial sum area Department A partial area square sum calculating step of calculating the area square sum, a previous time total sum of pixel values of the area 1, the area 2 and the sum area at the previous time, and a partial area total, 1, a current sum calculation step for calculating a current sum that is a sum of pixel values of the area 2 and the sum area; and a previous sum of squares which is a sum of squares of pixel values of the area 1, the area 2 and the sum area at the previous time A current square sum calculation step of calculating a current square sum that is a sum of squares of pixel values of the current region 1, the region 2, and the sum region from the partial region square sum, a current total sum and a current square And a separation degree calculating step of calculating the separation degree from the sum.
【請求項6】画像中の領域1、領域2から部分領域総和
と部分領域2乗和を計算し、これら部分領域総和と部分
領域2乗和から分離度をさらに計算することにより前記
画像中の特徴点を抽出する分離度フィルタリング処理方
法において、 矩形大領域の中に矩形中領域を重ねて得られる枠状の大
領域を領域1として設定する領域1設定ステップと、 矩形中領域の中に矩形小領域を重ねて得られる枠状の小
領域を領域2として設定する領域2設定ステップと、 領域1、領域2及び領域1と領域2の和領域の画素値の
総和を矩形大領域、矩形中領域及び矩形小領域の総和か
ら計算する総和計算ステップと、 領域1、領域2及び和領域の画素値の2乗和を矩形大領
域、矩形中領域及び矩形小領域の2乗和から計算する2
乗和計算ステップと、 領域1、領域2及び和領域の画素値の総和及び2乗和か
ら分離度を計算する分離度計算ステップとからなること
を特徴とする分離度フィルタリング処理方法。
6. A partial area sum and a partial area square sum are calculated from the areas 1 and 2 in the image, and the degree of separation is further calculated from the partial area sum and the partial area square sum. A separation degree filtering method for extracting feature points, comprising: a region 1 setting step of setting as a region 1 a frame-shaped large region obtained by superimposing a rectangular middle region on a rectangular large region; An area 2 setting step of setting a frame-shaped small area obtained by superimposing the small areas as an area 2, and a sum of pixel values of an area 1, an area 2, and a sum area of the area 1 and the area 2, A sum calculation step of calculating from the sum of the area and the small rectangular area; and a square calculation of the square value of the pixel values of the area 1, the area 2, and the sum area from the square sum of the large rectangular area, the middle rectangular area, and the small rectangular area.
A separation degree filtering processing method, comprising: a sum of squares calculation step; and a separation degree calculation step of calculating a separation degree from the sum of the pixel values of the area 1, the area 2, and the sum area and the sum of squares.
【請求項7】前記総和計算ステップは、各矩形領域の画
素値の総和の計算を、水平方向と垂直方向の処理に分離
して行い、 前記2乗和計算ステップは、各矩形領域の画素値の2乗
和の計算を、水平方向と垂直方向の処理に分離して行う
ことを特徴とする請求項6記載の分離度フィルタリング
処理方法。
7. The step of calculating the total sum of the pixel values of each rectangular area is performed separately in horizontal and vertical directions, and the step of calculating the sum of squares includes calculating the pixel value of each rectangular area. 7. The method according to claim 6, wherein the calculation of the sum of the squares is performed separately in horizontal and vertical directions.
【請求項8】現時点の水平方向領域1とその現時点より
前の時点である前時点の水平方向領域1との重なり部分
である水平方向部分領域1を求め、現時点の水平方向領
域2と前時点の水平方向領域2との重なり部分である水
平方向部分領域2を求め、現時点の水平方向領域1と水
平方向領域2より生成される水平方向和領域と前時点の
水平方向和領域との重なり部分である水平方向部分和領
域とを求める水平方向部分領域処理ステップを有し、 現時点の垂直方向領域1とその現時点より前の時点であ
る前時点の垂直方向領域1との重なり部分である垂直方
向部分領域1を求め、現時点の垂直方向領域2と前時点
の垂直方向領域2との重なり部分である垂直方向部分領
域2を求め、現時点の垂直方向領域1と垂直方向領域2
より生成される垂直方向和領域と前時点の垂直方向和領
域との重なり部分である垂直方向部分和領域とを求める
垂直方向部分領域処理ステップを有し、 前記総和計算ステップは、水平方向と垂直方向毎に、 部分領域1、部分領域2及び部分和領域の画素値の総和
である部分領域総和を計算する部分領域総和計算ステッ
プと、 前時点での領域1、領域2及び和領域の画素値の総和で
ある前時点総和と、部分領域総和とから、現時点での領
域1、領域2及び和領域の画素値の総和である現時点総
和を求める現時点総和計算ステップとを有し、 前記2乗和計算ステップは、水平方向と垂直方向毎に、 部分領域1、部分領域2及び部分和領域の画素値の2乗
和である部分領域2乗和を計算する部分領域2乗和計算
ステップと、 前時点での領域1、領域2及び和領域の画素値の2乗和
である前時点2乗和と、部分領域2乗和とから、現時点
での領域1、領域2及び和領域の画素値の2乗和である
現時点2乗和を求める現時点2乗和計算ステップとを有
することを特徴とする請求項7記載の分離度フィルタリ
ング処理方法。
8. A horizontal partial area 1 which is an overlapping portion between the current horizontal area 1 and the previous horizontal area 1 which is a time point before the current time is obtained, and the current horizontal area 2 and the previous time point are obtained. The horizontal part area 2 which is an overlapping part of the horizontal area 2 is obtained, and the overlapping part of the horizontal sum area generated from the current horizontal areas 1 and 2 and the previous horizontal sum area And a horizontal partial area processing step for obtaining a horizontal partial sum area that is a vertical partial area that is the overlapping part of the current vertical area 1 and the previous vertical area 1 that is a time point before the current time. A partial area 1 is obtained, a vertical partial area 2 which is an overlapping portion of the current vertical area 2 and the previous vertical area 2 is obtained, and the current vertical area 1 and the current vertical area 2 are obtained.
A vertical partial area processing step of obtaining a vertical partial sum area, which is an overlapping part of the vertical sum area generated from the previous vertical sum area and the vertical sum area at the previous point in time. For each direction, a partial area sum calculating step of calculating a partial area sum that is the sum of the pixel values of the partial areas 1, 2 and the pixel values of the areas 1, 2 and the sum area at the previous time A current sum calculation step of calculating a current sum that is a sum of pixel values of the current region 1, the region 2, and the sum region from the previous time sum that is the sum of The calculation step includes, for each of the horizontal direction and the vertical direction, a partial area square sum calculating step of calculating a partial area square sum that is a square sum of pixel values of the partial area 1, the partial area 2, and the partial sum area; Region 1 at the time, From the previous sum of squares of the pixel values of the area 2 and the sum area and the sum of the squares of the partial area, the current time which is the sum of the squares of the pixel values of the area 1, the area 2 and the sum area at the present time 8. The method of claim 7, further comprising a current-sum-of-squares calculation step of obtaining a sum of squares.
【請求項9】画像中の領域1、領域2から部分領域総和
と部分領域2乗和を計算し、これら部分領域総和と部分
領域2乗和から分離度をさらに計算することにより前記
画像中の特徴点を抽出する分離度フィルタリング処理を
実現するプログラムを記録した記録媒体において、 現時点の領域1とその現時点より前の時点である前時点
の領域1との重なり部分である部分領域1を求め、現時
点の領域2と前時点の領域2との重なり部分である部分
領域2を求め、現時点の領域1と領域2より生成される
和領域と前時点の和領域との重なり部分である部分和領
域とを求める部分領域処理機能と、 部分領域1、部分領域2及び部分和領域の画素値の総和
である部分領域総和を計算する部分領域総和計算機能
と、 部分領域1、部分領域2及び部分和領域の画素値の2乗
和である部分領域2乗和を計算する部分領域2乗和計算
機能と、 前時点での領域1、領域2及び和領域の画素値の総和で
ある前時点総和と、部分領域総和とから、現時点での領
域1、領域2及び和領域の画素値の総和である現時点総
和を求める現時点総和計算機能と、 前時点での領域1、領域2及び和領域の画素値の2乗和
である前時点2乗和と、部分領域2乗和とから、現時点
での領域1、領域2及び和領域の画素値の2乗和である
現時点2乗和を求める現時点2乗和計算機能と、 現時点総和と現時点2乗和とから分離度を計算する分離
度計算機能とを実現するためのプログラムを記録したこ
とを特徴とする分離度フィルタリング処理のプログラム
を記録した記録媒体。
9. A partial area sum and a partial area sum are calculated from the areas 1 and 2 in the image, and the degree of separation is further calculated from the partial area sum and the partial area sum. On a recording medium storing a program for realizing a degree-of-separation filtering process for extracting a feature point, a partial area 1 which is an overlapping portion of the current area 1 and the previous time area 1 which is a time point before the current time is obtained. A partial area 2 which is an overlapping portion between the current area 2 and the previous time area 2 is obtained, and a partial sum area which is an overlapping portion between the current area 1 and the sum area generated from the area 2 and the previous time sum area. A partial area summation function for calculating a partial area sum that is the sum of the pixel values of the partial areas 1, 2 and the partial area 1, a partial area 2, and a partial sum Territory A partial area sum-of-squares calculation function for calculating a partial area sum-of-squares which is a sum of squares of the pixel values of: a sum of pixel values of the area 1, the area 2 and the sum area at the previous time; A current sum calculation function for calculating a current sum that is the sum of the pixel values of the current region 1, the region 2 and the sum region from the partial region sum; and a current sum calculation function for calculating the pixel values of the region 1, the region 2 and the sum region at the previous time. From the previous sum of squares, which is the sum of squares, and the sum of squares of the partial area, the current sum of squares, which is the sum of the squares of the pixel values of the current area 1, the area 2, and the sum area, is obtained. A recording medium storing a program for a separation degree filtering process, wherein a program for realizing a calculation function and a separation degree calculation function for calculating a separation degree from a current sum and a current square sum is recorded.
【請求項10】画像中の領域1、領域2から部分領域総
和と部分領域2乗和を計算し、これら部分領域総和と部
分領域2乗和から分離度をさらに計算することにより前
記画像中の特徴点を抽出する分離度フィルタリング処理
を実現するプログラムを記録した記録媒体において、 矩形大領域の中に矩形中領域を重ねて得られる枠状の大
領域を領域1として設定する領域1設定機能と、 矩形中領域の中に矩形小領域を重ねて得られる枠状の小
領域を領域2として設定する領域2設定機能と、 領域1、領域2及び領域1と領域2の和領域の画素値の
総和を矩形大領域、矩形中領域及び矩形小領域の総和か
ら計算する総和計算機能と、 領域1、領域2及び和領域の画素値の2乗和を矩形大領
域、矩形中領域及び矩形小領域の2乗和から計算する2
乗和計算機能と、 領域1、領域2及び和領域の画素値の総和及び2乗和か
ら分離度を計算する分離度計算機能とを実現するための
プログラムを記録したことを特徴とする分離度フィルタ
リング処理のプログラムを記録した記録媒体。
10. A partial area sum and a partial area square sum are calculated from the area 1 and the area 2 in the image, and the degree of separation is further calculated from the partial area sum and the partial area square sum. An area 1 setting function for setting a frame-shaped large area obtained by superimposing a rectangular middle area on a rectangular large area as an area 1 in a recording medium storing a program for realizing a separation degree filtering process for extracting a feature point; An area 2 setting function for setting a frame-shaped small area obtained by superimposing a rectangular small area on a middle rectangular area as an area 2, and an area 1, an area 2 and a pixel value of a sum area of the area 1 and the area 2 A sum calculation function for calculating the sum from the sum of the large rectangular area, the medium rectangular area, and the small rectangular area; and the square sum of the pixel values of the areas 1, 2, and the large area, the medium rectangular area, and the small rectangular area. 2 calculated from the sum of squares of
A separation degree characterized by recording a program for realizing a sum of squares calculation function and a separation degree calculation function of calculating a separation degree from a sum of pixel values of a region 1, a region 2 and a sum region and a square sum. A recording medium on which a program for filtering processing is recorded.
【請求項11】前記総和計算機能は、各矩形領域の画素
値の総和の計算を、水平方向と垂直方向の処理に分離し
て行い、 前記2乗和計算機能は、各矩形領域の画素値の2乗和の
計算を、水平方向と垂直方向の処理に分離して行うこと
を特徴とする請求項10記載の分離度フィルタリング処
理のプログラムを記録した記録媒体。
11. The summation function performs the calculation of the sum of the pixel values of each rectangular area separately in horizontal and vertical processing, and the square sum calculation function calculates the pixel value of each rectangular area. 11. The recording medium according to claim 10, wherein the calculation of the sum of squares is performed separately in horizontal and vertical directions.
【請求項12】現時点の水平方向領域1とその現時点よ
り前の時点である前時点の水平方向領域1との重なり部
分である水平方向部分領域1を求め、現時点の水平方向
領域2と前時点の水平方向領域2との重なり部分である
水平方向部分領域2を求め、現時点の水平方向領域1と
水平方向領域2より生成される水平方向和領域と前時点
の水平方向和領域との重なり部分である水平方向部分和
領域とを求める水平方向部分領域処理機能を有し、 現時点の垂直方向領域1とその現時点より前の時点であ
る前時点の垂直方向領域1との重なり部分である垂直方
向部分領域1を求め、現時点の垂直方向領域2と前時点
の垂直方向領域2との重なり部分である垂直方向部分領
域2を求め、現時点の垂直方向領域1と垂直方向領域2
より生成される垂直方向和領域と前時点の垂直方向和領
域との重なり部分である垂直方向部分和領域とを求める
垂直方向部分領域処理機能を有し、 前記総和計算機能は、水平方向と垂直方向毎に、 部分領域1、部分領域2及び部分和領域の画素値の総和
である部分領域総和を計算する部分領域総和計算機能
と、 前時点での領域1、領域2及び和領域の画素値の総和で
ある前時点総和と、部分領域総和とから、現時点での領
域1、領域2及び和領域の画素値の総和である現時点総
和を求める現時点総和計算機能とを有し、 前記2乗和計算機能は、水平方向と垂直方向毎に、 部分領域1、部分領域2及び部分和領域の画素値の2乗
和である部分領域2乗和を計算する部分領域2乗和計算
機能と、 前時点での領域1、領域2及び和領域の画素値の2乗和
である前時点2乗和と、部分領域2乗和とから、現時点
での領域1、領域2及び和領域の画素値の2乗和である
現時点2乗和を求める現時点2乗和計算機能とを有する
ことを特徴とする請求項11記載の分離度フィルタリン
グ処理のプログラムを記録した記録媒体。
12. A horizontal partial area 1 which is an overlapping portion of a current horizontal area 1 and a previous horizontal area 1 which is a time point before the current time is obtained, and a current horizontal area 2 and a previous time point are obtained. The horizontal part area 2 which is an overlapping part of the horizontal area 2 is obtained, and the overlapping part of the horizontal sum area generated from the current horizontal areas 1 and 2 and the previous horizontal sum area And has a horizontal partial area processing function for obtaining a horizontal partial sum area that is a vertical partial sum area, and a vertical direction that is an overlapping part of the current vertical area 1 and the previous vertical area 1 that is a time point before the current time. A partial area 1 is obtained, a vertical partial area 2 which is an overlapping portion of the current vertical area 2 and the previous vertical area 2 is obtained, and the current vertical area 1 and the current vertical area 2 are obtained.
A vertical partial area processing function for obtaining a vertical partial sum area that is an overlapping part of the vertical sum area generated from the previous vertical sum area and a vertical sum area at a previous time point. For each direction, a partial area sum calculation function for calculating the sum of the partial areas, which is the sum of the pixel values of the partial areas 1, 2 and the pixel values of the areas 1, 2 and the sum area at the previous time A total sum of pixel values of the current region 1, the region 2 and the sum region, and a current total sum calculating function for calculating a current total sum of pixel values of the current region 1, the region 2 and the sum region from the previous total sum of The calculation function includes, for each of the horizontal direction and the vertical direction, a partial area square sum calculation function for calculating a partial area square sum that is a sum of squares of pixel values of the partial area 1, the partial area 2, and the partial sum area; Pixel values of region 1, region 2, and sum region at the time From the previous sum of squares, which is the sum of squares, and the sum of squares of the partial area, the current sum of squares, which is the sum of the squares of the pixel values of the current area 1, the area 2, and the sum area, is obtained. 12. A recording medium storing a program for a degree of separation filtering process according to claim 11, which has a calculation function.
JP24871497A 1997-09-12 1997-09-12 Separation degree filtering processor Pending JPH1185996A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP24871497A JPH1185996A (en) 1997-09-12 1997-09-12 Separation degree filtering processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP24871497A JPH1185996A (en) 1997-09-12 1997-09-12 Separation degree filtering processor

Publications (1)

Publication Number Publication Date
JPH1185996A true JPH1185996A (en) 1999-03-30

Family

ID=17182257

Family Applications (1)

Application Number Title Priority Date Filing Date
JP24871497A Pending JPH1185996A (en) 1997-09-12 1997-09-12 Separation degree filtering processor

Country Status (1)

Country Link
JP (1) JPH1185996A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008194239A (en) * 2007-02-13 2008-08-28 Toshiba Corp Image processing apparatus and method for the same
JP2013246674A (en) * 2012-05-28 2013-12-09 Nippon Telegr & Teleph Corp <Ntt> Figure detection processing device, figure detection processing method and figure detection processing program

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008194239A (en) * 2007-02-13 2008-08-28 Toshiba Corp Image processing apparatus and method for the same
JP2013246674A (en) * 2012-05-28 2013-12-09 Nippon Telegr & Teleph Corp <Ntt> Figure detection processing device, figure detection processing method and figure detection processing program

Similar Documents

Publication Publication Date Title
EP1329850B1 (en) Apparatus, program and method for detecting both stationary objects and moving objects in an image
CN106960195A (en) A kind of people counting method and device based on deep learning
CN107451976A (en) A kind of image processing method and device
KR960013967A (en) How to detect waiting passengers in an elevator
WO2022012034A1 (en) Image processing method and apparatus, electronic device, and storage medium
CN111881846B (en) Image processing method, image processing apparatus, image processing device, image processing apparatus, storage medium, and computer program
JP6028972B2 (en) Image processing apparatus, image processing method, and image processing program
JPH1185996A (en) Separation degree filtering processor
JP2001116513A (en) Distance image calculating device
JP2004240909A (en) Image processor and image processing method
CN113544701A (en) Method and device for detecting associated object
JP3781835B2 (en) Video image segmentation device
JP2000124281A (en) Pattern search method and apparatus
JPH04307668A (en) Method and device for preparing schematic picture
JP2000311244A (en) Matching method for picture
JP3447751B2 (en) Pattern recognition method
JP3727731B2 (en) Motion estimation apparatus for moving images
US20240048863A1 (en) Method and apparatus for estimating a value in a table generated by a photosites matrix
TWI617175B (en) Image detection acceleration method
JP3137084B2 (en) Motion detection apparatus and method
JPH1091793A (en) Optical flow calculation method and device
JP2008288697A (en) Image processing apparatus and image processing method
JP4235855B2 (en) Image processing apparatus and method, and recording medium
JP2000182056A (en) Picture processor
CN116740178A (en) Anchor-based dense single-stage human body posture estimation method