Assignment Title

CS 585 HW 1
Your Name : Xi You
Your teammate names if applicable :Yueying Li
Date : 09/12/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?

we assume ",j)"is a pointer which points to the first channel of the pixel.In another words,it points to the begining address of the pixel.

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.

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

UC:I design grayscale, left-right reverse and MedianBlur function
grayscale function:create a new unichannel picture and average the values of three channels,RGB from each one pixel.
left-right reverse:new_image(row,col) =image(row,image.cols-1-mid) when row and col are increment.
MedianBlur:take each pixel with a 9-size template which is add 8 pixels nearby together and averge


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

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


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.


Trial Source Image Result Image
trial 1
trial 2
trial 3


Discuss your method and results:

UC: we have to pay attention to the data type and the pointers.

Based on your discussion, what are your conclusions? What is your main message?

Credits and Bibliography

Cite any papers or other references you consulted while developing your solution. Citations to papers should include the authors, the year of publication, the title of the work, and the publication information (e.g., book name and publisher; conference proceedings and location; journal name, volume and pages; technical report and institution).

Material on the web should include the url and date of access.

Credit any joint work or discussions with your classmates.

Partner: Yueying Li