Add fisheye support to data processing (#369)

add fisheye support to data processing
This commit is contained in:
Matthew Tancik authored and GitHub committed 2022-09-07 18:43:44 -07:00
1 parent 7b6ed5496b
commit e319b8210a
3 files changed
+67 -18

No files matched your search

+10
View File
@@ -36,6 +36,16 @@ class CameraType(Enum):
FISHEYE = auto()
CAMERA_MODEL_TO_TYPE = {
"SIMPLE_PINHOLE": CameraType.PERSPECTIVE,
"PINHOLE": CameraType.PERSPECTIVE,
"SIMPLE_RADIAL": CameraType.PERSPECTIVE,
"RADIAL": CameraType.PERSPECTIVE,
"OPENCV": CameraType.PERSPECTIVE,
"OPENCV_FISHEYE": CameraType.FISHEYE,
}
class Cameras:
"""Dataset inputs for the image dataset and the ray generator.