Movatterモバイル変換


[0]ホーム

URL:


CN105825482A - Depth image restoration algorithm - Google Patents

Depth image restoration algorithm
Download PDF

Info

Publication number
CN105825482A
CN105825482ACN201610147426.9ACN201610147426ACN105825482ACN 105825482 ACN105825482 ACN 105825482ACN 201610147426 ACN201610147426 ACN 201610147426ACN 105825482 ACN105825482 ACN 105825482A
Authority
CN
China
Prior art keywords
filtering
formula
image
establishing
depth image
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.)
Pending
Application number
CN201610147426.9A
Other languages
Chinese (zh)
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.)
Sichuan Yonglian Information Technology Co Ltd
Original Assignee
Sichuan Yonglian Information Technology Co Ltd
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 Sichuan Yonglian Information Technology Co LtdfiledCriticalSichuan Yonglian Information Technology Co Ltd
Priority to CN201610147426.9ApriorityCriticalpatent/CN105825482A/en
Publication of CN105825482ApublicationCriticalpatent/CN105825482A/en
Pendinglegal-statusCriticalCurrent

Links

Classifications

Landscapes

Abstract

The invention provides a depth image restoration algorithm. According to the algorithm, morphological filtering is combined with a bilateral filtering algorithm to process a depth image, basic algorithms in morphology are used to fill cavities in the depth image, and bilateral filtering is used to smooth the image. Different types of noise signals included in a target object are eliminated by utilizing different structural elements. The algorithm comprises the following steps that 1) expansion, corrosion, opening operation and closing operation formulas of the morphological algorithm are established; 2) a morphological filter is established; 3) structural elements are selected; and 4) a bilateral filtering criterion is established.

Description

Restoration algorithm for depth image
Technical Field
The invention relates to the field of depth image processing and image restoration.
Background
The depth image has wide application in the fields of man-machine interaction, three-dimensional scene reconstruction, navigation, positioning and the like; in the process of acquiring the depth image, because the depth image is influenced by the equipment and the acquisition environment, a large number of cavities exist in the acquired image, so that accurate depth information is difficult to extract.
Many researchers at home and abroad also carry out a lot of researches on optimization and restoration of depth images, for example, a method of gaussian filtering is used for filling and restoring holes, a method of bilateral filtering is used for restoring depth images, and a method of non-local mean filtering is used for adding edge information weight to carry out up-sampling on depth images to restore depth images, but all the methods have defects which easily cause edge blurring, and the conditions of loss of edge information, existence of regional holes and large-area holes have not good effects.
Disclosure of Invention
Aiming at the defects, the invention provides a method for combining morphological filtering and bilateral filtering algorithms to process the depth image, fills the holes in the depth image by several basic algorithms in morphology, and then smoothes the image by bilateral filtering.
The purpose of the invention is: the processed image is clearer, and accurate depth information is easy to extract.
The technical scheme adopted by the invention for realizing the purpose is as follows: an algorithm for the restoration of a depth image,
the steps of the algorithm are as follows:
the method comprises the following steps: establishing expansion, corrosion, opening operation and closing operation formulas of a morphological algorithm;
step two: establishing a morphological filter;
step three: selecting structural elements;
step four: and establishing a bilateral filtering criterion.
The invention has the beneficial effects that: the invention processes the depth image by combining the morphological filtering and the bilateral filtering algorithm, fills the holes in the depth image by several basic algorithms in morphology, and then smoothes the image by utilizing the bilateral filtering. The morphological filtering is an image processing method which takes several basic operations in morphology as a core algorithm, and has better effect to a certain extent compared with the conventional linear filtering. It uses different structural elements to eliminate different types of noise signals contained in the target object.
Detailed description of the invention
In order to make the technical solution and the purpose of the present invention more clear, the present invention is further described below with reference to fig. 1 to 4.
The invention processes the depth image based on a method combining morphological filtering and bilateral filtering. The morphological filtering is mainly based on mathematical morphology, is a nonlinear filtering form and is formed by combining basic algorithms such as expansion, corrosion, opening and closing operations and the like. The image structure is analyzed by gathering related ideas, so that the morphological essence of the object can be intuitively obtained, and the analysis and the processing are easy. Therefore, the characteristic of the depth image is utilized to process the holes in the depth image, the image can be slightly rough after the processing is finished, and the depth image has a good smooth image function by combining bilateral filtering, so that the processed image is clearer, and accurate depth information is easy to extract.
Morphology includes many different methods, such as dilation, erosion, open and close operations, etc., with dilation and erosion being the most basic operations.
Firstly, establishing expansion, corrosion, opening operation and closing operation formulas of morphological algorithm
Setting f as an image function, s as a structural element, DfAnd DgThe domains are denoted f, s, respectively.
1. Establishing an expansion equation, in conjunction with FIG. 2
The main function of the expansion is to expand the edge of the target object and to enlarge the object range, so that the isolated part contacted with the object can be integrated into the object itself, and the expansion formula is defined in the method as follows:
and (x, y) ∈ Dg}
2. Establishing an etching formula in combination with FIG. 3
The effect of erosion is just opposite to the expansion, which is mainly to shrink the edge of the target object inwards, and in this method, the formula of erosion is defined as:
(fΘs)(t,m)=min{f(t+x,m+y)-s(x,y)|(t+x),(m+y)∈Dfand (x, y) ∈ Dg}
3. Establishing an open operation formula
Firstly, carrying out corrosion operation and then carrying out expansion operation, wherein the process is opening operation, the opening operation can remove single dots, burrs and bridges in the image and can smooth the edge of an object, and the formula of the opening operation is defined as:
4. establishing a closed operation formula
The method comprises the following steps of firstly performing expansion operation and then performing corrosion operation, wherein the process is closed operation, the closed operation can fill fine holes existing in a target object and repair fine cracks and smooth edges of the object (the closed operation is filtered by filling concave angles of an image), and a formula of the closed operation is defined as follows:
f·s=(f⊗s)Θs
secondly, establishing a morphological filter, combining with the figure 4
The method comprises the following steps that isolated and burr points in an image can be removed through open operation, fine cracks in the image can be filled through closed operation, if image filtering is carried out through open and close independently, the problem of statistical deviation occurs due to the characteristics of the image filtering, the filtering effect is poor, and therefore open and close operations need to be combined for use, namely, the open and close filtering can cause the result amplitude to be small, the closed filtering can cause the result to be large, and therefore the two operations are averaged for use:
the on-off filtering formula:
fOC=f○S●S
closed-open filter formula:
fco=f●SOS
a combination formula is adopted:
F=fOC+fCO2
thirdly, selecting structural elements
The selection of the structural elements plays a crucial role in morphological filtering, and the size and shape of the structural elements influence the filtering result, so that the appropriate structural elements should be selected, and circular structural elements are adopted in the invention.
Fourthly, establishing a bilateral filtering criterion
Bilateral filtering is a nonlinear filtering bilateral filtering composed of two kernel functions, which not only refers to the correlation in the spatial domain, but also refers to the similarity of pixel values. Therefore, the filtering can be carried out while the image edge information in the image information is considered, so that the fuzzy edge information of the image after normal Gaussian filtering can be kept clear, and the image edge is smoother.
The expression of the gaussian kernel is:
Hs=e-(1-x)2+(j-y)22δg2
wherein,gthe standard deviation of the gaussian function is represented, the gaussian kernel function only considers the spatial relationship of the pixels and does not pay attention to the gray value change of the image, so that the edges are smoothed during filtering, and the filtering result tends to be blurred. Therefore, the bilateral filtering is to add a function to constrain the change of the gray value of the image. Therefore, the above expression is transformed into:
Hr=e-(I(i,j)-I(x,y))22δr2
in the formula,Rrepresents the standard deviation of the transformed gaussian function, so the weighting coefficients for the bilateral filtering are:
H=HsHr
if the gray values of (i, j) and (x, y) are close, the weight coefficient H will tend to be Hs. The result will tend to be that of gaussian filtering. The result of the bilateral filtering depends ongAndrtwo parameters aregIs fixed torIf the value of (3) is large, the weight coefficient H is also large, and the effect of preserving edges is not achieved as in the case of gaussian filtering. But whenrWhen the value of (a) is small, the filtering effect is lost, so that the selection of proper parameters for filtering is important.

Claims (5)

CN201610147426.9A2016-03-152016-03-15Depth image restoration algorithmPendingCN105825482A (en)

Priority Applications (1)

Application NumberPriority DateFiling DateTitle
CN201610147426.9ACN105825482A (en)2016-03-152016-03-15Depth image restoration algorithm

Applications Claiming Priority (1)

Application NumberPriority DateFiling DateTitle
CN201610147426.9ACN105825482A (en)2016-03-152016-03-15Depth image restoration algorithm

Publications (1)

Publication NumberPublication Date
CN105825482Atrue CN105825482A (en)2016-08-03

Family

ID=56987311

Family Applications (1)

Application NumberTitlePriority DateFiling Date
CN201610147426.9APendingCN105825482A (en)2016-03-152016-03-15Depth image restoration algorithm

Country Status (1)

CountryLink
CN (1)CN105825482A (en)

Cited By (13)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN106412560A (en)*2016-09-282017-02-15湖南优象科技有限公司Three-dimensional image generating method based on depth map
CN107230194A (en)*2017-06-282017-10-03佛山科学技术学院A kind of smooth filtering method based on object point set
CN107256003A (en)*2017-05-272017-10-17四川用联信息技术有限公司A kind of manufacturing process multivariate quality diagnostic classification device of fuzzy support vector machine
CN107256001A (en)*2017-05-272017-10-17四川用联信息技术有限公司The improved algorithm for weighing manufacturing process multivariate quality ability
CN107291065A (en)*2017-05-272017-10-24四川用联信息技术有限公司The improved manufacturing process multivariate quality diagnostic classification device based on decision tree
CN107390667A (en)*2017-05-272017-11-24四川用联信息技术有限公司Manufacturing process multivariate quality diagnostic classification device based on decision tree
CN108171201A (en)*2018-01-172018-06-15山东大学Eyelashes rapid detection method based on gray scale morphology
CN109044365A (en)*2018-07-022018-12-21苏州大学The recognition methods of two dimensional motion state based on brain hemoglobin information
CN109685732A (en)*2018-12-182019-04-26重庆邮电大学A kind of depth image high-precision restorative procedure captured based on boundary
CN110660028A (en)*2019-09-042020-01-07南京邮电大学Small target detection method based on joint edge filtering morphology
CN111696057A (en)*2020-05-252020-09-22北京的卢深视科技有限公司Depth image denoising method and device
CN113935914A (en)*2021-10-082022-01-14北京的卢深视科技有限公司 Deep image restoration method, electronic device and storage medium
CN114862786A (en)*2022-04-292022-08-05清远蓄能发电有限公司Retinex image enhancement and Ostu threshold segmentation based isolated zone detection method and system

Cited By (16)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN106412560A (en)*2016-09-282017-02-15湖南优象科技有限公司Three-dimensional image generating method based on depth map
CN107256003A (en)*2017-05-272017-10-17四川用联信息技术有限公司A kind of manufacturing process multivariate quality diagnostic classification device of fuzzy support vector machine
CN107256001A (en)*2017-05-272017-10-17四川用联信息技术有限公司The improved algorithm for weighing manufacturing process multivariate quality ability
CN107291065A (en)*2017-05-272017-10-24四川用联信息技术有限公司The improved manufacturing process multivariate quality diagnostic classification device based on decision tree
CN107390667A (en)*2017-05-272017-11-24四川用联信息技术有限公司Manufacturing process multivariate quality diagnostic classification device based on decision tree
CN107230194A (en)*2017-06-282017-10-03佛山科学技术学院A kind of smooth filtering method based on object point set
CN108171201B (en)*2018-01-172021-11-09山东大学Rapid eyelash detection method based on gray scale morphology
CN108171201A (en)*2018-01-172018-06-15山东大学Eyelashes rapid detection method based on gray scale morphology
CN109044365A (en)*2018-07-022018-12-21苏州大学The recognition methods of two dimensional motion state based on brain hemoglobin information
CN109685732A (en)*2018-12-182019-04-26重庆邮电大学A kind of depth image high-precision restorative procedure captured based on boundary
CN109685732B (en)*2018-12-182023-02-17重庆邮电大学High-precision depth image restoration method based on boundary capture
CN110660028A (en)*2019-09-042020-01-07南京邮电大学Small target detection method based on joint edge filtering morphology
CN111696057A (en)*2020-05-252020-09-22北京的卢深视科技有限公司Depth image denoising method and device
CN111696057B (en)*2020-05-252023-06-30合肥的卢深视科技有限公司Depth image denoising method and device
CN113935914A (en)*2021-10-082022-01-14北京的卢深视科技有限公司 Deep image restoration method, electronic device and storage medium
CN114862786A (en)*2022-04-292022-08-05清远蓄能发电有限公司Retinex image enhancement and Ostu threshold segmentation based isolated zone detection method and system

Similar Documents

PublicationPublication DateTitle
CN105825482A (en)Depth image restoration algorithm
CN103942758B (en)Dark channel prior image dehazing method based on multiscale fusion
KR102620105B1 (en)Method for upscaling noisy images, and apparatus for upscaling noisy images
CN109859147A (en)A kind of true picture denoising method based on generation confrontation network noise modeling
CN101639938B (en)Image restoration method based on double-edge wave filter and margin deconvolution
CN107798670B (en) A Dehazing Method for Dark Primitive Color Prior Images Using Image-Guided Filters
CN103839234B (en)A kind of double geometry non-local mean image de-noising methods based on controlled core
CN109377450B (en)Edge protection denoising method
CN102360498A (en)Reconstruction method for image super-resolution
CN108932699B (en) Transform domain-based 3D matching harmonic filtering image denoising method
CN102930508B (en)Image residual signal based non-local mean value image de-noising method
CN105574829A (en)Adaptive bilateral filtering algorithm for polarized SAR image
CN114897741A (en)Image blind deblurring method based on depth residual Fourier transform
CN102496021A (en)Wavelet transform-based thresholding method of image
CN101504769B (en)Self-adaptive noise intensity estimation method based on encoder frame work
CN102222327A (en)Image denoising method based on Treelet transformation and minimum mean-square error estimation
CN113724164A (en)Visible light image noise removing method based on fusion reconstruction guidance filtering
CN105243647A (en)Linear spatial filtering-based image enhancement method
CN107169932A (en)A kind of image recovery method based on Gauss Poisson mixed noise model suitable for neutron imaging system diagram picture
CN106447640A (en)Multi-focus image fusion method based on dictionary learning and rotating guided filtering and multi-focus image fusion device thereof
CN105869133A (en)Image sharpening method based on non-causal fractional order subdifferential
CN107784639A (en)A kind of polygon filtering and noise reduction method of unmanned aerial vehicle remote sensing image improvement
CN104463811A (en)Energy functional based image smoothing and sharpening algorithm
CN116385312A (en)Low-illumination image denoising method based on phase correlation
CN111179333B (en)Defocus blur kernel estimation method based on binocular stereo vision

Legal Events

DateCodeTitleDescription
C06Publication
PB01Publication
C10Entry into substantive examination
SE01Entry into force of request for substantive examination
WD01Invention patent application deemed withdrawn after publication

Application publication date:20160803

WD01Invention patent application deemed withdrawn after publication

[8]ページ先頭

©2009-2025 Movatter.jp