Method and device for making a silhouette image, electronic equipment and storage medium
A production method and silhouette technology, which are applied in the fields of electronic equipment and storage media, devices, and silhouette image production methods, can solve the problem that silhouette production has high requirements on the ability of producers, and can reduce learning thresholds, shorten time costs, and improve economic benefits. Effect
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0041] Such as figure 1 Shown, a kind of silhouette image production method, it comprises the following steps:
[0042] S1: Collect sample images in a variety of ways, such as collecting from the Internet, magazines, newspapers, books, photo collections and other places with various characters or objects, which can be collected by software or manually. Sample images include images of people, Animal images, plant images, architectural images and landscape images, each type of image contains different shooting angles, different shapes and postures, etc. Collect as many sample images as possible for subsequent comparison with the pictures to be produced compare more precisely;
[0043] S11: Using the formula of the weighted average method to perform grayscale processing on the sample image so that the sample image only presents three colors of black, white and gray. Performing grayscale processing on the sample image can remove redundant variegated colors in the sample image and...
Embodiment 2
[0054] Embodiment 2 discloses a silhouette image production device corresponding to the above embodiments, please refer to figure 2 shown, which includes:
[0055] Collection module: used to collect sample images;
[0056] Clicking module: used to click on the edge contour coordinates of objects with contours in the sample image according to the sample image;
[0057] Building block: it is used to connect lines in sequence according to the edge contour coordinates and output the connection area for learning and training. Through repeated training, the edge contours of common objects such as people, animals, plants, etc. are established to obtain the learning set model. Through training, The corresponding type of learning set model can be obtained according to each type of sample image;
[0058] Comparison module: used to obtain the pictures to be produced that need to be silhouetted, compare the pictures to be produced with the learning set model, and obtain the key point c...
Embodiment 3
[0061] image 3 A schematic structural diagram of an electronic device provided in Embodiment 3 of the present invention, such as image 3 As shown, the electronic device includes a processor 310, a memory 320, an input device 330, and an output device 340; the number of processors 310 in a computer device may be one or more, image 3 Take a processor 310 as an example; the processor 310, memory 320, input device 330 and output device 340 in the electronic device can be connected by bus or other methods, image 3 Take connection via bus as an example.
[0062] Memory 320, as a computer-readable storage medium, can be used to store software programs, computer-executable programs and modules, such as program instructions / modules corresponding to the silhouette image production method in the embodiment of the present invention (for example, in the silhouette image production device) collection module, point selection module, construction module, comparison module, and filling m...
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