Skip to content

Commit

Permalink
fixed kernel and bumped version
Browse files Browse the repository at this point in the history
  • Loading branch information
lennet committed Nov 14, 2017
1 parent 3bb4c8a commit 343583b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<plist version="1.0">
<dict>
<key>Version</key>
<string>1.0</string>
<string>1.0.1</string>
<key>Name</key>
<string>Introduction</string>
<key>Pages</key>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,9 +48,9 @@ A *filter* or also called *kernel* is a matrix that describes a transformation p
2. If all values sum to one, the brightness doesn't change
3. If the sum of all values are greater than one, the image gets brighter and darker if the sum is less than one
*/
typealias aKernel = [Float]
typealias Kernel = [Float]

let filter: aKernel = [/*#-editable-code*/1/9/*#-end-editable-code*/,/*#-editable-code*/1/9/*#-end-editable-code*/,/*#-editable-code*/1/9/*#-end-editable-code*/,
let filter: Kernel = [/*#-editable-code*/1/9/*#-end-editable-code*/,/*#-editable-code*/1/9/*#-end-editable-code*/,/*#-editable-code*/1/9/*#-end-editable-code*/,
/*#-editable-code*/1/9/*#-end-editable-code*/,/*#-editable-code*/1/9/*#-end-editable-code*/,/*#-editable-code*/1/9/*#-end-editable-code*/,
/*#-editable-code*/1/9/*#-end-editable-code*/,/*#-editable-code*/1/9/*#-end-editable-code*/,/*#-editable-code*/1/9/*#-end-editable-code*/]

Expand Down

0 comments on commit 343583b

Please sign in to comment.