find edges using imageJ