Journal of Signal and Information Processing
Vol.06 No.02(2015), Article ID:56749,9 pages
10.4236/jsip.2015.62017
Sharp Operator Based Edge Detection
Mohammad Kalimuddin Ahmad1, Stephan Didas2, Alemdar Hasanov3, Javid Iqbal4
1Department of Mathematics, Aligarh Muslim University, Aligarh, India
2Hochschule Trier, Umwelt-Campus Birkenfeld, Fachbereich Umweltplanung/Umwelttechnik, Postfach 1380, Birkenfeld, Germany
3Department of Mathematics and Computer Science, Izmir University, Izmir, Turkey
4Department of Mathematics, Baba Ghulam Shah Badshah University, Rajouri, India
Email: ahmad_kalimuddin@yahoo.co.in, s.didas@umwelt-campus.de, alemdar.hasanoglu@izmir.edu.tr, javid2iqbal@yahoo.co.in
Copyright © 2015 by authors and Scientific Research Publishing Inc.
This work is licensed under the Creative Commons Attribution International License (CC BY).
http://creativecommons.org/licenses/by/4.0/



Received 3 October 2014; accepted 24 May 2015; published 28 May 2015
ABSTRACT
Ahmad et al. in their paper [1] for the first time proposed to apply sharp function for classification of images. In continuation of their work, in this paper we investigate the use of sharp function as an edge detector through well known diffusion models. Further, we discuss the formulation of weak solution of nonlinear diffusion equation and prove uniqueness of weak solution of nonlinear problem. The anisotropic generalization of sharp operator based diffusion has also been implemented and tested on various types of images.
Keywords:
Maximal Function, Sharp Function, Image Processing, Edge Detection, Nonlinear Diffusion

1. Introduction
Nonlinear diffusion filtering is a well-established tool for image denoising and simplification. Starting with the pioneering work by Perona and Malik [2] in 1990, it has attracted the attention of many researchers working in the domain of mathematics and image processing (see [3] - [9] , for example). This filter class makes it possible to smooth images while the edges as main source of information are preserved. This leads to an adaptive sim- plification that can be useful for image understanding and interpretation. Among the most effective extensions of the basic method are the anisotropic filters [8] that offer the possibility to remove noise and enhance flow- like structures.
The sharp function, on the other hand, is a well-known functional analytic concept to measure the oscillatory behaviour of functions. It goes back to the maximal function which was introduced by Hardy and Littlewood [10] in 1930 to solve a problem in the theory of functions of complex variables. Based on this idea, John and Nirenberg [11] introduced the concept of bounded mean oscillation (BMO) functions. In 1972, Fefferman and Stein [12] introduced the sharp function (denoted by
) and found that a function
was equivalent with
. The theory of Hardy Spaces received impetus from the work of Fefferman and Stein.
The idea of applying the sharp operator to measure the oscillation and classification of images was first proposed by Ahmad and Siddiqi [1] where it was used to find a suitable compression technique.
In this paper, we propose an alternative way to steer nonlinear diffusion filters via the sharp operator without using derivatives to measure edges. We show that the results of these diffusion filters are comparable to classical versions while the underlying sharp operator has a rich theoretical background. Motivated by the available diffusion processes in image processing, we propose an extension of the sharp operator for measuring aniso- tropic structures. To use this to steer anisotropic diffusion processes, we show how a fast variant of it can be implemented and used in practice.
The paper is organized as follows. Section 2 gives a review of classical nonlinear diffusion filters for image processing. In Section 3, we shortly describe the aspects of the theory for the maximal function, bounded mean oscillation functions, and the sharp function, which are necessary for this paper. The main idea of this paper, namely, the use of the sharp operator in nonlinear diffusion filters and its generalization to the anisotropic setting, is presented in Section 4. To evaluate the methods in practice, Section 6 describes some computational experiments. A summary and an outlook conclude the paper in Section 7.
2. Classical Nonlinear Diffusion Filters
Diffusion is interesting as image processing tool since it is a physical process that equilibrates concentration without creating or destroying mass. The idea behind the use of the diffusion equation in image processing arose from the use of Gaussian filter in multiscale image analysis. It can be founded by a system of several axioms like linearity, translational and rotational invariance, and average grey value preservation, that marks the begin- ning of the scale-space concept [13] - [16] . Convolving an image with a Gaussian filter
,

with standard deviation
, is equivalent to the solution of the linear homogeneous diffusion equation
(1)
where the given image f is used as initial condition
. We assume homogeneous Neumann boundary conditions
, where n denotes the outer normal of the boundary of image domain
. The stopping time t has to be chosen as
for equivalence.
Isotropic nonlinear diffusion. The major drawback of linear diffusion is the delocalisation and blurring of image edges. To circumvent this problem, Perona and Malik [2] introduced the nonlinear diffusion equation
(2)
The diffusivity g is chosen as a decreasing function of the edge detector
. Examples for diffusivity functions can be found in [2] [17] - [19] . Catté et al. [3] introduced a regularisation of the gradient of u to make the process well-posed. They use the equation
(3)
with
A review of this filter class can be found in [20] .
Anisotropic nonlinear diffusion. Nonlinear isotropic diffusion often shows problems to remove noise close to image edges. It can be helpful to use an anisotropic diffusion filter
(4)
in such cases as proposed by Weickert [8] . The scalar diffusivity function g has been replaced by a matrix 
3. The Sharp Operator
In this section, we give a short introduction to the sharp operator and its background. There is a rich theory behind it, and we point out the main results connected to it.
The Hardy-Littlewood maximal function was developed to solve a problem in the theory of functions of complex variable. The analogue for integrals, which is required for the function theoretic applications, is derived in Hardy and Littlewood [10] .
Definition 1. Let 




where the supremum ranges over all finite cubes Q in 


Now we state a Hardy-Littlewood maximal theorem.
Theorem 1. For each function 
Proof. See ( [24] , p. 142).
The space BMO, i.e. bounded mean oscillation of functions is introduced by John and Nirenberg [11] .
Definition 2. A measurable function f on 


where the supremum ranges over all finite cubes Q in 
is the mean value of the function f on the cube Q.
Fefferman and Stein [12] introduced the “sharp function” 


Definition 3. Let f be a locally integrable function on


Of course, 


Example 1. The function 


After calculation it comes out to be 


It is important to note that it does not matter in which 
Corollary 1. For each p, 


Proof. See ( [24] , p. 156).
In view of the above corollary the spaces 

4. Nonlinear Diffusion with the Sharp Operator
It is clear from the definition of the sharp function that for a pixel z, where f has almost uniform grey level region in an image, 

Many isotropic nonlinear diffusivity models in physics and mechanics are governed by the nonlinear parabolic equation





depends on the gradient of the function




where


backward parabolic one, when


First of all let us prove that if only the conditions (i)-(ii) hold, then the nonlinear diffusion operator 

in an appropriate Banach space
Calculating the first derivative
we conclude that

and then substituting here
if conditions (i)-(ii) hold. This means that the potential 


Thus for the strong monotonicity of the nonlinear diffusion Equation (8), and hence solvability of an initial
boundary value problem related to the nonlinear diffusion equation
are sufficient. However, these conditions are not sufficient for solvability of the corresponding problem related to the 2D diffusivity model. Specifically, one needs to impose the monotonicity condition:


An analysis of the steady state diffusivity model governed by the nonlinear elliptic equation 


Here 



means that the diffusion flux


We will use weak solution theory for nonlinear PDE. For this, let us introduce the following well-known notations [25] . Let

where


respectively.
Evidently, the norms 


embedding. To define the weak solution of the nonlinear problem (10), we also need the following spaces





continuous and the embedding 
space 



Now we define the operators,

It is known that the operator

For a given coefficient 


and the linear functional
which is well defined for


Theorem 2. Let 




Proof. Let us introduce the functional
and calculate the first Gateaux derivative. We have
Hence

the nonlinear diffusion operator A. Calculating the second Gateaux derivative 


Since

Substituting this in (14) and using the condition (ii) of (9), we conclude
Thus the potential 

This implies the uniqueness of the weak solution of the nonlinear problem (13). Existence of the solution follows from the results given in [27] [28] .
Remark 1. The assertion of the above theorem holds also for the case when
Since structures in images often have the highly anisotropic features, for example, lines or corners, we propose some generalization of the presented method to the anisotropic setting. We start with an anisotropic generalization of the sharp operator.
5. Anisotropic Sharp Operator
So far we have only used isotropic nonlinear diffusion filters. In the definition (7) of the sharp operator, all integration domains Q are cubes. Therefore, the sharp function only provides information about local variations of the function, but not about the direction of these local variations. In order to allow for a quantitative descrip- tion of local variations in a certain direction, we propose to use non-symmetric sets instead of cubes. With this concept, an anisotropic extension of the sharp function can be defined as follows:

The most important in this definition is the set

In this definition, we take the supremum over all angles
5.1. Modifications of This Basic Model
For practical calculations, depending on the number of directions 
Analogously to definition (7), the value 

Instead of taking this mean value as function of

This changes the definition (15) to

We notice that in this definition, the difference in the integral is a difference between two functions. This offers the possibility to calculate the second function 


The second step is now to write this as a convolution. Instead of an elliptical set

And lastly we replace also the outer integral with a convolution with an anisotropic Gaussian,

This measure can be evaluated in a very efficient way using the methods of Geusebroek et al. [29] for fast anisotropic Gaussian convolution. This makes it possible to incorporate it in an image processing tool as described in the following section.
5.2. Anisotropic Diffusion with the Fast Sharp Operator
Now we want to use the anisotropic variant of the sharp operator to steer an anisotropic diffusion process
as it has been proposed by Weickert [8] . In order to use this concepts for anisotropic diffusion in this formula- tion, we have to define a diffusion tensor based on the anisotropic sharp operator to obtain a process of the form
We define the diffusion tensor as follows: Let a point 
where the absolute value of the anisotropic sharp operator is maximal. The eigenvectors of the diffusion tensor are then the unit vectors pointing in this direction and the orthogonal one, i.e.,
The eigenvalues are defined analogously as for edge-enhancing diffusion:
where,
is the maximal sharp value in the point x.
Having these definitions for the diffusion tensor at hand, we can use classical discretisation for anisotropic diffusion filters as described in [8] .
6. Computational Experiments
To compare the sharp operator based diffusion approach with classical derivative based methods, we show filtering examples in Figure 1.
It is clear that the parameters of the anisotropic diffusion process have to be specified in practical situations. The time t is an inherent parameter in each diffusion process that controls the amount of simplification applied
Figure 1. Comparison between classical and sharp operator based anisotropic diffusion. First row: Noisy input images; Second row: Classical edge-en- hancing diffusion (EED); Third row: Sharp operator based diffusion.
to the data. The variance of evolving image decreases monotonically to zero in time. The contrast parameter 
7. Summary and Outlook
We have investigated the use of the sharp operator for image processing applications. We have used the sharp operator to steer diffusion filters. With the classical notion, it is suitable to be used inside the diffusivity of a Perona-Malik filter. For anisotropic filters, we have used fast anisotropic Gauss filters to extend the sharp operator to a fast directional-dependent measure of variation. With the help of this measure, we could construct an alternative diffusion tensor for an anisotropic diffusion process. The results are quite similar to classical anisotropic diffusion filters. We have seen that the sharp operator not only is of theoretical interest but also may be used in practical applications.
References
- Ahmad, M.K. and Siddiqi, A.H. (2002) Image Classification and Comparative Study of Compression Techniques. Sampling Theory in Signal and Image Processing, 1, 155-180.
- Perona, P. and Malik, J. (1990) Scale Space and Edge Detection Using Anisotropic Diffusion. IEEE Transactions on Pattern Analysis and Machine Intelligence, 12, 629-639.
- Catt´e, P., Lions, P.-L., Morel, J.-M. and Coll, T. (1992) Image Selective Smoothing and Edge Detection by Nonlinear Diffusion. SIAM Journal on Numerical Analysis, 29, 182-193. http://dx.doi.org/10.1137/0729012
- Didas, S., Weickert, J. and Burgeth, B. (2009) Properties of Higher Order Nonlinear Diffusion Filtering. Journal of Mathematical Imaging and Vision, 35, 208-226. http://dx.doi.org/10.1007/s10851-009-0166-x
- Kichenassamy, S. (1997) The Perona-Malik Paradox. SIAM Journal on Applied Mathematics, 57, 1328-1342. http://dx.doi.org/10.1137/S003613999529558X
- Lysaker, M., Lundervold, A. and Tai, X.-C. (2003) Noise Removal Using Fourth-Order Partial Differential Equation with Applications to Medical Magnetic Resonance Images in Space and Time. IEEE Transactions on Image Processing, 12, 1579-1590.
- Mr´azek, P. and Weickert, J. (2007) From Two-Dimensional Nonlinear Diffusion to Coupled Haar Wavelet Shrinkage. Journal of Visual Communication and Image Representation, 18, 162-175. http://dx.doi.org/10.1016/j.jvcir.2007.01.002
- Weickert, J. (1998) Anisotropic Diffusion in Image Processing. B. G. Teubner, Stuttgart.
- Weickert, J., ter Haar Romeny, B.M. and Viergever, M.A. (1998) Efficient and Reliable Schemes for Nonlinear Diffusion Filtering. IEEE Transactions on Image Processing, 7, 398-410.
- Hardy, G.H. and Littlewood, J.E. (1930) A Maximal Theory with Function-Theoretic Applications. Acta Mathematica, 54, 81-116. http://dx.doi.org/10.1007/BF02547518
- John, F. and Nirenberg, L. (1961) On Functions of Bounded Mean Oscillation. Communications of Pure and Applied Mathematics, 14, 415-426. http://dx.doi.org/10.1002/cpa.3160140317
- Feffermann, C. and Stein, M. (1972) Hp Spaces of Several Variables. Acta Mathematica, 129, 137-193. http://dx.doi.org/10.1007/BF02392215
- Iijima, T. (1963) Theory of Pattern Recognition. Electronics and Communications in Japan, November 1963, 123-134.
- Lindeberg, T. (1990) Scale-Space for Discrete Signals. IEEE Transactions on Pattern Analysis and Machine Intelligence, 12, 234-254. http://dx.doi.org/10.1109/34.49051
- Lindeberg, T. (1994) Scale-Space Theory in Computer Vision. Kluwer, Boston. http://dx.doi.org/10.1007/978-1-4757-6465-9
- Witkin, A.P. (1983) Scale-Space Filtering. Proceedings of the 8th International Joint Conference on Artificial Intelligence, Karlsruhe, August 1983, 945-951.
- Andreu, F., Ballester, C., Caselles, V. and Maz’on, J.M. (2001) Minimizing Total Variation Flow. Differential and In- tegral Equations, 14, 321-360.
- Charbonnier, P., Blanc-Feraud, L., Aubert, G. and Barlaud, M. (1997) Deterministic Edge-Preserving Regularization in Computed Imaging. IEEE Transactions on Image Processing, 6, 298-311. http://dx.doi.org/10.1109/83.551699
- Keeling, S.L. and Stollberger, R. (2002) Nonlinear Anisotropic Diffusion Filtering for Multiscale Edge Enhancement. Inverse Problems, 18, 175-190. http://dx.doi.org/10.1088/0266-5611/18/1/312
- Weickert, J. (1997) A Review of Nonlinear Diffusion Filtering. In: ter Haar Romeny, B., Florack, L., Koenderink, J. and Viergever, M., Eds., Scale-Space Theory in Computer Vision, Lecture Notes in Computer Science, Vol. 1252, Springer, Berlin, 3-28.
- Forstner, M.A. and Gulch, E. (1987) A Fast Operator for Detection and Precise Location of Distinct Points, Corners and Centers of Circular Features. Proceedings of the ISPRS Intercommission Conference on Fast Processing of Phonogrammic Data, Interlaken, 2-4 June 1987, 281-305.
- Knutsson, H. (1989) Representing Local Structure Using Tensors. 6th Scandinavian Conference on Image Analysis, Oulu, June 1989, 244-251.
- Welk, M., Steidl, G. and Weickert, J. (2008) Locally Analytic Schemes: A Link between Diffusion Filtering and Wavelet Shrinkage. Applied and Computational Harmonic Analysis, 24, 195-224. http://dx.doi.org/10.1016/j.acha.2007.05.004
- Wojtaszczyk, P. (1997) A Mathematical Introduction to Wavelets. Cambridge University Press, Cambridge.
- Zeidler, E. (1990) Nonlinear Functional Analysis and Its Applications II A/B. Springer, New York.
- Hasanov, A. and Erdem, A. (2008) Determination of Unknown Coefficient in a Non-Linear Elliptic Problem Related to the Elastoplastic Torsion of a Bar. IMA Journal of Applied Mathematics, 73, 579-591. http://dx.doi.org/10.1093/imamat/hxm056
- Liu, Z. (1999) On the Solvability of Degenerate Quasilinear Parabolic Equations of Second Order. Acta Mathematica Sinica, 16, 313-324. http://dx.doi.org/10.1007/s101140000052
- Ou, Y.H., Hasanov, A. and Liu, Z. (2008) An Inverse Coefficient Problems for Nonlinear Parabolic Differential Equations. Acta Mathematica Sinica, 24, 1617-1624.
- Geusebroek, J.M., Smeulders, A.W.M. and van de Weijer, J. (2003) Fast Anisotropic Gauss Filtering. IEEE Transactions on Image Processing, 12, 938-943. http://dx.doi.org/10.1109/TIP.2003.812429



























