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

Method for rendering subtitling based on curved profile closed loop domain and pixel mask matrix

A technology of curve outline and mask matrix, applied in the field of TV program production, can solve the problems of non-support, different processing results, calculation of accumulated errors, etc.

Inactive Publication Date: 2009-06-24
CHINA DIGITAL VIDEO BEIJING
View PDF0 Cites 41 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

This problem has brought many disadvantages to the subtitle system in both implementation and application
From an implementation point of view, this will lead to multiple completely different rendering engines and rendering processes in a subtitle system, and if you want to support a new subtitle object, you may have to define and implement a new rendering engine, resulting in subtitles There are great limitations in the functional scalability of the system; from the application point of view, it brings two fatal problems: on the one hand, different types of subtitle objects will eventually display inconsistent effects, for example, two different types of subtitle objects have the same It is a full edge with two pixels added, but due to different rendering engines, the final processing results may be different, which brings a lot of inconvenience to users when creating subtitles; on the other hand, in the subtitle system for The operation of subtitle objects has to be subject to specific restrictions. For example, some subtitle objects support geometric rotation and geometric scaling, while others do not. Some subtitle objects support adding edges and shadows at any angle, while others only support fixed Adding edges and shadows to angles, some don’t even support it
This will lead to two problems. On the one hand, since the final processing result requires an integer pixel value, rounding operations will be performed at different stages of the rendering engine algorithm, which will cause cumulative errors in calculation, resulting in the final The subtitle effect has defects in local details, such as blurred text with many strokes, sticky strokes, etc.; on the other hand, these floating-point operations are mathematical operations that take up a lot of machine instructions, which greatly reduces the performance of the entire subtitle system. Work efficiency affects the timeliness of subtitle production and broadcasting
[0010] Third, the effect of edge anti-aliasing, which is one of the important indicators of subtitle rendering, is not ideal, and cannot even reach a practical level.
This is because the existing subtitle system completely relies on the image processing method of the current pixel space when performing anti-aliasing processing. Without the participation of subtitle geometric vector information, sub-pixel-based processing cannot be realized.
This makes the final rendering effect of the existing subtitle system have a relatively obvious edge aliasing effect, which affects the effect of the subtitle display
[0011] Fourth, for the same reason as above, when the image processing of the subtitle object based on the FilterPipe (FilterPipe) is performed, the final effect of the subtitle will also be affected
However, since there is no participation of subtitle geometric vector information, the processing of the filter pipeline will destroy the anti-aliasing effect of the former, that is to say, new edge aliasing effects will be accumulated on the edge processing that is not ideal.
[0012] Fifth, when a subtitle object performs gradient color rendering, it should perform radial gradient color processing according to the vector outline of the object, but in the existing subtitle system, the gradient color rendering process is to put the gradient color into In a memory block, when rendering, the corresponding pixel map method is still adopted
This makes the existing subtitle system unable to achieve the rendering effect of gradient color in the true sense
[0013] Sixth, the existing subtitle system cannot add multiple outer edges, multiple inner edges, multiple side three-dimensional edges, and multiple shadows
From the above analysis of the application characteristics of the subtitle system, it can be concluded that the current TV program production has higher and higher requirements for the subtitle system, and the simple surface, edge, and shadow superimposed subtitle display can no longer meet this application demand.
[0014] Seventh, the rendering of the existing subtitle system is not based on the Bezier curve outline, but since the fonts in the TrueType font library are described by the Bezier curve, it is necessary to convert the Bezier curve extracted from the font library into another In the form of vector, due to the asymmetry of information between different vector expressions, there will be a loss of information during this conversion process, which will deform the shape of the strokes, resulting in uneven thickness of the strokes, which will affect the appearance of the font.
[0016] Ninth, the existing subtitle system cannot convert text subtitle objects into graphic subtitle objects, so that functions such as character deformation, character reflection, character reversal, curve placement, and word art cannot be realized, and cannot meet the needs of advanced subtitle applications
[0017] Tenth, the existing subtitle system cannot implement many different types of bordering methods, such as sharp corners, rounded corners, square corners, etc.
This affects the wide application of subtitles to a certain extent
[0018] Eleventh, the existing subtitle system cannot support irregular graphics of any shape, so it cannot cope with the increasingly important types of program production such as geographic information description, weather forecast, and comprehensive information

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 for rendering subtitling based on curved profile closed loop domain and pixel mask matrix
  • Method for rendering subtitling based on curved profile closed loop domain and pixel mask matrix
  • Method for rendering subtitling based on curved profile closed loop domain and pixel mask matrix

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

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

[0122] In the current subtitle system used for TV program production, there are generally low rendering efficiency, edge aliasing effect, blurred and unclear small characters, uneven stroke thickness of characters, unreal gradient effect, and unrealistic rendering effects of polygons and shadows. A series of technical and application problems such as artistic word effects can be solved by converting the vector information of the subtitle object into a pixel mask matrix based on contour lines, and then rendering subtitles on this basis. This technique is called the subtitle rendering method based on the closed ring area of ​​the curve outline and the pixel mask matrix. The process of the method is as follows: figure 1 shown.

[0123] The key step of the subtitle rendering method based on the closed loop of the curve outline and the pixel mask...

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 caption rendering technology in a field of producing television programs, in particular to a caption rendering method based on a curve-profiled closed loop domain and a pixel mask code matrix. The method is that: after a Bezier curve vector profile of a caption object is discretized into a polygon vector, according to the direction and embordering type of a polygon, the polygon vector used for embordering is further created, thus systematically combining the computer graphics with the digital image processing, converting the vector information of the caption object into the pixel mask code matrix based on a contour line and applying the pixel mask code matrix throughout all links of the caption rendering; therefore, the effect of the caption rendering is improved, the ever-increasing demands of the caption quality and the caption effect from the television programs producing and broadcasting organizations are sufficed, the important social property of serving the mass people by television media is reflected even more directly, and better social benefits are obtained.

Description

technical field [0001] The invention relates to a subtitle rendering technology in the field of television program production, in particular to a subtitle rendering method based on a curved contour closed loop and a pixel mask matrix. Background technique [0002] TV subtitle is a kind of visual language, it transmits information in the form of text and graphic symbols, and it is the reinforcement and supplement of the content expressed by sound and image. In TV programs, a medium that includes the art of sound and picture, subtitles have been regarded as the "second commentary" that is as important as voice-over and commentary. TV subtitles enrich the visual perception. Compared with the pictures, they convey the information that the audience needs to understand more intuitively. Through the perfect combination of subtitles and images, the visibility of TV programs can be greatly improved. According to the needs of color, content, rhythm and atmosphere of the picture, cho...

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): H04N5/278
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