nerfstudio-project / nerfstudio

A collaboration friendly studio for NeRFs
https://docs.nerf.studio
Apache License 2.0
9.55k stars 1.3k forks source link

ns-process-data crop does not work as expected #3109

Open Bardo-Konrad opened 6 months ago

Bardo-Konrad commented 6 months ago

Describe the bug Cropping does not work as expected. The goal was here to remove the umbrella, yet it crops unpredictably

To Reproduce Steps to reproduce the behavior:

  1. Extract equirectangular frames
  2. ns-process-data.exe images --crop-bottom 0.2 --camera-type equirectangular --images-per-equirect 8

Expected behavior

  1. Removal of the umbrella
  2. Removal of the vertical 1 pixel wide stripe

Screenshots 000001

frame_00018 frame_00001 frame_00007 frame_00010

Tsingxuan commented 5 months ago

Maybe you can try --crop-factor 0.2 0.0 0.0 0.0 instead of --crop-bottom 0.2 The direction of the pic been cropped bottom seems on the top side somehow

naga-k commented 1 month ago

Hi @Bardo-Konrad , Did you resolve this? I am facing the same issue while trying to use Google Streetview data.

naga-k commented 1 month ago

Maybe you can try --crop-factor 0.2 0.0 0.0 0.0 instead of --crop-bottom 0.2 The direction of the pic been cropped bottom seems on the top side somehow

This has worked for me. Either the instructions or the code has been flipped some how. This should be marked as a bug.