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

Patched garbage mask border rendering method

A faceting and boundary technology, applied in image data processing, instrumentation, computing, etc., can solve the problems of fixed boundary, lack of control ability, garbagemask blur, etc., and achieve the effect of smooth boundary and flexible control

Inactive Publication Date: 2010-11-24
CHINA DIGITAL VIDEO BEIJING
View PDF0 Cites 7 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

The boundary of the grayscale image after filling a closed curve is too rigid, so it is necessary to modify the boundary to make it look smoother. In addition, the length of the boundary transition is generally controlled to make the boundary appear to have a certain thickness. In order to achieve Most of these software often use morphological contraction and expansion algorithms and Gaussian blur processing algorithms, but such implementation methods will cause the entire garbage mask to look too blurry when the blurring degree is relatively large, and its boundaries are relatively fixed. , lack of flexible control ability

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
  • Patched garbage mask border rendering method
  • Patched garbage mask border rendering method
  • Patched garbage mask border rendering method

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0037] The present invention will be described in detail below in conjunction with the accompanying drawings and specific embodiments.

[0038] Such as figure 1 As shown, a patched garbage mask boundary rendering method provided by the present invention includes the following steps:

[0039] (1) Divide all Bezier curves in the garbage mask into several sub-line segments;

[0040] (2) Determine the external direction of the garbage mask;

[0041] (3) Calculate the outer boundary distance and inner boundary distance of all segment points according to the information of the boundary points;

[0042] (4) Draw its corresponding outer / inner boundary and the outer / inner corner boundary corresponding to its starting endpoint with each Bezier curve as a unit.

[0043] In the above method, the segmentation of the Beizer curve in the garbage mask is first performed. In order to process the rendering of the boundary in a patchy manner, the Bezier curve must be divided into several co...

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 belongs to the image / video processing technology, and particularly relates to a patched garbage mask border rendering method. The method comprises the following steps of: dividing all Bezier curves in a garbage mask into a plurality of sub segments; determining an external direction of the garbage mask; then calculating external border distances and internal border distances of all segment points according to the information of border points; and finally, drawing an external / internal border and an external / internal angle border corresponding to an initial endpoint of each Bezier curve taken as a unit. The method divides the external / internal border and the external / internal angle border corresponding to the initial endpoint of each Bezier curve into a plurality of triangular patches so that the rendered border is smoother and clearer and the regulation and control of the operation are more flexible.

Description

technical field [0001] The invention belongs to the image / video processing technology, and in particular relates to a patched garbage mask boundary rendering method. Background technique [0002] In image / video processing software, mask processing is a very wide demand when image / video is synthesized or special effects are processed. Usually this mask can be generated by key effects or obtained from a dedicated mask image, but in many cases such a mask is not enough and needs to be used to create a mask by hand drawing. This mask is generally called a garbage mask. [0003] A garbage mask is composed of a number of ordered endpoints (end points), and every two consecutive endpoints form a curve. The forward direction along the sequence of endpoints is called the positive direction, and vice versa is the reverse direction. Each endpoint has two control points (control point), one is the forward control point (forward control point), the other is the reverse control point (b...

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 Applications(China)
IPC IPC(8): G06T5/00
Inventor 见良郑鹏程刘铁华
Owner CHINA DIGITAL VIDEO BEIJING
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