Abstract
With the development of low-carbon economy, inland river transportation has been attracting more and more attention in China. At the same time, driven by some economic benefits, the ship overload phenomenon continues to occur. Therefore, overloaded ship detection has been a key factor for reducing marine traffic accidents. This paper presents a robust method for detecting overloaded ship and the proposed algorithm includes three stages: ship detection, ship tracking, and overloaded ship identification. Ship detection is a key step and the concept of ship tracking is built on the ship-segmentation method. According to the segmented ship shape, we propose a predict method based on Kalman filter to track each ship. The data of ship length and ship speed will be used to identify overloaded ship. The proposed method has been tested on a number of monocular ship image sequences and the experimental results show that the algorithm is robust and real-time.
Access provided by Autonomous University of Puebla. Download conference paper PDF
Similar content being viewed by others
Keywords
1 Introduction
Recently, countries and groups have increasingly expressed concern about environmental protection and low-carbon life. The trend of social development not only promotes the great development of inland river transportation, but also causes growing overloaded phenomenon of inland river ship.
With the development of information technology, video camera and high definition camera are considered as suitable sensor devices for capturing and recognizing spatio-temporal aspects of inland river structures and traffic situations, and have been introduced in many social systems for various purposes, especially transportation. It is well recognized that vision-based surveillance systems are more versatile than others for traffic parameter estimation and overloaded phenomenon identification [1].
Ship detection and ship tracking can offer us a continuous description of the vessel traffic flow. Therefore, it has been an important and challenging issue in video-based overloaded ship identification. However, there are several problems that remain unsolved in this process. On the one hand, the tracking result strongly depends on the quality of ship detection. Apparently, it augments the instability of tracking system. On the other hand, overloaded ship identification is [2] to be processed in real-time and it needs a simple and efficient approach to extract the ship feature.
In the last several years, extensive research work has been done and many traffic monitoring systems have been exploited that include road transportation2 and water transportation [3]. Researchers have developed various algorithms to extract object feature and track moving objects but most of the water transportation monitoring systems are focused on infrared cameras [4], automatic identification system (AIS) [5] or radar [6, 7], while little work has been done for optical image 8. Considering the complexity of the Kalman filter, [8] many researchers presented their own algorithms to construct imaging filters and achieve real-time operation [9, 10].
This paper presents a robust and real-time method to identify overloaded ship through a video camera and high definition camera. The proposed algorithm includes two stages: ship detection, ship tracking, and overloaded ship identification.
The remainder of the paper is organized as follows. We first introduce the process of ship detection in Sect. 67.2. The algorithm related to ship tracking is given in detail inSect. 67.3. Overloaded ship identification and its experimental results are presented in Sect. 67.4. Finally, the conclusion are drawn in Sect. 67.5.
2 Ship Detection
It is a very important step to extract the ship shape out of the river background. The ship detection method requests to automatically segment every ship so that there can be a unique tracking associated with the ship. In this phase, we will solve several problems as follows:
Extract the background image automatically from a sequence of river traffic images and update the background continually according to the change in ambient lighting, weather, etc.
Select an adaptive filter to eliminate abnormal moving object in the binary background subtraction image so that the system can be more robust.
Detect ship from the binary background subtraction image.
Apparently, it is desirable to extract the initial background image automatically from a sequence of road traffic images before background subtraction. Therefore, we propose a background extraction method based on moving object pixel detection, in which each pixel of image will be identified whether its intensity had an obvious change or not. Moving object pixels could be extracted from current input image by performing a difference on three consecutive inter-frames. First, it is needed to calculate inter-frame subtraction image of two pairs of images, i.e., the first subtraction image between (k−2) frame image and the (k−1) frame image, and the second subtraction image between (k−1) frame and (k) frame. Second, two binary images could be transformed from the two subtraction images via a dynamic subtraction threshold. Then, we apply the bitwise logical and operation to the two binary subtraction images to clarify the moving object pixels. Finally, the original background image could be obtained through patching up non-moving object pixels from a sequence of input images. The same method could be used to update the background image.
After the update process, we calculate the difference between background image and input image for each pixel, and then apply binary filter to background subtraction image to clarify the moving object region. While the binary difference image of moving ships is obtained, we apply a block filter based on statistics to filter the noises and then adopt a simple seed-growing arithmetic to detect ship. The detailed results of our proposed scheme are represented in Figs. 67.1 and 67.2.
3 Ship Tracking
Based on the segmented ship shape, which can be represented by a simple square model, we propose a Kalman filter method to track ship.
The Kalman filter is the minimum-variance state estimator for linear dynamic systems with Gaussian noise. In addition, the Kalman filter is the minimum-variance linear state estimator for linear dynamic systems with non-Gaussian noise.
Consider the system model as follows:
where k is the time step, xk is the state, yk is the measurement, wk and vk are the zero-mean process noise and measurement noise with covariances Q and R respectively, and F and H are the state transition and measurement matrices. The Kalman filter equations are given as follows:
For k = 1, 2… where I am the identity matrix \( x\left( {k|k} \right) \) is the priori estimate of the state \( xk \) given measurements up to and including time \( k - 1 \) \( x\left( {k - 1|k - 1} \right) \) is the posteriori estimate of the state \( xk \) given measurements up to and including time \( k \). \( Gk \) is the Kalman gain, \( Pk \) is the covariance of the priori estimation error \( xk - x\left( {k - 1|k - 1} \right) \), and \( \xi K \) is the covariance of the posteriori estimation error xk \( x\left( {k|k} \right) \)
When the noise sequences \( \left\{ {wk} \right\} \) and \( \left\{ {vk} \right\} \) Gaussian, uncorrelated, and white, the Kalman filter is the minimum-variance filter and minimizes the trace of the estimation error covariance at each time step. When \( \left\{ {wk} \right\} \) and \( \left\{ {vk} \right\} \) are non-Gaussian, the Kalman filter is the minimum-variance linear filter, although there might be nonlinear filters that perform better. When \( \left\{ {wk} \right\} \) and \( \left\{ {vk} \right\} \) are correlated or colored, (3–6) can be modified to obtain the minimum-variance filter. Our system schematic diagram is shown in Fig. 67.3
As we know, ship feature extraction plays an important role in ship tracking. The extracted information must be robust and essential to the accurate visual interpretation of the image so that the tracking result is not dependent on parameters controlling thresholds, which is often established empirically to achieve acceptable performance. Our arithmetic extracts many ship features to characterize each ship, such as ship center of mass, average intensity, and ship speed, etc.
Now suppose it satisfies the equality constraints. Let Xk be the ship feature vector of the time k. Then:
where \( xi\left( k \right) \) and \( xj\left( k \right) \) are the state values of ship center’s coordinates in the input image, \( xvi\left( k \right) \) and \( xvj\left( k \right) \) are their speed values, \( xD\left( k \right) \) is the average intensity of the whole ship, \( yi\left( k \right) \) and \( yi\left( k \right) \) are the measurement values of xi(k) and \( xj\left( k \right) \) \( Xk = \cdots \left[ {xi\left( k \right) \cdots xvi\left( k \right) \cdots xj\left( k \right) \cdots xvj\left( k \right) \cdots xD\left( k \right)} \right] \).
Based on the above definition and the system schematic diagram, we define the Kalman system model as:
The final result may cause the Kalman filter updates the Kalman gain Gk and the ship feature vector is recalculated. Our system tracks all these ships by implementing the above processes recursively until they have left the field of view.
4 Overloaded Ship Identification
The research in this step is primarily how to get the position of the waterline by digital image processing technology. In order to ensure the detection accuracy of waterline, another high definition camera will be used to shoot the ship photograph. Taking into account the difference of coordinate systems between the video camera and high definition camera, it is necessary to convert the ship center’s coordinates and obtain the data about ship length, ship speed, and navigation direction through the ship tracking result.
Our paper takes two steps to detect the waterline edge.
The first step is the edge detection approach based on the navigation direction. Compared to other operations, the canny operator gets the better results in detection. In order to find the exact waterline, the false edges are removed by navigation direction projection. Finally, the waterline line is fitted by the least square method.
The second step is the edge pick-up approach based on the Hough transform. This paper adopts a voting method to choose the possibly true edges, in which the weight values of the following attributes are large: the hue grads, the saturation grads, the intensity grads, and the times of searching edges. According to the difference in the average values between the upside area and the downside, the method selects the true edge of waterline. The horizontal line is fitted by the least square method.
Finally, the distance between the top of ship and the waterline will identify whether the ship is overloaded or not. The detailed results of our proposed scheme are represented in Figs. 67.4 and 67.5.
5 Conclusion
In this paper, we present a new algorithm for ship tracking in a video-based ITS. The experiment results on real-world videos show that the algorithm is effective and real-time. The correct rate of ship tracking is higher than 85 %, independent of environmental conditions.
References
Lee E-K, Ho Y-S (2010) Generation of multi-view video using a fusion camera system for 3D displays. IEEE Trans Consum Electron 56(11):2797–2805
Ha DM, Lee JM, Kim YD (2004) Neural-edge-based ship detection and traffic parameter extraction. Image Vis Comput 22(6): 899–907
Hu H, Tian J, Dai G, Wang M, Peng Y (2011) A new method of ship detection for SAR images. Int J Advancements Comput Technol 3(9):64–71
Wu J, Mao S, Wang X, Zhang T (2011) Ship target detection and tracking in cluttered infrared imagery. Opt Eng 50(5):234–247
Obad D, Bošnjak-Cihlar Z (2004) Benefits of automatic identification system within framework of river information services. In: Proceedings Elmar—International Symposium Electronics in Marine Proceedings, vol 46(23), pp 143–147
Vicen-Bueno R, Carrasco-álvarez R, Jarabo-Amores MP, Nieto-Borge JC, Rosa-Zurera M (2011) Ship detection by different data selection templates and multilayer perceptrons from incoherent maritime radar data. IET Radar Sonar Navig 5(2):144–154
Ruiz ARJ, Granja FS (2009) A short-range ship navigation system based on ladar imaging and target tracking for improved safety and efficiency. IEEE Trans Intell Transp Syst 10(1):186–197
Zhu C, Zhou H, Wang R, Guo J (2010) A novel hierarchical method of ship detection from spaceborne optical image based on shape and texture features. IEEE Trans Geosci Remote Sens 48(9):3446–3456
Li P, Zhang T, Ma B (2004) Unscented kalman filter for visual curve tracking. Image Vis Comput 22(2):157–164
Piovoso MP, Laplante PA (2003) Kalman filter recipes for real-time image processing. Real-Time Imag 9(6):433–439
Acknowledgments
The author thanks his colleagues for their influence. Thanks to the referees for their suggestions which have greatly improved the presentation of the paper. This work was supported by Transportation Construction Technology Project (201132820190) and Department of Transportation Industry tackling Project (2009353460640).
Author information
Authors and Affiliations
Corresponding author
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2013 Springer-Verlag London
About this paper
Cite this paper
Xie, L., Chen, J., Yan, Z., Wang, Z. (2013). A New Method of Inland River Overloaded Ship Identification Using Digital Image Processing. In: Zhong, Z. (eds) Proceedings of the International Conference on Information Engineering and Applications (IEA) 2012. Lecture Notes in Electrical Engineering, vol 220. Springer, London. https://doi.org/10.1007/978-1-4471-4844-9_67
Download citation
DOI: https://doi.org/10.1007/978-1-4471-4844-9_67
Published:
Publisher Name: Springer, London
Print ISBN: 978-1-4471-4843-2
Online ISBN: 978-1-4471-4844-9
eBook Packages: EngineeringEngineering (R0)