JP2022009474A - System and method for detecting lines in vision system - Google Patents
System and method for detecting lines in vision system Download PDFInfo
- Publication number
- JP2022009474A JP2022009474A JP2021174197A JP2021174197A JP2022009474A JP 2022009474 A JP2022009474 A JP 2022009474A JP 2021174197 A JP2021174197 A JP 2021174197A JP 2021174197 A JP2021174197 A JP 2021174197A JP 2022009474 A JP2022009474 A JP 2022009474A
- Authority
- JP
- Japan
- Prior art keywords
- line
- lines
- gradient
- image
- classifier
- 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.)
- Granted
Links
- 238000000034 method Methods 0.000 title claims abstract description 142
- 230000008569 process Effects 0.000 claims abstract description 76
- 238000001514 detection method Methods 0.000 claims abstract description 54
- 230000001537 neural effect Effects 0.000 claims abstract description 17
- 238000012549 training Methods 0.000 claims description 34
- 239000013598 vector Substances 0.000 claims description 18
- 238000004364 calculation method Methods 0.000 claims description 13
- 238000000605 extraction Methods 0.000 claims description 10
- 238000013528 artificial neural network Methods 0.000 description 8
- 238000007689 inspection Methods 0.000 description 7
- 230000026676 system process Effects 0.000 description 7
- 238000009499 grossing Methods 0.000 description 5
- 230000003287 optical effect Effects 0.000 description 5
- 239000002245 particle Substances 0.000 description 5
- 238000010586 diagram Methods 0.000 description 4
- 230000000873 masking effect Effects 0.000 description 4
- 230000007423 decrease Effects 0.000 description 3
- 238000002372 labelling Methods 0.000 description 3
- 230000007246 mechanism Effects 0.000 description 3
- 238000004458 analytical method Methods 0.000 description 2
- 230000008901 benefit Effects 0.000 description 2
- 239000006059 cover glass Substances 0.000 description 2
- 230000009977 dual effect Effects 0.000 description 2
- 238000003708 edge detection Methods 0.000 description 2
- 238000012804 iterative process Methods 0.000 description 2
- 238000012545 processing Methods 0.000 description 2
- 230000009466 transformation Effects 0.000 description 2
- PXFBZOLANLWPMH-UHFFFAOYSA-N 16-Epiaffinine Natural products C1C(C2=CC=CC=C2N2)=C2C(=O)CC2C(=CC)CN(C)C1C2CO PXFBZOLANLWPMH-UHFFFAOYSA-N 0.000 description 1
- 238000007792 addition Methods 0.000 description 1
- 238000007796 conventional method Methods 0.000 description 1
- 238000012937 correction Methods 0.000 description 1
- 238000006073 displacement reaction Methods 0.000 description 1
- 238000009826 distribution Methods 0.000 description 1
- 238000011143 downstream manufacturing Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 230000014509 gene expression Effects 0.000 description 1
- 239000011521 glass Substances 0.000 description 1
- 230000005484 gravity Effects 0.000 description 1
- 238000003706 image smoothing Methods 0.000 description 1
- 238000013101 initial test Methods 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 238000005259 measurement Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000005457 optimization Methods 0.000 description 1
- 230000035945 sensitivity Effects 0.000 description 1
- YLJREFDVOIBQDA-UHFFFAOYSA-N tacrine Chemical compound C1=CC=C2C(N)=C(CCCC3)C3=NC2=C1 YLJREFDVOIBQDA-UHFFFAOYSA-N 0.000 description 1
- 229960001685 tacrine Drugs 0.000 description 1
- 238000000844 transformation Methods 0.000 description 1
- 230000000007 visual effect Effects 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T7/00—Image analysis
- G06T7/10—Segmentation; Edge detection
- G06T7/13—Edge detection
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F18/00—Pattern recognition
- G06F18/20—Analysing
- G06F18/21—Design or setup of recognition systems or techniques; Extraction of features in feature space; Blind source separation
- G06F18/213—Feature extraction, e.g. by transforming the feature space; Summarisation; Mappings, e.g. subspace methods
- G06F18/2135—Feature extraction, e.g. by transforming the feature space; Summarisation; Mappings, e.g. subspace methods based on approximation criteria, e.g. principal component analysis
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F18/00—Pattern recognition
- G06F18/20—Analysing
- G06F18/21—Design or setup of recognition systems or techniques; Extraction of features in feature space; Blind source separation
- G06F18/214—Generating training patterns; Bootstrap methods, e.g. bagging or boosting
- G06F18/2148—Generating training patterns; Bootstrap methods, e.g. bagging or boosting characterised by the process organisation or structure, e.g. boosting cascade
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F18/00—Pattern recognition
- G06F18/20—Analysing
- G06F18/24—Classification techniques
- G06F18/241—Classification techniques relating to the classification model, e.g. parametric or non-parametric approaches
- G06F18/2413—Classification techniques relating to the classification model, e.g. parametric or non-parametric approaches based on distances to training or reference patterns
- G06F18/24133—Distances to prototypes
- G06F18/24143—Distances to neighbourhood prototypes, e.g. restricted Coulomb energy networks [RCEN]
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F18/00—Pattern recognition
- G06F18/20—Analysing
- G06F18/24—Classification techniques
- G06F18/241—Classification techniques relating to the classification model, e.g. parametric or non-parametric approaches
- G06F18/2415—Classification techniques relating to the classification model, e.g. parametric or non-parametric approaches based on parametric or probabilistic models, e.g. based on likelihood ratio or false acceptance rate versus a false rejection rate
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F18/00—Pattern recognition
- G06F18/40—Software arrangements specially adapted for pattern recognition, e.g. user interfaces or toolboxes therefor
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T5/00—Image enhancement or restoration
- G06T5/20—Image enhancement or restoration using local operators
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T7/00—Image analysis
- G06T7/10—Segmentation; Edge detection
- G06T7/143—Segmentation; Edge detection involving probabilistic approaches, e.g. Markov random field [MRF] modelling
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06V—IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
- G06V10/00—Arrangements for image or video recognition or understanding
- G06V10/40—Extraction of image or video features
- G06V10/44—Local feature extraction by analysis of parts of the pattern, e.g. by detecting edges, contours, loops, corners, strokes or intersections; Connectivity analysis, e.g. of connected components
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06V—IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
- G06V10/00—Arrangements for image or video recognition or understanding
- G06V10/40—Extraction of image or video features
- G06V10/50—Extraction of image or video features by performing operations within image blocks; by using histograms, e.g. histogram of oriented gradients [HoG]; by summing image-intensity values; Projection analysis
- G06V10/507—Summing image-intensity values; Histogram projection analysis
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T2207/00—Indexing scheme for image analysis or image enhancement
- G06T2207/20—Special algorithmic details
- G06T2207/20068—Projection on vertical or horizontal image axis
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T2207/00—Indexing scheme for image analysis or image enhancement
- G06T2207/20—Special algorithmic details
- G06T2207/20076—Probabilistic image processing
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T2207/00—Indexing scheme for image analysis or image enhancement
- G06T2207/20—Special algorithmic details
- G06T2207/20081—Training; Learning
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T2207/00—Indexing scheme for image analysis or image enhancement
- G06T2207/20—Special algorithmic details
- G06T2207/20084—Artificial neural networks [ANN]
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06V—IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
- G06V2201/00—Indexing scheme relating to image or video recognition or understanding
- G06V2201/06—Recognition of objects for industrial automation
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Computer Vision & Pattern Recognition (AREA)
- Data Mining & Analysis (AREA)
- General Engineering & Computer Science (AREA)
- Evolutionary Biology (AREA)
- Evolutionary Computation (AREA)
- Life Sciences & Earth Sciences (AREA)
- Artificial Intelligence (AREA)
- Bioinformatics & Cheminformatics (AREA)
- Bioinformatics & Computational Biology (AREA)
- Multimedia (AREA)
- Probability & Statistics with Applications (AREA)
- Human Computer Interaction (AREA)
- Software Systems (AREA)
- Image Analysis (AREA)
- Apparatus For Radiation Diagnosis (AREA)
- Image Processing (AREA)
Abstract
Description
関連出願
本出願は2015年2月11日に出願された同時係属米国特許仮出願第62/249918号「ビジョンシステムでラインを検出するためのシステム及び方法」の利益を主張するものであり、その教示内容は参照により本明細書に組み込まれる。
Related Applications This application claims the benefits of Simultaneously Pending U.S. Patent Application No. 62/24918, "Systems and Methods for Detecting Lines in Vision Systems," filed February 11, 2015. The teachings are incorporated herein by reference.
記述分野
本発明はマシンビジョンシステム、より具体的には取得した画像内のライン特徴を検出するビジョンシステムツールに関する。
Description Field The present invention relates to a machine vision system, more specifically a vision system tool for detecting line features in an acquired image.
マシンビジョンシステム(本明細書中では単に「ビジョンシステム」とも呼ぶ)は、製造、物流及び産業における多様なタスクに使用されている。そのようなタスクは表面及び部品の検査、組立工程における対象物のアライメント、パターン及びIDコードの読取り、及び視覚データが取得されてその後のプロセスに使用するために解釈されるその他の操作を含んでいてもよい。ビジョンシステムは典型的には1台以上のカメラを用いて興味のあるオブジェクト又は対象を含むシーンの画像を取得する。オブジェクト/対象は静止し、又は相対運動をしてよい。運動はロボットで部品を操作する場合のように、ビジョンシステムによって得られる情報で制御することもできる。 Machine vision systems (also referred to herein simply as "vision systems") are used for a variety of tasks in manufacturing, logistics and industry. Such tasks include inspection of surfaces and parts, alignment of objects in the assembly process, reading of patterns and ID codes, and other operations in which visual data is acquired and interpreted for use in subsequent processes. You may. A vision system typically uses one or more cameras to capture an image of a scene containing an object or object of interest. The object / object may be stationary or in relative motion. Motion can also be controlled by the information obtained by the vision system, as in the case of manipulating parts with a robot.
ビジョンシステムの共通のタスクは、画像内のライン特徴を検出して特徴付けることである。そのようなライン特徴を特定して解析するために多様なツールが用いられる。典型的には、これらのツールは画像の部分で生じる明確なコントラスト差に依拠している。このコントラスト差、例えばキャリパツールを用いて解析して、コントラスト差のある画像内の個々のポイントがライン状の特徴に集合できるか決定する。できると決定した場合は、画像内でラインが特定される。特に、エッジポイントを検出するツールと、ラインをポイントにフィッティングするツールは互いに独立に動作する。これにより処理オーバーヘッドが増えて信頼性が低下する。画像が複数のラインを含む場合、そのようなツールはそれらを正確に特定する能力が制限されよう。更に、画像内のシングルラインを検出するために設計されたツールは、画像内で類似の向きと極性をもつ複数のラインが密集している場合は使用するのに問題があろう。 A common task of vision systems is to detect and characterize line features in images. Various tools are used to identify and analyze such line features. Typically, these tools rely on the clear contrast differences that occur in the parts of the image. This contrast difference, eg, a caliper tool, is analyzed to determine if individual points in the image with the contrast difference can be aggregated into line-like features. If it is determined that it can be done, the line is identified in the image. In particular, the tool for detecting edge points and the tool for fitting lines to points operate independently of each other. This increases the processing overhead and reduces reliability. If the image contains multiple lines, such tools will have limited ability to pinpoint them. In addition, tools designed to detect single lines in an image may be problematic to use if the image is densely populated with multiple lines of similar orientation and polarity.
別の難点は、取得した画像内でオブジェクトのラインが時々隠れているか不明瞭であり得ることである。ユーザは検出されたラインの特定に関して確信が持てず、そのようなラインを個別に識別できるメカニズムは洗練されたルールとスクリプトの作成を含む可能性があり、それはビジョンシステムのセットアップとトレーニングタスクの時間とコストを増す。 Another difficulty is that the lines of the object can sometimes be hidden or obscured in the captured image. Users are uncertain about identifying the detected lines, and mechanisms that can identify such lines individually may include sophisticated rules and scripting, which is the time for vision system setup and training tasks. And increase the cost.
本発明は先行技術の短所を、複数のラインを効率的且つ正確に特定して特徴付けることを可能にする、画像内のライン特徴を検出するためのシステム及び方法を提供することによって克服する。ラインが識別されると、ユーザは、そのようなラインに所定の(例えばテキスト)ラベルを関連付けるようにシステムをトレーニングすることができる。これらのラベル(本明細書では「タグ」とも呼ばれる)は、ニューラルネット分類子を定義するために使用できる。ニューラルネットはランタイムに動作して、ライン検出プロセスを使用して検出されたランタイム画像内のラインを識別してスコア付けする。検出されたラインは、ラベルと、ニューラルネット結果に基づく関連する確率スコアマップを付けてユーザに表示できる。ラベルが付いていないラインは、一般的に低スコアと見なされ、インタフェースによってフラグが立てられていないか又は関連性がないと識別される。 The present invention overcomes the shortcomings of the prior art by providing systems and methods for detecting line features in images that allow multiple lines to be efficiently and accurately identified and characterized. Once the lines are identified, the user can train the system to associate a given (eg, text) label with such lines. These labels (also referred to herein as "tags") can be used to define neural net classifiers. The neural network operates at runtime to identify and score lines in the detected runtime image using the line detection process. The detected lines can be displayed to the user with labels and associated probability score maps based on the neural net results. Unlabeled lines are generally considered low scores and are identified by the interface as unflagged or irrelevant.
例示的な実施形態では、取得された画像内でラインを検出するためのシステム及び方法が提供される。システム及び方法は、ビジョンシステムプロセッサと、このビジョンシステムプロセッサに関連するインタフェースとを含んでおり、ビジョンシステムプロセッサはオブジェクトのトレーニング画像内でライン検出プロセスによって特定された関連性のあるラインに関する個別ラベルの作成を可能にする。ランタイムライン検出プロセスは、取得した画像内のラインを特定し、ニューラルネットプロセスは、ラベルに基づいて分類子を使用して、ラベルに対するライン特徴の確率マップを決定する。ランタイム結果生成プロセスは、少なくとも1本の関連性のあるラインに対してラベルと確率スコアを提供する。例示的に、ランタイム結果生成プロセスは関連性のないラインに対して確率スコアを提供し、及び/又はラインを強調表示するインタフェースを含み、強調表示されたラインに関連付けられた確率スコアを提供する。確率スコアマップは、サイズが取得した画像と類似している可能性がある。ライン検出プロセスは、ライン特徴を含むシーンの画像データを受け取るプロセッサを有し、エッジポイント抽出装置を備えており、このエッジポイント抽出装置は、(a)画像データから勾配ベクトル場を計算し、(b)勾配ベクトル場を複数の勾配投影サブ領域に投影し、及び(c)投影された勾配データに基づき勾配投影サブ領域のそれぞれにおいて複数のエッジポイントを検出する。プロセッサは、画像から抽出されたエッジポイントと一致する複数のラインを生成するラインファインダも含む。例示的に、ラインファインダはRANSACに基づくプロセスを操作してインライアエッジポイントを新しいラインにフィッティングし、事前に定義されたラインを基準にしてアウトライアエッジポイントから反復的にラインを定義することを含む。勾配場の投影は、1以上のライン特徴の予想される向きに応じて設定された方向に沿って方向付けることができ、及び/又はガウスカーネルに基づいて粒度を定義できる。エッジポイント抽出装置は、勾配投影サブ領域の各々で複数の勾配強度最大値を検出するように構成できる。勾配強度最大値はそれぞれ複数のエッジポイントの幾つかとして識別され、位置ベクトルと勾配ベクトルによって記述される。ラインファインダは、少なくとも1つのエッジポイントの少なくとも1本の候補ラインからの距離、及び少なくとも1つのエッジポイントの勾配方向と少なくとも1本の候補ラインの法線方向との間の角度差に基づくメトリックを計算することによって、複数の抽出されたエッジポイントの少なくとも1つのエッジポイントと、検出された複数のラインの少なくとも1本の候補ラインとの間の一致を決定するように構成されてもよい。例示的に、画像データは複数のカメラから取得された複数の画像からのデータを含む。これにより画像は共通の座標空間に変換される。 In an exemplary embodiment, a system and method for detecting a line in an acquired image is provided. The system and method includes a vision system processor and an interface associated with this vision system processor, which is a separate label for the relevant line identified by the line detection process in the training image of the object. Allows creation. The run-time line detection process identifies the lines in the acquired image, and the neural net process uses a classifier based on the label to determine a probability map of the line features for the label. The run-time result generation process provides labels and probability scores for at least one relevant line. Illustratively, the runtime result generation process provides a probability score for irrelevant lines and / or includes an interface for highlighting the line, providing the probability score associated with the highlighted line. The probability score map may be similar in size to the acquired image. The line detection process has a processor that receives image data of the scene including line features and is equipped with an edge point extractor, which (a) calculates a gradient vector field from the image data and (a) b) the gradient vector field is projected onto a plurality of gradient projection subregions, and (c) multiple edge points are detected in each of the gradient projection subregions based on the projected gradient data. The processor also includes a line finder that produces multiple lines that match the edge points extracted from the image. Illustratively, the linefinder operates a RANSAC-based process to fit an inlier edge point to a new line and iteratively define a line from the outlier edge point relative to a predefined line. include. The projection of the gradient field can be oriented along the direction set according to the expected orientation of one or more line features and / or the grain size can be defined based on the Gauss kernel. The edge point extractor can be configured to detect multiple gradient intensity maximums in each of the gradient projection subregions. The maximum gradient intensity is identified as some of a plurality of edge points, respectively, and is described by a position vector and a gradient vector. The line finder provides a metric based on the distance of at least one edge point from at least one candidate line and the angle difference between the gradient direction of at least one edge point and the normal direction of at least one candidate line. By calculation, it may be configured to determine a match between at least one edge point of the plurality of extracted edge points and at least one candidate line of the plurality of detected lines. Illustratively, image data includes data from multiple images acquired from multiple cameras. This transforms the image into a common coordinate space.
例示的な実施態様によれば、1以上のカメラに基づいて取得された画像内のライン特徴を検出するシステムが提供される。該システム及び方法はビジョンシステムプロセッサ及び該ビジョンシステムプロセッサに関連付けられたインターフェイスを備え、それによって、オブジェクトのトレーニング画像内でライン検出プロセスによって特定された関連性のあるラインに関する個別ラベルの作成を可能になる。実行中ライン検出プロセスによって取得された画像内のラインを位置付け、該ライン検出プロセスによって位置付けられたラインに基づくインターフェイスへのラベルを生成する統計的分類子やK-NN分類子の位置を特定する。 According to an exemplary embodiment, there is provided a system for detecting line features in an image acquired based on one or more cameras. The system and method comprises a vision system processor and an interface associated with the vision system processor, which allows the creation of individual labels for the relevant lines identified by the line detection process in the training image of the object. Become. Positions the lines in the image acquired by the running line detection process and locates the statistical or K-NN classifiers that generate labels for the interface based on the lines positioned by the line detection process.
以下に本発明を図面を参照して説明する。 The present invention will be described below with reference to the drawings.
I.システムの概要 I. System overview
例示的な実施形態に従って使用できる模範的なビジョンシステム構成100が、図1に示されている。システム100は少なくとも1台のビジョンシステムカメラ110を含み、1台以上の追加の随意のカメラ112(仮想線で示す)。例示的なカメラ110、112は、画像センサ(又はイメージャ)Sと、画像フレームを取得してビジョンシステムプロセス(プロセッサ)130に伝送する関連エレクトロニクスを含み、ビジョンシステムプロセス(プロセッサ)130はスタンドアローンプロセッサ及び/又はコンピューティングデバイス140として例示され得る。カメラ110(及び112)は検査中のオブジェクト150を包含するシーンに焦点を当てた適当なレンズ/光学系116を含んでいてもよい。カメラ110(及び112)は、画像取得プロセスに従って作動する内部及び/又は外部照明器(図示せず)を含んでいてもよい。コンピューティングデバイス140は、例示的な実施形態に従って画像データを保存及び操作できる任意の容認可能なプロセッサベースのシステムであってよい。例えばコンピューティングデバイス140は、PC(図示の例)、サーバー、ラップトップ、タブレット、スマートフォン又は他の類似のデバイスを含んでいてもよい。コンピューティングデバイス140は、適当な端末装置、例えばカメラと相互接続するバスベースの画像キャプチャカードを含んでいてもよい。代替的な実施形態において、ビジョンプロセッサは部分的又は完全にカメラ本体それ自体の中に含まれることができ、画像データを共有及び処理する他のPC、サーバー及び/又はカメラベースのプロセッサとネットワーキングできる。コンピューティングデバイス140は随意に適当なディスプレイ142を含み、これはビジョンシステムプロセス(プロセッサ)130内に設けられたビジョンシステムツール及びプロセッサ132に従って作動できる適当なグラフィカルユーザインタフェース(GUI)をサポートすることができる。種々の実施形態でディスプレイは省くことができ及び/又はセットアップとサービス機能のためにのみ提供できることに留意されたい。ビジョンシステムツールは、オブジェクトの検査において使用することが認められる任意の容認可能なソフトウェア及び/又はハードウェアパッケージ、例えば米国マサチューセッツ州ネイティック市のコグネックス株式会社から市販されているものの一部であってよい。コンピューティングデバイスは、例えばキーボード144及びマウス146、並びにディスプレイ142内部のタッチスクリーンを含め関連するユーザインタフェース(UI)コンポーネントも含んでいてもよい。
An exemplary
カメラ110(及び112)は、シーン内部に位置するオブジェクト150の一部又は全部を撮像する。各カメラは光学軸OAを定義し、それを中心に光学系116、焦点距離などに基づいて視野が確定される。オブジェクト150はそれぞれ異なる方向に配置された複数のエッジ152、154を含む。例えばオブジェクトのエッジはスマートフォン本体内に組み付けられたカバーガラスのエッジを含んでよい。例示的に、カメラはオブジェクト全体又は特定の箇所(例えばガラスが本体と交わるコーナ)を撮像できる。(共通)座標空間は、オブジェクト、1台のカメラ又は他の基準点(例えばオブジェクト150を載せている可動ステージ)を基準に確定できる。図示されているように、座標空間は軸158によって表される。これらの軸は例示的に直交するx軸、y軸及びz軸、並びにx-y面上のz軸を中心とする回Θzを定義する。
The camera 110 (and 112) captures part or all of the
例示的な実施形態に従い、ビジョンシステムプロセス130は集合的にビジョンシステムツール/プロセス132のセットを含む1以上のアプリケーション/プロセス(コンピューティングデバイス140上で実行)と相互作用する。これらのツールは、画像データを解像するために使用される多様な慣用的及び特殊なアプリケーション-例えば取得した画像データを所定の(例えば共通)座標系に変換するために使用できる多様な較正ツール及びアフィン変換ツールを含んでいてもよい。画像グレースケール強度データを所定の閾値に基づいて二値画像に転換するツールも含めることができる。同様に、隣接した画像ピクセル(及びサブピクセル)の間の強度の勾配(コントラスト)を解析するツールを設けることができる。
According to an exemplary embodiment, the
ビジョンシステムプロセス(プロセッサ)130は、例示的な実施形態に従い取得した画像内で複数のラインの位置を特定するライン検出プロセス、ツール又はモジュール13を含む。ここで図2を参照する例示的な実施形態に従うライン検出手順200の概観を図示する。手順200は2つの主要部分からなる。入力画像210がプロセッサに提供される。図示されているように、画像は1対の交差するエッジ212及び214を含む。これらは上述したオブジェクト150のコーナ区域を表すことができる。エッジポイント抽出装置220は、入力画像210を処理して、それぞれエッジ212及び214に沿って存在するエッジポイント232及び234を含む候補エッジポイントのセット230を得る。エッジポイント232、234、及びそれらに関連するデータ(例えば以下に説明する強度勾配情報)が再帰的ラインファインダ240に提供され、これは選択されたエッジポイントで一連の反復プロセスを実行する。反復プロセスの目標は、他の検出されたエッジポイントを候補ライン特徴にフィッティングすることを試みることである。ライン検出プロセス240の結果、図示されているようにライン252及び254が検出される。これらの結果は情報を使用する他の下流のプロセス260-例えばアライメントプロセス、ロボット操作、検査、ID読取り、部品/表面検査などに提供され得る。
The vision system process (processor) 130 includes a line detection process, tool or module 13 that locates a plurality of lines in an image acquired according to an exemplary embodiment. Here, an overview of the
II. ライン検出プロセス(プロセッサ) II. Line detection process (processor)
一実施形態に従う、エッジポイントを抽出するための手順を説明した図3を参照する。検出されるべきエッジ特徴を有するオブジェクト又は表面を含んでいるシーンの1以上の画像が取得される(ステップ310)。画像は単一のカメラ又は複数のカメラによって抽出できる。いずれの場合も、ステップ320で画像ピクセルは、(随意に)適当な較正パラメータによって新しい座標空間及び/又は共通座標空間に変換され得る。このステップは以下に説明するように画像の平滑化も含んでいてもよい。複数のカメラがシーンの不連続区域を撮像する-例えばより大きいオブジェクトのコーナ区域に焦点を当てる-実施形態において、共通座標空間はカメラ視野の間の空の区域を占めることができる。以下に説明するように、そのような視野の間に延びるライン(例えば2つの検出されたコーナ区域を接続するオブジェクトエッジ)は、例示的な実施形態のシステム及び方法によって例示的な実施形態のシステム及び方法によって外挿できる。ステップ330で、ラインを検出するために必要とされるエッジポイントは、適当な座標空間においてエッジポイント抽出装置によって勾配場の投影を用いて画像から抽出される。勾配値は最初に各ピクセルについて計算されて、x勾配成分とy勾配成分に対して画像を生成する。画像は更に勾配場を多数のキャリパ状区域に投影することによって処理される。強度値を投影する慣用的キャリパツールとは異なり、実施形態に従い勾配場を投影することによって、勾配の向きを保存でき、以下に説明するようにこれが後続のライン検出プロセスを容易にする。
Refer to FIG. 3, which describes a procedure for extracting edge points according to one embodiment. One or more images of the scene containing an object or surface with edge features to be detected are acquired (step 310). Images can be extracted by a single camera or multiple cameras. In either case, in
ステップ340で、図4の線図も参照して、候補エッジ特徴を含んでいる画像の部分(キャリパ状区域)400は(複数の投影410、420、430によって表された)勾配場の投影を受け、サーチ方向(矢印SD)で(近似的に)予想されるエッジの向きにわたってサーチされ、投影は直交投影方向(矢印PD)で区域400にわたって繰り返される。各投影(例えば投影420)に対してエッジは投影と関連した勾配場440における極大値として現れる。概して、エッジと関連した投影の内部の一連のエッジポイントは、エッジの延在方向に対して直角に強度勾配(ベクトル552、554)を示す。以下に説明するように、ユーザは予想されるラインの向きに基づいて投影方向を定義できる。代替として、これは既定のメカニズム又は他のメカニズム-例えば画像内の特徴の解析によって提供されてよい。
In
上述した勾配投影ステップには2つの粒度パラメータが包含されている。勾配場計算の前に、ユーザは異方性ガウスカーネルを用いて画像を平滑化することを選択できる。第1の粒度はこのガウス平滑化カーネルのサイズを決定する。図5の線図500に示されているように、近似的なサイズのガウスカーネル(例えば大きい512、中位514、小さい516)を適用して画像210を平滑化する。それゆえ第1の粒度パラメータは、場計算の前に等方性ガウス平滑化カーネルのサイズを決定する。
The gradient projection step described above includes two particle size parameters. Prior to the gradient field calculation, the user can choose to smooth the image using an anisotropic Gaussian kernel. The first particle size determines the size of this Gaussian smoothing kernel. As shown in FIG. 500, a Gaussian kernel of approximately size (eg, large 512, medium 514, small 516) is applied to smooth the
これにより勾配場計算の後で、慣用的なキャリパツールにおける統一的な重み付けではなく、ガウス重み付けされた投影がプロセスによって実行される。従って第2の粒度パラメータは、場の投影中に使用される1次元(1D)ガウスカーネルのサイズを決定し、図6に示されているように区域600はガウス平滑化カーネル610、620、630を受ける。典型的な操作の間、ユーザは(GUIを用いて)画像に重ね合わされたすべての抽出されたエッジを検証し、次いで検出されるべきラインに沿って抽出されたエッジの数が十分と思われるまで粒度とコントラスト閾値を調整する一方で、画像内のバックグラウンドノイズに起因するエッジの過度な数を回避する。換言すれば、このステップにより信号雑音比を画像特徴に対して最適化することが可能になる。この調整は、種々の実施形態でシステムにより既定値を用いて自動的に実行することもできる。ガウス重み付け関数は、(例えば)一様な重み付けを含む、投影を重み付けするための多様な方策の1つであることに留意されたい。
This causes the process to perform a Gauss-weighted projection after the gradient field calculation, rather than a uniform weighting in the conventional caliper tool. The second particle size parameter therefore determines the size of the one-dimensional (1D) Gaussian kernel used during field projection, where the
勾配場の抽出及び投影の全体の流れが、図7の線図700に図示されている。2つの粒度パラメータ、等方性ガウスカーネル710及び1Dガウスカーネル720が、全体図700の各半分に示されている。図示されているように、各々の取得された画像210は平滑化及びデシメーション730を受ける。次いで結果として生じる画像740は、上述したように勾配場の計算750を経て、2つの勾配画像752及び754を生成する。これらの勾配画像はgx及びgyとも表現され、それぞれ共通座標空間における2本の直交軸を表す。2つの勾配画像に加えて、強度画像756は典型的には平滑化、デシメーション及びに投影プロセス760(1Dガウスカーネル720に基づいてガウス重み付けされた投影770を用いる)を受けることに留意されたい。なぜなら、処理された強度情報は、以下に説明する実施形態に従って正規化したコントラストを計算するためにも使用されるからである。その結果は、勾配画像772(gx)、774(gy)及び強度画像776の投影プロフィルである。
The overall flow of gradient field extraction and projection is illustrated in Figure 700 of FIG. Two particle size parameters, an isotropic
手順300(図3)のステップ350も参照して、次にx勾配画像とy勾配画像の1D投影プロフィルを結合することによって適格化されたエッジポイントが抽出される。このことは生のコントラスト計算780と、強度画像に基づいて正規化したコントラスト計算790を用いて達成される。より具体的には、それぞれ閾値を超える生の投影された勾配の大きさと正規化した投影された勾配の大きさのいずれも有する局所的なピークは、次の例示的な式に従い後続のライン検出のための候補エッジポイントと見なされる。
(gx
2+gy
2)1/2>TABS
(gx
2+gy
2)1/2/I>TNORM
ここで、gx及びgyはそれぞれピクセル箇所におけるx勾配投影とy勾配投影の値、Iは強度、TABは生の投影された勾配の大きさに対する絶対コントラスト閾値、及びTNORMは強度正規化した投影された勾配の大きさに対する正規化したコントラスト閾値である。
Also with reference to step 350 in step 300 (FIG. 3), qualified edge points are extracted by combining the 1D projection profiles of the x-gradient image and the y-gradient image. This is achieved using a
(G x 2 + gy 2 ) 1/2 > T ABS
(G x 2 + gy 2 ) 1/2 / I> T NORM
Here, g x and gy are the values of the x-gradient projection and the y -gradient projection at the pixel location, I is the intensity, TAB is the absolute contrast threshold for the magnitude of the raw projected gradient, and TNORM is the intensity normal. It is a normalized contrast threshold for the magnitude of the projected projected gradient.
特に、ポイントはその絶対コントラストと正規化したコントラストがいずれもそれぞれの閾値を超える場合のみ候補エッジポイントと見なされる。このことは正規化したコントラスト閾値TNORMに対するコントラスト閾値TABSの模範的なグラフ800において、右上の象限810によって示されている。二重の閾値(絶対及び正規化)を用いることは、典型的に絶対コントラスト閾値を使用する既存の方策とは全体として異なる。二重コントラスト閾値の利点は、例を挙げるとある画像がいずれも興味のあるエッジを含む暗い強度区域と明るい強度区域の両方を含む場合に明確である。画像の暗い区域でエッジを検出するためには、低いコントラスト閾値を設定することが望ましい。しかしながらそのような低いコントラストを設定すると、その結果として画像の明るい部分で誤ったエッジを検出する可能性がある。反対に、画像の明るい区域で誤ったエッジを検出するのを避けるためには、高いコントラスト閾値を設定することが望ましい。しかしながら高いコントラストを設定すると、システムは画像の暗い区域でエッジを適切に検出できないかもしれない。伝統的な絶対コントラスト閾値に加えて、第2の正規化したコントラスト閾値を用いることによって、システムは暗い区域と明るい区域の両方で適切にエッジを検出することができ、画像の明るい区域で誤ったエッジを検出するのを避けることができる。それゆえ該当するエッジの検出を可能にする一方で誤ったエッジを回避することにより、避けながら、二重コントラスト閾値の使用は全体プロセスの後続のライン検出段階の速度と堅牢性を最大化するのに役立つ。
In particular, a point is considered a candidate edge point only if its absolute contrast and normalized contrast both exceed their respective thresholds. This is shown by the upper
更に手順ステップ350(図3)を参照すると、すべてのエッジポイントが抽出されたら、後続のラインファインダが作動するために都合の良いデータ構造で再現され保存される。例えば次のタプルに留意されたい。
p=(x,y,gx,gy,gm,go,I,gm/I,m,n)
ここで、(x,y)はエッジポイントの箇所、(gx,gy)はそれぞれx勾配投影及びy勾配投影の値、(gm,go)は(gx,gy)から計算された勾配の大きさと向き、Iはエッジポイント箇所における強度、gm/Iは勾配の大きさgmを強度Iで除算することによって得られる強度正規化したコントラスト、mは画像インデックス、及びnは投影区域インデックスである。標準キャリパツールにおけるようなエッジポイントの箇所は、精度を向上させるために補間できる。
Further referring to step 350 (FIG. 3), once all the edge points have been extracted, they are reproduced and stored in a convenient data structure for subsequent linefinders to operate. Note, for example, the following tuple.
p = (x, y, gx, gy, gm, go, I, gm / I, m, n)
Here, (x, y ) is the location of the edge point, (g x , gy) is the value of the x -gradient projection and the y-gradient projection, respectively, and (g m , go) is calculated from (g x , g y ). The magnitude and orientation of the gradient, I is the intensity at the edge point, g m / I is the intensity normalized contrast obtained by dividing the gradient magnitude g m by the intensity I, m is the image index, and n. Is the projected area index. Edge point locations, such as those in standard caliper tools, can be interpolated to improve accuracy.
エッジポイント抽出プロセスは一般的に場の投影を、予想されるライン角度と実質的に一致する単一方向で行うように作動することに留意されたい。それゆえツールはこの角度にあるエッジに対して最も敏感であり、その感度は他の角度にあるエッジに対して徐々に減少し、減少率は場の投影の長さを間接的に決定する粒度の設定に依存する。結果として角度範囲はユーザによって指定されることを条件に、プロセスは角度が予想されるライン角度「に近い」ラインを検出することに制限される。プロセスは直交していないラインを検出するように適合されているが、種々の実施形態において直交方向を含む複数の方向(全方向ライン検出)で投影を実行することによって360度全体の任意の角度のラインを検出できるように一般化されることが想定されている。 It should be noted that the edge point extraction process generally operates to project the field in a single direction that substantially matches the expected line angle. Therefore, the tool is most sensitive to edges at this angle, its sensitivity gradually decreases with respect to edges at other angles, and the rate of decrease indirectly determines the length of the field projection. Depends on the settings of. As a result, the process is limited to detecting lines that are "close" to the expected line angle, provided that the angle range is specified by the user. The process is adapted to detect non-orthogonal lines, but in various embodiments any angle across 360 degrees by performing projections in multiple directions, including orthogonal directions (omnidirectional line detection). It is supposed to be generalized so that the line of can be detected.
手順300(図3)のステップ360を参照すると、例示的な実施形態に従い閾値を超えるエッジポイント候補がラインファインダに提供される。例を挙げると、ラインファインダは再帰的に作動し、(例えば)ランダムサンプルコンセンサス(RANSAC)ベースの技術を採用する。図9におけるライン検出手順900も参照する。ステップ910において、ユーザは1つの画像内で予想されるラインの最大数を、予想される角度、角度誤差、距離誤差及び(例示的に)最小カバレージスコア(以下に一般に定義)と共に(例えば)GUIによって指定する。これらのパラメータは、次のプロセスを操作するためにラインファインダによって使用される。画像の各サブ領域に対するラインはRANSACラインファインダを再帰的に実行して、ある段階からのエッジポイントアウトライアが次の段階に対する入力ポイントとなることによって検出される。こうしてステップ920において、手順900は、エッジ検出プロセスにおいて極値として特定されたエッジポイントのグループ部分である1対のエッジポイントを選択する。手順900は、モデルラインと(選択された誤差範囲内で)一致している勾配値のマッチングに基づいて、モデルラインを選択されたエッジポイントにフィッティングすることを試みる。ステップ924ではステップ922からの1以上のライン候補が戻される。各ライン検出段階は候補ライン、そのインライア及びアウトライアを戻す。戻されたラインは、ライン候補と一致する位置と勾配を有するインライアエッジポイントが計算される(ステップ926)。ステップ928では、最大のインライアカウントを有する候補ラインが特定される。上述したライン検出段階(ステップ920-928)は、RANSAC反復の許容された最大数に達すると終了する(決定ステップ930)。各ライン検出段階内部の反復の最大数は、内部計算されたアウトライアの最悪比率とユーザによって指定された保証レベルを用いて自動的に計算される。各ライン検出段階は、ユーザ指定のフィッティング誤差、幾何学的制限及び極性を条件に、キャンプチャーされたエッジポイントの最大数を有するラインをそのすべての反復から戻す。各エッジポイントは1本のラインのインライアリストのみに割り当てることができ、各ラインは各投影区域からたかだか1つのエッジポイントのみ含むことが許される。エッジポイントの勾配の向きはその位置と共に、候補ラインのインライアリストに含まれるべきか決定するために使用される。具体的には、エッジポイントは候補ラインの角度と一致する勾配の向きを有するべきである。
Referring to step 360 of step 300 (FIG. 3), edge point candidates exceeding the threshold are provided to the line finder according to an exemplary embodiment. For example, the linefinder works recursively and employs (eg) random sample consensus (RANSAC) based technology. The
決定ステップ930では、より多くの反復が許可されて、最良インライア候補からのアウトライア(ステップ940)を、RANSACプロセス(ステップ920)がライン候補の検出に使用するために戻すことを決定する。
In the
各RANSAC反復において、異なる投影区域に属する2つのエッジポイントがランダムに選択され、それらの2つのポイントにラインがフィッティングされる。結果として生じる候補ラインは更に、その角度がポイント対の両エッジの勾配角度と一致するか、及びラインの角度がユーザによって指定された不確かさの範囲と一致するかについてのみ検討される。概して、エッジポイント勾配方向は通常直角であるが、ユーザ設定の角度誤差だけ異なることが許容される。候補ラインがこれらの初期テストに合格したら、次いでインライアエッジポイントの数が評価され、さもなければ新しいRANSAC反復が開始される。エッジポイントは、ユーザによって指定された勾配角度と距離誤差に基づいて、その勾配の方向と位置がラインと一致する場合のみ候補ラインのインライアと見なされる。 At each RANSAC iteration, two edge points belonging to different projection areas are randomly selected and a line is fitted to those two points. The resulting candidate line is further examined only to see if its angle matches the slope angle of both edges of the point pair and if the angle of the line matches the range of uncertainty specified by the user. In general, the edge point gradient direction is usually a right angle, but it is permissible to differ by a user-configured angular error. If the candidate line passes these initial tests, then the number of aligner edge points is evaluated and otherwise a new RANSAC iteration is started. An edge point is considered an aligner of candidate lines only if its slope direction and position match the line, based on the slope angle and distance error specified by the user.
RANSAC反復が最大数に達したら(決定ステップ930)、検出された最良のライン候補のインライアは、(例えば)最小二乗回帰又は他の受け入れ可能な近似法を用いて改善されたラインのフィッティングが行われ、インライアエッジポイントのセットが再評価され、これらのステップを最大N回(例えば3回以上)、インライアの数がそれ以上増加又は減少しなくなるまで繰り返す(ステップ960)。これはステップ970で検出されたラインとして出力されるラインである。
Once the maximum number of RANSAC iterations has been reached (decision step 930), the best line candidate inliar detected is (eg) improved line fitting using least squares regression or other acceptable approximation method. The set of inliar edge points is re-evaluated and these steps are repeated up to N times (eg, 3 or more) until the number of inliar does not increase or decrease any further (step 960). This is a line output as the line detected in
決定ステップ980は、((例えば)更にサブ領域又は他の基準をサーチすることによって)より多くのラインが検出されるべきか決定し、そうであればプロセスはステップ920にループバックして新しいセットのエッジポイントで作動する(ステップ982)。ポイントが使い尽くされるか、又は最大数反復カウントに達したら、手順900はステップ990で(複数の画像内で)検出されたラインのセットを戻す。
マルチラインファインダは、2本のラインが検査区域内で互いに交差する場合に、既存の結果の最終調整を実行するように適合されている。図10及び図11に一般的に示されているように、密集した平行線1010及び1020に対しては、RANSAC手順の統計的正確に起因して時々誤ったライン結果(即ち図10)が得られることがある。しかしながらそのようなエラーが発生したら、インライアポイントグループの交換(図11のグループ1110における矢印1120)は時々カバレージスコアが増加してフィッティング残余が減少した正しいラインの位置を特定することができる。ポイント交換は、図示されているように画像が密集した平行線を含んでいる場合は極めて効果的である。反対に、画像が図12及び図13に図示されているように実際に互いに交差するライン1210及び1220を包含する場合、カバレージスコアはポイント交換の後で減らされ(図12のグループ1240における矢印1230)、交換の前に得られた最初の結果は、交差線を首尾よく検出するプロセスにより保存される。
The multi-line finder is adapted to perform final adjustments to existing results when two lines intersect each other within the inspection area. As is commonly shown in FIGS. 10 and 11, for dense
RANSAC手順は、ラインファインダがポイントをラインにフィッティングできる多様な技術の1つであることに留意されたい。代替的な実施形態において、候補ポイントはそれらの間の変位セットに従って選択でき、或いは画像は(例えば)網羅的サーチ技術を用いて処理できる。従って、本明細書中で用いられているようにRANSAC技術への参照は、広く多様な類似のポイントフィッティング技術を含むものと解するべきである。 It should be noted that the RANSAC procedure is one of the various techniques that allows the line finder to fit points to the line. In an alternative embodiment, candidate points can be selected according to the set of displacements between them, or images can be processed using (eg) exhaustive search techniques. Therefore, references to RANSAC techniques as used herein should be construed to include a wide variety of similar point fitting techniques.
このシステム及び方法の追加の機能を設けることができる。これらは混合極性に対するサポート、投影区域幅の自動計算、多視点ライン検出のサポート、及び歪みのない入力画像により光学歪みを除去できるようにすることを含む。これらの機能について以下に説明する。 Additional functionality of this system and method can be provided. These include support for mixed polarities, automatic calculation of projected area widths, support for multi-view line detection, and the ability to remove optical distortion with a distortion-free input image. These functions will be described below.
更に図14-図16の例を参照すると、例示的な実施形態のライン検出システム及び方法は、一般に検出されたエッジ間のコントラストに対して(それぞれ)標準的な明から暗、暗から明及び択一極性設定をサポートする。加えてこのシステム及び方法は明から暗と暗から明の両特徴が同一のラインに現れる混合極性設定(図17)もサポートできる。全4種類の設定のライン検出結果が次の図に示されている。例示的な実施形態において、システム及び方法は、反対極性のエッジポイントを包含する1本のラインの検出を可能にする混合極性設定を含んでいてもよい。これは、1本のラインのすべてのエッジポイントがいずれかの極性であるが1つの極性に限られている慣用的な「択一」極性設定とは異なる。混合極性設定は、幾つかある応用の中でも(例えば)較正プレートの明暗格子縞に用いられると有利であり得る。 Further referring to the example of FIGS. 14-16, the line detection systems and methods of the exemplary embodiments are generally (respectively) standard light to dark, dark to light and for contrast between detected edges. Supports alternative polarity settings. In addition, the system and method can also support a mixed polarity setting (FIG. 17) in which both light-to-dark and dark-to-light features appear on the same line. The line detection results for all four settings are shown in the following figure. In an exemplary embodiment, the system and method may include a mixed polarity setting that allows the detection of a single line containing edge points of opposite polarity. This is different from the conventional "alternative" polarity setting where all edge points in a line are of either polarity but are limited to one polarity. The mixed polarity setting may be advantageous when used for light-dark grid fringes of (eg) calibration plates, among other applications.
ユーザは、ライン検出の改善されたシフト不変を選択できる。そのような場合に、エッジポイント抽出装置は結果の安定性を改善するために実質的にオーバーラップした投影区域を使用する。これらの区域がオーバーラップしていないと、対象としているピクセルは画像がシフトしたとき投影区域の外に出る可能性があり、その結果としてライン検出結果におけるシフト不変が乏しいものとなる。オーバーラップした投影区域は、対象としているピクセルが投影区域によって連続的にカバーされることを保証する。オーバーラップした投影区域が使用された場合、増分計算を可能な低レベル最適化と共に実行できる。 The user can select an improved shift immutability for line detection. In such cases, the edge point extractor uses substantially overlapping projection areas to improve the stability of the results. If these areas do not overlap, the pixel of interest may move out of the projected area when the image shifts, resulting in poor shift invariance in the line detection results. The overlapping projection areas ensure that the pixels of interest are continuously covered by the projection area. If overlapping projection areas are used, incremental calculations can be performed with possible low-level optimizations.
ユーザは、取得した画像及び/又は撮像された表面の特定部分をライン特徴の解析から除外するマスクを設けることができる。これは表面が興味のない既知のライン特徴(例えば他のメカニズムによって解析されるバーコード、テキスト、及びラインを検出しようとするタスクと密接な関係がないその他の構造)を含む場合に望ましいことがある。従ってエッジポイント抽出装置は、画像内の「無関係」区域はマスクアウトでき「関係」区域はマスクインされる画像マスキングをサポートできる。そのようなマスキングが起きたら、例示的に検出されたラインのカバレージスコアはマスク内に入るエッジポイントの数に従って再重み付される。 The user can provide a mask that excludes the acquired image and / or a specific portion of the captured surface from the analysis of line features. This is desirable if the surface contains known line features that are of no interest (eg, barcodes, texts analyzed by other mechanisms, and other structures that are not closely related to the task of trying to detect the line). be. Therefore, the edge point extractor can support image masking in which "irrelevant" areas in the image can be masked out and "relational" areas are masked in. When such masking occurs, the coverage score of the exemplary detected line is reweighted according to the number of edge points that fall within the mask.
図18の模範的な画像区域1800を参照すると、画像マスクが存在する場合のカバレージスコアと、そのようなカバレージスコアに及ぼす画像マスキングの効果を示す。エッジポイント抽出装置は、画像内の「無関係」区域をマスクアウトできる画像マスキングをサポートする。図示されているように、検出されたライン1810は(「関係」マスク区域1820に基づき)関係エッジポイントによって特徴付けられる。そのような関係エッジポイントは、ライン1810に対する関係エッジポイントインライア1830と、ライン1810に対する無関係エッジポイントアウトライア1840からなる。ライン1810上の無関係エッジポイント1850は、この例で示されているようにマスクの関係区域1820の間にあり、たとえインライアとしてライン上にあってもカバレージスコア計算に含まれていない。ライン1810に沿ったエッジポイントに対する潜在的箇所1860も、図示のように決定されている。これらの潜在的箇所は、検出されたポイントの間隔に基づいて予測できる間隔で既知のポイントの間に位置決めされている。例示的に、検出されたラインのカバレージスコアは、マスク内に入るエッジポイントの数に従って再重み付される。これによりカバレージスコアは、次の通り修正される。
カバレージスコア = ラインに対する関係エッジポイントインライアの数/(ラインに対する関係エッジポイントインライアの数+ラインに対する関係エッジポイントアウトライア+関係エッジポイントの潜在的箇所の数)。
Referring to the
Coverage score = number of relational edgepoint inliers for the line / (number of relational edgepoint inliers for the line + relational edgepoint outliers for the line + number of potential points of relational edgepoint).
本明細書に記載したシステム及び方法に従うライン検出プロセスを実行した後で、検出されたラインはユーザが((例えば)GUIによって)指定する分類基準に基づいて種々の方法で分類できる。ユーザは、内部分類手段、例えばインライアカバレージスコア、強度又はコントラストから選択できる。ユーザは内部分類手段、例えば符号付き距離又は相対角度からも選択できる。外部分類手段を用いる場合、ユーザは検出されたラインの外部分類手段を計算するための参照ラインセグメントを指定できる。 After performing the line detection process according to the systems and methods described herein, the detected lines can be classified in various ways based on the classification criteria specified by the user (eg, by the GUI). The user can choose from internal classification means, such as in-line coverage score, intensity or contrast. The user can also choose from internal classification means, such as signed distances or relative angles. When using the external classification means, the user can specify a reference line segment for calculating the external classification means of the detected line.
一般的に上述したように、このシステム及び方法は多視野角(MFOV)オーバーロードを含むことができ、異なる視野からの画像のベクトルをプロセスに入れることができる。画像はすべて較正に基づいて共通クライアント座標空間にあるべきである。上記のように、この機能性は、複数のカメラを使って単一の部品の部分領域をキャプチャーする応用シナリオにおいて極めて有益であり得る。エッジポイントは勾配情報を保持するので、視野におけるギャップの間に投影されるライン特徴は、(両FOVにおける勾配が各FOVで与えられたラインの向き及びアライメントに匹敵するとき)依然として解像され得る。 sdrt As generally mentioned above, this system and method can include multi-viewing angle (MFOV) overloads and can incorporate vectors of images from different fields of view into the process. All images should be in a common client coordinate space based on calibration. As mentioned above, this functionality can be extremely useful in application scenarios where multiple cameras are used to capture a subregion of a single component. Since the edge points retain the gradient information, the line features projected between the gaps in the field of view can still be resolved (when the gradient in both FOVs is comparable to the orientation and alignment of the lines given in each FOV). .. sdrt
特に、システム及び方法は、非直線ひずみを取り除いてひずみが重大でないことを保証するために、歪みの除去を要求しない(即ち画像が歪んでいないことを要求しない)(歪みのない画像を可能にする)。画像が歪んでいなければ、システム及び方法は依然として候補エッジポイントを検出し、非線形変換を通してポイント位置と勾配ベクトルをマッピングできる。 In particular, systems and methods do not require distortion removal (ie, do not require the image to be undistorted) (enable distortion-free images, in order to remove non-linear distortion and ensure that the distortion is not significant. do). If the image is not distorted, the system and method can still detect candidate edge points and map point positions and gradient vectors through non-linear transformations.
III. ラインラベル付けトレーニングインタフェースとランタイムプロセス III. Line labeling training interface and run-time process
再び図1を参照すると、ビジョンシステムプロセス(プロセッサ)130は更に、以下に説明するトレーニング時とランタイムに使用されるラベルインタフェース及び関連するプロセス(プロセッサ)136を含む。加えて、ビジョンシステムプロセス(プロセッサ)は、ニューラルネットプロセス(プロセッサ)138を含み、又はこれと界接しており、ニューラルネットプロセス(プロセッサ)138は以下に説明するようにラベルプロセス136と界接するプロセス(プロセッサ)137から画像データ及び関連する分類子を受け取る。ラベルインタフェースプロセス(プロセッサ)136は、トレーニング時に動作してユーザに特定の(通常はテキスト/英数字による)記述(本明細書では「ラベル」又は「タグ」と呼ぶ)を、オブジェクトの画像内の関心のあるラインと関連付ける。これらのプロセス(プロセッサ)は、ツール結果で検出されたラインに自動的にラベル付けする追加の能力を提供することによって上述のライン検出ツールの機能を強化する。
Referring again to FIG. 1, the vision system process (processor) 130 further includes a label interface and related process (processor) 136 used during training and runtime as described below. In addition, the vision system process (processor) includes or borders the neural net process (processor) 138, which is the process that borders the
図19を参照すると、上記のようなライン検出プロセスをトレーニングするための手順1900を示している。トレーニング手順1900は、関心のあるラインに対するユーザ提供のラベル(通常はテキスト形式及び/又は英数字形式)を含んでいる。ステップ1910で、ユーザはオブジェクトのトレーニング画像を検査する。トレーニング画像は通常はモデルオブジェクトの実際の画像であるが、部分的又は全体的にCAD又は他の合成方法によって生成されてもよい。ユーザは関心のある画像内のライン、例えばタブレットやスマートフォンのカバーガラスのエッジなどを識別する。関心のあるラインを記述するために「内側ハウジング内側エッジ」、「外側ハウジング内側エッジ」などのラベルを作成することができる。ユーザは(可能なラベルのリストから)アクセスするか、又はラインを定義する一連の用語を作成し、これらは画像のトレーニングに使用するためのデータベースに保存される(ステップ1920)。
Referring to FIG. 19, a
ユーザは、ビジョンシステムによる検査中にオブジェクトの1以上のトレーニング画像を取得するかアクセスして、それらの上でトレーニングプロセス(プロセッサ)を実行する(ステップ1930)。トレーニングプロセスは、上述したライン検出ツールの操作を含む。ツールはユーザ設定パラメータを使用して、各トレーニング画像内に自動的に複数のラインを検出する。 The user acquires or accesses one or more training images of the object during inspection by the vision system and performs a training process (processor) on them (step 1930). The training process involves the operation of the line detection tool described above. The tool uses custom parameters to automatically detect multiple lines within each training image.
図20も参照すると、ユーザインタフェースディスプレイ画面2000が示されている。ディスプレイ画面2000は、ビジョンシステムによる検査中のオブジェクトのトレーニング画像を示すウィンドウ2010を含む。画像は一般に強調表示された印2020、2022、2024、2026、2028及び2029によって示される一連の検出された線を含む。ディスプレイは、特定のライン、例えば以下に記すようなラベルを付けるためにユーザによってクリックされたかフラグが立てられた「内側ハウジング内側エッジ」を(多くの場合異なる色で)強調表示する。印2022-2026は、ビジョンシステムタスクにとって特に関心/関連性のない及びクリックされなかったラインに関係する。一般に本明細書で定義される「ライン」は本質的に画像内の線形ステップエッジであり、これにラインファインダは数学的ラインフィットを結果として返す。要素2030(これもタスクに対する関連性のあるエッジあり、トレーニング中にユーザによってラベル付される)の場合は、2つの関連するステップエッジ(2028と2029参照)が要素2030の両側に示されている。
Also with reference to FIG. 20, the user
ユーザは、定義されたラベル2042、2044、2046及び2048を含むメニュー2040にアクセスする。ユーザは、カーソル2050を使用して所望のラベル又は他のインタフェース構成要素をクリックすることができ、次に検出された関心のあるライン(ライン2030)をクリックして特定のライン上にラベルを設定する(ステップ1940)。検出されたすべてのラインにラベルを付ける必要はなく、ユーザが所望する関連性のあるラインのみに付ければよいことに留意されたい。1以上の関連性のあるラインが画像から欠落している場合は、そのラインに関連付けられているラベルは割り当てられないままである。
The user accesses
トレーニング画像のセットのライン結果をラベル付けした後、ツールがトレーニングされ、当該データはオブジェクト/ビジョンシステムタスクに関して適切なデータベースに保存される(ステップ1950)。それに続いてトレーニングされたツールが画像上で実行されると、ツールは複数のラインを検出するだけでなく、検出された各ラインに自動的にユニークなラベルを割り当てる(或いは検出されたラインがユーザのアプリケーションと関連性がない場合はラベルを付けない)。これにより、ユーザは検出された各ラインの識別情報を決定するためにライン結果を(例えばスクリプトコードで)後処理する必要がなくなる。 After labeling the line results for the set of training images, the tool is trained and the data is stored in the appropriate database for the object / vision system task (step 1950). When the subsequently trained tool is run on the image, the tool not only detects multiple lines, but also automatically assigns a unique label to each detected line (or the detected line is the user). Do not label if it is not relevant to your application). This eliminates the need for the user to post-process the line results (eg in script code) to determine the identification information for each detected line.
(任意選択の)ステップ1960によると、識別された(ラベル付けされた)ラインは、ランタイムに画像のライン特徴の処理及びスコアリングのためにニューラルネットワークツールに提供される。パラメータは、ユーザに提供されたトレーニングインタフェースの外部のニューラルネットワークに提供され、例えば画像内のライン特徴を検索するための最適化されたパラメータとして事前にプログラムすることができる。従ってユーザはトレーニング時にラインファインダ結果にテキストラベルを割り当てる責任のみある。ニューラルネットワークは、上記のライン検出ツールによって返された確率スコア候補ライン特徴に使用される。より具体的には、トレーニング時にラインがトレーニングウィンドウ2010で検出され、ユーザがラベル付けしたいラインの名前を選択したら、これらのラベル付きラインの各々に対してニューラルネットワーク分類子も作成される。分類子は、ユーザがトレーニングインタフェース2000で定義して適用したラベルと同じ(又は類似の)名前を採用できる。例えばユーザがラインを選択してラベル「内側ハウジング内側エッジ」を選択すると、プロセスは同じ名前の分類子を作成して、現在の画像をライン特徴ベクトルと共に分類子に追加する。
According to (optional)
入力画像内からライン特徴候補を抽出するために、カスタマイズされた又は在来技術に従う適切なプログラミングで、様々な市販のニューラルネットワークツールを採用できる。上述のライン検出プロセスが、様々なライン検出ツール及び画像から検出されたラインを供給する技術の例であることは明らかであろう。 Various off-the-shelf neural network tools can be employed to extract line feature candidates from the input image, with appropriate programming according to customized or conventional techniques. It will be clear that the line detection process described above is an example of various line detection tools and techniques for supplying lines detected from images.
ここで図21のランタイム手順2100を参照すると、オブジェクトのランタイム画像が先行の取得プロセスから取得及び/又は提供される(ステップ2110)。この画像はビジョンシステム及び関連するプロセッサ130に渡され、プロセッサ130は関連するラベルを含むトレーニングされたモデルに基づいて上述したライン検出ツール134を操作する(ステップ2120)。ライン検出ツールは、ラベルの有無にかかわらずすべての検出されたラインを返す。次に、ステップ2130で、トレーニング時に作成されたニューラルネットワークが実行され、確率スコアマップが取得される。確率スコアマップは、あるピクセルが、ニューラルネットワークがトレーニングされた特徴ベクトルに対応するかどうかのマップである。この確率スコアマップは画像と同じサイズである。次に検出された各ラインは定期的にサンプリングされ、スコアマップからツールごとに確率スコアが統合される。次にステップ2140において、各ラベルに対してどのラインが最大確率スコアを持つかに基づいてラベルがラインに割り当てられる。ステップ2150において、ライン検出ステップの結果は関連するラベルと確率スコアと共に保存されて、ユーザに表示され、及び/又は部品検査(合否)、ロボット制御など他の下流の利用タスクのために使用される。
With reference to the run-
図22は、(図20のトレーニングオブジェクトに基づく)模範的ランタイムオブジェクト上のランタイム結果のディスプレイを示しており、関連性のあるライン(ステップエッジ)が強調表示されている。追加の関連性のあるライン(例えば2228)は、トレーニングステップでトレーニングされた他の関心のあるラインに対して表示されており、ライン特徴2310を包囲している。幾つかの関連性のないラインも強調表示されている(2220、2222、2224)。ユーザは関連性のないラインの1つをクリックした(強調表示2220)が、これはそれぞれの情報ウィンドウ2230に「タグなし」を表示し、対応する確率スコアは0である。逆に、図23では、図22のディスプレイ2200と同じ結果を示すディスプレイ2300は、「内側ハウジング内側エッジ」のラベルを付けた関連性のあるライン2210に対する情報ボックス2320を提供する。これはトレーニング時からのユーザラベル付きライン特徴を表し、そのようなラインの確率スコアは0.635であり、これは検出されたラインがどちらかと言えば正しいラベル付きラインであることを意味する。
FIG. 22 shows a display of run-time results on an exemplary run-time object (based on the training object of FIG. 20), with relevant lines (step edges) highlighted. Additional relevant lines (eg, 2228) are displayed relative to other lines of interest trained in the training step and surround the
例示的に、上記のニューラルネット分類子は、ラインセグメントを定義する特徴と共に入力として画像(ピクセルデータ)を受け取る。ニューラルネット分類子の出力は画像セットであり、そこでは単一の画像内の各ピクセルが、対応する入力ピクセルがトレーニングされたラインセグメントと一致することの確実性である。出力画像の数は、分類子がトレーニングされたラインセグメントの数と同じである。ネットワークが再現するようにトレーニングされた所望の出力画像は、空間確率分布のバイナリ又はグレースケール表現であることができ、高確率の狭い稜線はライン又は他のトレーニングされたパターンの高勾配エッジに対応している。ランタイムに、分類子は.入力画像を受け取り、ニューラルネットがトレーニングされたラインセグメント現在のラベル/タグと関連している可能性があると結論する領域を強調する出力画像セットを生成する。 Illustratively, the neural net classifier described above receives an image (pixel data) as input along with features that define a line segment. The output of the neural net classifier is an image set, where each pixel in a single image is certain that the corresponding input pixel matches the trained line segment. The number of output images is the same as the number of line segments trained by the classifier. The desired output image trained to reproduce the network can be a binary or grayscale representation of the spatial probability distribution, with high probability narrow ridges corresponding to high gradient edges of lines or other trained patterns. is doing. At runtime, the classifier is. Takes the input image and produces an output image set that highlights the area where the neural net concludes that it may be associated with the trained line segment current label / tag.
代替的には、分類子は統計的に訓練されていてもよい。統計的に訓練された分類子への入力は、カレントラインセグメントとその隣のラインセグメントとの間の関係を描写する測定された特性(例;隣接するラインの距離、相対角度、等)又はラインセグメントの近傍における画像の算出された特性(ラインセグメントに接する1D強度画像プロジェクション、強度ヒストグラム統計値、等)を伴った、カレントラインセグメントの測定された諸特性(例;極性、位置、角度、等)を有する特徴ベクトルとして供給されたものであってもよい。したがって、本明細書中、「分類子」という用語は、ラベルを生成するニューラルネット分類子又は統計的に訓練された分類子を参照することができる。この用語は、K-近傍(K-NN)分類子及び/又はプロセス(プロセッサ)を参照することもできる。統計的分類子及び/又はK-NN分類子が動作する場合、確率スコア又は確率マップの出力は手順1900及び2100からオミットされることもあるし、また、インターフェイスのラベル/タグディスプレイの一部として提供されない可能性もある。しかし、そういった分類子であってもラベルプロセスを公的に改良することができる。
Alternatively, the classifier may be statistically trained. The input to the statistically trained classifier is a measured characteristic (eg, distance between adjacent lines, relative angle, etc.) or line that describes the relationship between the current line segment and the adjacent line segment. Measured characteristics of the current line segment (eg, polarity, position, angle, etc.) with calculated characteristics of the image in the vicinity of the segment (1D intensity image projection in contact with the line segment, intensity histogram statistics, etc.). ) May be supplied as a feature vector. Accordingly, in the present specification, the term "classifier" can refer to a neural net classifier or a statistically trained classifier that produces a label. The term can also refer to K-nearest neighbor (K-NN) classifiers and / or processes (processors). If the statistical classifier and / or the K-NN classifier works, the output of the probability score or probability map may be omitted from
IV. 結論 IV. Conclusion
システム、及び方法及び種々の代替実施形態/改良に従って提供されるラインファインダは、多様な条件の下で多数のライン特徴を決定するための効果的且つ堅牢なツールであることは明らかであろう。概して、ライン特徴を検出するために使用する場合にシステム及び方法は画像内に検出されるべきラインの最大数に特別制限はない。検出されたラインは、推定された正しさを決定でき、それによってライン検出プロセスの汎用性と堅牢性が増加するようにラベルを付けて分類することができる。 It will be clear that the line finder provided according to the system and method and various alternative embodiments / improvements is an effective and robust tool for determining a large number of line features under a variety of conditions. In general, systems and methods when used to detect line features have no particular limitation on the maximum number of lines that should be detected in an image. The detected lines can be labeled and classified so that the estimated correctness can be determined, thereby increasing the versatility and robustness of the line detection process.
以上、本発明の例示的な実施形態を詳細に説明した。本発明の精神と範囲を逸脱することなく種々の改変及び追加を行うことができる。上述した種々の実施形態の各々の特徴は、関連する新しい実施形態において多数の特徴の組み合わせを提供するのに適する限り、別の記載された実施形態の特徴と組み合わされてよい。更に、上に本発明の装置と方法の多数の別個の実施形態を記したが、ここに記載されたものは本発明の原理の応用を例示したものに過ぎない。例えば本明細書中で使用される「プロセス」及び/又は「プロセッサ」という言葉は広く電子ハードウェア及び/又はソフトウェアをベースとする多様な機能及びコンポーネント(代替として機能的「モジュール」又は「エレメント」と呼ぶことがある)を含むものと解釈されるべきである。更に、図示されたプロセス又はプロセッサは他のプロセス及び/又はプロセッサと組み合わせ、又は種々のサブプロセス又はサブプロセッサに分割されてよい。そのようなサブプロセス及び/又はサブプロセッサは、本明細書に記載された実施形態に従って多様に組み合わせることができる。同様に、本明細書中の何らかの機能、プロセス及び/又はプロセッサは、プログラム命令の非一時的コンピュータ可読媒体からなる電子ハードウェア、ソフトウェア、或いはハードウェアとソフトウェアの組み合わせを用いて実施できることが明確に想定されている。更に、本明細書で使用される様々な方向及び/又は向きを表わす用語、例えば、「垂直」、「水平」、「上」、「下」、「底部」、「頂部」、「側部」、「前部」、「後部」、「左」、「右」及びこれに類するものは、相対的な表現法として用いられているに過ぎず、重力の作用方向など固定した座標系を基準とした絶対的な向きを表わすものではない。従ってこの記述は例示としてのみ受け取られるべきであり、本発明の範囲を別途制限することを意味するものではない。加えて、与えられた測定、値又は特徴に関して「実質的に」又は「近似的に」という言葉が用いられている場合、それは所期の結果を達成するための通常の操作範囲内にある量を指しているが、システムに許容された誤差の範囲内の固有の不正確さや誤りに起因するある程度のばらつきを含む(例えば1-5パーセント)。従ってこの説明は例示の方法によるものであり、本発明の範囲を別途制限することを意味するものではない。 The exemplary embodiments of the present invention have been described in detail above. Various modifications and additions can be made without departing from the spirit and scope of the present invention. Each feature of the various embodiments described above may be combined with the features of another described embodiment as long as it is suitable to provide a combination of multiple features in the relevant new embodiment. Further, although a number of distinct embodiments of the devices and methods of the invention have been described above, those described herein merely illustrate the application of the principles of the invention. For example, the terms "process" and / or "processor" as used herein are broadly based on electronic hardware and / or software and various functions and components (alternatively functional "modules" or "elements". Should be construed as including). Further, the illustrated process or processor may be combined with other processes and / or processors or divided into various subprocesses or subprocessors. Such subprocesses and / or subprocessors can be combined in various ways according to the embodiments described herein. Similarly, it is expressly stated that any function, process and / or processor herein can be performed using electronic hardware, software, or a combination of hardware and software consisting of non-temporary computer-readable media of program instructions. It is supposed. In addition, terms used herein to describe various directions and / or orientations, such as "vertical," "horizontal," "top," "bottom," "bottom," "top," and "side." , "Front", "rear", "left", "right" and the like are only used as relative expressions and are based on a fixed coordinate system such as the direction of gravity. It does not represent the absolute orientation. Therefore, this description should be taken as an example only and does not imply limiting the scope of the invention separately. In addition, when the word "substantially" or "approximately" is used with respect to a given measurement, value or feature, it is an amount within the normal operating range to achieve the desired result. However, it includes some inherent inaccuracies and errors within the margin of error allowed by the system (eg 1-5 percent). Therefore, this description is by way of example and does not imply limiting the scope of the invention separately.
特許請求の範囲 Claims
Claims (22)
ビジョンシステムプロセッサと;
オブジェクトのトレーニング画像内でライン検出プロセスによって特定された関連性のあるラインに関する個別ラベルの作成を可能にするビジョンシステムプロセッサに関連したインタフェースと;
取得した画像内のラインを特定するランタイムライン検出プロセスと;
ラベルに基づいて分類子を使用してラベルに対するライン特徴の確率マップを決定するニューラルネットプロセスと;
少なくとも1本の関連性のあるラインに対してラベルと確率スコアを提供するランタイム結果生成プロセスと;
を有する、上記システム。 A system for detecting line features in images acquired based on one or more cameras.
With a vision system processor;
With an interface related to the vision system processor that allows the creation of individual labels for the relevant lines identified by the line detection process in the training image of the object;
With a run-time line detection process that identifies the lines in the captured image;
With a neural net process that uses a classifier based on the label to determine the probability map of the line features for the label;
With a run-time result generation process that provides labels and probability scores for at least one related line;
The above system.
前記エッジポイント抽出装置は、
(a)画像データから勾配ベクトル場を計算し、
(b)勾配ベクトル場を複数の勾配投影サブ領域に投影し、
(c)投影された勾配データに基づき勾配投影サブ領域のそれぞれにおいて複数のエッジポイントを検出するものであり、
上記ラインファインダは画像から抽出されたエッジポイントと一致している複数のラインを生成するものである、
請求項1記載のビジョンシステム。 The line detection process has a processor that receives image data of the scene including line features, and includes an edge point extractor.
The edge point extraction device is
(A) Calculate the gradient vector field from the image data and
(B) The gradient vector field is projected onto a plurality of gradient projection subregions.
(C) A plurality of edge points are detected in each of the gradient projection subregions based on the projected gradient data.
The line finder will generate multiple lines that match the edge points extracted from the image.
The vision system according to claim 1.
ビジョンシステムプロセッサと;
オブジェクトのトレーニング画像内でライン検出プロセスによって特定された関連性のあるラインに関する個別ラベルの作成を可能にするビジョンシステムプロセッサに関連したインタフェースと;
取得した画像内のラインを特定するランタイムライン検出プロセスと;
前記ライン検出プロセスによって特定されたラインに基づくインターフェイスのためのラベルを生成する統計的分類子と;
を有する、上記システム。 A system for detecting line features in images acquired based on one or more cameras.
With a vision system processor;
With an interface related to the vision system processor that allows the creation of individual labels for the relevant lines identified by the line detection process in the training image of the object;
With a run-time line detection process that identifies the lines in the captured image;
With a statistical classifier that produces labels for interfaces based on the lines identified by the line detection process;
The above system.
ビジョンシステムプロセッサと;
オブジェクトのトレーニング画像内でライン検出プロセスによって特定された関連性のあるラインに関する個別ラベルの作成を可能にするビジョンシステムプロセッサに関連したインタフェースと;
取得した画像内のラインを特定するランタイムライン検出プロセスと;
前記ライン検出プロセスによって特定されたラインに基づくインターフェイスのためのラベルを生成するK-NN分類子と;
を有する、上記システム。 A system for detecting line features in images acquired based on one or more cameras.
With a vision system processor;
With an interface related to the vision system processor that allows the creation of individual labels for the relevant lines identified by the line detection process in the training image of the object;
With a run-time line detection process that identifies the lines in the captured image;
With a K-NN classifier that produces labels for interfaces based on the lines identified by the line detection process;
The above system.
オブジェクトのトレーニング画像内でライン検出プロセスによって特定された関連性のあるラインに関する個別ラベルの作成を可能にするビジョンシステムプロセッサに関連したインタフェースを提供するステップと;
ランタイムライン検出プロセスによって、取得した画像内の検出されたラインを特定するステップと;
少なくとも1本の関連する検出されたラインに対するラベルを分類子で生成するステップと;
を有する方法。 In a method for detecting line features in an image acquired based on one or more cameras.
With steps to provide an interface related to the vision system processor that allows the creation of individual labels for the relevant lines identified by the line detection process in the training image of the object;
With the steps of identifying the detected lines in the captured image by the run-time line detection process;
With the step of generating a label for at least one related detected line with a classifier;
How to have.
前記エッジポイント抽出装置は、
(a)画像データから勾配ベクトル場を計算する。
(b)勾配ベクトル場を複数の勾配投影サブ地域に投影し、
(c)投影された勾配データに基づきそれぞれの勾配射影サブ領域おいて複数のエッジポイントを検出し、そして
画像から抽出されたエッジポイントと一致する複数のラインを計算する、
請求項14に記載の方法。 The line detection process has a processor that receives image data of the scene including line features, and includes an edge point extractor.
The edge point extraction device is
(A) Calculate the gradient vector field from the image data.
(B) The gradient vector field is projected onto a plurality of gradient projection subregions.
(C) Detect multiple edge points in each gradient projection subregion based on the projected gradient data and calculate multiple lines matching the edge points extracted from the image.
The method according to claim 14.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2023198728A JP2024016287A (en) | 2018-06-06 | 2023-11-23 | System and method for detecting line by vision system |
Applications Claiming Priority (3)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
US16/001,885 US10937168B2 (en) | 2015-11-02 | 2018-06-06 | System and method for finding and classifying lines in an image with a vision system |
US16/001,885 | 2018-06-06 | ||
JP2019104032A JP2019220163A (en) | 2018-06-06 | 2019-06-03 | System and method for finding line with vision system |
Related Parent Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2019104032A Division JP2019220163A (en) | 2018-06-06 | 2019-06-03 | System and method for finding line with vision system |
Related Child Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2023198728A Division JP2024016287A (en) | 2018-06-06 | 2023-11-23 | System and method for detecting line by vision system |
Publications (3)
Publication Number | Publication Date |
---|---|
JP2022009474A true JP2022009474A (en) | 2022-01-14 |
JP2022009474A5 JP2022009474A5 (en) | 2022-08-31 |
JP7393106B2 JP7393106B2 (en) | 2023-12-06 |
Family
ID=68651911
Family Applications (3)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2019104032A Pending JP2019220163A (en) | 2018-06-06 | 2019-06-03 | System and method for finding line with vision system |
JP2021174197A Active JP7393106B2 (en) | 2018-06-06 | 2021-10-25 | System and method for detecting lines in a vision system |
JP2023198728A Pending JP2024016287A (en) | 2018-06-06 | 2023-11-23 | System and method for detecting line by vision system |
Family Applications Before (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2019104032A Pending JP2019220163A (en) | 2018-06-06 | 2019-06-03 | System and method for finding line with vision system |
Family Applications After (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2023198728A Pending JP2024016287A (en) | 2018-06-06 | 2023-11-23 | System and method for detecting line by vision system |
Country Status (4)
Country | Link |
---|---|
JP (3) | JP2019220163A (en) |
KR (3) | KR20190138755A (en) |
CN (2) | CN110570439B (en) |
DE (1) | DE102019115224A1 (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112906701B (en) * | 2021-02-08 | 2023-07-14 | 重庆兆光科技股份有限公司 | Fine-granularity image recognition method and system based on multi-attention neural network |
CN117409261B (en) * | 2023-12-14 | 2024-02-20 | 成都数之联科技股份有限公司 | Element angle classification method and system based on classification model |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2017090450A (en) * | 2015-11-02 | 2017-05-25 | コグネックス・コーポレイション | System and method for detecting line in vision system |
JP2017533482A (en) * | 2015-09-10 | 2017-11-09 | バイドゥ オンライン ネットワーク テクノロジー (ベイジン) カンパニー リミテッド | Lane data processing method, apparatus, storage medium and equipment |
Family Cites Families (20)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7010167B1 (en) * | 2002-04-30 | 2006-03-07 | The United States Of America As Represented By The National Security Agency | Method of geometric linear discriminant analysis pattern recognition |
KR100979811B1 (en) * | 2003-08-12 | 2010-09-02 | 삼성전자주식회사 | Deinterlacing apparatus and method based on horizontal edge pattern |
US7400414B2 (en) * | 2005-10-31 | 2008-07-15 | Mitutoyo Corporation | Hand-size structured-light three-dimensional metrology imaging system and method |
US7831098B2 (en) * | 2006-11-07 | 2010-11-09 | Recognition Robotics | System and method for visual searching of objects using lines |
US8237935B2 (en) * | 2007-10-23 | 2012-08-07 | Gii Acquisition, Llc | Method and system for automatically inspecting parts and for automatically generating calibration data for use in inspecting parts |
US8565536B2 (en) * | 2010-04-01 | 2013-10-22 | Microsoft Corporation | Material recognition from an image |
CN102667859B (en) * | 2010-09-10 | 2016-01-20 | 松下电器(美国)知识产权公司 | The pattern recognition device of the general object undertaken by exclusiveness sorter and method |
CN102789573A (en) * | 2011-05-16 | 2012-11-21 | 索尼公司 | Target detection equipment and method as well as classifier training equipment and method |
US9536178B2 (en) * | 2012-06-15 | 2017-01-03 | Vufind, Inc. | System and method for structuring a large scale object recognition engine to maximize recognition accuracy and emulate human visual cortex |
JP2014092922A (en) * | 2012-11-02 | 2014-05-19 | Tottori Univ | Detector, detection method, and detection program |
JP2014149788A (en) * | 2013-02-04 | 2014-08-21 | Nippon Telegr & Teleph Corp <Ntt> | Object area boundary estimation device, object area boundary estimation method, and object area boundary estimation program |
JP6209069B2 (en) * | 2013-11-26 | 2017-10-04 | 日本電信電話株式会社 | Boundary detection apparatus, boundary detection method, and computer program |
US20150199592A1 (en) * | 2014-01-14 | 2015-07-16 | Microsoft Corporation | Contour-based classification of objects |
US9477892B2 (en) * | 2014-03-26 | 2016-10-25 | Xerox Corporation | Efficient method of offline training a special-type parked vehicle detector for video-based on-street parking occupancy detection systems |
AU2015261891A1 (en) * | 2014-05-23 | 2016-10-13 | Ventana Medical Systems, Inc. | Systems and methods for detection of biological structures and/or patterns in images |
CN104166843B (en) * | 2014-08-08 | 2017-02-15 | 西安交通大学 | Document image source judgment method based on linear continuity |
US9892301B1 (en) * | 2015-03-05 | 2018-02-13 | Digimarc Corporation | Localization of machine-readable indicia in digital capture systems |
CN106157283A (en) * | 2015-04-01 | 2016-11-23 | 株式会社理光 | The detection method of lane segmentation thing and device |
DE102016120775A1 (en) * | 2015-11-02 | 2017-05-04 | Cognex Corporation | System and method for detecting lines in an image with a vision system |
US10235623B2 (en) * | 2016-02-12 | 2019-03-19 | Adobe Inc. | Accurate tag relevance prediction for image search |
-
2019
- 2019-06-03 JP JP2019104032A patent/JP2019220163A/en active Pending
- 2019-06-05 CN CN201910484710.9A patent/CN110570439B/en active Active
- 2019-06-05 KR KR1020190066661A patent/KR20190138755A/en active Application Filing
- 2019-06-05 DE DE102019115224.0A patent/DE102019115224A1/en active Pending
- 2019-06-05 CN CN202410530625.2A patent/CN118521604A/en active Pending
-
2021
- 2021-03-18 KR KR1020210035310A patent/KR20210032374A/en not_active Application Discontinuation
- 2021-10-25 JP JP2021174197A patent/JP7393106B2/en active Active
-
2023
- 2023-11-23 JP JP2023198728A patent/JP2024016287A/en active Pending
-
2024
- 2024-04-26 KR KR1020240056058A patent/KR20240058827A/en active Search and Examination
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2017533482A (en) * | 2015-09-10 | 2017-11-09 | バイドゥ オンライン ネットワーク テクノロジー (ベイジン) カンパニー リミテッド | Lane data processing method, apparatus, storage medium and equipment |
JP2017090450A (en) * | 2015-11-02 | 2017-05-25 | コグネックス・コーポレイション | System and method for detecting line in vision system |
Also Published As
Publication number | Publication date |
---|---|
CN110570439A (en) | 2019-12-13 |
JP2024016287A (en) | 2024-02-06 |
KR20190138755A (en) | 2019-12-16 |
JP7393106B2 (en) | 2023-12-06 |
KR20210032374A (en) | 2021-03-24 |
CN118521604A (en) | 2024-08-20 |
CN110570439B (en) | 2024-05-17 |
DE102019115224A1 (en) | 2019-12-12 |
JP2019220163A (en) | 2019-12-26 |
KR20240058827A (en) | 2024-05-03 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP6934026B2 (en) | Systems and methods for detecting lines in a vision system | |
US11699283B2 (en) | System and method for finding and classifying lines in an image with a vision system | |
KR102649038B1 (en) | System and method for finding lines in an image with a vision system | |
US20110128354A1 (en) | System and method for obtaining camera parameters from multiple images and computer program products thereof | |
US20240078801A1 (en) | System and method for finding and classifying lines in an image with a vision system | |
JP2024016287A (en) | System and method for detecting line by vision system | |
CN107085728B (en) | Method and system for effectively scoring probe in image by using vision system | |
CN111598913A (en) | Image segmentation method and system based on robot vision | |
JP6317725B2 (en) | System and method for determining clutter in acquired images | |
US9842402B1 (en) | Detecting foreground regions in panoramic video frames | |
US9824455B1 (en) | Detecting foreground regions in video frames | |
CN112508925A (en) | Electronic lock panel quality detection method, system, computer device and storage medium | |
CN110874837A (en) | Automatic defect detection method based on local feature distribution | |
Aliev et al. | A low computational approach for price tag recognition | |
Gao et al. | Design of an interactive whiteboard system using machine vision | |
Pereira et al. | Parallelized automatic false defect detection using GPUs during mask inspection | |
CN117788798A (en) | Target detection method and device, visual detection system and electronic equipment |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20220601 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20220823 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20230502 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20230515 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20230812 |
|
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: 20231025 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20231123 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 7393106 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |