Week 3-45-50
Week 3-45-50
• Imshow(a) • Double
– Displays the image • changes the data type but does not
change the numeric values
• Imshow(a/255)
– Darkens the image ( all the matrix
values between 0 and 0.5) • Im2double
• changes both the numeric data type and
• Imshow(a/128) the values
– Lighten the image ( all the matrix • If image itself is double then im2double
values between 0 and 2) does not have any effect
Image Enhancement –Histogram
equalization
• hist(image_variable) • bar(xaxis, yaxis)
– To find the histogram of an image – To plot output Using bargraph
- The Image variable should be in
single column
Cumsum(image_variable)
Find the cumulative sum of the
image variables
./ Division operator for array
Image Segmentation