public UndoHelper(ImageParameters img)
 {
     this.img = img;
 }
 //Reset the instance, preserve critical data
 public static void ResetInstance()
 {
     m_Instance = new ImageParameters();
 }
 //Reset the instance, preserve critical data
 public static void ResetInstance()
 {
     m_Instance = new ImageParameters();
 }