Research Article

Saliency-Based Diver Target Detection and Localization Method

Algorithm 1

Saliency-based diver detection and localization method.
(1)Input: the original image .
(2)Output: acoustic highlight region and shadow region .
(3)for Index := 0 to |ImageFiles| − 1 by 1
(4) calculate by equation (7).
(5) calculate the saliency map by equations (1)–(3).
(6) extract the region set by Equation (4)–(5).
(7) extract the acoustic highlight region by Equation (6).
(8) calculate by equation (8).
(9) extract the candidate edges by equation (9).
(10) extract the acoustic shadow region by equation (10)–(11).
(11) merge and and calculate the minimum outer rectangle.
(12)end for