Method for carrying out segmentation and depth-of-field rendering on monocular portrait based on WNET

A portrait, single-purpose technology, applied in the field of image processing, can solve problems such as increasing costs

Pending Publication Date: 2019-12-24
JIANGSU UNIV
View PDF1 Cites 6 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Although the method based on dual cameras can achieve the effect of blurring the background, such equipment needs to be equipped with dual cam

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 for carrying out segmentation and depth-of-field rendering on monocular portrait based on WNET
  • Method for carrying out segmentation and depth-of-field rendering on monocular portrait based on WNET
  • Method for carrying out segmentation and depth-of-field rendering on monocular portrait based on WNET

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0029] In order to make the object, technical solution and advantages of the present invention clearer, the present invention will be further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described here are only used to explain the present invention, not to limit the present invention.

[0030] Such as figure 1 As shown, a kind of method that the present invention proposes is based on WNET that monocular portrait is segmented and the method for depth of field rendering; Concrete process is as follows:

[0031] Step 1, training the WNET network parameter model, the specific process is as follows:

[0032] Step 1.1, training data set collection: collect portrait pictures and mask images of each portrait picture marked with the portrait area;

[0033] Step 1.2, data preprocessing: scale the mask image and the corresponding portrait image to a predetermined size of 256×256; avoid too...

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 for carrying out segmentation and depth-of-field rendering on a monocular portrait based on WNET. A WNET network parameter model is constructed by superposing UNET, the trained WNET network parameter model is loaded into a mobile client, preliminary segmentation of a portrait picture is realized in the mobile client, and a mask image subjected to preliminary segmentation is zoomed to the size of an original image by adopting a bilinear interpolation method; morphological operation is carried out on the mask image, corrosion and expansion processing is carried out on the mask image, connected regions with edges not in a preset region are removed, remaining connected regions are reserved, edge refinement processing is carried out to obtain a portrait mask image, and the separated foreground and the background after Gaussian blur are synthesized to obtain a depth-of-field rendering image; according to the method, the calculation amount and the model size can be greatly reduced, and the portrait segmentation precision is improved, so that portrait depth-of-field rendering of the monocular camera of the mobile terminal is realized.

Description

technical field [0001] The invention belongs to the technical field of image processing, in particular to a method for segmenting and rendering a monocular portrait based on WNET. Background technique [0002] With the popularity of smart phones and the improvement of mobile computing performance, there are more and more applications for mobile portrait processing, and real-time portrait segmentation is becoming more and more important. With the rise of deep learning in recent years and the outstanding performance of CNN networks in the field of image processing, image segmentation using CNN has gradually become the mainstream and is also the best choice. More and more people are beginning to use FCN networks for front-end feature extraction. Conditional random fields or hidden Markov do back-end processing. This method improves the accuracy to a certain extent, but such a network model is too time-consuming to be real-time on the mobile terminal. [0003] We design a simpl...

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/00G06T7/10G06T7/187
CPCG06T11/00G06T7/10G06T7/187G06T2207/20084G06T2207/20081G06T2207/30196G06T2207/10024G06T2207/20221G06T2207/10028
Inventor 杨洋黎曙
Owner JIANGSU 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