Detect Edges in Images

Detect major edges in an image by removing the weak edges after finding an automatic global threshold.