Matlab functions colorDown, edgeDetect. use edge_..._script to see edges for some image. You have to download the image and edit the first few lines. colorDown takes a long time.