---
# System prepended metadata

title: Assignment 2 Report
tags: [Image Processing]

---

###### tags: `Image Processing`
# Assignment 2 Report
`0811510 許承壹`
# 1.Method
* Histogram Equalization:
    * First I get the histogram of image Q1, and then calculate the CDF of the histogram, and  map the original value to the CDF value of each pixel.
    
* Histogram Specification:
    * Firstly, I get the histogram of referenced image Q2, and then calculate the CDF of the histogram, and map the original value of the input image Q1 to CDF of the referenced image.


* Gaussian Filter:
    * I implement the kernel following gaussian distribution, and then do convolution through the whole picture with kernel size 5x5, and set $\sigma$ =25.


# 2.Result
* Histogram Equalization:
    * Original:![](https://i.imgur.com/yEvsy99.png)
    * Result:![](https://i.imgur.com/tUOhQng.png)

* Histogram Specification:
    * Original:![](https://i.imgur.com/GC42SLj.png)
    * Result:![](https://i.imgur.com/HbKUhq4.png)

* Gaussian Filter:
    * Original:![](https://i.imgur.com/9SLJODo.jpg)
    * Result:![](https://i.imgur.com/9TgExJS.png)

# 3.Feedback
* I think All the rules should be described in the pdf file(We can't call written function.) And, if there is any new update, it should be annouced. Besides, this homework still makes me learn a lot.