Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Method, device, equipment and storage medium for generating default parameters in color algorithm

A parameter and color technology, which is applied to the generation method, device, equipment and storage medium field of default parameters in color algorithm, can solve the problems of long time, no reference value, poor flexibility, etc., to simplify the parameter adjustment process and shorten the program. Production time, the effect of reducing workload

Active Publication Date: 2021-09-24
GUANGZHOU SHIYUAN ELECTRONICS CO LTD
View PDF4 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

For different images to be tested, the default parameters of the color algorithm are fixed, such as figure 1 The brightness range is fixed at 0-255, and the color wheel distribution is fixed at area 13. The adaptive ability is weak and the flexibility is poor. Almost every device frame needs to be adjusted.
In addition, for those who have no programming experience, the default parameters have no reference value, and the appropriate parameters can only be selected through continuous adjustment and trial, which takes a long time

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Method, device, equipment and storage medium for generating default parameters in color algorithm
  • Method, device, equipment and storage medium for generating default parameters in color algorithm
  • Method, device, equipment and storage medium for generating default parameters in color algorithm

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0050] figure 2 It is a flow chart of the method for generating default parameters in the color algorithm in Embodiment 1 of the present invention. This embodiment is applicable to the case of generating default parameters in the color algorithm, and the method can be executed by a device for generating default parameters in the color algorithm. The device may be implemented in the form of software and / or hardware, and the device may be configured in a device, for example, the device may be a smart phone, a computer, or a tablet computer, and the like.

[0051] In this embodiment, the color algorithm is the most basic and most commonly used algorithm in automatic optical inspection (Automated Optical Inspection, AOI). During detection, according to the preset algorithm parameters, the area on the image under test that satisfies the conditions is obtained. , to judge whether the tested image is qualified or not. see image 3 , image 3 It is a schematic diagram of parameter...

Embodiment 2

[0068] Figure 8 It is a flowchart of a method for generating default parameters in the color algorithm in Embodiment 2 of the present invention. On the basis of the above-mentioned embodiments, this embodiment further optimizes the method for generating default parameters in the above-mentioned color algorithm. Correspondingly, such as Figure 8 As shown, the method of this embodiment specifically includes:

[0069] S210. Acquire an image to be tested.

[0070] S220. Perform image segmentation on the image to be tested by using a clustering algorithm to obtain a target image.

[0071] S230. Determine a region of interest in the target image.

[0072] Specifically, determining the region of interest in the target image may include: determining the region of interest according to the comparison result of the number of pixels in the foreground region and the background region in the target image, or, according to the difference between the foreground region and the backgroun...

Embodiment 3

[0082] Figure 11 It is a schematic structural diagram of a device for generating default parameters in a color algorithm in Embodiment 3 of the present invention. This embodiment is applicable to the case of generating default parameters in a color algorithm. The device for generating default parameters in a color algorithm provided by an embodiment of the present invention can execute the method for generating default parameters in a color algorithm provided by any embodiment of the present invention, and has corresponding functional modules and beneficial effects for executing the method. Specifically, the device may include:

[0083] An image acquisition module 310, configured to acquire an image to be tested;

[0084] Segmentation module 320, for performing image segmentation on the image to be tested, to obtain the target image;

[0085] A region of interest module 330, configured to determine a region of interest in the target image;

[0086] The parameter module 340...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The embodiment of the present invention discloses a method, device, device, and storage medium for generating default parameters in a color algorithm, wherein the method includes: acquiring an image to be tested; performing image segmentation on the image to be tested to obtain a target image; determining the Region of interest; perform color analysis on the region of interest to obtain the default parameters of the image to be tested. The technical solution provided by the embodiment of the present invention uses an image processing method to analyze different images to be tested, determines the region of interest in it, and generates default parameters, which can simplify the parameter adjustment process of the subsequent color algorithm and reduce the workload of parameter setting. Furthermore, the programming time is shortened, especially for operators who lack experience in programming, it has important reference value.

Description

technical field [0001] The embodiments of the present invention relate to the technical field of image processing, and in particular to a method, device, device and storage medium for generating default parameters in a color algorithm. Background technique [0002] Automated Optical Inspection (AOI) is a device based on optical principles to detect common defects encountered in printed circuit board (Printed Circuit Board, PCB) board welding production. Before the test, make the corresponding PCB board program as the test standard. After the board card flows into the equipment, the equipment will take pictures of the board card and compare it with the prepared standard program to judge whether the board card under inspection is qualified. The color algorithm is the most basic and most commonly used algorithm in AOI. During detection, according to the preset algorithm parameters, the area on the image under test that meets the conditions is obtained to judge whether the image...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Patents(China)
IPC IPC(8): G06T7/90G06T7/00
CPCG06T7/0004G06T2207/30141G06T7/90
Inventor 王思远
Owner GUANGZHOU SHIYUAN ELECTRONICS CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products