Elsevier

Real-Time Imaging

Volume 10, Issue 2, April 2004, Pages 103-116
Real-Time Imaging

Real time contour tracking with a new edge detector

https://doi.org/10.1016/j.rti.2004.02.005Get rights and content

Abstract

In this paper, a new system for real time contour tracking is presented. If a rough contour of the desired structure is available on the first image of a sequence, the system can automatically outline the contours on the subsequent images at video rate. The method we used is based on a new edge detector which was obtained by the generalization of the first order absolute central moment operator. The new algorithm proved to be very robust to noise and fast enough to be implemented in real time. The contour tracking procedure was implemented on an integrated software/hardware platform composed of a personal computer equipped with a digital signal processing board. The system can capture an analog video signal with a resolution of 512×512 pixels, 25 frames/s, process the data and display the results in real time. A graphical user interface is also available to interact with the system. Tests on images of the descending thoracic aorta and of a carotid, recorded by echocardiography, are reported. The cross-sectional area of the aorta and the diameter of the carotid were computed in real time and plotted on the user interface. The system proved to be a useful tool for the investigation of vascular mechanisms.

Introduction

Contour tracking on sequences of images is much debated in image analysis. The topic is of particular relevance in various application areas, such as robotics, video surveillance, video conferencing, human–computer interaction and medical imaging [1], [2], [3], [4], [5], [6], [7]. In general, the goal is to track the silhouette of a moving object throughout a sequence of images. Several papers exploit a contour tracking technique to approach the problem of object tracking, focusing their attention on the position of the object rather than on its shape. People and car tracking systems [1], [2], whose purpose is to locate the position of one or more moving objects inside a scene, are typical examples. Such papers are usually not preoccupied with the exact detection of the contour. On the contrary, other applications focus on an accurate definition of the shape of the object under investigation. Examples can be found in medical imaging, where the silhouette of an anatomical structure provides information of clinical interest [3], [4], [5]. Is not an easy task to track the contour of an object automatically. The complexity of the problem remarkably increases when the object is not rigid, the movement is three-dimensional (3D), the background of the image is complex or the view of the object is partially occluded [6], [7]. Further difficulties arise when real time performances are required.

Despite the large amount of literature, a general solution to the problem of contour tracking does not exist, so the issue is still an open problem. In recent years, methods based on the active contours have often been used to track the contours of structures under investigation in image sequences [8]. These methods usually require the minimization of an energy function associated to a deformable continuous curve. In general, two energy terms are considered: (i) an internal energy, which increases when the deformation of the curve increases and (ii) an external energy, which increases when the distance between the curve and the contour points increases. A starting curve which approximates the contour is given and the final curve is a compromise between contour smoothness and closeness to the data. As regards the external energy, the magnitude of the gradient of Gaussian (GoG) is commonly used to weigh the distance between the curve and the contour points. One of the advantages of using an approach based on the active contours is the reduction of the amount of data that must be processed, which is limited to a neighborhood of the starting curve. Nevertheless, when real time performances are required, the complexity of the algorithms must be further reduced. In [9], [10] the task of energy minimization on a two-dimensional (2D) plane was reduced to a mono-dimensional (1D) search problem. Such an approach dramatically reduces the computational complexity, thus allowing a real time execution of the procedure on a standard platform such as a personal computer. However, the robustness to noise usually decreases also since in this case the regularizing low pass filter is a 1D filter and, when the aperture of the filter is chosen, the number of pixels involved in the filtering process decreases with respect to a 2D filtering process.

In this paper, a new method for real time contour tracking is presented. The approach is similar to those based on active contours since this method also finds the “true” contour starting from an approximate contour and includes a regularization procedure. However, both the edge detector and the associated localization strategy, which we used to locate and track the contour through the image sequence, are completely new. The research of a new edge detector started a few years ago with the study of a generalization of the absolute central moment operator [11], [12]. With respect to the standard edge detectors based on the GoG or on the Laplacian of Gaussian (LoG), the new operator provided better results at image key points such as lines, corners, junctions and isolated points. When focusing our attention on contour tracking in real time an additional property of the absolute central moment was found: when a starting point close to a gray-level discontinuity is given, the nearest point of the discontinuity can be localized with an iterative and very fast algorithm. Section 2 describes the mathematical operator and the contour tracking procedure, while Section 3 reports a comparison with the GoG.

In addition to the problem of developing an efficient algorithm, real time contour tracking also involves aspects of hardware/software design. This is a typical aspect of real time imaging applications, where the processing of a large amount of data in a short space of time is required [13]. It is easy to understand that the main issue is the availability of enough processing power to ensure the execution of the algorithms within a given time. Recently, several authors faced the problem by using standard workstations, as the modern general-purpose processors achieve remarkable performances in terms of computational speed. The advantage of such solutions is that they use a well-known general-purpose platform, which is easily programmable by means of powerful software development tools. However, when higher performances are required, special purpose architectures must be adopted, which can provide far more processing power than a standard workstation. The solutions most commonly used are based on programmable devices, such as DSPs or FPGAs, by means of which powerful and quite flexible hardware platforms can be obtained. The main drawback in using such platforms is that implementing algorithms may be difficult, as a specific knowledge of the hardware in use is necessary. Besides the processing power, there are other aspects that must be taken into account in the design of the system. In real applications, the images are often available as an analog video signal, which must be captured, processed and then converted again into an analog signal for the display on a monitor. Simultaneously capturing, processing and displaying the data in real time is a task that requires the ability to quickly manage a large amount of data. The capability of moving the data and synchronizing the different activities is a complex job and requires the use of suitable hardware and software tools. This problem, which is neglected in some papers, can cause some difficulties in standard platforms that are not designed to perform real time tasks.

In other words, the choice of the hardware/software platform greatly depends on the specific requirements of the application. In this paper we adopted a special hardware platform, which was obtained simply by integrating a standard personal computer with a video processing board. Implementing algorithms on a custom hardware required a larger effort with respect to the use of a standard workstation. However, the processing power of the platform allowed us to obtain real time execution without reducing both the quality of the images, which are 512×512 pixels and 25 frames/s, and the size of the mathematical operator, which is a robust-to-noise 2D operator. Section 4 describes both the hardware platform and the software implementation.

The system was largely tested on sequences of ultrasound images. Results are presented on the contour tracking of aorta cross-sections and of carotid longitudinal sections. Furthermore, tests are presented on the tracking of a moving object.

Section snippets

The mathematical operator

Let us introduce the mathematical operator which we used in our system to detect edges. Let f(n,m) be the gray-level map of an image and let Θ1 and Θ2 be two circular domains with radii r1 and r2 defined asΘi={(k,l)∈Z2:k2+l2⩽ri},where Z represents the integer numbers and (k,l) are the coordinates of a generic pixel with respect to a Cartesian plane with origin in p(n,m). The sizes of the two domains are generally chosen so that Θ1Θ2, that is r1r2. Let us compute the mean value of f(p) on the

A comparison with a standard edge detector

In the previous section, we have described how the mass center of the gray-level variability can be used in a contour tracking procedure. However, a comparison with other standard operators commonly used in image processing is necessary to validate the effectiveness of the new edge detector. This section shows the results of a comparison in terms of edge detection and localization capabilities, which justifies the adoption of the new method. A comparison in terms of processing speed is reported

Apparatus overview

The apparatus is a Personal Computer equipped with a video processing board. The former is a general purpose system, based on an Intel Pentium II Processor 350 MHz and running Windows NT. The second is the Texas Instruments’ “TMS320C80 Software Development Board” (SDB) [18], which is based on the TMS320C80 Digital Signal Processor [19], [20]. The ’C80 is a highly integrated single-chip multi-processor specially designed for use in image processing and in both 2D and 3D graphics. It is capable of

Implementation results

The real time contour tracking system was tested on sequences of cardiovascular images and on image sequences of moving test objects. The video was captured with a resolution of 512×512 pixels, 8 bit per pixel, 25 frames/s, and was displayed within a window of 640×480 pixels.

The performances of the system in terms of processing speed were tested. First of all, the time necessary for the edge detection algorithm was measured for different configurations of the operator. The results show that the

Conclusions

In this paper we presented a new system for real time contour tracking of moving deformable objects. Both a new algorithm and its implementation on a DSP-based platform were described.

We based our approach on a new edge detector which was obtained by the generalization of the first order absolute central moment. The theoretical study of the mathematical operator showed important properties, which were exploited to obtain a very fast algorithm for the localization of a discontinuity in an image.

References (27)

  • D. Freedman et al.

    Contour tracking in cluttera subset approach

    International Journal of Computer Vision

    (2000)
  • Toyama K, Hager GD. Keeping your eye on the ball: tracking occluding contours of unfamiliar objects without...
  • Kass M, Witkin A, Terzopoulos D, Snakes: active contour models. Proceedings of the First International Confernce on...
  • Cited by (16)

    • Accuracy and Reproducibility of a Novel Dynamic Volume Flow Measurement Method

      2013, Ultrasound in Medicine and Biology
      Citation Excerpt :

      Recursive application of the mass center calculation, that is, using point mp calculated at one iteration as the starting point, cp, of the next iteration, quickly converges toward the edge following the minimum distance direction. A detailed mathematical description and the performance evaluation can be found in Gemignani et al. (2004). To improve robustness, the aforementioned process is repeated on a set of adjacent starting points, distributed along a 6- to 9-mm-long segment, approximately parallel to the edge, for both the proximal and distal wall.

    • A comprehensive method of contour extraction for industrial computed tomography images

      2013, Optics and Lasers in Engineering
      Citation Excerpt :

      For example, Shih et al. [15] first obtained a rough edge map by a contextual-filter detector, and then implemented edge tracking by searching multi-scale local maximum to improve detected edges. Gemignani et al. [16] linked discontinuous edge points by iteratively computing the mass center of gray-level variability. By edge tracking, results produced by the WTMM algorithm may be improved.

    • Automatic Localization of Intimal and Adventitial Carotid Artery Layers with Noninvasive Ultrasound: A Novel Algorithm Providing Scan Quality Control

      2010, Ultrasound in Medicine and Biology
      Citation Excerpt :

      Starting from the second iteration, the evaluation domain ends at one-fourth of the axial system resolution (i.e., 83 μm) ahead of the adventitial border to avoid that relatively bright adventitial echoes interfere with intima detection. The equilibrium state of each point in the contour is reached when the contour point obtained at the ith iteration is the same as the one determined either in the (i-1)th or (i-2)th iteration (Gemignani et al. 2004). The internal CCA contour, estimated with MAB, may be locally inconsistent with the real lumen-intima interface (Fig. 3c) because of luminal reverberations and artefacts nearby the contour, a too weak (or even absent) intima due to an improper CCA scan plane, or a very reflective adventitial echo leaking into the MAB kernel.

    • A new edge detection algorithm for image corrupted by White-Gaussian noise

      2007, AEU - International Journal of Electronics and Communications
    • Electronic Phantom for Arterial Wall Movement and Blood Flow

      2022, IEEE International Ultrasonics Symposium, IUS
    • Real-time system for high frame rate vector flow imaging

      2020, IEEE International Ultrasonics Symposium, IUS
    View all citing articles on Scopus
    View full text