Python Getting Different Image Arrays After Doing The Same Operation

Python Getting Different Image Arrays After Doing The Same Operation