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

Method and system for generating image entity contour one-stroke path

A technology for generating images and entities, which is applied in the field of one-stroke path generation of image entity outlines, can solve the problems of low automatic detection efficiency, and achieve the effects of less error prone, fast speed and strong reliability

Active Publication Date: 2021-02-26
方正株式(武汉)科技开发有限公司
View PDF11 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0006] Aiming at the technical problems existing in the prior art, the present invention provides a method and system for generating a stroke path of an image entity outline, and solves the problem of low automatic detection efficiency in the prior art

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 and system for generating image entity contour one-stroke path
  • Method and system for generating image entity contour one-stroke path
  • Method and system for generating image entity contour one-stroke path

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0055] Embodiment 1 provided by the present invention is an embodiment of a method for generating a stroke path of an image entity outline provided by the present invention, such as figure 2 Shown is a flow chart of an embodiment of a method for generating a stroke path of an image entity outline provided by the present invention, by figure 2 As can be seen, this embodiment includes:

[0056] Convert an image in a non-raster format to a raster image, and use an N*M pixel matrix to represent the image.

[0057] The method for generating a one-stroke path of an image entity outline provided by the embodiment of the present invention is to perform calculations based on each pixel of a raster image. If it is an image in other formats (such as a vector image), it can be converted into a grid image and then used in the present invention. The method that embodiment provides.

[0058] Step 1. Arrange a circle of rope points along the image boundary to form a contour rope, and dete...

Embodiment 2

[0096] Embodiment 2 provided by the present invention is an embodiment of a system for generating a stroke path of an image entity outline provided by the present invention, such as image 3 Shown is a structural block diagram of an embodiment of a system for generating a stroke path of an image entity outline provided by the present invention, consisting of image 3 It can be seen that the system includes: a contour rope construction module 101 , a rope point advancement module 102 and a one-stroke path generation module 103 for an image entity contour.

[0097] The contour rope construction module 101 is configured to arrange a circle of rope points along the image boundary to form a contour rope, and determine that the forward direction of each rope point is the opposite direction of the upper, lower, left or right boundary where it is located.

[0098] The rope point advancing module 102 is configured to advance each rope point according to the advancing direction, and cha...

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 relates to a method and system for generating an image entity contour one-stroke path, and the method comprises the steps: arranging a circle of rope points along the boundary of an image to form a contour rope, and determining the advancing direction of each rope point as the opposite direction of the upper, lower, left or right boundary where the rope point is located; advancing each rope point according to the advancing direction, and changing the contour ropes into rectangles tightly wrapping the outer contours of the entities according to whether any row or column contains the entity points or not; sequentially advancing each rope point of the image boundary according to the advancing direction until the rope points meet the entity points, wherein the obtained contour rope is an image entity contour one-stroke path; creating a self-closed cross-free virtual rope sleeve which can be infinitely and freely expanded and contracted, and sleeving the virtual rope sleeve onthe outer rectangle of the whole portrait; wherein the contour generation process is completely processed by a computer, manual intervention is not needed, the efficiency is high, and the speed is high; the algorithm is simple, the robustness is good, the reliability is high, and errors are not likely to happen; various complex image conditions are well adapted, the fine degree is controllable, and the method is particularly suitable for typesetting area calculation.

Description

technical field [0001] The invention relates to the field of computer image processing, in particular to a method and system for generating a stroke path of an image entity outline. Background technique [0002] In reality, there is a type of image. Although the image itself is rectangular, the physical content in it only occupies a part of the image, and its background is transparent or a single solid color (typically such as a passport photo). When combining text and other content, often only the physical content part is needed, and the background is not needed. The background part occupies a large area, but does not display any effective information, making the overall effect loose, unsightly and a waste of layout. [0003] Therefore, when this kind of image is applied, first, it needs to display only the solid part and not the background, and second, it is required that the text can be typeset around the edge of the entity instead of around the background. Therefore, w...

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): G06T7/149G06T7/181G06T11/20
CPCG06T7/149G06T7/181G06T11/203
Inventor 刘畅
Owner 方正株式(武汉)科技开发有限公司
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