use ImageJ for finding edges