Add test image(1-colorful,2-gray)
Fix a bug(beta parameter cal) and Add comments
Add more input images;
Integrate step1 and step2 procedure into function respectively