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) 






Thursday, April 16, 2015

Introduction to Computer Vision and OpenCV

Computer vision is a field that includes methods for acquiring, processing, analyzing, and understanding images and, in general, high-dimensional data from the real world in order to produce numerical or symbolic information - "Wikipedia"



OpenCV (Open-source Computer Vision) is the compact package of modern computer vision. There are more hardcore software's other than OpenCV such as MATLAB,LABVIEW etc. But OpenCV is made specially for computer vision or another word image processing.It has a wide range of modules that can help you with a lot of computer vision problems.

Build in modules of OpenCV

  • Core ----Core data structures, data types, and memory management
  • Highgui---- GUI, reading and writing images and video
  • Imgproc---- Image filtering, geometric image transformations, structure, and shape       analysis.
  • Video---- Motion analysis and object tracking in video.
  • Calib3d---- Camera calibration and 3D reconstruction from multiple views.
  • Objdetect---- Object detection using cascade and histogram-of-gradient classifiers.
  • ML---- Statistical models and classification algorithms for use in computer vision applications.
  • etc..


Setting up OpenCV on Windows operating system

OpenCV installation instructions for windows users are available at http://docs.opencv.org/doc/tutorials/introduction/windows_install/windows_install.html 





Wednesday, April 15, 2015

BEng SHU final year project

I have successfully completed my BEng in Electronics and Computer Science final year individual project named "Stereo Vision Navigation System for Visually Impaired" with low cost embedded system Raspberry-Pi and like to share my experience and knowledge on image processing and stereo vision with you.