move enum to PerceptualDiffWrapper class, move static function ReadFromArray to ArgsManager class, delete unused RGBAImageExt