Local re-coloring algorithm based on image segmentation

An image segmentation and recoloring technology, applied in image analysis, image enhancement, image data processing, etc., can solve problems such as color leakage and poor structural similarity

Pending Publication Date: 2022-03-15
QINGHAI NORMAL UNIV
View PDF0 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, traditional image recoloring algorithms are prone to color leakage and poor in structural similarity (SSIM)

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
  • Local re-coloring algorithm based on image segmentation
  • Local re-coloring algorithm based on image segmentation
  • Local re-coloring algorithm based on image segmentation

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0050] Such as figure 1As shown, the present embodiment provides a local recoloring algorithm based on image segmentation, which includes the following steps:

[0051] Step 1: Select the image to be processed; such as figure 2 shown;

[0052] Step 2: Mark a rectangular area so that the target area is included in the rectangular area; for example image 3 shown;

[0053] Step 3: Execute the image segmentation algorithm to obtain the initial alpha mask of the target area; for example Figure 4 shown;

[0054] Step 4: Use the bilateral filtering algorithm to perform bilateral filtering on the initial alpha mask of the target area, and then perform binarization to obtain the final alpha mask of the target area; Figure 5 shown;

[0055] Step 5: Overlay the final alpha mask input image of the target area to segment the image target area; for example Figure 6 shown;

[0056] Step 6: Input the image target area into the image recoloring algorithm;

[0057] Step 7: Execute ...

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 the technical field of digital image processing, in particular to a local re-coloring algorithm based on image segmentation, which comprises the following steps of: 1, selecting an image to be processed; 2, marking a rectangular area, and enabling the target area to be contained in the rectangular area; 3, executing an image segmentation algorithm to obtain an initial alpha mask of the target area; 4, performing bilateral filtering processing on the initial alpha mask of the target area, and performing binaryzation to obtain a final alpha mask of the target area; 5, the final alpha mask of the target area is input into the image for superposition, and then the image target area can be segmented; 6, inputting the image target area into an image re-coloring algorithm; 7, obtaining an RGB color convex hull and a corresponding RGBA layer; 8, moving the peak of the RGB color convex hull to change the color of the corresponding image layer, and obtaining a re-colored image target area; and 9, overlapping to obtain a local re-colored image. According to the invention, local re-coloring can be well realized.

Description

technical field [0001] The invention relates to the technical field of digital image processing, in particular to a local recoloring algorithm based on image segmentation. Background technique [0002] As one of the research focuses in the field of computer vision, image recoloring technology has been widely used in multimedia, medical and artistic creation in recent years. Image recoloring algorithms can be divided into two categories. One is the image recoloring algorithm based on user interaction. This type of algorithm requires the user to add color marks to the local area in the image, and uses information such as the brightness and gradient of adjacent pixels in the image. Similarity and image boundary information as well as texture information to achieve color expansion. Another class of image recoloring algorithms uses palette-based image recoloring algorithms to decompose an image into layers, where each palette represents a layer with a single color. A traditiona...

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): G06T5/50G06T7/11G06T5/20
CPCG06T5/50G06T7/11G06T5/20G06T2207/20028G06T2207/20221
Inventor 彭春燕夏广友
Owner QINGHAI NORMAL UNIV
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