无标题文章

Edited by Jingchao Cao

GuId:

***

This is [an example](http://example.com/ "Title") inline link.

##Problem Set 1: Images as Functions

### Questions

#### 1. Input images

* ps1-2-a-1.png:

![ps1-1-a-1.png](file:///Users/cao/Graduate/Gatech/CV/Problems/ps1/input/ps1-1-a-1.png)

* ps1-1-a-2.png:

![ps1-2-a-2.png](file:///Users/

cao/Graduate/Gatech/CV/Problems/ps1/input/ps1-1-a-2.png)

#### 2. Color planes

* ps1-2-a-1.png:

![ps1-2-a-1.png](file:///Users/cao/Graduate/Gatech/CV/Problems/ps1/output/ps1-2-a-1.png)

* ps1-2-b-1.png:

![ps1-2-b-1.png](file:///Users/cao/Graduate/Gatech/CV/Problems/ps1/output/ps1-2-b-1.png)

* ps1-2-c-1.png:

![ps1-2-c-1.png](file:///Users/cao/Graduate/Gatech/CV/Problems/ps1/output/ps1-2-c-1.png)

* I think ps1-2-b-1.png (img1_green) looks more like a monochrome image.

#### 3. Replacement of pixels

* ps1-3-a-1.png:

![ps1-3-a-1.png](file:///Users/cao/Graduate/Gatech/CV/Problems/ps1/output/ps1-3-a-1.png)

#### 4. Arithmetic and Geometric operations

* 0 is the min of the pixel values of img1_green, and 255 is the          max. 132 is the mean. 69.52 is the standard deviation. First I use the function `flatten()` to change 2D array of img1_green into 1D array. Then I use functions `min()` and `max()`to calculate the min and max pixel values of img1_green. I compute mean pixel values by dividing the sum of every piexl value in flattened img1_green with the length of the array.

Print results:

__0 255 132 69.5151641486__

Code snippets:

img1_green_array = img1_green.flatten()

min_pixel = min(img1_green_array)

max_pixel = max(img1_green_array)

mean_pixel = sum(img1_green_array) / len(img1_green_array)

std = np.std(img1_green_array)

print min_pixel, max_pixel, mean_pixel, std

* ps1-4-b-1.png:

![ps1-4-b-1.png](file:///Users/cao/Graduate/Gatech/CV/Problems/ps1/output/ps1-4-b-1.png)

* ps1-4-c-1.png:

![ps1-4-c-1.png](file:///Users/cao/Graduate/Gatech/CV/Problems/ps1/output/ps1-4-c-1.png)

* ps1-4-d-1.png:

![ps1-4-d-1.png](file:///Users/cao/Graduate/Gatech/CV/Problems/ps1/output/ps1-4-d-1.png)

#### 5. Noise

* ps1-5-a-1.png:

![ps1-5-a-1.png](file:///Users/cao/Graduate/Gatech/CV/Problems/ps1/output/ps1-5-a-1.png)

The sigma is 30.

* ps1-5-b-1.png:

![ps1-5-b-1.png](file:///Users/cao/Graduate/Gatech/CV/Problems/ps1/output/ps1-5-b-1.png)

* The second one (ps1-5-b-1.png) looks better.

>

####这是一个普通的段落。

这是另一个普通段落。

AT

最后编辑于
©著作权归作者所有,转载或内容合作请联系作者
【社区内容提示】社区部分内容疑似由AI辅助生成,浏览时请结合常识与多方信息审慎甄别。
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

推荐阅读更多精彩内容

  • title: Optical Character Recognition (OCR)author: Marina ...
    4a87cc38dcbc阅读 2,880评论 0 0
  • # 一度蜜v3.0协议 --- # 交互协议 [TOC] ## 协议说明 ### 请求参数 下表列出了v3.0版协...
    c5e350bc5b40阅读 3,933评论 0 0
  • p.p1 {margin: 0.0px 0.0px 0.0px 0.0px; font: 11.0px Menlo...
    admxjx阅读 4,855评论 0 0
  • iOS APP上架流程详解 字数2714 阅读100 评论0 喜欢1 前言:作为一名 iOS 开发工程师, APP...
    EverythingIsOk阅读 2,118评论 0 0
  • 随手拿起带回来的书,刚好是啊Sam的新书《不过一场生活》。他总是用旅行中遇见的人和事,告诉我们一些微妙又莫名的情绪...
    肖宁宁_阅读 1,621评论 0 0

友情链接更多精彩内容