ori-mrg / robotcar-dataset-sdk

Software Development Kit for the Oxford Robotcar Dataset
Other
262 stars 94 forks source link

How to remove the noisy across-and-down stripe #11

Closed nkwangyh closed 6 years ago

nkwangyh commented 6 years ago

I know that "LoadImage" can do this for both perspective and fisheye images. But after that the fisheye image is rectified. Since what I want is the raw fisheye image, how to get a raw fisheye image with the noisy stripes removed?

nkwangyh commented 6 years ago

I just find a 2-by-2 gaussian kernel with sigma as 0.5 works well. Or a simple 2-by-2 average filter is also ok.

podgib commented 6 years ago

It sounds like the stripes you're describing are the bayer pattern in the images. The images are all encoded as a single channel with a Bayer mosaic. If you look in the coad for LoadImage, you'll see a demosaic step before the rectification - if you apply this same demosaic step, but without the rectification, you will get a colour fisheye image.

nkwangyh commented 6 years ago

Thank you for your remind :+1: I didn't notice that. Thank you very much.