Skip to content

debbychen1997/ComputerVisionHW1

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ComputerVisionHW1

對image做convolution

1. Image blur
blur kernel:
0.0625 0.125 0.0625
0.125 0.25 0.125
0.0625 0.125 0.0625


2. Image Outline
Outline kernel:
-1 -1 -1
-1 8 -1
-1 -1 -1


3. Image Sharpen
Sharpen kernel:
0 -1 0
-1 5 -1
0 -1 0


Instruction:

  1. 在程式碼中輸入圖檔所在位置
  2. 在程式碼中輸入input text檔案所在位置
  3. 在text檔輸入奇數大小的矩陣,小數或是整數

About

Implement convolution to an image

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages