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 "image.at
(i,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|
Discuss your method and results:
- What are the strengths and weaknesses of your method?
UC:strengths are correct and accurately manipulate each pixel.weaknesses are slow.
- 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
UC:successful!I want to manipulate each pixel and I confirmed it.
- 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?
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.