%% lab2
%
% Name: _______
% Date: _______
% Quarter: Winter 2014-2015

%
% This is the template for your Lab 1 script.
% It is not intended to be run straight through from beginning to end.
% 
% Instead, you will execute each "cell" as you work through the lab,
% and I can execute individual cells as I look at your work.
%

%
% PLEASE DELETE STEPS 1-4 below if you paste in steps 1-4 from your lab1.m
% Otherwise, fill them in again.
%
% You may delete this comment if you wish.
%

%% 1. Load an image and display it.


%% 2. Look at an interesting point on your image.
%% 2.a.  ginput.  Get the indices of the interest point.


%% 2.b.  Automatically write j and i values instead of calling ginput.
%     Display a chunk of the image around j and i
%     Include a small chunk of your image here in a comment.
%     Write a comment describing what you learned from looking at the 
%     raw values in the image.


%% 3. Convert the image to gray-scale


%% 4. Blur the image
%  Also, in a comment, answer the question "Why is it important for the
%  sum of the elements in the blurring filter to be 1?"


%% 5. Find edges in the image and create the images m and theta.
%
% Answer the question, "Why is it important for the sum of the elements in the
% derivative filter to be zero?"


%% 6. Histograms
%% 6.a. Creating a histogram of image intensities.


%% 6.b. Creating a histogram of edge directions
%
%  Also, include your 8-bin histogram result.  If you use a different
%  arrangment of bins than the figure, explain that in a comment, too.
