pro3d-space/PRo3D

Camera Pose Interface

Opened this issue · 0 comments

Define camera poses by a JSON file with a hierarchical tree structure (see example below). It contains all camera parameters for multiple views as well as export options. It consists of the following tasks

  • Loaded as Extra by PRo3D interactively, user can select a node of the pose-tree and it is interpreted as a bookmark (also with proper image size and FoV).
  • Optionally project a selected FoV onto the scene – should also work for branches of the tree or the whole set of imported FoVs.
  • Further option: Use a selected FoV (or a branch of the tree, e.g. a full sequence) to modify pan/tilt/focal length in ViewPlanner.
  • Loaded in a batch workflow of PRo3D (incl. scene that may contain also annotations etc.) and the poses within the tree are rendered one after the other.

Example how the JSON file might look like:

{ "product_information": { "product_type": "fov_branch", "product_name": "Mastcam-Z Seq 8180 Sol0168 Z048", { "product_information": { "product_type": "camera_fulcrum", "product_id": null, "product_version": null, "product_state": "transformed", "product_format": null, "creator_id": "11_TransformCal", "xyz": "832000.000, 3892991.394, -2549.332", "view_vect": "0.923, 0.211, 0.054", "view_up": "0.231, 0.433, 0.842", "image_size": "3840, 2160", "f_number": "14332", "creation_datetime": "2022-11-07T15:27:33.918093" }, "input_products": [ { "metadata_file": "C:\\ProvipSymlink\\20221107_152712_38736\\products\\camera_cal\\adjusted\\ZL0_0168_0681868155_149IOF_N0060170ZCAM08180_048085A03.cal.json", "product_information": { "product_type": "camera_cal", "product_id": null, "product_version": null, "product_state": "adjusted", "product_format": null, "creator_id": "10_AdjustCameraCalibration", "creation_datetime": "2022-11-07T15:27:32.414438" } } ] } } "product_information": { "product_type": "camera_fulcrum" } # and so on ... }