Friday, 23 September 2011

The aim of this lab is to acquire a deeper knowledge regarding image enhencement
using di erent histogram operation methods and ltering in the spatial
domain. All tasks imply that the student has to implement the methods
using Matlab.
In each task a number of appropriate commands in Matlab will be suggested.
In order to get more speci ed information about each command type
help and the command you want more information about. The command
lookfor is also useful.
Task 1. 'Histogram stretching'
Here the student is supposed to write a Matlab-function that performs
'histogram stretching' on an image in order to cover the whole range of gray
level values. Write the following in a m- le and complete it.
function [im_out] = my_histstretch(im_in);
% IM_OUT = MY_HISTSTRECH(IM_IN) transforms IM_IN to IM_OUT
% according to the histogram stretching method.
% The values in IM_IN are assumed to be in the range: 0 255
% Make sure that im_in has double precision
im_in = double(im_in);
low = min(min(im_in));
high = max(max(im_in));
im_out = ...
% Convert the image values in the range: 0 255
im_out = uint8(im_out);
Write help my_histstretch. Do you recognize the information? Study
how your function 'histogram stretching' operates on an image, for example
trees.tif, by writing:
http://www.instructables.com/member/chrisben/
http://www.prestashop.com/forums/user/288784-chrisben/
http://www.fanfiction.net/u/3274969/
http://nukesofhazardblog.com/user/chrisben
http://www.buildup.eu/people/chrisben

No comments:

Post a Comment