minosworld / minos

MINOS: Multimodal Indoor Simulator
MIT License
201 stars 33 forks source link

Redwood depth noise #85

Open efyphil opened 6 years ago

efyphil commented 6 years ago

I want to try some different noise for depth, instead of simple I found "redwood", downloaded dist-model.txt from http://redwood-data.org/indoor/dataset.html and added path to sensors.yml, but I have some problem with simredwood.py : File "/home/philip/minos/minos/minos/lib/simdepth/simredwood.py", line 43, in distort f = (1 - a) self.distmodel[y, x, min(max(i1, 0), 4)] + a self.distmodel[y, x, min(i2, 4)] IndexError: index 80 is out of bounds for axis 0 with size 80 What can I do?

efyphil commented 6 years ago

screenshot from 2018-09-04 20-11-45 So, I edit this problem, it's about scale, but now, when I try to have non square frames I have this problem

angelxuanchang commented 6 years ago

The redwood distortion noise model was designed specifically to model the noise of a Kinect-like sensor with a fixed resolution (hard-coded in the current implementation). You would have to implement a different noise model that doesn't rely on the hard-coded parameters used by the redwood noise model. If you need more details about the redwood noise model, you can contact the original authors.