cvnlab / nsdcode

Code related to analyzing the Natural Scenes Dataset
BSD 2-Clause "Simplified" License
32 stars 8 forks source link

surface to volume possible bug for non-surfacewta? #20

Open kendrickkay opened 2 years ago

kendrickkay commented 2 years ago

1

Here there may be a Python port bug.

Specifically, examples_nsdmapdata.py has an example of how to use the crazy "mapsurfacetovolume" functionality. See attached screenshot.

For the case of interptype='surfacewta', i think the example works.

However, when interptype is changed to [] (or whatever the "default" is), i think the example fails in the sense that the output is weirdly rotated/permuted. We saw this on our end.

@iancharest - can you try the example snippet and see whether the results are consistent across surfacewta and not?