Friday, April 17, 2015

Image and Video Processing with MATLAB

MATLAB is a high performance programming language for computer applications today. The name MATLAB stands for "Matrix Laboratory". Present Computer Vision is a most popular and wide area for research study.
If your using MATLAB to solve your computer vision problems it integrates computation, visualization,  and programming in an easy to use environment where problems and solutions are expressed in familiar mathematical notation.
   with MATLAB you can,

  • Develop Algorithms.
  • Data acquisition.
  •  Modeling, Simulating models.
  • Data analysis.
  • Application development.

Image Processing with MATLAB

  1. Reading Images 
An image is defined as a two dimensional function f(x,y) where x and y are spatial coordinates. Simply we can defined an image as a matrix and x*y are the dimensions and matrix elements are amplitude of f at any pair of coordinates is called the intensity (for Gray Scale).

In MATLAB you can read an image as a matrix using,

             >>imread('filename');

try with the following jpg image (lena.jpg)




You should create a folder named MATLAB in your desktop and save lena.jpg in that folder.

try to read that image in MATLAB as follows,

change MATLAB directory field as follows,


then,
         >>A= imread('lena.jpg');

Or

        >>A = imread('C:\Users\User\Desktop\MATLAB\lena.jpg');

and store the image into array A (because lean.jpg is a color image and it has three channels) 






No comments:

Post a Comment