Sample image expansion method, computer device, and storage medium
The present application provides a sample image expansion method, a computer device, and a storage medium. The sample image expansion method includes: acquiring a background image and a defect image including defect features; performing a first image processing on the background image to generate a...
Gespeichert in:
Hauptverfasser: | , , , , , |
---|---|
Format: | Patent |
Sprache: | chi ; eng |
Schlagworte: | |
Online-Zugang: | Volltext bestellen |
Tags: |
Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
|
Zusammenfassung: | The present application provides a sample image expansion method, a computer device, and a storage medium. The sample image expansion method includes: acquiring a background image and a defect image including defect features; performing a first image processing on the background image to generate a first image, the first image processing including masking object features in the background image with a feature labeling frame; performing a second image processing on the first image to generate a second image, the second image processing including fitting the defect feature to an initial position of the first image; determining whether the second image meets a preset requirement, which includes a condition that no pixel is overlapped between the defect feature and the feature labeling frame; and taking the second image that meets the preset requirement as a sample image. This application can assist in the expansion of defective sample images and improve the efficiency of acquiring a large number of defective sam |
---|