Image drawing method and device, electronic equipment and computer readable storage medium

An image drawing and computer technology, applied in the computer field, can solve the problem of large memory usage

Active Publication Date: 2022-04-29
BEIJING SIMING QICHUANG TECH CO LTD
View PDF10 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] This application provides an image drawing method, device, electronic equipment and computer-readable storage med

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
  • Image drawing method and device, electronic equipment and computer readable storage medium
  • Image drawing method and device, electronic equipment and computer readable storage medium
  • Image drawing method and device, electronic equipment and computer readable storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment approach

[0059] In one embodiment, S200 may also be to acquire and save the position information of the minimum drawing rectangle area, and store the color value of each pixel in the minimum drawing rectangle area modified by the Nth drawing operation in a preset order.

[0060] Optionally, the image drawing method further includes: when it is necessary to undo the Nth drawing operation, for each pixel contained in the smallest drawing rectangle area corresponding to the Nth drawing operation, restore the color value presented by the pixel to the first The color value to render after N-1 draw operations. Since the color value presented after the N-1 drawing operation of the pixel point is stored, the color value presented after the N-1 drawing operation of the pixel point can be obtained directly.

[0061] Optionally, after the Nth drawing operation is canceled, the image drawing method further includes: when it is necessary to redo the Nth drawing operation, for each pixel contained i...

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 provides an image drawing method and device, electronic equipment and a computer readable storage medium, and belongs to the field of computers. The method comprises the steps that after Nth drawing operation is completed in a canvas area, a minimum drawing rectangular area of the Nth drawing operation in the canvas area is determined, the minimum drawing rectangular area is a minimum area containing all pixel points with color values modified by the Nth drawing operation, and N is a positive integer; and obtaining and storing position information of the minimum drawing rectangular area, and storing the color value of each pixel point modified by the Nth drawing operation in the minimum drawing rectangular area according to a preset sequence. According to the scheme, all images generated by historical operation do not need to be stored, so that the amount of data needing to be stored is reduced, the occupied memory is reduced, the occupied memory does not need to be reduced by combining an image compression encoding technology, and the operation overhead of encoding and decoding is not increased.

Description

technical field [0001] The present application relates to the field of computer technology, and in particular, to an image rendering method, device, electronic equipment, and computer-readable storage medium. Background technique [0002] During the drawing process, historical operations need to be saved so that operations such as undo and redo can be performed based on historical operations. Usually, the image content generated by each drawing operation needs to be saved so that undo or redo can be performed when necessary. When operating, you only need to find out the previously saved image content and restore it to the current canvas. However, this solution needs to save all the images generated by historical operations, resulting in excessive memory usage. Therefore, using this solution generally combines image compression coding technology to reduce memory usage, but at the same time it also increases the computational overhead that requires encoding and decoding. Con...

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): G06T11/20G06T7/90
CPCG06T11/206G06T7/90
Inventor 董慧凯王宇航曾鹏轩
Owner BEIJING SIMING QICHUANG TECH CO LTD
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