Laplacian Filter using Matlab
Laplacian filter is a second-order derivative filter used in edge detection, in digital image processing. In 1st order derivative filters, we detect the edge along with horizontal and vertical directions separately and then combine both. But using the Laplacian filter we detect the edges in the whole image at once....
read more
Difference between Convolution VS Correlation
Correlation is a mathematical technique to see how close two things are related. In image processing terms, it is used to compute the response of a mask on an image. A mask is applied on a matrix from left to right. Mask slides over the matrix from left to right by one unit every time. Once the mask reaches the rightmost end, the mask is slid downward by one unit and again starts from left to right side. The computed output is assigned to the central pixel, while neighbourhood pixels are also get used in the computation. The mask or the matrix can be 1-D or 2-D. Generally, the mask’s dimension is taken as an odd number, so that the central pixel can easily be found....
read more
MATLAB Find Closest Value in Array
MATLAB arrays store numbers and allow users to perform various operations on them. In this article, we shall see how to find the closest value to a given target value in a MATLAB array. The same task can be performed by using the nearest neighbor interpolation, which we shall explore in the following sections with examples....
read more
How To Detect Face in Image Processing Using MATLAB?
MATLAB  is a programming platform that is mainly used by engineers and scientists to analyze and design systems. Image processing is a process to perform some operations on an image to get an enhanced image or to extract some useful information from it. Each picture is stored as an array and each pixel is an element of the array....
read more
How to create a function in MATLAB ?
A function is a block of statements that intend to perform a specific task. Functions allow the users to reuse the code frequently. MATLAB has several predefined functions which are ready to use such as sin(), fact(), cos() etc. MATLAB also allows the users to define their own functions....
read more
Applications of MATLAB
MATLAB can be used as a tool for simulating various electrical networks but the recent developments in MATLAB make it a very competitive tool for Artificial Intelligence, Robotics, Image processing, Wireless communication, Machine learning, Data analytics and whatnot. Though its mostly used by circuit branches and mechanical in the engineering domain to solve a basic set of problems its application is vast. It is a tool that enables computation, programming and graphically visualizing the results....
read more
Why MATLAB So Fast in Matrix Multiplication?
In simple words, we say that Since MATLAB was originally created for numerical linear algebra (matrix manipulations), it has libraries that were specifically created for matrix multiplications. The same program is run for each data element, which reduces the need for complex flow control. Additionally, because the program is run on many data elements and has a high arithmetic intensity, calculations can be used to hide memory access latency in place of big data caches.  that’s why MATLAB is so fast in matrix Multiplication....
read more
How to Solve Histogram Equalization Numerical Problem in MATLAB?
Histogram Equalization is a mathematical technique to widen the dynamic range of the histogram. Sometimes the histogram is spanned over a short range, by equalization the span of the histogram is widened. In digital image processing, the contrast of an image is enhanced using this very technique....
read more
How to Read Image File or Complex Image File in MATLAB?
MATLAB is a programming and numeric computing platform used by millions of engineers and scientists to analyze data, develop algorithms, and create models. For Image Reading in MATLAB, we use the image processing toolbox. In this ToolBox, there are many methods such as imread(), imshow() etc....
read more
Create Array of Zeros in MATLAB
MATLAB generally stores its variables in matrix forms, also in array and vector form. Sometimes, we often need a matrix(or array or vector) of zero(s) for some specific operations. We can create a matrix of zero(s) manually or with the help of the in-built function of MATLAB. The in-built function that is used to create an array or matrix of zero(s) is called the zeros() function. We generally prefer this in-built function for the ease of the task rather than create an array of zeros manually. The following part contains the two methods of creating an array or matrix of zeros....
read more
Grey Level Co-occurrence Matrix in MATLAB
The use of texture to identify regions of interest in an image is a crucial characteristic...
read more
Upsampling in Frequency Domain in MATLAB
Upsampling” is the process of inserting zero-valued samples between original samples to increase the sampling rate. (This is called “zero-stuffing”.) Upsampling adds to the original signal undesired spectral images which are centered on multiples of the original sampling rate....
read more