Apply same camera distortion from one image to another

Comments

3 comments

  • Avatar
    Jonathan_Tanant

    Yes, you can. 

    You basically have to follow the XMP workflow ("reuse alignment" in the doc / multi cameras rigs ...). This is covered in the documentation.

    In a few words : 

    -you align all the cameras of the first frame (or another if suitable) of your video.

    -you export XMP files for each camera.

    -you reuse the XMP files for the other frames.

    Of course, you can do that manually but you better do this with the CLI if you want to automate. I am usually using simple windows batch files (.BAT) to do all the copy / rename work and then the CLI to process with RC.

     

    1
    Comment actions Permalink
  • Avatar
    Jonathan_Tanant

    Sorry maybe I misunderstood a bit your question : if you want to export the undistorded images, you can also follow the same workflow and export the undistorded pitctures in RC (I forgot how but you are able to do that). So this is just a matter of duplicating the right XMP for all your pictures. 

    0
    Comment actions Permalink
  • Avatar
    gdrett1

    Thank your for your reply Jonathan,

    Using your suggestions, I was able to make things work. I only had to modify in the XMP the xcr:PosePrior and xcr:CalibrationPrior from "intial" to "locked". Also for some reason I could only export the calibration with 3 frames or more but that should not be a problem for the actual videos.

    However, since I do no have access to the CLI, it requires some manual steps. So if someone has a solution to get the job done outside of RC (ideally OpenCV), I am still very interested.

    0
    Comment actions Permalink

Please sign in to leave a comment.