CS1699 Homework1 – Part I

Please refer to 【http://people.cs.pitt.edu/~kovashka/cs1699/】

OK, this is my first assignment in CS1699. Although CS1699 is an undergraduate course, I find it informative and well designed course. During the class in the first week, I learned how to load an image into memory(imread), how to transform a RGB 3-channels color image into a gray-scale image(rgb2gray), how to transform a matrix in to a vector(reshape), how to find pixels satisfied some conditions(find), how to transform indices into subscripts(ind2sub), and so on so forth.

I have attached the codes written in MATLAB as below. Requirements in this assignment are quote as comments.

Results can be find here:


Leave a Reply