<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE article  PUBLIC "-//NLM//DTD Journal Publishing DTD v3.0 20080202//EN" "http://dtd.nlm.nih.gov/publishing/3.0/journalpublishing3.dtd"><article xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink" dtd-version="3.0" xml:lang="en" article-type="research article"><front><journal-meta><journal-id journal-id-type="publisher-id">JCC</journal-id><journal-title-group><journal-title>Journal of Computer and Communications</journal-title></journal-title-group><issn pub-type="epub">2327-5219</issn><publisher><publisher-name>Scientific Research Publishing</publisher-name></publisher></journal-meta><article-meta><article-id pub-id-type="doi">10.4236/jcc.2017.53001</article-id><article-id pub-id-type="publisher-id">JCC-74649</article-id><article-categories><subj-group subj-group-type="heading"><subject>Articles</subject></subj-group><subj-group subj-group-type="Discipline-v2"><subject>Computer Science&amp;Communications</subject></subj-group></article-categories><title-group><article-title>
 
 
  Light Field Flow Estimation Based on Occlusion Detection
 
</article-title></title-group><contrib-group><contrib contrib-type="author" xlink:type="simple"><name name-style="western"><surname>Wei</surname><given-names>Zhang</given-names></name><xref ref-type="aff" rid="aff1"><sup>1</sup></xref></contrib><contrib contrib-type="author" xlink:type="simple"><name name-style="western"><surname>Lili</surname><given-names>Lin</given-names></name><xref ref-type="aff" rid="aff1"><sup>1</sup></xref></contrib></contrib-group><aff id="aff1"><addr-line>College of Information and Electronic Engineering, Zhejiang Gongshang University, Hangzhou, China</addr-line></aff><pub-date pub-type="epub"><day>08</day><month>03</month><year>2017</year></pub-date><volume>05</volume><issue>03</issue><fpage>1</fpage><lpage>9</lpage><history><date date-type="received"><day>December</day>	<month>19,</month>	<year>2016</year></date><date date-type="rev-recd"><day>Accepted:</day>	<month>March</month>	<year>10,</year>	</date><date date-type="accepted"><day>March</day>	<month>13,</month>	<year>2017</year></date></history><permissions><copyright-statement>&#169; Copyright  2014 by authors and Scientific Research Publishing Inc. </copyright-statement><copyright-year>2014</copyright-year><license><license-p>This work is licensed under the Creative Commons Attribution International License (CC BY). http://creativecommons.org/licenses/by/4.0/</license-p></license></permissions><abstract><p>
 
 
   
   Light field cameras have a wide area of applications, such as digital refocusing, scene depth information extraction and 3-D image reconstruction. By recording the energy and direction information of light field, they can well solve many technical problems that cannot be done by conventional cameras. An important feature of light field cameras is that a microlens array is inserted between the sensor and main lens, through which a series of sub-aperture images of different perspectives are formed. Based on this feature and the full-focus image acquisition technique, we propose a light-field optical flow calculation algorithm, which involves both the depth estimation and the occlusion detection and guarantees the edge-preserving property. This algorithm consists of three steps: 1) Computing the dense optical flow field among a group of sub-aperture images; 2) Obtaining a robust depth-estimation by initializing the light-filed optical flow using the linear regression approach and detecting occluded areas using the consistency; 3) Computing an improved light-field depth map by using the edge-preserving algorithm to realize interpolation optimization. The reliability and high accuracy of the proposed approach is validated by experimental results. 
  
 
</p></abstract><kwd-group><kwd>Light Field Images</kwd><kwd> Optical Flow</kwd><kwd> Edge-Preserve</kwd><kwd> Depth Estimation</kwd><kwd>  Occlusion Detection</kwd></kwd-group></article-meta></front><body><sec id="s1"><title>1. Introduction</title><p>Light Field cameras, due to their ability of collecting 4D light field information, provide many capabilities that can never be provided by conventional cameras, such as controlling of field depth, refocusing after the fact, and changing of view points [<xref ref-type="bibr" rid="scirp.74649-ref1">1</xref>]. In recent years, light field cameras enjoy a variety of applications, such like light field depth map estimation [<xref ref-type="bibr" rid="scirp.74649-ref2">2</xref>], digital refocusing [<xref ref-type="bibr" rid="scirp.74649-ref3">3</xref>], 3-D image reconstruction and stereo vision matching. An important prerequisite for achieving these applications is to obtain an accurate and efficient depth estimation of light-field images. Recently, many depth estimation algorithms based on light-field images have been proposed [<xref ref-type="bibr" rid="scirp.74649-ref4">4</xref>]. However, these algorithms do not take spatial and angular resolution into consideration, thus having the following two limitations in the presence of depth discontinuities or occlusions.</p><p>1. The occlusion detection algorithms involved in these algorithms are sensitive to the surface texture and color of objects in some cases.</p><p>2. The accuracy of depth estimation usually depends on the distance between two focal stack images.</p><p>To overcome the aforementioned drawbacks, this work proposes an edge- preserving light-field flow estimation algorithm. Firstly, the dense optical flow field of multi-frame sub-apertures of light-field images is computed. Then, all occlusions that may occur during the computation are taken into account. Based on the geometrical features of light-field images and the correspondence among them, a robust light-field flow can be obtained, which contains the accurate depth estimation and occlusion detection. It is worth noting that linear regression is performed on multi-aperture images in our proposed algorithm. As a result, it can well handle two problems that are suffered by conventional optical flow approaches: one is the accuracy-loss during the computation of the optical flow value between two images, and the other is that the occlusion region cannot be detected correctly.</p></sec><sec id="s2"><title>2. Related Work</title><p>Optical flow estimation, as a hot topic, has been extensively studied [<xref ref-type="bibr" rid="scirp.74649-ref5">5</xref>]. Most of the existing approaches are based on variational formulations and the related energy minimization. Basically, coarse-to-fine schemes are adopted in these approaches to perform the minimization. Unfortunately, such approaches suffer from the problem of error accumulation. More specifically, since the precision of minimization depends on the range of local minima and cross-scale calculations are required by coarse-to-fine schemes, errors are gradually accumulated during cross-scale calculations. Consequently, this problem leads to serious distortion of images, especially in the case of large displacements.</p><p>Recently, some approaches with matching features involved are proposed. Xu et al. merged the estimated flow with matching features at each level of the coarse-to-fine scheme [<xref ref-type="bibr" rid="scirp.74649-ref6">6</xref>]. A penalization of the difference between the optical flow and HOG matches is added to the energy by Brox and Malik [<xref ref-type="bibr" rid="scirp.74649-ref7">7</xref>]. Weinzaepfel et al. replaced the HOG matches by an approach based on similarities of non-rigid patches: DeepMatching [<xref ref-type="bibr" rid="scirp.74649-ref8">8</xref>]. Braux-Zin et al. used segment features in addition to key points matching [<xref ref-type="bibr" rid="scirp.74649-ref9">9</xref>]. As mentioned before, these approaches rely on coarse-to-fine schemes and thus some defects cannot be eliminated. In particular, it could happen that some details will lost after scaling up an image. Besides, it is difficult to distinguish a target object from the background when they have similar textures.</p><p>In this paper, we propose a novel optical flow calculation algorithm, where the edge preserving technique is adopted. The existing algorithms generally do not consider the edge parts of the target image, while ours does. Note that it is difficult to do the depth estimation and occlusion detection without considering the edge parts. Besides, the conventional algorithms fail to accurately estimates the model of the optical flow field when there are occluded areas during imaging. In addition, the conventional algorithms can hardly guarantee the integrity of the edge parts, which leads to the blurring of the moving boundary and thus affects the estimation of the whole depth map. For example, the results of depth estimation and occlusion detection obtained by the algorithm proposed by Wang et al. [<xref ref-type="bibr" rid="scirp.74649-ref10">10</xref>] are shown in <xref ref-type="fig" rid="fig1">Figure 1</xref>. It can be seen that the edge parts are not well handled.</p></sec><sec id="s3"><title>3. Light Field Flow Detection Based on Occlusion Detection</title><p>In this section, we propose a new optical flow detection approach, which aims to obtain the dense and accurate light field flow estimation. Firstly, we get a series of sub-aperture images from the original light-field image. Secondly, we regard the central frame as the reference frame and compute the dense optical flow between it and all the other sub-aperture images. Thirdly, a robust depth estimation is obtained by initializing the light-field flow with linear regression approach. Note that occluded areas are detected with consistency during this process. Finally, an improved light-field depth map is obtained by using the edge-preserving algorithm to realize interpolation optimization. The detailed procedure is shown in <xref ref-type="fig" rid="fig2">Figure 2</xref>.</p><sec id="s3_1"><title>3.1. Dense Optical Flow in Multi-Frame Sub-Aperture Images</title><p>In order to calculate the optical flow, it is necessary to compute the correspondence points between frames. Let <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/74649x2.png" xlink:type="simple"/></inline-formula> denote a set of 4-D light field data, where <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/74649x3.png" xlink:type="simple"/></inline-formula> are the spatial coordinates and <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/74649x4.png" xlink:type="simple"/></inline-formula> are the angular coordinates. For clarity, we use <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/74649x5.png" xlink:type="simple"/></inline-formula> and <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/74649x6.png" xlink:type="simple"/></inline-formula> to denote a sub-aper- ture image and the central sub-aperture image, respectively. The estimation of optical flow between the central sub-aperture image and the other sub-aperture images is denoted as<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/74649x7.png" xlink:type="simple"/></inline-formula>, where the pixel <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/74649x8.png" xlink:type="simple"/></inline-formula> in <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/74649x9.png" xlink:type="simple"/></inline-formula> corresponds to the pixel <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/74649x10.png" xlink:type="simple"/></inline-formula> in<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/74649x11.png" xlink:type="simple"/></inline-formula>.</p><p>As shown in <xref ref-type="fig" rid="fig3">Figure 3</xref>, there are totally 49 images in the sub-aperture image</p><fig-group id="fig1"><label><xref ref-type="fig" rid="fig1">Figure 1</xref></label><caption><title> Visual effects of depth estimation and occlusion detection. (a) Input image; (b) Wang’s depth estimation; (c) Wang’s occlusion detection</title></caption><fig id ="fig1_1"><label> (b)</label><graphic mimetype="image"   position="float"  xlink:type="simple"  xlink:href="http://html.scirp.org/file/74649x12.png"/></fig><fig id ="fig1_2"><label> (c)</label><graphic mimetype="image"   position="float"  xlink:type="simple"  xlink:href="http://html.scirp.org/file/74649x13.png"/></fig><fig id ="fig1_3"><label></label><graphic mimetype="image"   position="float"  xlink:type="simple"  xlink:href="http://html.scirp.org/file/74649x14.png"/></fig></fig-group><fig id="fig2"  position="float"><label><xref ref-type="fig" rid="fig2">Figure 2</xref></label><caption><title> Flow chart of optical flow detection in light field</title></caption><graphic mimetype="image"   position="float"  xlink:type="simple"  xlink:href="http://html.scirp.org/file/74649x15.png"/></fig><fig id="fig3"  position="float"><label><xref ref-type="fig" rid="fig3">Figure 3</xref></label><caption><title> Diagram of matching points between multi-frame sub-aperture images</title></caption><graphic mimetype="image"   position="float"  xlink:type="simple"  xlink:href="http://html.scirp.org/file/74649x16.png"/></fig><p>array, and the central sub-aperture image is the 25<sup>th</sup> one. From the sub-aperture image array, we select one row (e.g. the 29<sup>th</sup> image - 35<sup>th</sup> image) and one column (e.g. the 5<sup>th</sup>, 12<sup>th</sup>, 19<sup>th</sup>, 26<sup>th</sup>, 33<sup>th</sup>, 40<sup>th</sup>, 47<sup>th</sup>) for analysis. The horizontal displacements of the pixels between the 25<sup>th</sup> central sub-aperture image and the horizontal ones in the selected row are estimated and denoted by u1, u2, …, u7. And the vertical displacements of the pixels between the 25<sup>th</sup> central sub-aperture image and the vertical ones in the selected column are estimated and denoted as v1, v2, …, v7. Theoretically, it should be a linear relationship between any two horizontal or any two vertical displacements when the pixel movement is stable and not occluded. Under this assumption, we try to calculate these two linear relationships. We firstly calculate the average horizontal and vertical displacements</p><disp-formula id="scirp.74649-formula43"><label>(1)</label><graphic position="anchor" xlink:href="http://html.scirp.org/file/74649x17.png"  xlink:type="simple"/></disp-formula><p>where n is the number of sub-aperture images in this row and column. Then, we define the deviation between the measured and the calculated displacements as follows:</p><disp-formula id="scirp.74649-formula44"><label>(2)</label><graphic position="anchor" xlink:href="http://html.scirp.org/file/74649x18.png"  xlink:type="simple"/></disp-formula><p>When<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/74649x19.png" xlink:type="simple"/></inline-formula>, we can obtain the most suitable values <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/74649x19.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/74649x20.png" xlink:type="simple"/></inline-formula> and <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/74649x19.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/74649x20.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/74649x21.png" xlink:type="simple"/></inline-formula> that make the relationships between any two horizontal or any two vertical displacements approach to linearity to the most extent. In other words, <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/74649x19.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/74649x20.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/74649x21.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/74649x22.png" xlink:type="simple"/></inline-formula>and <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/74649x19.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/74649x20.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/74649x21.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/74649x22.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/74649x23.png" xlink:type="simple"/></inline-formula> are the best displacement vectors. Hence, the best matching points can be obtained.</p></sec><sec id="s3_2"><title>3.2. Initial Depth Estimation</title><p>By reconstructing the optical flow estimation <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/74649x24.png" xlink:type="simple"/></inline-formula> of the central aperture image pixel coordinate<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/74649x24.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/74649x25.png" xlink:type="simple"/></inline-formula>, we can get the light-field flow<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/74649x24.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/74649x25.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/74649x26.png" xlink:type="simple"/></inline-formula>. After calculating the corresponding points of the central sub-aperture image in all the other ones, <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/74649x24.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/74649x25.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/74649x26.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/74649x27.png" xlink:type="simple"/></inline-formula>optical flow estimation <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/74649x24.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/74649x25.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/74649x26.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/74649x27.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/74649x28.png" xlink:type="simple"/></inline-formula>, <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/74649x24.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/74649x25.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/74649x26.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/74649x27.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/74649x28.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/74649x29.png" xlink:type="simple"/></inline-formula>, can be obtained. According to the geometric principle of light field, we have the following relations:</p><p><img data-original="http://html.scirp.org/file/74649x30.png" />,<img data-original="http://html.scirp.org/file/74649x31.png" /> (3)</p><p>where α is a depth factor of the refocus plane, generally ranging in [0.2, 2], and and denote the displacement of the counterpart of the coordinates <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/74649x32.png" xlink:type="simple"/></inline-formula> on the other sub-aperture image with respect to the central one. To reduce the effect of noise, the depth estimation is initialized by solving the above overdetermined linear equations. The solution α is exactly the optimal initial depth estimation. In <xref ref-type="fig" rid="fig4">Figure 4</xref>, the initial depth estimation derived by our proposed approach and a conventional one considering only two frames are illustrated, respectively.</p></sec><sec id="s3_3"><title>3.3. Depth Map</title><p>During the calculation of optical flow, we can use the consistency of forward and backward flows to detect and remove the occlusions between every two sub- aperture images. Specifically, a comparison is made between the forward flow <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/74649x33.png" xlink:type="simple"/></inline-formula> from the central sub-aperture image to the i-th sub-aperture image, and the backward flow <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/74649x33.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/74649x34.png" xlink:type="simple"/></inline-formula> from the i-th sub-aperture image to the central one. Ideally, these two results are reversed, and a binary detector can be obtained by detecting the equivalence between these two results or by calculating the difference of <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/74649x33.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/74649x34.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/74649x35.png" xlink:type="simple"/></inline-formula> to obtain a continuous estimation. When the estimated value is relative high, the pixel is marked as an occlusion point between these two sub-aperture images.</p><p>To further improve the performance, we calculate the forward and backward flows between multiple sub-aperture images, in a way that is similar to the calculation of horizontal and vertical displacements of optical flow, and then compare their consistency. The pixels that are inconsistent are regarded as occluded and should be removed. The occlusion detection results of Wang’s and ours are shown in <xref ref-type="fig" rid="fig5">Figure 5</xref>. It can be seen that our result is much better than that of Wang et al. in terms of accuracy.</p><fig-group id="fig4"><label><xref ref-type="fig" rid="fig4">Figure 4</xref></label><caption><title> Comparison of initial depth estimation between traditional approach and ours. (a) Result between only 2 frames; (b) our result.</title></caption><fig id ="fig4_1"><label> (b)</label><graphic mimetype="image"   position="float"  xlink:type="simple"  xlink:href="http://html.scirp.org/file/74649x36.png"/></fig><fig id ="fig4_2"><label></label><graphic mimetype="image"   position="float"  xlink:type="simple"  xlink:href="http://html.scirp.org/file/74649x37.png"/></fig></fig-group><fig-group id="fig5"><label><xref ref-type="fig" rid="fig5">Figure 5</xref></label><caption><title> Comparison of occlusion detection between our method and Wang’s. (a) Input light field image; (b) occlusion detection results of our method; (c) occlusion detection results of Wang’s.</title></caption><fig id ="fig5_1"><label> (b)</label><graphic mimetype="image"   position="float"  xlink:type="simple"  xlink:href="http://html.scirp.org/file/74649x38.png"/></fig><fig id ="fig5_2"><label> (c)</label><graphic mimetype="image"   position="float"  xlink:type="simple"  xlink:href="http://html.scirp.org/file/74649x39.png"/></fig><fig id ="fig5_3"><label></label><graphic mimetype="image"   position="float"  xlink:type="simple"  xlink:href="http://html.scirp.org/file/74649x40.png"/></fig></fig-group></sec></sec><sec id="s4"><title>4. Optimization of Deep Estimation Based on EpicFlow</title><p>In the aforementioned optical flow calculation and occlusion detection, the edge information is neglected as shown in <xref ref-type="fig" rid="fig6">Figure 6</xref>. As a result, the accuracy is decreased when finding the corresponding point to estimate the optical flow. Furthermore, there may exist errors during matching the corresponding points.</p><p>Therefore, we further use the Epicflow algorithm proposed by Revaud et al [<xref ref-type="bibr" rid="scirp.74649-ref11">11</xref>]., which uses the structured edge detection (SED), to perform interpolation optimization for the blank areas that are caused by the removal of occluded areas. In this way, we can compensate for the accuracy loss of depth estimation that are caused by inaccurate occluded areas and the matching error of corresponding points.</p><p>The most recently proposed Fullflow method [<xref ref-type="bibr" rid="scirp.74649-ref12">12</xref>] also adopts EpicFlow. But the overall performance of optical flow estimation of our method is much better than that of Fullflow method as shown in <xref ref-type="fig" rid="fig7">Figure 7</xref>. Clearly, it is necessary to preserve the edge of the target region and to perform the interpolation optimization for the occluded regions in the optical flow estimation.</p></sec><sec id="s5"><title>5. Optimization of Deep Estimation Based on EpicFlow</title><p>In this section, a set of experiments is carried out to validate the superiority of our proposed approach over the state-of-the-art methods. Note that light field images with the resolution of 398 &#215; 398 are chosen for test.</p><p>Firstly, totally 7 &#215; 7 sub-aperture images are extracted from a raw light field image. Then, on the basis of conventional Lucas-Kanade algorithm, we calculate the set of corresponding points between the central sub-aperture image and all the other ones. Based on the obtained set of corresponding points, the optical flow estimation results are obtained in the horizontal direction and the vertical direction. As a result, the stable and homogeneous optical flow of the light field image can be calculated. Note that the effects of the noise, varying light intensity and occlusions are minimized during the calculation of the corresponding points of the target area. Finally, we optimize depth estimation of the light field image by the EpicFlow approach.</p><fig id="fig6"  position="float"><label><xref ref-type="fig" rid="fig6">Figure 6</xref></label><caption><title> The image edge detection result using SED algorithm</title></caption><graphic mimetype="image"   position="float"  xlink:type="simple"  xlink:href="http://html.scirp.org/file/74649x41.png"/></fig><p>As shown in <xref ref-type="fig" rid="fig8">Figure 8</xref>, our proposed approach can achieve a more stable optical flow and the effects of occluded areas are reduced significantly. In addition,</p><fig-group id="fig7"><label><xref ref-type="fig" rid="fig7">Figure 7</xref></label><caption><title> Comparisons of edge details obtained by our approach and Fullflow method. (a) The edge detail obtained by our approach; (b) the edge detail obtained by FullFlow method.</title></caption><fig id ="fig7_1"><label>(b)</label><graphic mimetype="image"   position="float"  xlink:type="simple"  xlink:href="http://html.scirp.org/file/74649x42.png"/></fig><fig id ="fig7_2"><label></label><graphic mimetype="image"   position="float"  xlink:type="simple"  xlink:href="http://html.scirp.org/file/74649x43.png"/></fig></fig-group><fig-group id="fig8"><label><xref ref-type="fig" rid="fig8">Figure 8</xref></label><caption><title> Comparison of several algorithms. (a) Input image; (b) LK; (c) sparseFlow; (d) SimpleFlow; (e) fullFlow; (f) ourFlow.</title></caption><fig id ="fig8_1"><label> (b)</label><graphic mimetype="image"   position="float"  xlink:type="simple"  xlink:href="http://html.scirp.org/file/74649x49.png"/></fig><fig id ="fig8_2"><label> (c)</label><graphic mimetype="image"   position="float"  xlink:type="simple"  xlink:href="http://html.scirp.org/file/74649x48.png"/></fig><fig id ="fig8_3"><label> (d)</label><graphic mimetype="image"   position="float"  xlink:type="simple"  xlink:href="http://html.scirp.org/file/74649x47.png"/></fig><fig id ="fig8_4"><label> (e)</label><graphic mimetype="image"   position="float"  xlink:type="simple"  xlink:href="http://html.scirp.org/file/74649x46.png"/></fig><fig id ="fig8_5"><label> (f)</label><graphic mimetype="image"   position="float"  xlink:type="simple"  xlink:href="http://html.scirp.org/file/74649x45.png"/></fig><fig id ="fig8_6"><label></label><graphic mimetype="image"   position="float"  xlink:type="simple"  xlink:href="http://html.scirp.org/file/74649x44.png"/></fig><fig id ="fig8_7"><label></label><graphic mimetype="image"   position="float"  xlink:type="simple"  xlink:href="http://html.scirp.org/file/74649x55.png"/></fig><fig id ="fig8_8"><label></label><graphic mimetype="image"   position="float"  xlink:type="simple"  xlink:href="http://html.scirp.org/file/74649x54.png"/></fig><fig id ="fig8_9"><label></label><graphic mimetype="image"   position="float"  xlink:type="simple"  xlink:href="http://html.scirp.org/file/74649x53.png"/></fig><fig id ="fig8_10"><label></label><graphic mimetype="image"   position="float"  xlink:type="simple"  xlink:href="http://html.scirp.org/file/74649x52.png"/></fig><fig id ="fig8_11"><label></label><graphic mimetype="image"   position="float"  xlink:type="simple"  xlink:href="http://html.scirp.org/file/74649x51.png"/></fig><fig id ="fig8_12"><label></label><graphic mimetype="image"   position="float"  xlink:type="simple"  xlink:href="http://html.scirp.org/file/74649x50.png"/></fig><fig id ="fig8_13"><label></label><graphic mimetype="image"   position="float"  xlink:type="simple"  xlink:href="http://html.scirp.org/file/74649x61.png"/></fig><fig id ="fig8_14"><label></label><graphic mimetype="image"   position="float"  xlink:type="simple"  xlink:href="http://html.scirp.org/file/74649x60.png"/></fig><fig id ="fig8_15"><label></label><graphic mimetype="image"   position="float"  xlink:type="simple"  xlink:href="http://html.scirp.org/file/74649x59.png"/></fig><fig id ="fig8_16"><label></label><graphic mimetype="image"   position="float"  xlink:type="simple"  xlink:href="http://html.scirp.org/file/74649x58.png"/></fig><fig id ="fig8_17"><label></label><graphic mimetype="image"   position="float"  xlink:type="simple"  xlink:href="http://html.scirp.org/file/74649x57.png"/></fig><fig id ="fig8_18"><label></label><graphic mimetype="image"   position="float"  xlink:type="simple"  xlink:href="http://html.scirp.org/file/74649x56.png"/></fig><fig id ="fig8_19"><label></label><graphic mimetype="image"   position="float"  xlink:type="simple"  xlink:href="http://html.scirp.org/file/74649x67.png"/></fig><fig id ="fig8_20"><label></label><graphic mimetype="image"   position="float"  xlink:type="simple"  xlink:href="http://html.scirp.org/file/74649x66.png"/></fig><fig id ="fig8_21"><label></label><graphic mimetype="image"   position="float"  xlink:type="simple"  xlink:href="http://html.scirp.org/file/74649x65.png"/></fig><fig id ="fig8_22"><label></label><graphic mimetype="image"   position="float"  xlink:type="simple"  xlink:href="http://html.scirp.org/file/74649x64.png"/></fig><fig id ="fig8_23"><label></label><graphic mimetype="image"   position="float"  xlink:type="simple"  xlink:href="http://html.scirp.org/file/74649x63.png"/></fig><fig id ="fig8_24"><label></label><graphic mimetype="image"   position="float"  xlink:type="simple"  xlink:href="http://html.scirp.org/file/74649x62.png"/></fig><fig id ="fig8_25"><label></label><graphic mimetype="image"   position="float"  xlink:type="simple"  xlink:href="http://html.scirp.org/file/74649x73.png"/></fig><fig id ="fig8_26"><label></label><graphic mimetype="image"   position="float"  xlink:type="simple"  xlink:href="http://html.scirp.org/file/74649x72.png"/></fig><fig id ="fig8_27"><label></label><graphic mimetype="image"   position="float"  xlink:type="simple"  xlink:href="http://html.scirp.org/file/74649x71.png"/></fig><fig id ="fig8_28"><label></label><graphic mimetype="image"   position="float"  xlink:type="simple"  xlink:href="http://html.scirp.org/file/74649x70.png"/></fig><fig id ="fig8_29"><label></label><graphic mimetype="image"   position="float"  xlink:type="simple"  xlink:href="http://html.scirp.org/file/74649x69.png"/></fig><fig id ="fig8_30"><label></label><graphic mimetype="image"   position="float"  xlink:type="simple"  xlink:href="http://html.scirp.org/file/74649x68.png"/></fig><fig id ="fig8_31"><label></label><graphic mimetype="image"   position="float"  xlink:type="simple"  xlink:href="http://html.scirp.org/file/74649x79.png"/></fig><fig id ="fig8_32"><label></label><graphic mimetype="image"   position="float"  xlink:type="simple"  xlink:href="http://html.scirp.org/file/74649x78.png"/></fig><fig id ="fig8_33"><label></label><graphic mimetype="image"   position="float"  xlink:type="simple"  xlink:href="http://html.scirp.org/file/74649x77.png"/></fig><fig id ="fig8_34"><label></label><graphic mimetype="image"   position="float"  xlink:type="simple"  xlink:href="http://html.scirp.org/file/74649x76.png"/></fig><fig id ="fig8_35"><label></label><graphic mimetype="image"   position="float"  xlink:type="simple"  xlink:href="http://html.scirp.org/file/74649x75.png"/></fig><fig id ="fig8_36"><label></label><graphic mimetype="image"   position="float"  xlink:type="simple"  xlink:href="http://html.scirp.org/file/74649x74.png"/></fig></fig-group><p>the edge parts are properly processed, resulting in a better depth map estimation. Compared with some other mainstream optical flow algorithms, our approach has better performance.</p></sec><sec id="s6"><title>Cite this paper</title><p>Zhang, W. and Lin, L.L. (2017) Light Field Flow Estimation Based on Occlusion Detection. Journal of Computer and Communications, 5, 1-9. https://doi.org/10.4236/jcc.2017.53001</p></sec></body><back><ref-list><title>References</title><ref id="scirp.74649-ref1"><label>1</label><mixed-citation publication-type="other" xlink:type="simple">Ng, R., Levoy, M., Brédif, M., et al. (2005) Light Field Photography with a Hand-Held Plenoptic Camera. Stanford University: Computer Science Technical Report CSTR, 2(11).</mixed-citation></ref><ref id="scirp.74649-ref2"><label>2</label><mixed-citation publication-type="other" xlink:type="simple">Jeon, H.G., Park, J., Choe, G., et al. (2015) Accurate Depth Map Estimation from a Lenslet Light Field Camera. Proceedings of the 2015 IEEE Conference on Computer Vision and Pattern Recognition. IEEE, Boston, 1547-1555.  
https://doi.org/10.1109/CVPR.2015.7298762</mixed-citation></ref><ref id="scirp.74649-ref3"><label>3</label><mixed-citation publication-type="other" xlink:type="simple">Nava, F.P., Marichal-Hernández, J.G. and Rodríguez-Ramos, J.M. (2008) The Discrete Focal Stack Transform. Proceedings of 16th European Signal Processing Conference, IEEE, Lausame, 1-5.</mixed-citation></ref><ref id="scirp.74649-ref4"><label>4</label><mixed-citation publication-type="other" xlink:type="simple">Butler, D.J., Wulff, J., Stanley, G.B. and Black, M.J. (2012) Anaturalistic Open Source Movie for Optical Flow Evaluation.</mixed-citation></ref><ref id="scirp.74649-ref5"><label>5</label><mixed-citation publication-type="other" xlink:type="simple">Horn, B.K.P. and Schunck, B.G. (1981) Determining Optical Flow. Artificial Intelligence. https://doi.org/10.1016/0004-3702(81)90024-2</mixed-citation></ref><ref id="scirp.74649-ref6"><label>6</label><mixed-citation publication-type="other" xlink:type="simple">Xu, L., Jia, J. and Matsushita, Y. (2012) Motion Detail Preservingoptical Flow Estimation. IEEE Transactions on Pattern Analysis and Machine Intelligence.</mixed-citation></ref><ref id="scirp.74649-ref7"><label>7</label><mixed-citation publication-type="other" xlink:type="simple">Brox, T. and Malik, J. (2011) Large Displacement Optical Flow: De-Scriptor Matching in Variational Motion Estimation. IEEE Transactions on Pattern Analysis and Machine Intelligence.</mixed-citation></ref><ref id="scirp.74649-ref8"><label>8</label><mixed-citation publication-type="other" xlink:type="simple">Weinzaepfel, P., Revaud, J., Harchaoui, Z. and Schmid, C. (2013) Deepflow: Large Displacement Optical Flow with Deep Matching.</mixed-citation></ref><ref id="scirp.74649-ref9"><label>9</label><mixed-citation publication-type="other" xlink:type="simple">Braux-Zin, J., Dupont, R. and Bartoli, A. (2013) A General Dense Image Matching Framework Combining Direct and Feature-Basedcosts.</mixed-citation></ref><ref id="scirp.74649-ref10"><label>10</label><mixed-citation publication-type="other" xlink:type="simple">Adelson, E. and Wang, J. (1992) Single Lens Stereo with a Plenoptic Camera. IEEE Transactions on Pattern Analysis and Machine Intelligence.  
https://doi.org/10.1109/34.121783</mixed-citation></ref><ref id="scirp.74649-ref11"><label>11</label><mixed-citation publication-type="other" xlink:type="simple">Revaud, J., Weinzaepfel, P., Harchaoui, Z. and Schmid, C. (2015) EpicFlow: Edge-Preserving Interpolation of Correspondences for Optical Flow. In: CVPR 2015.</mixed-citation></ref><ref id="scirp.74649-ref12"><label>12</label><mixed-citation publication-type="other" xlink:type="simple">Chen, Q. and Koltun, V. (2016) Full Flow: Optical Flow Estimation By Global Optimization over Regular Grids. In: IEEE Conference on Computer Vision and Pattern Recognition (CVPR). https://doi.org/10.1109/cvpr.2016.509</mixed-citation></ref></ref-list></back></article>