Open EvilPerfectionist opened 2 years ago
This is not really a bug as the upsampled frames are only intended to be further processed into events (and only storing them in grayscale can save some disk space).
As you can see here, during the event generation process, the upsampled frames are only loaded as grayscale again: https://github.com/uzh-rpg/rpg_vid2e/blob/ecbb11a9345bb9d31b4b691e7d82965da4401345/esim_torch/scripts/generate_events.py#L36
The images are loaded in the format of "RGB": https://github.com/uzh-rpg/rpg_vid2e/blob/b795a4de1c860e252da37f494274bc755f116a27/upsampling/utils/dataset.py#L57
But they are converted to "Gray" from "BGR" before writing to disk: https://github.com/uzh-rpg/rpg_vid2e/blob/b795a4de1c860e252da37f494274bc755f116a27/upsampling/utils/upsampler.py#L98