CSCI580_Fall_2014: First successful version with Sobel edge detector