You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I forced AliceVision to not throw an error, and return EINTRINSIC::PINHOLE_CAMERA for non-matches:
diff --git a/src/aliceVision/camera/Pinhole.cpp b/src/aliceVision/camera/Pinhole.cpp
index ed1498ab3..9d45329d3 100644
--- a/src/aliceVision/camera/Pinhole.cpp+++ b/src/aliceVision/camera/Pinhole.cpp@@ -333,7 +333,7 @@ EINTRINSIC Pinhole::getType() const
case EDISTORTION::DISTORTION_3DEANAMORPHIC4:
return EINTRINSIC::PINHOLE_CAMERA_3DEANAMORPHIC4;
default:
- throw std::out_of_range("Invalid distortion model for pinhole camera.");+ return EINTRINSIC::PINHOLE_CAMERA;
}
}
@@ -344,7 +344,7 @@ EINTRINSIC Pinhole::getType() const
case EDISTORTION::DISTORTION_3DEANAMORPHIC4:
return EINTRINSIC::PINHOLE_CAMERA_3DEANAMORPHIC4;
default:
- throw std::out_of_range("Invalid undistortion model for pinhole camera.");+ return EINTRINSIC::PINHOLE_CAMERA;
}
}
I would not expect this to resolve the issue.
This yields a new error, which to my knowledge should not be able to occur with the Monstree dataset I am testing with:
[New Thread 0x7fffe6200000 (LWP 2025839)]
...
[New Thread 0x7fffc6a00000 (LWP 2025856)]
[16:28:45.825439][warning] Some image(s) have no serial number to identify the camera/lens device.
This makes it impossible to correctly group the images by device if you have used multiple identical (same model) camera devices.
The reconstruction will assume that only one device has been used, so if 2 images share the same focal length approximation they will share the same internal camera parameters.
3 image(s) are concerned.
[16:28:45.825463][error] At least one image should have an initialized intrinsic.
Check your input images metadata (brand, model, focal length, ...), more should be set and correct.
[Thread 0x7fffe6200000 (LWP 2025839) exited]
...
[Thread 0x7fffc6a00000 (LWP 2025856) exited]
[Inferior 1 (process 2025836) exited with code 01]
It would be helpful to see the exact build instructions, revision and potential patches used for the binary distribution.
I have reproduced this issue with the latest development versions of AliceVision, QtAliceVision and Meshroom. The images I am testing with come from the Monstree dataset. I am unable to successfully create a working copy of AliceVision from source due to this issue, as are other users in alicevision/Meshroom#2260.
The text was updated successfully, but these errors were encountered:
I forced AliceVision to not throw an error, and return
EINTRINSIC::PINHOLE_CAMERA
for non-matches:I would not expect this to resolve the issue.
This yields a new error, which to my knowledge should not be able to occur with the Monstree dataset I am testing with:
It would be helpful to see the exact build instructions, revision and potential patches used for the binary distribution.
Originally posted by @Poly2it in alicevision/Meshroom#2260 (comment)
I have reproduced this issue with the latest development versions of AliceVision, QtAliceVision and Meshroom. The images I am testing with come from the Monstree dataset. I am unable to successfully create a working copy of AliceVision from source due to this issue, as are other users in alicevision/Meshroom#2260.
The text was updated successfully, but these errors were encountered: