CS7321 Winter 1998

PS0 Solution by Ivan Brusic


Input Image Operations Output Image
capture.rgb 
(saved using capture from SGI)
 Converted to TIFF using imgworks on SGI irfan.jpg
Convert to grayscale

img = imread('ivan.tif'); 
gray_img = rgb2gray(img);

imshow(gray_img);

 Interactive crop

img_crop = imcrop(img_gray);

imshow(img_crop);

Edge Detection

img_edge = edge(img_crop,'log');

imshow(img_edge);

  Other edge detection images:

Input Image Operations Output Image - Input Image Operations Output Image

Same as above
Convert to a binary image

[img_bin,map]= gray2ind(img_crop,2);

imshow(img_bin,map);

Edge Detection

img_edge = edge(img_crop,'log');

imshow(img_edge);


Same as above
Convert to a binary image using specified threshold

threshold.m

image = threshold(img_crop,0,100);

imshow(image);

Edge Detection

img_edge = edge(img_crop,'log');

imshow(img_edge);

Input Image Operations Output Image

Same as above
Futuristic Ivan

imshow(img_crop);
colormap(cool);


Same as above
Ivan on Drugs

img_rotate = imrotate(img_crop,90,'bilinear','crop');

imshow(img_rotate);
colormap(colorcube);

Note: all TIFF were converted to GIF images for displaying purposes. This process was done using ImageWorks on SGI.

Ivan Brusic - January 19, 1998
ivan@cc.gatech.edu