sift.DetectandCompute used img as value instead of using gray.