gtsfm
gtsfm copied to clipboard
Refactor the dataloaders with more functionality in base class
Currently we have multiple data loaders that contain duplicated code for methods like get_image_full_res or get_image or get_camera_intrinsics. Common functionality could be provided as base class methods. This might need some thinking to decide what the base class constructor should accept, the arguments should be relevant to all loaders.