diff --git a/.gitignore b/.gitignore index 534c574..b913a79 100644 --- a/.gitignore +++ b/.gitignore @@ -9,4 +9,3 @@ /tmp/ /vendor .DS_Store -/test/output/*.png diff --git a/README.md b/README.md index 57a7655..19a9e6a 100644 --- a/README.md +++ b/README.md @@ -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. diff --git a/test/output/.keep b/test/output/.keep deleted file mode 100644 index e69de29..0000000 diff --git a/test/output/airplane_sobel.png b/test/output/airplane_sobel.png new file mode 100644 index 0000000..0cbd268 Binary files /dev/null and b/test/output/airplane_sobel.png differ diff --git a/test/output/airplane_standard.png b/test/output/airplane_standard.png new file mode 100644 index 0000000..2b4bb9b Binary files /dev/null and b/test/output/airplane_standard.png differ diff --git a/test/output/robot_sobel.png b/test/output/robot_sobel.png new file mode 100644 index 0000000..ed33631 Binary files /dev/null and b/test/output/robot_sobel.png differ diff --git a/test/output/robot_standard.png b/test/output/robot_standard.png new file mode 100644 index 0000000..a8bbc68 Binary files /dev/null and b/test/output/robot_standard.png differ