CN105141936B - For the band direction FMM image repair methods of virtual visual point image - Google Patents

For the band direction FMM image repair methods of virtual visual point image Download PDF

Info

Publication number
CN105141936B
CN105141936B CN201510324837.6A CN201510324837A CN105141936B CN 105141936 B CN105141936 B CN 105141936B CN 201510324837 A CN201510324837 A CN 201510324837A CN 105141936 B CN105141936 B CN 105141936B
Authority
CN
China
Prior art keywords
pixel
empty
image
cavity
expansion
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
CN201510324837.6A
Other languages
Chinese (zh)
Other versions
CN105141936A (en
Inventor
杨柏林
王聪聪
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hangzhou Yixiaobu Education Technology Co Ltd
Original Assignee
Zhejiang Gongshang University
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Zhejiang Gongshang University filed Critical Zhejiang Gongshang University
Priority to CN201510324837.6A priority Critical patent/CN105141936B/en
Publication of CN105141936A publication Critical patent/CN105141936A/en
Application granted granted Critical
Publication of CN105141936B publication Critical patent/CN105141936B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Image Processing (AREA)

Abstract

The invention discloses a kind of band direction FMM image repair methods for virtual visual point image.The present invention carries out image repair for the new viewpoint image after the virtual viewpoint rendering based on depth map using the fast marching algorithms with direction, obtains foreground edge more clearly new viewpoint image.For left virtual visual point image, cavity is repaired from left to right;Right visual point image, repairs cavity from right to left.Two kinds first expansion cores of the present invention, similar T-shaped expansion and rectangular expansion are carried out to cavity mark mask figures and former mask figures are subtracted, to obtain narrow side and the broadside of one side;Then all pixels point in unilateral broadside is obtained to the distance at empty edge;Finally since narrow side, image repair is carried out by specific direction.It is different from traditional fast marching algorithms so as to reach, can preferably repair the effect in slightly larger cavity.Compared with traditional fast marching algorithms, the present invention can preferably keep foreground edge information.

Description

For the band direction FMM image repair methods of virtual visual point image
Technical field
The invention belongs to empty image repair field, it is related to a kind of band direction FMM images for virtual visual point image to repair Compound method, especially for the band cavity image obtained after the virtual viewpoint rendering based on depth map.
Background technology
With the development due to 3D technology and the gradually enhancing of 3D hardware devices, people for 3D products demand increasingly Increase.This causes that 2D turns 3D technology and developed, while also making rendering technique (the Model Based based on model Rendering, MBR) and image basedrendering (Image Based Rendering, IBR) as virtual view synthesize Key technology.The characteristics of speed is fast, bandwidth demand is small is drawn because image basedrendering has, it is increasingly becoming master Stream.Wherein the virtual viewpoint rendering (Depth Image Based Rendering, DIBR) based on depth map uses more wide It is general.And for the new viewpoint image of DIBR technology to drawing, can there are problems that a series of visibility problems, resampling and cavity are asked Topic.
In new virtual visual point image, some cavities not of uniform size often occur.Empty Producing reason is that A little pixels being blocked in former visual point image become visible in new virtual visual point image.Empty problem be in DIBR most Important problem, while being also most scabrous problem.Can typically be pre-processed by depth map, be referred to using multiple Viewpoint come draw virtual view and to cavity filled up to solve using series of algorithms.There was only one or two pixel for some The cavity of fine cracks type wide, often using image repair algorithm with regard to preferable effect can be obtained.And due to foreground area and The depth information difference of background area is larger, can cause the in larger distance of foreground area skew in new virtual view, produces larger Cavity.For this cavity, the fast marching algorithms that were proposed in 2004 using Telea (Fast Marching Method, FMM empty reparation) is carried out, the obfuscation of display foreground edges of regions information can be caused.
Fig. 1 is the reparation direction of FMM algorithms, and its principle is first to repair empty borderline region, then progressive, will be whole Repair in individual cavity.It all uses the value of all of non-empty pixel in hole region periphery according to weight function, meter Calculate the pixel value of hole region.The pixel value of foreground area by certain weighting ratio, will be passed to hole region by this. So as to cause hole region to be influenceed by foreground area pixel.
The content of the invention
The present invention is for the new virtual visual point image after DIBR, there is provided a kind of Fast marching image repair side with direction Method.
The technical solution adopted for the present invention to solve the technical problems is as follows:
The present invention changes it and repairs direction to reach reparation mesh on the basis of traditional fast marching algorithms principle is not changed 's.
Specifically, for right virtual visual point image, hole region is turned left reparation from the right side;For left virtual visual point image, cavity Repair from left to right in region.What is repaired at first is edge pixel point, and each edge pixel point is, it is necessary to the institute sampled in fixed neighborhood There is known pixels point.All known pixels points in the neighborhood should all be background pixel point, and these pixels can be to the edge Pixel produces certain influence.And the influence that the known pixels point in the neighborhood is produced to the pixel to be repaired is different 's.Weight function that influence degree is constituted by the distance to empty pixel, to the factor such as distance of empty edge line determines. General principles are with tradition fast marching algorithms.
Again, checking hole region using improved expansion carries out T-shaped expansion and rectangular expansion, obtains unilateral border, Repaired by specific direction since border.
Finally obtain the new viewpoint image repaired and complete.
Beneficial effect of the present invention:Compared to traditional Fast marching image repair algorithm when repairing larger empty, can cause Foreground area edge blurry.The present invention can preferably keep prospect side in the empty image after processing virtual viewpoint rendering Edge information it is complete.
Brief description of the drawings
Fig. 1 is the reparation directional diagram of FMM algorithms;
Fig. 2 is the right virtual visual point image drawn;
Fig. 3 is a pair of expansion cores in traditional fast marching algorithms;
Fig. 4 is a pair of expansion cores in the embodiment of the present invention;
Fig. 5 is another to expansion core in the embodiment of the present invention.
Specific embodiment
Below in conjunction with accompanying drawing, the invention will be further described
Larger cavity can be produced around new virtual visual point image prospect after for DIBR.And these cavities should try one's best and adopt Filled with the pixel value of background area.Therefore two kinds of situations can be produced:For the left virtual visual point image drawn, foreground area Offset to the right, cavity results from the left side of foreground area, background area pixels value on the left of cavity of now sampling fills sky Hole region.Right virtual visual point image is then opposite.
Such as the right virtual visual point image that Fig. 2 is drafting, it is illustrated that the hole region of shade should use the background on the right side of cavity Pixel is filled.Can so be calculated using only image repair in the case where not possessing without multiple reference views or other conditions Method, the hole region to repairing larger has preferable effect.
The specific implementation of the present embodiment is as follows:
Step 1. is schemed for the empty mask of right virtual visual point image, replaces tradition quick using the expansion core shown in Fig. 4 The expansion core of traveling algorithm such as Fig. 3, carries out T-shaped expansion and rectangular expansion respectively.After T-shaped expansion, empty mask regions are subtracted, obtained To the narrow side at empty edge, right side of the narrow side in cavity.After rectangular expansion, empty mask regions are subtracted, obtain cavity right side The large area at edge.Pixel in the region can produce influence to hole region.Therefore, the pixel in the region is arrived The distance at empty edge is obtained, and is stored in array.
The narrow side that step 2. is obtained since step 1, the pixel in narrow side is taken out successively.The pixel for now taking out It is known pixels point.At this moment to the left side of known pixels point, upside, the pixel in three directions in downside is judged.If in the presence of It is empty, then carry out the reparation with direction.
Step 3. with empty pixel as the center of circle, with certain pixel distance(Typically take three pixels)For radius is used In the circle for repairing the empty pixel.All known pixels points obtain the pixel value of cavity point by weight function in right semi-circle, Finally cavity is repaired.
If left virtual visual point image, then using the expansion core shown in Fig. 5 instead of the expansion core shown in Fig. 4 in step 1, and In step 2 and 3, make all of right operation into a left side, if cromogram, then process three passages respectively.

Claims (1)

1. for the band direction FMM image repair methods of virtual visual point image, it is characterised in that the method is comprised the following steps:
For right virtual visual point image, its image repair is specifically:
Step 1. is schemed for the empty mask of right virtual visual point image, is expanded respectively using two kinds of expansion cores;Wherein first It is that the first T-shaped expands core to plant expansion core, and second expansion core is the first rectangular expansion core;After T-shaped expansion, empty mask areas are subtracted Domain, obtains the narrow side at empty edge, right side of the narrow side in cavity;After rectangular expansion, empty mask regions are subtracted, obtain cavity The large area of right side edge;Record the pixel in the region to the distance at empty edge;
Step 2. takes out the pixel in the narrow side successively, to the left side of pixel, upside, the pixel in direction of downside three Judged;If in the presence of empty point, carrying out the reparation with direction;
Step 3. with empty pixel as the center of circle, to set pixel distance as radius obtains the circle for repairing the empty pixel; All known pixels points obtain the pixel value of cavity point by weight function in right semi-circle, and finally cavity is repaired;
For left virtual visual point image, its image repair is specifically:
Step 4. is schemed for the empty mask of left virtual visual point image, is expanded respectively using two kinds of expansion cores;Wherein first It is that the second T-shaped expands core to plant expansion core, and second expansion core is the second rectangular expansion core;After T-shaped expansion, empty mask areas are subtracted Domain, obtains the narrow side at empty edge, left side of the narrow side in cavity;After rectangular expansion, empty mask regions are subtracted, obtain cavity The large area of left side edge;Record the pixel in the region to the distance at empty edge;
Step 5. takes out the pixel in the narrow side successively, to the right side of pixel, upside, the pixel in direction of downside three Judged;If in the presence of empty point, carrying out the reparation with direction;
Step 6. with empty pixel as the center of circle, to set pixel distance as radius obtains the circle for repairing the empty pixel; All known pixels points obtain the pixel value of cavity point by weight function in left semicircle, and finally cavity is repaired.
CN201510324837.6A 2015-06-15 2015-06-15 For the band direction FMM image repair methods of virtual visual point image Expired - Fee Related CN105141936B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510324837.6A CN105141936B (en) 2015-06-15 2015-06-15 For the band direction FMM image repair methods of virtual visual point image

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510324837.6A CN105141936B (en) 2015-06-15 2015-06-15 For the band direction FMM image repair methods of virtual visual point image

Publications (2)

Publication Number Publication Date
CN105141936A CN105141936A (en) 2015-12-09
CN105141936B true CN105141936B (en) 2017-06-23

Family

ID=54727131

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510324837.6A Expired - Fee Related CN105141936B (en) 2015-06-15 2015-06-15 For the band direction FMM image repair methods of virtual visual point image

Country Status (1)

Country Link
CN (1) CN105141936B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110189276A (en) * 2019-05-31 2019-08-30 华东理工大学 A kind of facial image restorative procedure based on very big radius circle domain
CN114648450A (en) * 2020-12-21 2022-06-21 北京的卢深视科技有限公司 Hole repairing method for depth map, electronic device and storage medium

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102231792A (en) * 2011-06-29 2011-11-02 南京大学 Electronic image stabilization method based on characteristic coupling
CN102710951A (en) * 2012-05-09 2012-10-03 天津大学 Multi-view-point computing and imaging method based on speckle-structure optical depth camera

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102231792A (en) * 2011-06-29 2011-11-02 南京大学 Electronic image stabilization method based on characteristic coupling
CN102710951A (en) * 2012-05-09 2012-10-03 天津大学 Multi-view-point computing and imaging method based on speckle-structure optical depth camera

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
An Image Inpainting Technique Based on the Fast Marching Method;Alexandru Telea;《Journal of Graphics Tools》;20041231;第9卷(第1期);第25-36页 *
基于快速行进法的快速图像修复算法;肖志云 等;《计算机应用》;20071231;第27卷;第60-61、65页 *

Also Published As

Publication number Publication date
CN105141936A (en) 2015-12-09

Similar Documents

Publication Publication Date Title
US9916676B2 (en) 3D model rendering method and apparatus and terminal device
CN108537861B (en) Map generation method, device, equipment and storage medium
US9760968B2 (en) Reduction of graphical processing through coverage testing
CN106952222A (en) A kind of interactive image weakening method and device
CN104822059B (en) A kind of virtual visual point synthesizing method accelerated based on GPU
CN102592275A (en) Virtual viewpoint rendering method
CN104378619B (en) A kind of hole-filling algorithm rapidly and efficiently based on front and back's scape gradient transition
CN104103089A (en) Real-time soft shadow realization method based on image screen space
CN103854301A (en) 3D reconstruction method of visible shell in complex background
CN109118556B (en) Method, system and storage medium for realizing animation transition effect of UI (user interface)
CN101908216B (en) Method and device for realizing vector fonts
CN103914862A (en) Pencil sketch simulating method based on edge tangent stream
CN111402373A (en) Image processing method and device, electronic equipment and storage medium
CN104063888A (en) Pop art style drawing method based on non-photorealistic
CN104157000B (en) The computational methods of model surface normal
CN106251281B (en) A kind of image morphing method based on shape interpolation
CN105141936B (en) For the band direction FMM image repair methods of virtual visual point image
CN104778673B (en) A kind of improved gauss hybrid models depth image enhancement method
CN109461197B (en) Cloud real-time drawing optimization method based on spherical UV and re-projection
CN104751508B (en) The full-automatic of new view is quickly generated and complementing method in the making of 3D three-dimensional films
CN102117491A (en) Texture data drawing method and device in three-dimensional modeling
CN103035023B (en) Three-dimension GIS terrain rendering method and system
CN104167009B (en) A kind of implementation method of animation effect
CN114065320A (en) LOD-based CAD graph lightweight rendering method
CN103310409B (en) A kind of Tile-based renders the fast triangle block method of framework GPU

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20200408

Address after: Room 2611, building 1, Taifu Plaza, No. 1, Tonghui Middle Road, Chengxiang street, Xiaoshan District, Hangzhou City, Zhejiang Province

Patentee after: Hangzhou yixiaobu Education Technology Co., Ltd

Address before: Hangzhou City, Zhejiang province 310018 Xiasha Higher Education Park is 18 street.

Patentee before: ZHEJIANG GONGSHANG University

CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20170623

Termination date: 20210615