Friday, March 2, 2018

convolution

Convolution operation plays a vital role in image processing. This is used in many applications in image processing, such as blurring, sharpening, embossing and edge detection etc. By studying this article, one can understand the concept of Convolution operation in image processing in theoretical and practical manner. In addition, it explains the differences between convolution and correlation operations in mathematical and practical manner.

Before understanding the convolution operation, first let me explain the correlation operation in theoretical and mathematical manner. If we want to apply correlation or convolution operation in image processing, we have to define a kernel . The kernel is a small matrix. In general, the kernel is square matrix and the dimension is in odd, for example, 3 x 3, 5 x 5, 7 x 7 ........ etc. The following 3 X 3 kernel has been taken to explain the correlation and convolution operations in this article.

Correlation

correlation is the process of adding each element of the image to its local neighbors by the weighted kernel. For better understanding, the part of image of size 3 x 3 has been taken as follows.
The correlation is the process of finding the sum of product of similar entries between the kernel and part of the image. Mathematically, it can be expressed as depicted in Equation 1.
In the resulting image, the element at coordinates [1,1] is updated with the resultant value of correlation as shown in Equation 1. This process is subsequently applied to find the rest of the values of elements in the resulting image as depicted in following.


Popular Articles:

1. matlab-cropping-binary-image-algorithm

Objective of the Program: Program takes a black and white image as input. It removes the black portion and gives the white portion of the image.

2. Working-with-ROI-of-image-using-Matlab

Objective of the Program:The part of the image, on which you have interest to work out, is called Region of Interest (ROI). In another words, selected subset of image is called ROI. In some contexts, you want to apply operations on ROI of image rather than the entire image. To achieve this, generally people extract the ROI from the image, store it in another variable and then apply operations on ROI. If you want to apply your operations on ROI without extracting from the image, it is bit difficult. This article will explain the performing the operations on ROI without extracting from the image. In this context, the ROI part of image is affected rather than the entire image.

Python-environment-for-deep-learning-in-windows

Python is increasingly becoming a popular programming language for machine learning and deep learning. If you want to use python for train...