Looking this a bit more closely, maybe the renaming could be `ranked_image` -> `ranked_values` and `input` -> `ranked_image`?