uzh-rpg/rpg_vid2e

A bug

EvilPerfectionist opened this issue · 1 comments

The images are loaded in the format of "RGB":

img = img.convert('RGB')

But they are converted to "Gray" from "BGR" before writing to disk:

img = cv2.cvtColor(img, cv2.COLOR_BGR2GRAY)

leon-w commented

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:

image = cv2.imread(image_file, cv2.IMREAD_GRAYSCALE)