Automatic generation algorithm for winding picture

An automatic generation and winding technology, applied in the field of winding painting, can solve the problems of inconsistency of the winding picture, high computational complexity, and strict requirements for the original picture, so as to reduce the probability of excessive winding and speed up processing. speed and stability

Pending Publication Date: 2020-10-16
QILU UNIV OF TECH
View PDF1 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0011] It is difficult to guarantee the picture quality of the winding picture obtained by the existing winding drawing algorithm. The original picture has strict requirements and is not universally applicable
And the existing algorithm adds a line each time, and the computational complexity is too high
At the same time, the existing algorithm cannot preset the number of windings

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

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0030] The present invention will be further described in combination below.

[0031] A kind of winding drawing automatic generation algorithm, comprises the following steps:

[0032] a) The computer loads the picture, stores the picture in a matrix, and performs grayscale processing and image enhancement processing on the picture after storage.

[0033] b) Calculate and record the coordinates of the nail point on the two-dimensional plane of the picture according to the size of the winding drawing and the number of nails.

[0034] c) Based on the greedy algorithm, add multiple edges each time, and record the serial numbers of the nail points at both ends of the edge. The specific operation is as follows: Calculate the distance between any two nail points i and j according to the coordinates of the nail points on the two-dimensional plane of the picture crossed by the side

[0035] The average gray value of the pixel α' ij .

[0036] d) According to the gray mean value α' ...

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 invention discloses an automatic generation algorithm for a winding picture, and the algorithm comprises the steps of carrying out the preprocessing of a picture through an image enhancement algorithm, enabling the light and shade contrast of an enhanced gray-scale image to be more obvious, filtering image details which may cause winding interference, highlighting the main contour of the image, and improving the precision of simulating an original picture of the winding picture. The picture is preprocessed through the image enhancement algorithm, so that the requirement of the algorithm for the original picture is low, the stability of simulating the original picture by the winding picture is improved, and the universality of the winding picture automatic generation algorithm is improved. The greedy algorithm is used, multiple edges are added each time, the probability that local winding of the winding picture is too dense is reduced, and the processing speed of the winding pictureautomatic generation algorithm is increased. The size, the nail number and the winding number of the winding picture can be preset, and the universality of an automatic generation algorithm of the winding picture is improved.

Description

technical field [0001] The invention relates to the technical field of winding drawings, in particular to an automatic generation algorithm of winding drawings. Background technique [0002] String art is a complex artistic pattern composed of winding lines between points. After continuous improvement by many artists, winding art has become a unique form of artistic creation. The winding art forms three-dimensional and vivid art decoration paintings through the winding between points, the echo between lines, and the overlapping between layers, which has high economic value. [0003] The Chinese patent with the patent number 201911013919.3 discloses a method and equipment for automatic generation and processing of winding pictures. The scheme is as follows: [0004] 1. Load any picture, convert the picture to a grayscale image and automatically crop the size of the picture to keep the screen ratio consistent with the frame to be wound. [0005] 2. Generate nail point coord...

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
IPC IPC(8): G06T3/00G06T5/00G06T7/62G06T7/90G06F30/27
CPCG06T7/62G06T7/90G06F30/27G06T3/04G06T5/90Y02P90/30
Inventor 庞少鹏王可武其龙
Owner QILU UNIV OF TECH
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products