Method and device for achieving interactive image segmentation, and terminal

An image segmentation and interactive technology, applied in the field of image processing, can solve the problems of unsatisfactory segmentation effect, many iterations, affecting user experience, etc.

Active Publication Date: 2017-06-20
NUBIA TECHNOLOGY CO LTD
View PDF8 Cites 7 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] When using the GrabCut algorithm for image segmentation on a mobile phone, in order to reduce the complexity of the interaction, there are usually no strict requirements on how the user marks. Therefore, when the foreground points marked by the user are few, the number of iterations may be large, and the running

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 and device for achieving interactive image segmentation, and terminal
  • Method and device for achieving interactive image segmentation, and terminal
  • Method and device for achieving interactive image segmentation, and terminal

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 3

[0205] An embodiment of the present invention also provides a terminal, where the terminal includes the above-mentioned device for realizing interactive image segmentation.

application example 1

[0207] The user smears the target object he is interested in on the original image, and the image segmentation method in this paper is used to extract the target object, which may include the following steps:

[0208] Step S501, detecting that the user chooses to mark the target object by smearing;

[0209] For example, two buttons for marking are provided on the interface, one is "smudge" and the other is "outline". If the user clicks the "smudge" button, the smear track will be preprocessed.

[0210] Among them, smearing and outlining are two different ways to mark the target object;

[0211] Generally, smearing is to mark the inner area of ​​the target object, and outline is to mark along the outer contour of the target object;

[0212] Step S502, detecting that the user daubs on the original image;

[0213] For example, if Figure 5-a As shown in , the user smears on the original image, and the target object is "stapler";

[0214] Step S503, growing the smear track as ...

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 discloses a method and a device for achieving interactive image segmentation, and a terminal. The method comprises steps of forming a smearing trajectory as a skeleton to form a mark area, determining an area of interest including the mark area, and generating an input mask image for the image segmentation algorithm: using the pixel in the mark area as a foreground point in the mask image, and taking the pixels outside the mark area in the area of interest as background points in the mask image; and acquiring a depth image including target object depth information, determining the segmentation parameter of each pixel on the mask image according to the depth image and the mask image, constructing an undirected image and mapping the segmentation parameter of each pixel in the mask image into the undirected image, processing the undirected image according to the minimum cut-maximum flow algorithm to obtain a fine segmented mask image, and dividing images corresponding to the foreground point in the fine segmented mask image from the original image. The operation time of the algorithm can be shortened, and the image segmentation effect can be improved by the depth information of the image.

Description

technical field [0001] The present invention relates to the technical field of image processing, in particular to a method, device and terminal for realizing interactive image segmentation. Background technique [0002] Image segmentation refers to dividing a plane image into several unconnected regions according to its color, texture, shape and other characteristics. This is a practical basic technology in the field of image processing. Existing image segmentation techniques include threshold-based segmentation methods, edge-based segmentation methods, region-based segmentation methods, energy functional-based segmentation methods, graph theory-based segmentation methods, and so on. Among them, the GraphCut algorithm and its improved version GrabCut algorithm are well-known in the graph theory method. [0003] The GraphCut algorithm and its improved version, the GrabCut algorithm, are interactive image segmentation methods based on region annotation. The GraphCut algorith...

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/11G06T7/136G06T7/90G06T7/194
Inventor 梁舟
Owner NUBIA TECHNOLOGY 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