Closed ziruiw-dev closed 2 weeks ago
can you also visualize the mask
and overlay that with image
? I think for fisheye, we cannot get a bbox ROI for valid pixels.
@jb-ye Thanks for the fast response!
if I understand correctly, I overlaid this mask
on the undistorted image. Results:
Raw mask dumped:
I think this is not a bug. Closing the issue.
If anyone would like to have undistorted images with all pixels being valid (without dark corners and black regions), use a smaller FOV. For example, multiply 0.8 at the end of this line give me good results for now.
Describe the bug I recently tried to dump undistorted ARIA RGB images before splatfacto training starts, but the undistorted images look weird to me.
To Reproduce My training command:
I am using Aria Digital Catalog dataset, object
Airplane_B09WN2RN15_Black_1_active
.To dump undistorted ARIA RGB image, I added this code block
around
cv2.remap
here: https://github.com/nerfstudio-project/nerfstudio/blob/cef95890f3e11196ddd6285952cb93064f7160ed/nerfstudio/data/datamanagers/full_images_datamanager.py#L538Images before and after undistort First image: before undistort
Second image: after undistort
Expected behavior If I understand correctly, the undistorted image should not have a dark corner, and two black regions (highlighted by red circles)?
Additional context Printed
camera
parameter:Relevant PR: #2617 #2785
@brentyi, I apologise that I @'ed you directly and I appreciate your effort in adding the feature that supports training splats with ARIA data! I am not very familiar with the ARIA undistortion so I am pretty much lost here. I am wondering if I could get some comments?
Best, Zirui