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

Image color filling method, device, equipment and storage medium

A color-filling and image-filling technology, which is applied in the fields of equipment and storage media, image color-filling methods, and devices, can solve the problems of large memory resource occupation, waste of memory resources, and long time consumption

Active Publication Date: 2019-12-03
GUANGZHOU SHIYUAN ELECTRONICS CO LTD +1
View PDF16 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] In the process of implementing this application, the applicant found that the existing image coloring technology has the following defects: First, it takes a long time to transfer the pixel information of the entire image to the memory corresponding to the CPU, which affects the processing time of coloring. At the same time, if the image The size information is very large, and it takes up a lot of memory resources after reading back. If only a small range of images is filled in in the end, it will cause a waste of memory resources.

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 color filling method, device, equipment and storage medium
  • Image color filling method, device, equipment and storage medium
  • Image color filling method, device, equipment and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0060] figure 1 This is a flowchart of an image coloring method provided in Embodiment 1 of the present application. This embodiment is applicable to the case of performing color-filling processing on an image. The image-filling method may be performed by an image-filling device, and the image-filling device may be implemented by means of software and / or hardware. The image-filling device may be It is composed of two or more physical entities, or it can be composed of one physical entity. Generally speaking, the image processing device in this embodiment may be a computer, a mobile phone, a tablet or an interactive smart tablet.

[0061] For ease of understanding, in the embodiments, an interactive smart tablet is used as an example to describe the image coloring device. Among them, the interactive smart panel can be an integrated device that controls the content displayed on the display panel and realizes human-computer interaction through touch technology. One or more fun...

Embodiment 2

[0090] image 3 A schematic flowchart of an image coloring method provided in Embodiment 2 of the present application. This Embodiment 2 is optimized based on the above embodiments. In this embodiment, it is further determined from the set of image blocks corresponding to the target image. The initial current color-filling block is embodied as: analyzing the operation data of the color-filling trigger operation to obtain the operation type of the color-filling trigger operation; determining the corresponding selected pixels of the target image under the operation type; Determine the target image block to which the selected pixel point belongs in the image block set; and use the target image block as the initial current color-filling block.

[0091] At the same time, in this embodiment, the current color-filling block will be filled based on each pixel in the cache block. Specifically, it is preferable to use the selected starting pixel in the current color-filling block as the...

Embodiment 3

[0147] Image 6 A structural block diagram of an image coloring device provided in Embodiment 3 of this application. This embodiment is applicable to the case of performing coloring processing on images. The image coloring device can be integrated into an image coloring device. The image coloring The device can be implemented by means of software and / or hardware, and the image coloring device can be composed of two or more physical entities, or can be composed of one physical entity. Generally speaking, the image processing device in this embodiment may be a computer, a mobile phone, a tablet or an interactive smart tablet. like Image 6 As shown, the apparatus includes: a first response module 31 , a readback determination module 32 , a block color filling module 33 and a cycle determination module 34 .

[0148] The first response module 31 is configured to, in response to a color-filling trigger operation acting on the target image, determine an initial current color-filli...

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 embodiment of the invention discloses an image color filling method, a device, equipment and a storage medium, and the method comprises the steps: in response to a color filling triggering operation acting on a target image, determining an initial current color filling block from an image block set corresponding to the target image; when it is detected that the read-back operation is not executed on the current color filling block, reading all pixel points in the current color filling block back to the cache block; performing color filling on the current color filling block based on each pixel point in the cache block corresponding to the current color filling block; and determining a next color filling block according to the color filling result of the current color filling block, taking the next color filling block as a new current color filling block, and returning to execute a read-back detection operation of the current color filling block until it is determined that the nextcolor filling block does not exist in the target image. By utilizing the method, the whole target image is prevented from being read back to the memory before color filling, the memory resource occupation in the color filling process is reduced, the dynamic optimization of the memory during image color filling is realized, the color filling time of image color filling is shortened, and the color filling efficiency is improved.

Description

technical field [0001] The present application relates to the technical field of image processing, and in particular, to an image coloring method, device, device, and storage medium. Background technique [0002] With the popularization of smart devices and the improvement of image technology, smart devices also have the function of digital cameras. Users can activate the camera function of smart devices at any time in outdoor entertainment or daily life to take pictures instead of specific camera devices. To enhance the fun and playability of smart devices, smart devices also integrate some application software to support image processing, such as skin beautification, image stitching, image coloring, and graffiti. [0003] Generally, images for image processing are pre-stored in the memory of a graphics processor (Graphics Processing Unit, GPU), and when performing color-filling processing on images, image processing software cannot directly perform color-filling operations...

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/40G06T1/60G06F3/0484G06F3/0488
CPCG06F3/04845G06F3/0488G06T1/60G06T11/40
Inventor 张俊宇
Owner GUANGZHOU SHIYUAN ELECTRONICS CO LTD
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