The first exercise is rather introductory. We shall learn some essentials about Matlab and how to improve visual quality of and image with limited spectrum of intensities.
We will use Matlab 7.x and Image Processing Toolbox (IPT). They are
both installed in the computer labs of the Department of Cybernetics
K132, K220. It is, however, possible to use even older versions. In
other labs at Karlovo namesti K2 and some labs at the Department of
Computer Science you may run the Matlab by launching
X:\Matlab7\bin\win32\MATLAB.exe
.
We prepared a very short intro into Matlab and some hints that may help in solving the first assignment.
There are many on-line tutorials on the web. We suggest:
MIT tutorial. Packed, concise. It describes Matlab on *NIX systems, the most of the content is applicable on any system. Just skip the section "Starting a Session"
Programming in MATLAB. A PDF document useful for print. Document is a part of tutorials page at Southern Illinois University at Carbondale.
Getting started with Matlab. Well arranged tutorial at Indiana University. Both PDF and HTML version available. Arranged in table-layout.
For your convenience we prepared some auxiliary functions and images. Some file names are in Czech,
since the basis is shared with the Czech version of the subject,
apologies for that. You may download them and unpack to your working
directories, eg. codes, images
. Start a Matlab session,
go to your working directory
>> cd name_of_disk:/directory
add paths to the auxiliary functions and images
>> addpath ./codes ./images
From now on, the Matlab will know where to search for images and functions. You may check it by:
>> doc rc2uv >> im = imread('Kravy_na_podzim.jpg');
We also prepared some sample scripts that demostrate sample operations
and use of publish
function which creates a html
presentation. It is recommended to download it, look at the code,
alternate parameters etc.