Main Content

このページの翻訳は最新ではありません。ここをクリックして、英語の最新版を参照してください。

自動外観検査

異常検出や分類の手法を使用した品質保証タスクの自動化

自動外観検査 (AVI) は、イメージが正常な ("良好な") 状態を表しているか、異常な ("欠陥のある") 状態を表しているかの判断に使用される一連の手法です。AVI は、製造現場で一般的に見られる品質保証プロセスの支援と改善を行います。最新の外観検査は、機械学習と深層学習の手法を使用して、有用な結果を生み出します。

外観検査タスクを自動化するためにどの手法を選択するかは、いくつかの要因によって決まります。これらの要因には、正常および異常なサンプルとして利用できる学習データの量、認識する異常なクラスの数、および予測の把握とモニタリングに必要な位置推定情報のタイプが含まれます。

自動外観検査を実行するには、アドオン エクスプローラーから Computer Vision Toolbox™ Automated Visual Inspection Library をダウンロードします。アドオンのダウンロードの詳細については、アドオンの入手と管理を参照してください。一部の機能には Deep Learning Toolbox™ も必要です。

関数

すべて展開する

groundTruthグラウンド トゥルース ラベル データ
imageDatastoreイメージ データのデータストア
sceneLabelTrainingDataCreate training data for scene classification from ground truth (R2022b 以降)
splitAnomalyDataSplit data into training, validation and testing sets for anomaly detection (R2023a 以降)
trainFCDDAnomalyDetectorTrain fully convolutional data description (FCDD) anomaly detection network (R2022b 以降)
trainFastFlowAnomalyDetectorTrain FastFlow anomaly detection network (R2023a 以降)
trainPatchCoreAnomalyDetectorTrain PatchCore anomaly detection network (R2023a 以降)
anomalyThresholdOptimal anomaly threshold for set of anomaly scores and corresponding labels (R2022b 以降)
fcddAnomalyDetectorDetect anomalies using fully convolutional data description (FCDD) network for anomaly detection (R2022b 以降)
fastFlowAnomalyDetectorDetect anomalies using FastFlow network (R2023a 以降)
patchCoreAnomalyDetectorPatchCore ネットワークを使用した異常の検出 (R2023a 以降)
classifyClassify image as normal or anomalous (R2022b 以降)
predictPredict unnormalized anomaly scores (R2022b 以降)
anomalyMapPredict per-pixel anomaly score map (R2022b 以降)
anomalyMapOverlayOverlay heatmap on image using per-pixel anomaly scores (R2022b 以降)
viewAnomalyDetectionResultsView anomaly detection results (R2022b 以降)
evaluateAnomalyDetectionEvaluate anomaly detection results against ground truth (R2022b 以降)
anomalyDetectionMetricsAnomaly detection metrics (R2022b 以降)

トピック

  • Getting Started with Anomaly Detection Using Deep Learning

    Anomaly detection using deep learning is an increasingly popular approach to automating visual inspection tasks. The goal of anomaly detection is to perform a binary classification of images as normal or anomalous. For example, in the manufacturing industry, anomaly detection can determine which manufactured units meet quality standards and which units are defective.