Fix variable name `im` -> `image`.