Abstract
The Cahn–Hilliard equation is a nonlinear partial differential equation which is used in digital image inpainting to restore damaged or missing parts of degraded text and high contrast images. Due to the nonlocal property of the fractional derivative, the fractional order Cahn–Hilliard equation can describe these physical processes in more flexible way. In this paper, the effects of fractional order derivative on the solutions of time-fractional Cahn–Hilliard equation are investigated using a new modification of the homotopy analysis method and a recently developed technique, namely residual power series method. The numerical and graphical illustrations depict the accuracy and reliability of the obtained results.
Similar content being viewed by others
Avoid common mistakes on your manuscript.
1 Introduction
Image inpainting, or image interpolation, is the process of filling in the missing parts of an image such that the result looks like the original image. Its applications include restoration of old paintings by museum artists, and removing scratches from photographs. For a long time, artists have been using manual inpainting to restore images. They restored the damaged or missing parts of the images, using the information from the structure of the surrounding regions of missing parts. With the progress of digital processing of images, the need for unsupervised restoration of images was stimulated which lead to digital image inpainting.
The nonlinear Cahn–Hilliard equation is a stiff parabolic partial differential equation which is used in the digital image inpainting for fast inpainting of degraded text, as well as super resolution of high contrast images. The smoothing property of Cahn–Hilliard equation provides a natural connection of the contours across missing parts [1, 2].
The Cahn–Hilliard equation was originally introduced in the mathematical modeling of the spinodal decomposition of a binary fluid. Spinodal decomposition under shear flow is a problem of great industrial importance and describes the process of phase separation by which a quenched homogeneous mixture spontaneously separates into distinct phases [3]. The investigation of the solutions of partial differential equations is an important field of research in mathematics and physics and the behavior of the solution of Cahn–Hilliard equation has been studied using various mathematical techniques [4, 5, 25,26,27,28].
Recently, fractional order differential equations have drawn increasing attention since fractional calculus has the ability to describe different physical phenomena in a more flexible way than the traditional integer-order calculus [6,7,8, 19, 20]. This is due to the fact that fractional calculus is, in fact, an extension of the traditional calculus to noninteger (fractional) order such that the fractional order system response ultimately converges to the integer-order system response. The most important advantage of using fractional order differential equation in mathematical modeling is their nonlocal property. Due to the nonlocal property, fractional operators give a perfect aid to characterize the memory and hereditary properties of various processes and materials. The Cahn–Hilliard equation has many applications in image processing and materials science. Due to the nonlocal property of the fractional derivative, the fractional order Cahn–Hilliard equation can describe these physical processes in more flexible way. As a result, and motivated by the increasingly important role played by fractional calculus, fractional order Cahn–Hilliard has caught the attention of many researchers in recent years [9,10,11].
In this paper, the time-fractional Cahn–Hilliard equation is considered as
subject to the initial condition
where \(\eta\) and C are arbitrary constants and the fractional order time derivative is taken in the Caputo’s sense.
The exact solution of the integer-order Cahn–Hilliard equation is obtained by Manafian et al. [12] as
The purpose of this paper is to find new analytical approximate solutions of time-fractional Cahn–Hilliard equation. The approximate analytical solutions of time-fractional Cahn–Hilliard equation are obtained using a new modified homotopy analysis method and the residual power series method. The main usefulness of analytic approximations lies in the fact that, being analytic expressions, they reveal qualitative behavior (such as dependence of parameters) in ways that numerical solutions cannot.
Homotopy analysis method (HAM) was first proposed by Liao. Homotopy is a topological concept defining a connection between different things in mathematics, which contain same characteristics in some aspects. Homotopy analysis method has useful characteristics which distinguish it from the other traditional analytical techniques. It is independent of any small or large parameter at all, provides an extremely large freedom to choose an auxiliary linear operator and base functions, and a convenient way to guarantee the convergence of the solution series. HAM has great generality and logically contains the Adomian decomposition method, Lyapunov’s small artificial parameter method, the \(\delta\)-expansion method and the Euler transform. These characteristics provide an easier way to solve a wide range of nonlinear problems in science and engineering [13]. The flexibility and generality of the homotopy analysis method has motivated many researchers to develop various useful applications and improved methods [14, 23, 24, 29,30,31,32,33,34,35,36,37].
Residual power series method was proposed by Abu Arqub [15] for the solution of fractional differential equations. The residual power series method has small computational requirements with high precision in less time. It obtains Taylor’s expansion of the solution; hence the exact solution is obtained when the solution is polynomial. The solution and all its derivatives are applicable at each point in the given interval. This method can be applied directly to the given problem by choosing an appropriate value for the initial approximation since it does not require any modification while switching from the first order to the higher order [38]. Residual power series method has been successfully applied on a wide class of linear and nonlinear fractional differential equation and is proved to be an efficient tool for the approximate analytical solutions of fractional differential equations.
2 Fundamentals of fractional calculus
There are many definitions of fractional derivatives and integrals such as Caputo, Weyl, Riesz, Riemann–Liouville, Grunwald–Letnikov etc. The Riemann–Liouville and Caputo’s are commonly used definitions. But Caputo’s approach is suitable for real-world physical problems because it defines integer-order initial conditions for fractional differential equations.
Definition
The Caputo’s time-fractional derivative of order \(\alpha\) of y(x, t) is defined as
Definition
The Riemann–Liouville time-fractional integral of order \(\alpha\) of y(x, t) is defined as
3 Solution of time-fractional Cahn–Hilliard equation using MHAM
In this section, the analytical approximate solution of the time-fractional Cahn–Hilliard equation is obtained using a modified homotopy analysis method (MHAM). The proposed modification simplifies the computations involved in each iteration and hence is easier to implement than the standard homotopy analysis method. The time-fractional Cahn–Hilliard equation can be written as
where L is a linear operator and N is a nonlinear operator.
Using the modified homotopy analysis method, the nonlinear term in Eq. (6) can be simplified as
which yields the modified higher order deformation equations as
and for \(k=1,2,3,...\)
Taking \({\mathcal {L}}=\frac{\partial ^{\beta }}{\partial t^{\beta }}\), the deformation equations can be written as
and for \(k=1,2,3,\ldots .\)
Solving the zeroth-, first- and second-order deformation equations and taking the values of the arbitrary constants as \(\eta =\sqrt{2}\) and \(C=0\), the second-order approximate solution can be calculated as
where
and
4 Preliminaries for RPSM
In this section, some preliminaries for the residual power series method are given [16].
Definition
A fractional power series about \(t=t_0\) is defined as
Theorem
If the fractional power series representation of g about \(t = t_0\) has the form
and fractional order derivatives \(D^{j\beta } g (t)\) are continuous on \(]t_0, t_0 + {\mathcal {R}}[\) for \(j = 0, 1, 2, \ldots\), then the values of the coefficients \(\sigma _j\)s can be calculated as
where \({\mathcal {R}}\) is the radius of convergence of the fractional power series.
Definition
A multiple fractional power series about \(t=t_0\) is defined as
where \(\nu _j\)’s are functions of x.
5 Solution of time-fractional Cahn–Hilliard equation using RPSM
The time-fractional Cahn–Hilliard equation is considered, subject to the initial condition
where
The fractional power series expansion of u(x, t) about the initial point \(t=0\) is considered as
and the residual function Res(x, t) is defined as
then k-th residual function can be written in the form
From the results available in literature [17,18,19,20,21,22], it is evident that \(Res(x,t)=0\) and \(\lim _{k \rightarrow \infty } Res_k(x,t) = Res(x,t)\) \(\forall ~ x\in I\), \(t\ge 0\). Moreover, \(D^{j\beta }_t Res(x,0)=D^{j\beta }_t Res_k(x,0)\) for \(j= 0,1,2,...,k\).
Substituting the k-th truncated series of u(x, t) into Eq. (23) and calculating the fractional derivative \(D^{(k-1)\beta }_t\) of \(Res_k(x,t),~k=1,2,3,...\) at \(t=0\) yields a system of equation as
The coefficients \(\nu _j(x)\) can be calculated by solving the system of equations (24).
For \(k=0\), the zeroth residual power series solution can be calculated using the initial condition as
For \(k=1\), the first residual power series solution can be expressed as
Using Eq. (26), the first residual function can be written as
Since Eqs. (24) and (27) imply
therefore, the first-order approximate solution is obtained as
For \(k=2\), the 2-nd residual power series solution can be expressed as
Using Eq. (30), the second residual function can be written as
Since Eq. (24) and Eq. (31) imply
therefore, the second-order approximate solution is obtained as
6 Results and discussion
The appropriate value of the auxiliary parameter \(\hbar\) for MHAM is to be chosen to guarantee the convergence of the solution series. This is done by plotting \(\hbar\)-curves corresponding to different values of time t. Figures 1 and 2 show that for convergent solution series, the value of \(\hbar\) must be chosen between \(-0.9\) and \(-1\). It is clear from the \(\hbar\)-curves that the convergence of the solution series is highly sensitive to the value of \(\hbar\).
To confirm the accuracy of the obtained results using MHAM, the absolute errors in the second-order approximate solution are calculated for \(\beta =1\) corresponding to different values of independent variables x and t. The time-fractional Cahn–Hilliard equation is considered for \(a=2\). The value of \(\hbar\) is taken as \(-0.95\), as suggested by the \(\hbar\)-curves. The results are summarized in Table 1.
The effect of fractional order \(\beta\) on the solution is graphically illustrated in Fig. 3 by plotting \(u_{2^{*}}(x,t)\) corresponding to different values of \(\beta\) at \(t=0.05\).
To confirm the accuracy of the obtained results using RPSM, the absolute errors in the second-order RPS approximate solution are calculated for \(\beta =1\) corresponding to different values of independent variables x and t. The time-fractional Cahn–Hilliard equation is considered for \(a=2\). The values of arbitrary constants are taken as \(\nu =\sqrt{2}\) and \(C=0\). The results are summarized in Table 2.
The effects of fractional order \(\beta\) on the solution are graphically illustrated in Fig. 4 by plotting \(u_{2}(x,t)\) corresponding to different values of \(\beta\) at \(t=0.05\).
The graphical illustrations of the obtained results exhibit kink solitary wave solutions. The graphical demonstration and comparison of analytical approximate solutions obtained using MHAM and RPSM are shown in Figs. 5, 6 and 7. All our derived solutions are novel and have not been formulated before in literature to the best of our knowledge.
7 Conclusion
The Cahn–Hilliard equation is used in binary image inpainting. In this paper, the analytical approximate solutions of time-fractional Cahn–Hilliard equation are obtained using a modified homotopy analysis method and the residual power series method. The effects of fractional order \(\beta\) on the solution of the equation are graphically illustrated in Figs. 3 and 4. To check the accuracy of the results, the second-order analytical approximate solutions, corresponding to different values of x and t, are calculated for \(\beta =1\) and the results are summarized in Tables 1 and 2. The exact solution and the analytical approximate solutions are graphically expressed for \(\beta =1\) in Figs. 5, 6 and 7. The numerical results and graphical illustrations show that the approximate solutions are in good agreement with the exact solutions.
References
A L Bertozzi, S Esedoḡlu and A Gillette, IEEE Trans. Image Process. 16(1) 285 (2007)
J Bosch, D Kay, M Stoll and A J Wathenk SIAM J. Imaging Sci. 7(1) 67 (2014)
J W Cahn Acta Metallica 9 795 (1961)
G Tierra and F Guillén-González Arch. Comput. Methods Eng. 22 269 (2015)
P F Antonietti, L Beiräo da Veiga, S Scacchi and M Verani SIAM J. Numer. Anal. 54(1) 34 (2016)
G Akram and F Batool Indian J. Phys. 91(10) 1145 (2017)
F Batool and G Akram Indian J. Phys. 92(1) 111 (2018)
N Mahak and G Akram Indian J. Phys. (Accepted) (2019)
G Akagi, G Schimperna and A Segatti J. Differ. Equ. 261 2935 (2016)
N K Tripathi, S Das, S H Ong, H Jafari and M M Al Qurashi Adv. Mech. Eng. 9(12) 1 (2017)
K Hosseini, A Bekir and R Ansari Optik 132 203 (2017)
J Manafian, M Lakestani and A Bekir Pramana-J. Phys. 87 1 (2016)
S J Liao PhD Thesis (Shanghai Jiao Tong University: China) (1992)
G Akram and M Sadaf Indian J. Phys. 92(2) 191 (2018)
O Abu Arqub J. Adv. Res. App. Math. 5(1) 31 (2013)
H Tariq and G Akram Nonlinear Dyn. 88(1) 581 (2017)
I Podlubny Fractional Differential Equations (New York: Academic Press) (1999)
K B Oldham and J Spanier The Fractional Calculus (New York: Academic Press) (1974)
A McBrid, J McBrid and O P Agrawal Advances in Fractional Calculus: Theoretical Developments and Applications in Physics and Engineering (New York: Springer Publishing Company) (2007)
A A Kilbas, H M Srivastava and J J Trujillo Theory and Applications of Fractional Differential Equations (Amsterdam: Elsevier) (2006)
M Alquran, K Al-Khaled and J Chattopadhyay Nonlinear Stud. 22 31 (2015)
M Alquran J. Appl. Anal. Comput. 5 589 (2015)
A Demir, M A Bayrak and E Ozbilge Adv. Math. Phys. 2019 1 (2019)
S Maitama and W Zhao Adv. Differ. Equ. 2019 1 (2019)
M Eslami and M Mirzazadeh Int. J. Comp. Sci. Math. 5(1) 72 (2014)
M Mirzazadeh, M Ekici, M Eslami, E V Krishnan, S Kumar and A BiswasNonlinear Anal.-Model. Control 22(4) 441 (2017)
C Yang, Q Zhou, H Triki, M Mirzazadeh, M Ekici, W J Liu, A Biswas and M Belic Nonlinear Dyn. 95(2) 983 (2019)
W Liu, Y Zhang, Z Luan, Q Zhou, M Mirzazadeh, M Ekici and A Biswas Nonlinear Dyn. 96(1) 729 (2019)
S Abbasbandy, E Magyari and E Shivanian Commun. Nonlinear Sci. Numer. Simul. 14(9-10) 3530 (2009)
S Abbasbandy and E Shivanian Commun. Nonlinear Sci. Numer. Simul. 15(12) 3830 (2010)
S Abbasbandy and E Shivanian Commun. Nonlinear Sci. Numer. Simul. 16(6) 2456 (2011)
S Abbasbandy, E Shivanian and K Vajravelu Commun. Nonlinear Sci. Numer. Simul. 16(11) 4268 (2011)
H Vosoughi, E Shivanian and S Abbasbandy Numer. Algorithms 61(3) 515 (2012)
E Shivanian, H H Alsulami, M S Alhuthali and S Abbasbandy Filomat 28(8) 1687 (2014)
S Abbasbandy, E Shivanian, K Vajravelu and S Kumar Int. J. Numer. Method. H 27(2) 486 (2017)
L Soltani, E Shivanian and R Ezzati Eng. Computation. 34(2) 471 (2017)
R Kazemi and E Shivanian U.P.B. Sci. Bull., Series A 79(1) 67 (2017)
S Momani, O Abu Arqub, M A Hammad and Z S Abo-Hammour Appl. Math. Inf. Sci. 10(2) 765 (2016)
Author information
Authors and Affiliations
Corresponding author
Additional information
Publisher's Note
Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.
Rights and permissions
About this article
Cite this article
Sadaf, M., Akram, G. Effects of fractional order derivative on the solution of time-fractional Cahn–Hilliard equation arising in digital image inpainting. Indian J Phys 95, 891–899 (2021). https://doi.org/10.1007/s12648-020-01743-1
Received:
Accepted:
Published:
Issue Date:
DOI: https://doi.org/10.1007/s12648-020-01743-1
Keywords
- Image inpainting
- Time-fractional Cahn–Hilliard equation
- Caputo fractional derivative
- Modified homotopy analysis method
- Residual power series method