First- and Second-Order Full-Differential in Edge Analysis of Images

Two concepts of first- and second-order differential of images are presented to deal with the changes of pixels. These are the basic ideas in mathematics. We propose and reformulate them with a uniform definition framework. Based on our observation and analysis with the difference, we propose an algorithm to detect the edge from image. Experiments on Corel5K and PASCAL VOC 2007 are done to show the difference between the first order and the second order. After comparison with Canny operator and the proposed first-order differential, the main result is that the second-order differential has the better performance in analysis of changes of the context of images with good selection of control parameter.


Introduction
In 1920s, digital image edge detection is becoming an important technology in image processing. With the development of electronic technology, computer technology and communication technology, edge detection of digital image had become a hot issue with the high-speed development. After decades of development, edge detection of digital image processing technology has been widely applied in many important fields of industrial, microbial field, medicine, aerospace, and defense; extensive attention has been a technology powerhouse of the world [1].
The development of processing technology of digital image edge detection in the recent 10 years is rapid. Many algorithms are published in each year after 1990s. Among of them, Canny, wavelet transform and log algorithms had important influence in edge detection. The same ideas are extracted from relevant knowledge of mathematics. These ideas also had been used in many important fields, such as digital signal processing, information theory and chroma and so on. Many other ideas are form neural network, genetic algorithm, artificial intelligence and fuzzy logic theory and so on [1][2][3][4][5][6][7][8][9][10][11][12].
Modern digital image edge detection has three objectives: visualization, automation, and quantitative.
(i) Visualization: when the images are acquired and displayed, the image usually needs to be improved in order to be easier to the observer to explain them. The target of interest to highlight or image parts needs contrast enhancement. Since the advent of science, techniques like CT and MRI 3D imaging technique of visualization, especially the visualization of 3D structure, have attracted great attention.
(ii) Automation: it aims to make some daily or tedious work automation. For example, according to the automatic determination system of chromosome karyotype of a chromosome distribution in the image, the system automatically generates differential leukocyte count report from a blood smear. Characteristics of these applications are the minimum human intervention, automatic complete the analysis work.By application of differential leukocyte count, commercially available systems are developed in the 1970s. But today, this task is carried out in a totally different way (by flow cytometry leukocyte count technology), that is, automatically.
(iii) Quantitative: image edge is detected by quantitative examples, procedures for the measurement of arterial stenosis, and observing the localization and 2 The Scientific World Journal quantitation of special components in tissue sections with electron microscope (such as hemochromatosis, iron). In these applications, the aim is to allow human intervention because the processing time in these applications is not the principal contradiction.
Edge detection in digital image processing carries on processing to the image edge with computer; this technology is a new field of application with the development of computer technology and opened up many aspects of the optics, electronics, mathematics convergence, photography, computer technology, and other disciplines. Edge detection of image processing as a discipline has been American Mathematical Society as a branch of applied mathematics. In its short development history, it has been successfully applied in almost all domains related to the formation of image. In recent years, image analysis and processing, realize tightly around the theory, application of three aspects of rapid development. It takes many subjects as the theoretical basis; it penetrated into many disciplines and became the theory practice, new branch occupying an important position in the field of high technology.

Concepts of Differential and of Total Differential of Images
From the views of human and machine visions, basically, we get the objection of image in R 2 . Based on the fact, we redefined one image as an observation on the domain [ , ] × [ , ] ∈ R 2 . In discrete spaces of R 2 , one color image is denoted by matrix I = ( where P is a pixel in color space of R 3 with elements red, green, and blue.
Definition 1. In the discrete space, edge E ∈ R × of image I ∈ R × is defined as the discontinuous image characteristics. In practice, it refers to the local image characteristics such as mutation, gray level, color change, and texture change. Edge widely exists in the target and objective, foreground and background, salient region and un-salient ones. It is an important feature in image segmentation, some compared images between images and their edges can be seen in Figure 1.
Mathematically, the basic idea of edge is the difference of neighbor pixels or the change of two points. In other words, the edge has very important relation with first-and secondorder differential operators. If then we call that I( , ) is differentiable at point ( 0 , 0 ); is the differential of I( , ) at point ( 0 , 0 ). We denote it as In general, Also, ( 0 , 0 ) is called the gradient of the image I( , ) at pixel ( 0 , 0 ), and The edge E with the first-order difference is defined as where ‖⋅‖ is somewhat norm which satisfied the basic rules of norm definition and 1 is the control parameter to determine edge points. If then we call that I( , ) is second differential at point ( 0 , 0 ); is the differential of I( , ) at point ( 0 , 0 ). We denote it as Original image I Edge E of image I Figure 1: Illustration of relation between image and edge.
In general, Definition 5. Let I( , ) be a twice differentiable function in ( , ) × ( , ), given ( 0 , 0 ) ∈ ( , ) × ( , ), the twice differential of I( , ) at point ( 0 , 0 ) is Definition 6. The edge E with the first-order difference is defined as where ‖ ⋅ ‖ is somewhat matrix norm which satisfied the basic rules of matrix norm definition and 2 is also the control parameter to determine edge points.
Algorithm 1: Edge Detection with First and Second Differential.

Experiments
In order to make our experiment convincing, we choose our experiment data from the well-known image datasets Corel5K and Pascal VOC 2007, which are widely used in image annotation.
We selected some original pictures from these two databases. They are shown in Figure 2. The Corel5K image corpus is a publicly available and widely used dataset in evaluating image annotation methods. It contains 5000 images from 50 themes with 100 images from each theme. Pascal VOC Challenge is a famous competition in computer vision which is run each year since 2005; the goal of this challenge is to recognize objects from a number of visual object classes in realistic scenes.
We employ Canny operator (a well-known edge detector) as the baseline. After employing the algorithms, we can obtain the conclusion that the twice-order differential is more effective to detect the edge from the given data sets of images. Some excellent results can be shown in Figure 2.

Conclusions
The concepts of first-and second-order differential of images are proposed to deal with the changes of pixels. A uniform definition framework of them is presented. After careful observation and analysis of the difference, we employ them to study the edge detection of images. Experiments on Corel5K and PASCAL VOC 2007 can show the difference between the first order and the second order. The important is that the second-order differential has the better performance in analysis of changes of the context of images.