Posts

Showing posts from February, 2018

Histogram Equalization Algorithm Implementation Using MATLAB

Image
  Histogram equalization is a method in image processing of contrast adjustment using the image's histogram. The histogram of a digital image is a distribution of its discrete intensity levels in the range [0,L-1]. The distribution is a discrete function h associating to each intensity level: r k the number of pixel with this intensity: n k . Normalization of a Histogram Normalize an histogram is a technique consisting into transforming the discrete distribution of intensities into a discrete distribution of probabilities. To do so, we need to divide each value of the histogram by the number of pixel. Because a digital image is a discrete set of values that could be seen as a matrix and it's equivalent to divide each n k by the dimension of the array which is the product of the width by the length of the image.   Equalization of a Histogram Histogram equalization is a method to process images in order to adjust the contrast of an image by modifyin...

Collision Avoidance Bot

Image
This project is about mobile robot simulation for avoiding collision in a given environment. STEP1 Step1 is exporting a CAD model of PIONEER-3DX to .xml file and using the simulink file thus created in matlab. STEP2 The simulink file thus created will have constraints on wheels for robot motion By changing the constraints on the robot, we can decide in which direction to move the robot. If the constraint on left_wheel=1 and that on right_wheel=0, it will turn in right direction and vice versa. To make the robot move forward or backward, both the constraints should be equal. STEP3 Step3 involves making the enviroment and inlining the enviroment with the robot file. This file is uploaded in vr sink block of the file which is the last block of the code.  STEP4 Step4 is about creating the control logic. The control logic depends on a previously defined look-up table. The control logic is a stateflow that takes sensors as input and...