# Assignment Title

CS 585 HW 1
Yuankai He
Date: 12 Sept 2018

## Problem Definition

Give a concise description of current problem. What needs to be solved? Why is the result useful? Do you make any assumptions? What are the anticipated difficulties?

The homework asks us to create 3 images. The first image, convert a colored BGR image into a gray scale image. The second image, flip the image, horizontally or vertically. The third image, it can be manipulated any ways. We couldn't use any builtin functions. The result is very useful in defining what a gray scale image is, and how to convert images.

## Method and Implementation

Give a concise description of the implemented method. For example, you might describe the motivation of your idea, the algorithmic steps of your methods, or the mathematical formulation of your method.

For the gray scale image, I went from top left, moving right across the first row and then move to the second row. I find this approach to be the most straightforward approach. Since I do not need to recognize any objects, I do not to use flood filling or sequential labeling.

Briefly outline the functions you created in your code to carry out the algorithmic steps you described earlier.

I have just one function that cycles through the pixels from top left to bottom right.

## Experiments

Describe your experiments, including the number of tests that you performed, and the relevant parameter values.

I ran the test several times using different images. The image I used compared to the boston image, my image ran faster and used less memory. This is because the image I used has less pixels.

Define your evaluation metrics, e.g., detection rates, accuracy, running time.

The output images came out as expected.

## Results

List your experimental results. Provide examples of input images and output images. If relevant, you may provide images showing any intermediate steps. If your work involves videos, do not submit the videos but only links to them.

### Results

Trial 1: Gray Scale
Trial 2: Flipped
Trial 3: Something Fun

## Discussion

• What are the strengths and weaknesses of your method?
• Do your results show that your method is generally successful or are there limitations? Describe what you expected to find in your experiments, and how that differed or was confirmed by your results.

My results were successful.

• Potential future work. How could your method be improved? What would you try (if you had more time) to overcome the failures/limitations of your work?

I would like to try more ways to manipulate the images.