licornea_tools

calibration
   calibrate_intrinsics
   cameras_from_checkerboards
   cg_choose_refgrid
   cg_compare_straight_depths
   cg_cors_viewer_f
   cg_cors_viewer_v
   cg_filter_features
   cg_generate_artificial
   cg_measure_optical_flow_slopes
   cg_model_optical_flow_slopes
   cg_optical_flow_cors
   cg_optical_flow_features
   cg_rcpos_from_cors
   cg_redistribute_cors
   cg_rotation_from_depths
   cg_rotation_from_fslopes
   cg_slopes_viewer
   cg_stitch_cameras
   cg_straight_depths_from_depths
   cg_straight_depths_from_disparity
   cg_visualize_fslopes
   copy_cors
   cors_info
   cors_view_fpoints
   evaluate_calibration
   export_feature_depths
   merge_cors
   read_feature_depths
   remove_cors
   undistort_cors
   undistort_fpoints
   undistort_image
camera
   export_mpeg
   import_matlab
   import_mpeg
   import_xml
   merge_cameras
   restrict_cameras
   transform
   visualize
dataset
   duplicates
   flip
   missing
   slice
   view_dataset
kinect
   calibrate_color_ir_reprojection
   checkerboard_color_depth
   checkerboard_depth_parallel
   checkerboard_depth_samples
   checkerboard_depth_stat
   checkerboard_depth_viewer
   checkerboard_samples
   close_kinect
   color_intrinsic_reprojection
   depth_remapping
   depth_reprojection
   fetch_internal_parameters
   import_raw_data
   internal_ir_intrinsics
   ir_distortion_viewer
   ir_intrinsic_reprojection
   parallel_wall
   remapping_viewer
   reprojection_viewer
   viewer
misc
   apply_homography
   cam_rotation
   cat_obj_img_cors
   copy_json
   extract_all
   extract_parametric
   homography_maximal_border
   psnr
   touch
   view_depth
   view_distortion
   view_syn
   yuv_export
   yuv_import
vsrs
   export_for_vsrs
   list_increase_baseline_experiments
   list_parametric_experiments
   list_skip_n_experiments
   make_vsrs_config
   psnr_experiments
   run_vsrs
   run_vsrs_experiments
   vsrs_disparity

kinect/depth_reprojection

Reproject raw Kinect depth map to color image.

kinect/depth_reprojection input.png output.png/- output_mask.png/- reprojection_parameters.json method [was_flipped]

Reprojects and upscales raw Kinect depth map, to a depth map of the color image. In the resulting reprojected depth map, values are distances from the color camera’s optical center, orthogonal to the color camera plane. (In the raw depth map, it is the IR camera, and there is distortion.)

input.png must be a 16-bit monochrome PNG image. output.png will have the same format.

output.png and output_mask.png can be set to - if they should not be used.

reprojection_parameters.json are the (reprojection parameters)[../../data/reprojection.html] obtained from kinect/calibrate_color_ir_reprojection.

method is the upsampling/densification algorithm to use. Choices are:

was_flipped is set by default. (Give another argument value to disable it). It indicates that the input depth map taken from the Kinect was already flipped on the vertical axis. Then is must flip it back, reproject it, and again flip the result; reprojection is not symmetric.