Skip to content

Commit

Permalink
Merge pull request skkallayath#37 from skkallayath/develop
Browse files Browse the repository at this point in the history
typo fixes
  • Loading branch information
skkallayath authored Aug 2, 2020
2 parents ec4fd79 + e79d96a commit 7073b0c
Show file tree
Hide file tree
Showing 5 changed files with 17 additions and 17 deletions.
14 changes: 7 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -96,8 +96,8 @@ class _MyAppState extends State<MyApp> {

## Sample Images of Filters

| | | |
|:-------------------------:|:-------------------------:|:-------------------------:|
| | | | |
|:-------------------------:|:-------------------------:|:-------------------------:|:-------------------------:|
| <img width="1604" alt="No Filter" src="https://raw.githubusercontent.com/skkallayath/photofilters/master/exampleimages/No Filter.jpg"> No Filter | <img width="1604" alt="AddictiveBlue" src="https://raw.githubusercontent.com/skkallayath/photofilters/master/exampleimages/AddictiveBlue.jpg"> AddictiveBlue | <img width="1604" alt="AddictiveRed" src="https://raw.githubusercontent.com/skkallayath/photofilters/master/exampleimages/AddictiveRed.jpg"> AddictiveRed | <img width="1604" alt="Aden" src="https://raw.githubusercontent.com/skkallayath/photofilters/master/exampleimages/Aden.jpg"> Aden |
| <img width="1604" alt="Amaro" src="https://raw.githubusercontent.com/skkallayath/photofilters/master/exampleimages/Amaro.jpg"> Amaro | <img width="1604" alt="Ashby" src="https://raw.githubusercontent.com/skkallayath/photofilters/master/exampleimages/Ashby.jpg"> Ashby | <img width="1604" alt="Brannan" src="https://raw.githubusercontent.com/skkallayath/photofilters/master/exampleimages/Brannan.jpg"> Brannan | <img width="1604" alt="Brooklyn" src="https://raw.githubusercontent.com/skkallayath/photofilters/master/exampleimages/Brooklyn.jpg"> Brooklyn |
| <img width="1604" alt="Charmes" src="https://raw.githubusercontent.com/skkallayath/photofilters/master/exampleimages/Charmes.jpg"> Charmes | <img width="1604" alt="Clarendon" src="https://raw.githubusercontent.com/skkallayath/photofilters/master/exampleimages/Clarendon.jpg"> Clarendon | <img width="1604" alt="Crema" src="https://raw.githubusercontent.com/skkallayath/photofilters/master/exampleimages/Crema.jpg"> Crema | <img width="1604" alt="Dogpatch" src="https://raw.githubusercontent.com/skkallayath/photofilters/master/exampleimages/Dogpatch.jpg"> Dogpatch |
Expand All @@ -113,11 +113,11 @@ class _MyAppState extends State<MyApp> {

## Sample Images of Convolution Filters

| | | |
|:-------------------------:|:-------------------------:|:-------------------------:|
| <img width="1604" alt="Identity" src="https://raw.githubusercontent.com/skkallayath/photofilters/master/exampleimages/convolution/Identity.jpg"> Identity | <img width="1604" alt="Emboss" src="https://raw.githubusercontent.com/skkallayath/photofilters/master/exampleimages/convolution/Emboss.jpg"> Emboss | <img width="1604" alt="Sharpen" src="https://raw.githubusercontent.com/skkallayath/photofilters/master/exampleimages/convolution/Sharpen.jpg"> Sharpen | <img width="1604" alt="Colored Edge Detection" src="https://raw.githubusercontent.com/skkallayath/photofilters/master/exampleimages/convolution/Colored Edge Detection.jpg"> Colored Edge Detection |
| <img width="1604" alt="Blur" src="https://raw.githubusercontent.com/skkallayath/photofilters/master/exampleimages/convolution/Blur.jpg"> Blur | <img width="1604" alt="Edge Detection Medium" src="https://raw.githubusercontent.com/skkallayath/photofilters/master/exampleimages/convolution/Edge Detection Medium.jpg"> Edge Detection Medium | <img width="1604" alt="Edge Detection Hard" src="https://raw.githubusercontent.com/skkallayath/photofilters/master/exampleimages/convolution/Edge Detection Hard.jpg"> Edge Detection Hard | <img width="1604" alt="Guasian Blur" src="https://raw.githubusercontent.com/skkallayath/photofilters/master/exampleimages/convolution/Guassian 7x7.jpg"> Guassian Blur |
| <img width="1604" alt="Low Pass" src="https://raw.githubusercontent.com/skkallayath/photofilters/master/exampleimages/convolution/Low Pass 5x5.jpg"> Low Pass | <img width="1604" alt="High Pass" src="https://raw.githubusercontent.com/skkallayath/photofilters/master/exampleimages/convolution/High Pass 3x3.jpg"> High Pass | <img width="1604" alt="Mean" src="https://raw.githubusercontent.com/skkallayath/photofilters/master/exampleimages/convolution/Mean.jpg"> Mean | |
| | | | |
|:-------------------------:|:-------------------------:|:-------------------------:|:-------------------------:|
| <img width="1604" alt="Identity" src="https://raw.githubusercontent.com/skkallayath/photofilters/master/exampleimages/convolution/Identity.jpg"> Identity | <img width="1604" alt="Emboss" src="https://raw.githubusercontent.com/skkallayath/photofilters/master/exampleimages/convolution/Emboss.jpg"> Emboss | <img width="1604" alt="Sharpen" src="https://raw.githubusercontent.com/skkallayath/photofilters/master/exampleimages/convolution/Sharpen.jpg"> Sharpen | <img width="1604" alt="Colored Edge Detection" src="https://raw.githubusercontent.com/skkallayath/photofilters/master/exampleimages/convolution/Colored%20Edge%20Detection.jpg"> Colored Edge Detection
| <img width="1604" alt="Blur" src="https://raw.githubusercontent.com/skkallayath/photofilters/master/exampleimages/convolution/Blur.jpg"> Blur | <img width="1604" alt="Edge Detection Medium" src="https://raw.githubusercontent.com/skkallayath/photofilters/master/exampleimages/convolution/Edge%20Detection%20Medium.jpg"> Edge Detection Medium | <img width="1604" alt="Edge Detection Hard" src="https://raw.githubusercontent.com/skkallayath/photofilters/master/exampleimages/convolution/Edge%20Detection%20Hard.jpg"> Edge Detection Hard | <img width="1604" alt="Guassian Blur" src="https://raw.githubusercontent.com/skkallayath/photofilters/master/exampleimages/convolution/Guassian%205x5.jpg"> Guassian Blur |
| <img width="1604" alt="Low Pass" src="https://raw.githubusercontent.com/skkallayath/photofilters/master/exampleimages/convolution/Low%20Pass%205x5.jpg"> Low Pass | <img width="1604" alt="High Pass" src="https://raw.githubusercontent.com/skkallayath/photofilters/master/exampleimages/convolution/High%20Pass%203x3.jpg"> High Pass | <img width="1604" alt="Mean" src="https://raw.githubusercontent.com/skkallayath/photofilters/master/exampleimages/convolution/Mean%205x5.jpg"> Mean | |


### Custom filters
Expand Down
File renamed without changes
12 changes: 6 additions & 6 deletions lib/filters/convolution_filters.dart
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,12 @@ var presetConvolutionFiltersList = [
..subFilters.add(ConvolutionSubFilter.fromKernel(edgeDetectionHardKernel)),
new ImageFilter(name: "Blur")
..subFilters.add(ConvolutionSubFilter.fromKernel(blurKernel)),
new ImageFilter(name: "Gaussian 3x3")
..subFilters.add(ConvolutionSubFilter.fromKernel(gaussian3x3Kernel)),
new ImageFilter(name: "Gaussian 5x5")
..subFilters.add(ConvolutionSubFilter.fromKernel(gaussian5x5Kernel)),
new ImageFilter(name: "Gaussian 7x7")
..subFilters.add(ConvolutionSubFilter.fromKernel(gaussian7x7Kernel)),
new ImageFilter(name: "Guassian 3x3")
..subFilters.add(ConvolutionSubFilter.fromKernel(Guassian3x3Kernel)),
new ImageFilter(name: "Guassian 5x5")
..subFilters.add(ConvolutionSubFilter.fromKernel(Guassian5x5Kernel)),
new ImageFilter(name: "Guassian 7x7")
..subFilters.add(ConvolutionSubFilter.fromKernel(Guassian7x7Kernel)),
new ImageFilter(name: "Mean 3x3")
..subFilters.add(ConvolutionSubFilter.fromKernel(mean3x3Kernel)),
new ImageFilter(name: "Mean 5x5")
Expand Down
6 changes: 3 additions & 3 deletions lib/utils/convolution_kernels.dart
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ ConvolutionKernel blurKernel = new ConvolutionKernel([
0
]);

ConvolutionKernel gaussian3x3Kernel = new ConvolutionKernel([
ConvolutionKernel Guassian3x3Kernel = new ConvolutionKernel([
1,
2,
1,
Expand All @@ -58,7 +58,7 @@ ConvolutionKernel gaussian3x3Kernel = new ConvolutionKernel([
1,
]);

ConvolutionKernel gaussian5x5Kernel = new ConvolutionKernel([
ConvolutionKernel Guassian5x5Kernel = new ConvolutionKernel([
2,
04,
05,
Expand Down Expand Up @@ -86,7 +86,7 @@ ConvolutionKernel gaussian5x5Kernel = new ConvolutionKernel([
2
]);

ConvolutionKernel gaussian7x7Kernel = new ConvolutionKernel([
ConvolutionKernel Guassian7x7Kernel = new ConvolutionKernel([
1,
1,
2,
Expand Down
2 changes: 1 addition & 1 deletion test/custom_convolution_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ void main() {
coloredEdgeDetectionKernel,
));
customFilter.subFilters.add(ConvolutionSubFilter.fromKernel(
gaussian7x7Kernel,
Guassian7x7Kernel,
));
customFilter.subFilters.add(ConvolutionSubFilter.fromKernel(
sharpenKernel,
Expand Down

0 comments on commit 7073b0c

Please sign in to comment.