added some examples

This commit is contained in:
Tim Kächele 2015-08-15 01:11:03 +02:00
parent aaaaab68fb
commit bafb17b586
7 changed files with 13 additions and 1 deletions

1
.gitignore vendored
View File

@ -9,4 +9,3 @@
/tmp/
/vendor
.DS_Store
/test/output/*.png

View File

@ -49,6 +49,19 @@ naive.detect_edges # => ChunkyPNG::Image
sobel.detect_edges # => ChunkyPNG::Image
```
## Examples
![Airplane](test/pictures/airplane.png)
Input file
![Airplane with naive edge detection](test/output/airplane_standard.png)
Naive Edge Detection
![Airplane with sobel edge detection](test/output/airplane_sobel.png)
Sobel Edge Detection
## Contributing
Bug reports and pull requests are welcome on GitHub at https://github.com/timkaechele/edgedetect. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](contributor-covenant.org) code of conduct.

View File

Binary file not shown.

After

Width:  |  Height:  |  Size: 187 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 135 KiB

BIN
test/output/robot_sobel.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 18 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 20 KiB