a bug fixed, and the method can work now. However, it seems that the texture features are the dominating features and the moving edges do not contribute much.