add two types of calcurate edge map method, and more sse2 optimization