Unlock instant, AI-driven research and patent intelligence for your innovation.

Method for realizing lossless scaling of image

An image and scaling technology, which is applied in the field of computer graphics, can solve the problems of inability to change size, loss of precision, and inability to display graphics with high fidelity, so as to reduce the occupancy rate of graphics resources and improve the speed of screen display

Pending Publication Date: 2020-06-12
苏州天鸿嘉汇软件有限公司
View PDF4 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] With the increasing use of mobile devices, the multi-touch screen provides the basis for the intuitive display of graphics. Traditional graphics methods will lose precision after compressing pictures through data output, and cannot change the size, only in a small range. Internal scaling of graphics, unable to precisely add or remove individual elements, unable to display graphics with high fidelity

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 realizing lossless scaling of image

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0020] The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some, not all, embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.

[0021] Such as figure 1 As shown in , after the operator starts the zoom action, the system obtains the coordinates of the first point and the second point according to the multi-touch on the screen, and calculates the zoom factor;

[0022] Based on SVG, the coordinate value and line segment width value of the SVG graphic object are sequentially scaled and calculated by the scaling factor. The calculated graphic size is related to the scaling factor. Currentl...

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 for realizing lossless zooming of an image, which comprises the following steps of: 1, calculating a distance between a first point and a second point, and recordingthe distance as L1; 2, calculating the distance between the third point and the fourth point, and recording the length L2; 3, calculating a scaling factor according to the length L1 and the length L2;and 4, performing scaling calculation on the coordinate value and the line segment width value of the graphic object in sequence through the scaling factor, and redrawing the image. According to themethod, graphs of different sizes can be visually displayed through the graph zooming method, the real world is simulated, and massive graph content is viewed in a screen range through the graph zooming method.

Description

technical field [0001] The invention relates to the field of computer graphics, in particular to an operation method for realizing visual display of massive graphic data simulating macroscopic and microcosmic worlds based on SVG. Background technique [0002] With the development of computer technology into the field of mobile devices, the requirements for human-computer interaction are getting higher and higher. Through rich graphics, the current information can be intuitively and accurately presented in front of the user's eyes, such as the drawing and display of graphics, generally using Canvas drawing board to load non-linear pixel graphics such as jpg, png, gif to realize decoding and display. [0003] With the increasing use of mobile devices, the multi-touch screen provides the basis for the intuitive display of graphics. Traditional graphics methods will lose precision after compressing pictures through data output, and cannot change the size, only in a small range. ...

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/40G06T11/80G06F3/0484G06F3/0488
CPCG06T3/40G06T11/80G06F3/04845G06F3/0488G06F2203/04104
Inventor 俞立全
Owner 苏州天鸿嘉汇软件有限公司