JP6898546B2 - Information processing equipment, control methods, and programs - Google Patents
Information processing equipment, control methods, and programs Download PDFInfo
- Publication number
- JP6898546B2 JP6898546B2 JP2016145371A JP2016145371A JP6898546B2 JP 6898546 B2 JP6898546 B2 JP 6898546B2 JP 2016145371 A JP2016145371 A JP 2016145371A JP 2016145371 A JP2016145371 A JP 2016145371A JP 6898546 B2 JP6898546 B2 JP 6898546B2
- Authority
- JP
- Japan
- Prior art keywords
- image
- cumulative
- gradient
- pixels
- linear
- 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.)
- Active
Links
Images
Landscapes
- Length Measuring Devices By Optical Means (AREA)
- Investigating Materials By The Use Of Optical Means Adapted For Particular Applications (AREA)
- Testing Or Measuring Of Semiconductors Or The Like (AREA)
- Image Processing (AREA)
- Image Analysis (AREA)
Description
本発明は、製造物のキズを判別する技術に関する。 The present invention relates to a technique for discriminating scratches on a product.
製造物の完成度を測るために、ユーザがカメラ等で製造物を撮影して得られた画像を処理することで、製造物の検証を行う方法が存在する。 In order to measure the degree of perfection of a product, there is a method of verifying the product by processing an image obtained by a user taking a picture of the product with a camera or the like.
その方法の一例として、吊り金具に支持硝子や剛体架線をそれぞれ固定するボルトの有無を検査するにあたり、これらを撮影して得られた画像に関して、各画素位置における輝度勾配方向を計算し、テンプレート化された輝度勾配方向を比較して、ボルトの有無を検査する方法が存在する(例えば、特許文献1参照)。 As an example of the method, when inspecting the presence or absence of bolts for fixing the supporting glass and the rigid overhead wire to the hanging bracket, the brightness gradient direction at each pixel position is calculated for the image obtained by photographing these and made into a template. There is a method of inspecting the presence or absence of bolts by comparing the obtained luminance gradient directions (see, for example, Patent Document 1).
しかしながら、製造物によって撮影された画像には、撮影によるノイズが含まれることがあり、このノイズのために、製造物自身に存在するキズの判別がしにくいといった問題がある。 However, the image taken by the product may contain noise due to the shooting, and there is a problem that it is difficult to discriminate the scratches existing in the product itself due to this noise.
特許文献1に記載の発明では、製造物自身に存在するキズの判別を行うことについては、記載や示唆はなく、想定されるキズの輝度勾配方向に関してテンプレート化することも、キズのパターンが多様であるため現実的でない。
In the invention described in
そこで、本発明では、画像において線状の画素群の存在を精度良く判別することが可能な情報処理装置、制御方法、及びプログラムを提供することを目的とする。
Therefore, an object of the present invention is to provide an information processing device, a control method, and a program capable of accurately discriminating the existence of linear pixel groups in an image.
上記目的を達成するために、画像を任意の開始位置に基づき複数の所定の形状およびサイズの領域に区分する区分手段と、前記区分された領域の画素毎の輝度の勾配方向及び勾配強度に基づき、同様な勾配方向を有する画素の勾配強度を累積する累積手段と、前記累積手段の累積結果が所定の条件を満たす画素が線状となるか否かを判定する判定手段と、を備え、前記区分手段は、前記開始位置から任意の方向にずらした開始位置に基づき前記画像を新たな複数の前記所定の形状およびサイズの領域に区分することを特徴とする。
In order to achieve the above object, the image is divided into a plurality of regions having a predetermined shape and size based on an arbitrary start position, and based on the gradient direction and the gradient intensity of the brightness of each pixel in the divided regions. The accumulating means for accumulating the gradient intensities of pixels having the same gradient direction, and the determining means for determining whether or not the pixels satisfying a predetermined condition as the cumulative result of the accumulating means are linear. The classification means is characterized in that the image is divided into a plurality of new regions of the predetermined shape and size based on the start position shifted from the start position in an arbitrary direction.
本発明によれば、画像において線状の画素群の存在を精度良く判別することができる、という効果を奏する。
According to the present invention, there is an effect that the existence of linear pixel groups can be accurately determined in an image.
以下、図面を参照して、本発明の実施形態を詳細に説明する。 Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings.
図1は、本発明の線状キズ有無判別システム100の構成の一例を示すシステム構成図である。
FIG. 1 is a system configuration diagram showing an example of the configuration of the linear scratch presence /
図1は、カメラ102及び情報処理装置であるPC104が画像転送ケーブル(USB、イーサネット、カメラリンクなど)を介して接続される構成となっている。尚、このような構成を備えなくとも、カメラを備えた情報処理装置としての構成でも良い。
FIG. 1 shows a configuration in which a
PC104は、画像転送ケーブルを介してカメラ102で撮影対象を撮影して得られた画像を取得し、画像内の線状キズ有無判別に関する処理を実行する。
The PC 104 acquires an image obtained by photographing an image to be photographed by the
また、本実施形態の線状キズ有無判別システム100は、上述した構成のカメラ102が存在しない構成であってもよい。
Further, the linear scratch presence /
その場合は、PC104のメモリ(RAM)に格納された画像に対して、画像内の線状キズ有無判別に関する処理を実行する。
In that case, the image stored in the memory (RAM) of the
以下、図2を用いて、図1に示したPC104に適用可能な情報処理装置のハードウェア構成について説明する。 Hereinafter, the hardware configuration of the information processing apparatus applicable to the PC 104 shown in FIG. 1 will be described with reference to FIG.
図2は、図1に示したPC104に適用可能な情報処理装置のハードウェア構成を示すブロック図である。 FIG. 2 is a block diagram showing a hardware configuration of an information processing device applicable to the PC 104 shown in FIG.
図2において、201はCPUで、システムバス204に接続される各デバイスやコントローラを統括的に制御する。また、ROM202あるいは外部メモリ212には、CPU201の制御プログラムであるBIOS(Basic Input / Output System)やオペレーティングシステムプログラム(以下、OS)や、各PCの実行する機能を実現するために必要な後述する各種プログラム等が記憶されている。
In FIG. 2, 201 is a CPU that comprehensively controls each device and controller connected to the
203はRAMで、CPU201の主メモリ、ワークエリア等として機能する。CPU201は、処理の実行に際して必要なプログラム等をROM202あるいは外部メモリ212からRAM203にロードして、該ロードしたプログラムを実行することで各種動作を実現するものである。
205は入力コントローラで、キーボード(KB)210や不図示のマウス等のポインティングデバイス等からの入力を制御する。
206はビデオコントローラでディスプレイ211等の表示器への表示を制御する。
207はメモリコントローラで、各種データを記憶する外部記憶装置(ハードディスク(HD))や、フレキシブルディスク(FD)、或いはPCMCIAカードスロットにアダプタを介して接続されるコンパクトフラッシュ(登録商標)メモリ等の外部メモリ212へのアクセスを制御する。
208は通信I/Fコントローラで、ネットワーク(TCP/IP)を介して外部PC213からの画像データの受信を制御する。
209は画像I/Fコントローラで、画像転送ケーブル(USB、イーサネット、カメラリンク等)を介してカメラ102からの画像データの受信を制御する。
本発明を実現するための後述する各種プログラムは、RAM203に記録され、CPU201によって実行されるものである。
Various programs described later for realizing the present invention are recorded in the
また、上記プログラムの実行時に用いられる画像データは、用途に応じてROM202、外部メモリ212、外部PC213、及びカメラ102に格納されており、プログラム実行時に各種コントローラを介してRAM203に格納される。
The image data used when the program is executed is stored in the
次に、図3を用いて、本発明の情報処理装置としてのPC104の機能ブロック図について説明する。 Next, a functional block diagram of the PC104 as the information processing apparatus of the present invention will be described with reference to FIG.
尚、各機能ブロックが処理する詳細な制御については、後述するフローチャートにて説明する。 The detailed control processed by each functional block will be described with reference to the flowchart described later.
画像取得手段301は、用途に応じてROM202、外部メモリ212、外部PC213、及びカメラ102から画像データを取得し、RAM203に格納する。
The image acquisition means 301 acquires image data from the
画像処理手段302は、画像取得手段301でRAM203に格納された画像データに対して、線状キズ有無判別の画像処理を実行する。
The image processing means 302 executes image processing for determining the presence or absence of linear scratches on the image data stored in the
判別結果出力機能303は、画像処理手段302で実行された判別結果をディスプレイ211に表示する。または、判別結果をファイルとしてRAM203に格納する。
The discrimination
尚、各機能の詳細については、フローチャートの各処理において説明する。 The details of each function will be described in each process of the flowchart.
以下、図4を参照して、本実施形態の線状キズ有無判別システム100における線状キズ有無判別処理について説明する。
Hereinafter, the linear scratch presence / absence determination process in the linear scratch presence /
ステップS101では、画像取得手段301において、ROM202、外部メモリ212、外部PC213、あるいはカメラ102から画像データを取得する。
In step S101, the image acquisition means 301 acquires image data from the
画像データには、線状キズ有りの画像、または、線状キズ無しの画像が存在する(図5参照)。 The image data includes an image with linear scratches or an image without linear scratches (see FIG. 5).
図5に示す画像は、例えば、半導体ウェハをカメラ102で撮影した際に得られた画像の例を示しており、左側が、線状のキズが有る画像を示しており、右側が、線状のキズの無い画像を示したものである。
The image shown in FIG. 5 shows, for example, an example of an image obtained when a semiconductor wafer is photographed by a
ステップS102では、画像処理手段302において、ステップS101で取得した画像の画素毎に輝度の勾配方向を算出する(図6参照)。 In step S102, the image processing means 302 calculates the gradient direction of the brightness for each pixel of the image acquired in step S101 (see FIG. 6).
図6に示す画像は、図5に示す画像の各画素に関して輝度の勾配方向を算出している。左側が、左側が、線状のキズが有る画像に関する輝度の勾配方向を矢印で示しており、右側が、線状のキズの無い画像に関する輝度の勾配方向を矢印で示したものである。 In the image shown in FIG. 6, the gradient direction of the brightness is calculated for each pixel of the image shown in FIG. On the left side, the left side indicates the luminance gradient direction for an image having linear scratches, and the right side indicates the luminance gradient direction for an image without linear scratches.
また、ステップS103では、画像処理手段302において、ステップS101で取得した画像の画素毎に輝度の勾配強度を算出する。 Further, in step S103, the image processing means 302 calculates the gradient intensity of the brightness for each pixel of the image acquired in step S101.
後段の処理では、ステップ102及びステップ103で取得した輝度の勾配方向、及び、勾配強度を用いて、線状キズの有無を判定する。ただし、画像全体のサイズに対して、存在しうる線状キズのサイズが小さい場合、線状キズによる勾配強度の累積値がノイズによる勾配強度の累積値を下回る場合がある。
In the subsequent processing, the presence or absence of linear scratches is determined using the gradient direction of the luminance acquired in
上記の場合に対応するため、画像全体ではなく、任意の区分領域毎に輝度の勾配強度の累積値を算出する。ステップS104からステップS107では、画像を区分する方法について記述する。 In order to correspond to the above case, the cumulative value of the gradient intensity of the brightness is calculated for each arbitrary division region instead of the entire image. From step S104 to step S107, a method of classifying images will be described.
ステップS104では、画像処理手段302において、画像の左上を開始位置して画像を区分する。1つの区分領域のサイズ(幅と高さ)は、画像内に存在しうる線状キズの平均的なサイズをもとに設定する。例えば、図7に示すように、1つの区分領域のサイズを画像サイズの1/4とした場合、16個(4×4)の区分領域が作成される。 In step S104, the image processing means 302 divides the image by positioning the upper left corner of the image at the start position. The size (width and height) of one division area is set based on the average size of linear scratches that may exist in the image. For example, as shown in FIG. 7, when the size of one division area is 1/4 of the image size, 16 (4 × 4) division areas are created.
ステップS105では、画像処理手段302において、画像の左上から区分領域サイズの1/2だけ右に開始位置をずらし、区分領域が画像外にはみ出さないように画像を区分する。例えば、1つの区分領域のサイズを画像サイズの1/4とした場合、12個(3×4)の区分領域が作成される。 In step S105, the image processing means 302 shifts the start position from the upper left of the image to the right by 1/2 of the division area size, and divides the image so that the division area does not protrude from the image. For example, if the size of one division area is 1/4 of the image size, 12 (3 × 4) division areas are created.
ステップS106では、画像処理手段302において、画像の左上から区分領域サイズの1/2だけ下に開始位置をずらし、区分領域が画像外にはみ出さないように画像を区分する。例えば、1つの区分領域のサイズを画像サイズの1/4とした場合、12個(4×3)の区分領域が作成される。 In step S106, the image processing means 302 shifts the start position from the upper left of the image to 1/2 of the division area size, and divides the image so that the division area does not protrude from the image. For example, if the size of one division area is 1/4 of the image size, 12 (4 × 3) division areas are created.
ステップS107では、画像処理手段302において、画像の左上から区分領域サイズの1/2だけ右下に開始位置をずらし、区分領域が画像外にはみ出さないように画像を区分する。例えば、図8に示すように、1つの区分領域のサイズを画像サイズの1/4とした場合、9個(3×3)の区分領域が作成される。 In step S107, the image processing means 302 shifts the start position from the upper left of the image to the lower right by 1/2 of the division area size, and divides the image so that the division area does not protrude from the image. For example, as shown in FIG. 8, when the size of one division area is 1/4 of the image size, nine (3 × 3) division areas are created.
ステップS104からステップS107で作成される区分領域は互いにオーバーラップしている。区分領域をオーバーラップして作成する目的は、画像内の1個の線状キズをなるべく複数の区分領域に跨らないように、1個の線状キズの大部分を1個の区分領域内に含めることである。 The compartmentalized areas created in steps S104 to S107 overlap each other. The purpose of creating by overlapping the division areas is to cover most of the linear scratches in one division area so that one linear scratch in the image does not straddle a plurality of division areas as much as possible. Is to be included in.
ステップS105からステップS107のずらし量は、区分領域サイズの1/2としているが、上記の目的を満たすために、1/4、1/8、1/16等のずらし量を追加し、区分領域を増やしてもよい。 The shift amount from step S105 to step S107 is 1/2 of the division area size, but in order to satisfy the above object, a shift amount such as 1/4, 1/8, 1/16, etc. is added to divide the division area. May be increased.
ステップS108では、画像処理手段302において、図9に示すように、ステップS104からステップS107で作成された区分領域毎に、ステップS102、ステップS103で算出した画素の輝度の同一勾配方向の勾配強度を累積する。 In step S108, as shown in FIG. 9, in the image processing means 302, for each division region created in steps S104 to S107, the gradient intensity of the pixel brightness calculated in steps S102 and S103 in the same gradient direction is determined. Accumulate.
図9に示すヒストグラムは、左から、ステップS104からステップS107において、画像を区分した1つめの領域を示しており、中央では、画像を区分したM番目の領域を示しており、右は、画像を区分したN番目の領域を示している。 The histogram shown in FIG. 9 shows the first region in which the image is divided in steps S104 to S107 from the left, the M-th region in which the image is divided in the center, and the image on the right. The Nth region is shown.
このヒストグラムは、横軸を画素の勾配強度を示し、縦軸を画素の勾配強度を示している。 In this histogram, the horizontal axis indicates the gradient intensity of the pixel, and the vertical axis indicates the gradient intensity of the pixel.
ステップS109では、画像処理手段302において、ステップS108で算出した各区分領域の累積値、または、全てのそれぞれの区分領域の累積値から最大値を算出する。上記のいずれの累積値を用いるかは、用途に応じて変更可能とする。 In step S109, the image processing means 302 calculates the maximum value from the cumulative value of each division area calculated in step S108 or the cumulative value of all the division areas. Which of the above cumulative values is used can be changed according to the application.
ステップS110では、画像処理手段302において、ステップS108で算出した各区分領域の累積値、または、全ての区分領域の累積値から平均・分散を算出する。上記のいずれの累積値を用いるかは、用途に応じて変更可能とする。 In step S110, the image processing means 302 calculates the average / variance from the cumulative value of each division region calculated in step S108 or the cumulative value of all division regions. Which of the above cumulative values is used can be changed according to the application.
ステップS111では、画像処理手段302において、ステップS109で算出した最大値が一定値未満か否かを判定する。一定値未満の場合は、ステップS112に進み、一定値以上の場合は、ステップS113に進む。 In step S111, the image processing means 302 determines whether or not the maximum value calculated in step S109 is less than a certain value. If it is less than a certain value, the process proceeds to step S112, and if it is more than a certain value, the process proceeds to step S113.
ステップS112では、画像処理手段302において、ステップS110で算出した分散が一定値未満か否かを判定する。一定値未満の場合は、ステップS115に進み、一定値以上の場合は、ステップS113に進む。 In step S112, the image processing means 302 determines whether or not the variance calculated in step S110 is less than a certain value. If it is less than a certain value, the process proceeds to step S115, and if it is more than a certain value, the process proceeds to step S113.
ステップS113では、画像処理手段302において、ステップS108で算出した各区分領域の累積値を参照し、累積値が一定値以上の勾配方向に含まれる画素の位置を画像上にプロットする(図10参照)。この処理により、線状キズに含まれる画素が多く取得され、画像上にプロットされることを期待する。 In step S113, the image processing means 302 refers to the cumulative value of each division region calculated in step S108, and plots the positions of the pixels included in the gradient direction in which the cumulative value is a certain value or more on the image (see FIG. 10). ). It is expected that many pixels included in the linear scratches will be acquired by this processing and plotted on the image.
図10においては、左に示す区分領域L、・・・区分領域Mの各ヒストグラムから、累積値が一定値以上の勾配方向に含まれる画素の位置を、右に示すように画像上にプロットする。 In FIG. 10, from each histogram of the division area L and the division area M shown on the left, the positions of the pixels whose cumulative values are included in the gradient direction of a certain value or more are plotted on the image as shown on the right. ..
ステップS114では、画像処理手段302において、ステップS113で作成された画像を用いて、プロットされた画素が同一直線上に存在するか否かを判定する。同一直線上に存在するか否かの判定では、既存の画像処理技術(ハフ変換、RANSAC等)で直線を検出し、直線上に存在する画素数や割合などを利用する。 In step S114, the image processing means 302 uses the image created in step S113 to determine whether or not the plotted pixels exist on the same straight line. In determining whether or not they exist on the same straight line, the straight line is detected by existing image processing techniques (Hough transform, RANSAC, etc.), and the number and ratio of pixels existing on the straight line are used.
プロットされた画素が同一直線上に存在すると判定された場合はステップS116に進み、そうでない場合はステップS115に進む。 If it is determined that the plotted pixels are on the same straight line, the process proceeds to step S116, and if not, the process proceeds to step S115.
ステップS115では、画像処理手段302において、画像内に線状キズなしと判定し、ステップS116では、画像処理手段302において、画像内に線状キズありと判定する。 In step S115, the image processing means 302 determines that there are no linear scratches in the image, and in step S116, the image processing means 302 determines that there are linear scratches in the image.
ステップS117では、判別結果出力機能303において、ステップS115及びステップS116の判定結果から判別結果をディスプレイ、或いはファイル等に出力する。
In step S117, the discrimination
判別結果としては、図11に示す判定結果確認画面400のよう、線状キズ有/無(或いはNG/OK)401、中心位置402、サイズ403、長さ404、強度405、方向406などがある。判別結果をディスプレイに表示する場合は、画像上に判別結果の情報を図示してもよい。
[変形例]
As the discrimination result, as shown in the judgment
[Modification example]
以下、図12を参照して、前述の線状キズ有無判別システムにおける画像処理機能の追加処理について説明する。 Hereinafter, with reference to FIG. 12, additional processing of the image processing function in the above-mentioned linear scratch presence / absence determination system will be described.
図12に示すフローチャートは、図4に示すフローチャートを改良したものである。 The flowchart shown in FIG. 12 is an improvement of the flowchart shown in FIG.
図4に示すフローチャートのステップS114において、プロットされた画素が同一直線上に存在すると判定された場合、図12に示すフローチャートのステップS201に進む。 If it is determined in step S114 of the flowchart shown in FIG. 4 that the plotted pixels exist on the same straight line, the process proceeds to step S201 of the flowchart shown in FIG.
ステップS201では、画像処理手段302において、同一直線上に存在する画素の2端点を取得する。 In step S201, the image processing means 302 acquires two endpoints of pixels existing on the same straight line.
ステップ202では、画像処理手段302において、図13に示すように、2端点の座標を中心に一定サイズの画像を切り出す。一定サイズは画像内に存在しうる線状キズの平均的なサイズから算出する。
In
ステップS203では、画像処理手段302において、切り出し画像の上下左右の端1列の画素のみを参照し、その画素にプロットされた画素が存在するか否かを判定する。 In step S203, the image processing means 302 refers only to the pixels in the top, bottom, left, and right edges of the cropped image, and determines whether or not the plotted pixels exist in the pixels.
線状キズの場合は、画素間がつながってキズが生じるため、図14の上段に示すように、切り出し画像の上下左右の端1列にプロットされた画素が存在するが、ノイズの場合は、画素間がつながっておらず、図14の下段に示すように、プロットされた画像が存在しない。本処理は、2端点の切り出し画像についてそれぞれ個別に判定する。 In the case of linear scratches, the pixels are connected to each other to cause scratches. Therefore, as shown in the upper part of FIG. 14, there are pixels plotted in one row at the top, bottom, left, and right edges of the cutout image. The pixels are not connected, and as shown in the lower part of FIG. 14, there is no plotted image. In this process, each of the cut-out images of the two end points is individually determined.
ステップS204では、画像処理手段302において、ステップS203で2端点の切り出し画像に両方ともプロットされた画像が存在する場合は、線状キズであると判定し、図4に示すフローチャートのステップS116に進む。そうでない場合は、ノイズであると判定し、図4のフローチャートのステップS115に進む。 In step S204, if the image processing means 302 has an image plotted in both of the cut-out images of the two endpoints in step S203, it is determined that the image is a linear scratch, and the process proceeds to step S116 of the flowchart shown in FIG. .. If not, it is determined that there is noise, and the process proceeds to step S115 of the flowchart of FIG.
以上、本発明によれば、物体を撮影して得られた画像を用いて、当該物体のキズを精度良く判別することができる。 As described above, according to the present invention, it is possible to accurately discriminate scratches on an object by using an image obtained by photographing the object.
なお、上述した各種データの構成及びその内容はこれに限定されるものではなく、用途や目的に応じて、様々な構成や内容で構成されることは言うまでもない。 It should be noted that the structure and contents of the various data described above are not limited to this, and it goes without saying that the structure and contents are various depending on the intended use and purpose.
以上、一実施形態について示したが、本発明は、例えば、方法、プログラムもしくは記録媒体等としての実施態様をとることが可能である。 Although one embodiment has been described above, the present invention can take an embodiment as, for example, a method, a program, a recording medium, or the like.
また、本発明におけるプログラムは、図9に示すフローチャートの処理方法をコンピュータが実行可能なプログラムである。なお、本発明におけるプログラムは図7の各装置の処理方法ごとのプログラムであってもよい。 Further, the program in the present invention is a program in which a computer can execute the processing method of the flowchart shown in FIG. The program in the present invention may be a program for each processing method of each device shown in FIG. 7.
以上のように、前述した実施形態の機能を実現するプログラムを記録した記録媒体を、システムあるいは装置に供給し、そのシステムあるいは装置のコンピュータ(またはCPUやMPU)が記録媒体に格納されたプログラムを読出し実行することによっても、本発明の目的が達成されることは言うまでもない。 As described above, a recording medium on which a program that realizes the functions of the above-described embodiment is recorded is supplied to the system or device, and the computer (or CPU or MPU) of the system or device stores the program in the recording medium. Needless to say, the object of the present invention can be achieved by reading and executing.
この場合、記録媒体から読み出されたプログラム自体が本発明の新規な機能を実現することになり、そのプログラムを記憶した記録媒体は本発明を構成することになる。 In this case, the program itself read from the recording medium realizes the novel function of the present invention, and the recording medium storing the program constitutes the present invention.
プログラムを供給するための記録媒体としては、例えば、フレキシブルディスク、ハードディスク、光ディスク、光磁気ディスク、CD−ROM、CD−R、DVD−ROM、磁気テープ、不揮発性のメモリカード、ROM、EEPROM、シリコンディスク、ソリッドステートドライブ等を用いることができる。 Recording media for supplying programs include, for example, flexible disks, hard disks, optical disks, magneto-optical disks, CD-ROMs, CD-Rs, DVD-ROMs, magnetic tapes, non-volatile memory cards, ROMs, EEPROMs, and silicon. Disks, solid state drives, etc. can be used.
また、コンピュータが読み出したプログラムを実行することにより、前述した実施形態の機能が実現されるだけでなく、そのプログラムの指示に基づき、コンピュータ上で稼働しているOS(オペレーティングシステム)等が実際の処理の一部または全部を行い、その処理によって前述した実施形態の機能が実現される場合も含まれることは言うまでもない。 Further, by executing the program read by the computer, not only the function of the above-described embodiment is realized, but also the OS (operating system) or the like running on the computer is actually operated based on the instruction of the program. Needless to say, there are cases where a part or all of the processing is performed and the processing realizes the functions of the above-described embodiment.
さらに、記録媒体から読み出されたプログラムが、コンピュータに挿入された機能拡張ボードやコンピュータに接続された機能拡張ユニットに備わるメモリに書き込まれた後、そのプログラムコードの指示に基づき、その機能拡張ボードや機能拡張ユニットに備わるCPU等が実際の処理の一部または全部を行い、その処理によって前述した実施形態の機能が実現される場合も含まれることは言うまでもない。 Further, after the program read from the recording medium is written in the memory provided in the function expansion board inserted in the computer or the function expansion unit connected to the computer, the function expansion board is based on the instruction of the program code. It goes without saying that there are cases where the CPU or the like provided in the function expansion unit performs a part or all of the actual processing, and the processing realizes the functions of the above-described embodiment.
また、システムあるいは装置にプログラムを供給することによって達成される場合にも適応できることは言うまでもない。この場合、本発明を達成するためのプログラムを格納した記録媒体を該システムあるいは装置に読み出すことによって、そのシステムあるいは装置が、本発明の効果を享受することが可能となる。 It goes without saying that it can also be applied when it is achieved by supplying a program to a system or device. In this case, by reading the recording medium in which the program for achieving the present invention is stored into the system or the device, the system or the device can enjoy the effect of the present invention.
さらに、本発明を達成するためのプログラムをネットワーク上のサーバ、データベース等から通信プログラムによりダウンロードして読み出すことによって、そのシステムあるいは装置が、本発明の効果を享受することが可能となる。 Further, by downloading and reading a program for achieving the present invention from a server, database, or the like on the network by a communication program, the system or device can enjoy the effect of the present invention.
なお、上述した各実施形態およびその変形例を組み合わせた構成も全て本発明に含まれ
るものである。
It should be noted that all the configurations in which each of the above-described embodiments and modifications thereof are combined are also included in the present invention.
100 線状キズ有無判別システム
102 カメラ
104 情報処理装置
201 CPU
202 RAM
203 ROM
204 システムバス
205 入力コントローラ
206 ビデオコントローラ
207 メモリコントローラ
100 Linear scratch presence /
202 RAM
203 ROM
204
208 通信I/F(インターフェース)コントローラ
209 入力部
210 ディスプレイ装置
211 外部メモリ
208 Communication I / F (interface)
Claims (6)
前記区分された領域の画素毎の輝度の勾配方向及び勾配強度に基づき、同様な勾配方向を有する画素の勾配強度を累積する累積手段と、
前記累積手段の累積結果が所定の条件を満たす画素が線状となるか否かを判定する判定手段と、
を備え、
前記区分手段は、前記開始位置から任意の方向にずらした開始位置に基づき前記画像を新たな複数の前記所定の形状およびサイズの領域に区分することを特徴とする情報処理装置。 A classification means for dividing an image into a plurality of regions having a predetermined shape and size based on an arbitrary start position, and
A cumulative means for accumulating the gradient intensities of pixels having the same gradient direction based on the gradient direction and the gradient intensity of the brightness of each pixel in the divided region.
A determination means for determining whether or not a pixel whose cumulative result of the accumulation means satisfies a predetermined condition is linear.
With
The information processing apparatus is characterized in that the classification means divides the image into a plurality of new regions having a predetermined shape and size based on a start position shifted from the start position in an arbitrary direction.
画像を任意の開始位置に基づき複数の所定の形状およびサイズの領域に区分する区分ステップと、
前記区分された領域の画素の勾配方向及び勾配強度に基づき、同様な勾配方向を有する画素の勾配強度を累積する累積ステップと、
前記累積ステップの累積結果が所定の条件を満たす画素が線状となるか否かを判定する判定ステップと、
を備え、
前記区分ステップは、前記開始位置から任意の方向にずらした開始位置に基づき前記画像を新たな複数の前記所定の形状およびサイズの領域に区分することを特徴とする情報処理装置の制御方法。 It is a control method of an information processing device that processes images.
A division step that divides an image into multiple areas of predetermined shape and size based on an arbitrary starting position, and
A cumulative step of accumulating the gradient intensities of pixels having a similar gradient direction based on the gradient direction and the gradient intensity of the pixels in the divided region.
A determination step for determining whether or not a pixel whose cumulative result of the cumulative step satisfies a predetermined condition is linear, and a determination step.
With
The division step is a control method of an information processing apparatus, characterized in that the image is divided into a plurality of new regions having a predetermined shape and size based on a start position shifted from the start position in an arbitrary direction.
画像を任意の開始位置に基づき複数の所定の形状およびサイズの領域に区分する区分手段と、
前記区分された領域の画素の勾配方向及び勾配強度に基づき同様な勾配方向を有する画素の勾配強度を累積する累積手段と、
前記累積手段の累積結果が所定の条件を満たす画素が線状となるか否かを判定する判定手段として機能させ、
前記区分手段は、前記開始位置から任意の方向にずらした開始位置に基づき前記画像を新たな複数の前記所定の形状およびサイズの領域に区分することを特徴とするプログラム。 Computer,
A classification means for dividing an image into a plurality of regions having a predetermined shape and size based on an arbitrary start position, and
A cumulative means for accumulating the gradient intensities of pixels having a similar gradient direction based on the gradient direction and the gradient intensity of the pixels in the divided region.
The cumulative result of the cumulative means is made to function as a determination means for determining whether or not the pixels satisfying a predetermined condition are linear.
The classification means is a program characterized in that the image is divided into a plurality of new regions having a predetermined shape and size based on a start position shifted from the start position in an arbitrary direction.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2016145371A JP6898546B2 (en) | 2016-07-25 | 2016-07-25 | Information processing equipment, control methods, and programs |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2016145371A JP6898546B2 (en) | 2016-07-25 | 2016-07-25 | Information processing equipment, control methods, and programs |
Publications (3)
| Publication Number | Publication Date |
|---|---|
| JP2018017514A JP2018017514A (en) | 2018-02-01 |
| JP2018017514A5 JP2018017514A5 (en) | 2020-05-07 |
| JP6898546B2 true JP6898546B2 (en) | 2021-07-07 |
Family
ID=61075811
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2016145371A Active JP6898546B2 (en) | 2016-07-25 | 2016-07-25 | Information processing equipment, control methods, and programs |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP6898546B2 (en) |
Family Cites Families (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2008139262A (en) * | 2006-12-05 | 2008-06-19 | Omron Corp | Defect inspection method and inspection apparatus using the method |
| JP5824425B2 (en) * | 2012-06-26 | 2015-11-25 | 日本電信電話株式会社 | Shielding pixel detection apparatus, shielding pixel detection method, and program |
| JP5987195B2 (en) * | 2012-12-25 | 2016-09-07 | 株式会社明電舎 | Rigid overhead wire support component inspection system |
| KR102330322B1 (en) * | 2014-09-16 | 2021-11-24 | 삼성전자주식회사 | Method and apparatus for extracting image feature |
-
2016
- 2016-07-25 JP JP2016145371A patent/JP6898546B2/en active Active
Also Published As
| Publication number | Publication date |
|---|---|
| JP2018017514A (en) | 2018-02-01 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JP6962356B2 (en) | Image processing device, display control device, image processing method, and recording medium | |
| US10007964B1 (en) | Image processing methods and arrangements | |
| CN114651506B (en) | Systems and methods for automated camera installation guidance (CIG) | |
| JP4664432B2 (en) | SHOT SIZE IDENTIFICATION DEVICE AND METHOD, ELECTRONIC DEVICE, AND COMPUTER PROGRAM | |
| JP6726052B2 (en) | Image processing method and program | |
| US10445868B2 (en) | Method for detecting a defect on a surface of a tire | |
| US20120218427A1 (en) | Method for providing a stabilized video sequence | |
| CN111695540B (en) | Video frame identification method, video frame clipping method, video frame identification device, electronic equipment and medium | |
| JP5959073B2 (en) | Detection device, detection method, and program | |
| US20170154234A1 (en) | Information processing device, information processing method, computer-readable recording medium, and inspection system | |
| US9996762B2 (en) | Image processing method and image processing apparatus | |
| JP7723307B2 (en) | Information processing system, control method for information processing system, and program | |
| US8526684B2 (en) | Flexible image comparison and face matching application | |
| US10366497B2 (en) | Image/video editor with automatic occlusion detection and cropping | |
| WO2021084797A1 (en) | Object detection device, object detection method, object detection program, and learning device | |
| JP5674933B2 (en) | Method and apparatus for locating an object in a warehouse | |
| JP2009151759A (en) | Image processing method and image processing apparatus | |
| CN102473306B (en) | Image processing apparatus, image processing method, program and integrated circuit | |
| US20160110840A1 (en) | Image processing method, image processing device, and robot system | |
| US9639763B2 (en) | Image target detecting apparatus and method | |
| JP6898546B2 (en) | Information processing equipment, control methods, and programs | |
| US20180150966A1 (en) | System and method for estimating object size | |
| JP2018200629A (en) | Image processing apparatus, image processing method, and image processing program | |
| KR102579473B1 (en) | Apparatus for checking product | |
| JP6982259B2 (en) | Information processing equipment, information processing methods, programs |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| RD03 | Notification of appointment of power of attorney |
Free format text: JAPANESE INTERMEDIATE CODE: A7423 Effective date: 20161101 |
|
| RD04 | Notification of resignation of power of attorney |
Free format text: JAPANESE INTERMEDIATE CODE: A7424 Effective date: 20161101 |
|
| A711 | Notification of change in applicant |
Free format text: JAPANESE INTERMEDIATE CODE: A712 Effective date: 20170719 |
|
| RD03 | Notification of appointment of power of attorney |
Free format text: JAPANESE INTERMEDIATE CODE: A7423 Effective date: 20180703 |
|
| RD04 | Notification of resignation of power of attorney |
Free format text: JAPANESE INTERMEDIATE CODE: A7424 Effective date: 20181031 |
|
| RD04 | Notification of resignation of power of attorney |
Free format text: JAPANESE INTERMEDIATE CODE: A7424 Effective date: 20190111 |
|
| A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20190723 |
|
| A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20200323 |
|
| A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20200529 |
|
| A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20200818 |
|
| A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20201019 |
|
| A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20210126 |
|
| A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20210324 |
|
| TRDD | Decision of grant or rejection written | ||
| A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 Effective date: 20210511 |
|
| A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20210524 |
|
| R151 | Written notification of patent or utility model registration |
Ref document number: 6898546 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R151 |
|
| R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
| R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
| R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |