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
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
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...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com