Image processing method and device, storage medium and electronic equipment

An image processing and image technology, which is applied in the field of image processing, can solve the problems that the leaf level cannot be achieved, the user's image beautification needs cannot be better met, and the sky area cannot be replaced.

Pending Publication Date: 2020-03-24
BEIJING SANKUAI ONLINE TECH CO LTD
View PDF9 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, this method cannot achieve the leaf level, resulting in the inability to replace the sky area near the leaf branches in the image, so that the

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

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0048] Specific embodiments of the present disclosure will be described in detail below in conjunction with the accompanying drawings. It should be understood that the specific embodiments described here are only used to illustrate and explain the present disclosure, and are not intended to limit the present disclosure.

[0049] In daily life, more and more users have the need to beautify images. For example, for an image taken on a cloudy or foggy day, the user usually replaces the sky with a blue sky to improve the beautification of the image. In the above process of replacing the sky with the blue sky, whether the division of the sky area is accurate will directly affect the subsequent replacement effect.

[0050] In related technologies, the semantic segmentation technology is mainly used to segment the sky pixels in the image, and then replace these pixels with the corresponding pixels of the blue sky image, so as to realize sky replacement. However, this method cannot ...

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 an image processing method and device, a storage medium and electronic equipment, and aims to improve the accuracy of image region division so as to obtain a better image region replacement result. The method comprises: performing semantic segmentation processing on an original image, and superposing images before and after semantic segmentation to obtain a target image; based on the color distance, performing dichotomy clustering on the target pixel points corresponding to the first region and all pixel points corresponding to the second region in the target image toobtain two pixel class clusters; determining a pixel class cluster corresponding to the first region and a pixel class cluster corresponding to the second region according to the color distances between the clustering centers of the two pixel class clusters and the pixel mean value of the target region; and dividing pixel points in the target image according to the two pixel class clusters so as to remove the pixel points belonging to the second region from the pixel points included in the first region.

Description

technical field [0001] The present disclosure relates to image processing technologies, and in particular, to an image processing method, device, storage medium, and electronic equipment. Background technique [0002] In daily life, more and more users have the need to beautify images. For example, for an image taken on a cloudy or foggy day, the user usually replaces the sky with a blue sky to improve the beautification of the image. In the above process of replacing the sky with the blue sky, whether the division of the sky area is accurate will directly affect the subsequent replacement effect. [0003] In related technologies, the semantic segmentation technology is mainly used to segment the sky pixels in the image, and then replace these pixels with the corresponding pixels of the blue sky image, so as to realize sky replacement. However, this method cannot achieve the leaf level, resulting in the inability to replace the sky area near the leaf branches in the image,...

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): G06T7/11G06K9/62G06T7/90G06T5/30
CPCG06T7/11G06T7/90G06T5/30G06T2207/10024G06F18/232
Inventor 朱理李文哲谢存煌
Owner BEIJING SANKUAI ONLINE 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