| Literature DB >> 29861711 |
Jianfang Cao1, Lichao Chen2, Min Wang2, Yun Tian1.
Abstract
The Canny operator is widely used to detect edges in images. However, as the size of the image dataset increases, the edge detection performance of the Canny operator decreases and its runtime becomes excessive. To improve the runtime and edge detection performance of the Canny operator, in this paper, we propose a parallel design and implementation for an Otsu-optimized Canny operator using a MapReduce parallel programming model that runs on the Hadoop platform. The Otsu algorithm is used to optimize the Canny operator's dual threshold and improve the edge detection performance, while the MapReduce parallel programming model facilitates parallel processing for the Canny operator to solve the processing speed and communication cost problems that occur when the Canny edge detection algorithm is applied to big data. For the experiments, we constructed datasets of different scales from the Pascal VOC2012 image database. The proposed parallel Otsu-Canny edge detection algorithm performs better than other traditional edge detection algorithms. The parallel approach reduced the running time by approximately 67.2% on a Hadoop cluster architecture consisting of 5 nodes with a dataset of 60,000 images. Overall, our approach system speeds up the system by approximately 3.4 times when processing large-scale datasets, which demonstrates the obvious superiority of our method. The proposed algorithm in this study demonstrates both better edge detection performance and improved time performance.Entities:
Mesh:
Year: 2018 PMID: 29861711 PMCID: PMC5971336 DOI: 10.1155/2018/3598284
Source DB: PubMed Journal: Comput Intell Neurosci
Figure 1The MapReduce programming model process.
Figure 2Architecture for massive image edge extraction.
Figure 3The workflow of the mapper() and reducer() functions.
Figure 4Comparison of the edge detection performance of different algorithms.
Comparison of the running times of different algorithms under different data scales.
| Image scale | Running time (S) | |||
|---|---|---|---|---|
| Canny algorithm | Otsu-Canny algorithm [ | Parallel Canny algorithm | The proposed approach (4 slave nodes) | |
| 1,000 | 30 | 30 | 27 | 28 |
| 3,000 | 58 | 60 | 51 | 50 |
| 8,000 | 92 | 95 | 76 | 75 |
| 16,000 | 155 | 159 | 93 | 93 |
| 30,000 | 487 | 488 | 199 | 201 |
| 60,000 | 840 | 843 | 275 | 276 |
Figure 5Comparison of the running times on the Hadoop cluster nodes.
Figure 6Comparison of speedup.
Figure 7Comparison of sizeup.
Figure 8Comparison of scaleup.