Traditional Image Processing VS Deep Learning
Traditional Image Processing VS Deep Learning
Whitepaper
Highlights
Note
For the context of this paper, the word “traditional image processing” shall be used to refer to a broader area of image processing which encompasses
domains of image processing, computer vision, and classical machine learning.
Whitepaper: Traditional Image Processing vs. Deep Learning
1. Introduction
Deep learning has certainly revolutionized traditional image In contrast to traditional image processing techniques, DL
processing. It has pushed the boundaries of Artificial helps achieve greater accuracy in tasks such as object
Intelligence to unlock potential opportunities across industry detection, image classification, Simultaneous Localization
verticals. and Mapping (SLAM), and semantic segmentation.
Figure 1: (a) Traditional Image Processing workflow vs. (b) Deep Learning workflow.
Several challenges that once seemed impossible to solve, are Since neural networks used in DL are trained rather than
now solved to a point where machines are performing better programmed, applications following this approach often
than humans. However, that does not mean that the require less fine-tuning and expert analysis. The availability of
traditional image processing techniques that have advanced a humongous amount of video data in today’s system
in the years before the rise of DL have been made obsolete. supports this cause. While CV algorithms tend to be more
domain-specific, DL, on the other hand, provides superior
This paper will analyze the benefits and drawbacks of each flexibility because CNN models and frameworks can be re-
approach. This paper aims to provide better clarity on the trained using a custom dataset for any use case.
subject which can help data scientists/ industries choose the
most suitable method depending on the task at hand.
2.2. Advantages of traditional Image processing will behave outside the training environment. It also offers
flexibility to CV engineers to tweak their parameters to either
At times, deep learning is overkill as traditional image improve their algorithm to achieve better accuracy and
processing can often solve a given problem with greater performance or investigate their mistakes when the algorithm
accuracy and in fewer lines of code than DL. The features fails. Traditional image processing is preferred for edge
learned from a deep neural net are specific to the training computing too, owing to its delivery of high performance with
dataset which if not well constructed, probably won’t perform lower resource usage. This also makes traditional image
well for images different from the training set. In contrast, processing more popular for cloud-based applications where
algorithms like SIFT and even simple color thresholding and high-powered resources that are required for deep learning
pixel counting algorithms are not class-specific, that is, they applications are expensive.
are very general and perform the same for any image.
Figure 3: Example of image stitching They are notably efficient in high-performance systems that
require quick development. For example, an image
processing algorithm can competently perform face detection
Therefore, SIFT and other algorithms are often preferred for over the live feed from a security camera. These detections
applications such as 3D mesh reconstruction/ image-stitching can then be relayed to a DNN as the next stage for face
which do not need specific class knowledge. While the recognition.
solutions to these tasks can be attained by training huge
datasets, the vast research effort required for it is not feasible
for a closed application. Summarily, deciding on the most
suitable approach for a given computer vision problem, one
should consider practical feasibility.
Popular object detection datasets provide stats about the data Limited (annotated/ labeled) data available.
size that is required by deep learning for achieving good Lack of high storage and computing power.
accuracy. Cheaper solution desired
Desire flexible deployment over a range of hardware.
Good domain expertise present.
The below table summarizes the comparison between deep learning and traditional image processing:
Traditional Image
Selection criteria Deep Learning
Processing
Training dataset Small Large
Some typical applications of DL and traditional image processing are given below:
4. Conclusion 5. References
This paper presented arguments for why traditional image [1] N. O’Mahony, S. Campbell, A. Carvalho, S.
processing techniques are still very much relevant in this Harapanahalli, G. V. Hernandez, L. Krpalkova, D.
age of Deep Learning. Riordan, and J. Walsh, “Deep learning vs. traditional
computer vision,” in Science and Information
Deep learning can be seen as one of the tools to solve Conference. Springer,2019, pp. 128–144
image/ video processing problems along with other [2] Zdziarski Z. (2018, January 26), The Reasons Behind
programming languages, image processing techniques, the Growth of Computer Vision. Zbigatron. Retrieved
classifiers, and machine learning. Some typical applications from https://zbigatron.com/the-reasons-behind-the-
were also compared from the perspectives of traditional recent-growth-of-computer-vision/
image processing and DL and discussed how the former is
often a simpler alternative in tasks where DL is an overkill. [3] Shaikh F. (April 8, 2017), Deep Learning vs. Machine
Learning – the essential differences you need to know.
The paper also highlighted some areas which hint that Analytics Vidhya. Retrieved from
hybrid approaches are the way forward with their lower https://www.analyticsvidhya.com/blog/2017/04/compari
memory bandwidth and computation requirements, and high son-between-deep-learning-machine-learning/
performance and accuracy. We also witnessed some [4] AI vs Machine Learning vs Deep Learning: What’s the
examples where traditional image processing techniques difference?. Guru99. Retrieved from
improve DL performance (i.e., reduced training time and https://www.guru99.com/machine-learning-vs-deep-
lower processing power). learning.html
Some general guidelines were also discussed in the paper [5] Brownlee J. (2019, March 13). 9 Applications of Deep
which shall prove to be useful for beginners as well as Learning for Computer Vision.
experts in the computer vision domain to make better Machinelearningmastery. Retrieved from
decisions while choosing between deep learning and https://machinelearningmastery.com/applications-of-
traditional image processing to solve their problem. deep-learning-for-computer-vision/
[6] Tulluri R. (2017, November 29). Conventional
computer vision coupled with deep learning makes AI
better. Network World. Retrieved from
https://www.networkworld.com/article/3239146/convent
ional-computer-vision-coupled-with-deep-learning-
makes-ai-better.html