added some examples
This commit is contained in:
parent
aaaaab68fb
commit
bafb17b586
1
.gitignore
vendored
1
.gitignore
vendored
@ -9,4 +9,3 @@
|
|||||||
/tmp/
|
/tmp/
|
||||||
/vendor
|
/vendor
|
||||||
.DS_Store
|
.DS_Store
|
||||||
/test/output/*.png
|
|
||||||
|
13
README.md
13
README.md
@ -49,6 +49,19 @@ naive.detect_edges # => ChunkyPNG::Image
|
|||||||
sobel.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
|
## 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.
|
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.
|
||||||
|
BIN
test/output/airplane_sobel.png
Normal file
BIN
test/output/airplane_sobel.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 187 KiB |
BIN
test/output/airplane_standard.png
Normal file
BIN
test/output/airplane_standard.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 135 KiB |
BIN
test/output/robot_sobel.png
Normal file
BIN
test/output/robot_sobel.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 18 KiB |
BIN
test/output/robot_standard.png
Normal file
BIN
test/output/robot_standard.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 20 KiB |
Loading…
Reference in New Issue
Block a user