Agisoft Metashape

Agisoft Metashape => Python and Java API => Topic started by: soydum on October 03, 2018, 09:01:28 AM

Title: How can I get Rolling Shutter parameters in python?
Post by: soydum on October 03, 2018, 09:01:28 AM
Hi there,

I need to solve rolling shutter effect in photoscan and export clean images to the 3rd party software. I am sure this is possible with PhotoScan,Shutter class in python. But I am not a python expert, anyone can help me on this? I need to have rotation and translation attributes for each image in a text file outside of the photoscan console.

Thanks
Title: Re: How can I get Rolling Shutter parameters in python?
Post by: soydum on October 14, 2018, 09:09:47 PM
I found the code and now I can get rolling shutter rotation and transformation in a txt file. Now the problem is how to use these parameteres to correct the original photo? What is the algorithm used here? anyone?
Title: Re: How can I get Rolling Shutter parameters in python?
Post by: Alexey Pasumansky on October 25, 2018, 08:49:20 PM
Hello soydum,

Do you need assistance in exporting the undistorted images via Python script after calibration parameters with the rolling-shutter correction are estimated?

Have you checked if the GUI option (File Menu -> Export -> Undistort Photos) provides the desired output?
Title: Re: How can I get Rolling Shutter parameters in python?
Post by: Diego on October 26, 2020, 03:46:28 PM

Do you need assistance in exporting the undistorted images via Python script after calibration parameters with the rolling-shutter correction are estimated?

Have you checked if the GUI option (File Menu -> Export -> Undistort Photos) provides the desired output?

Hello Alexey, i need assistance in exporting the undistorted images via Python script after calibration parameters with the rolling-shutter correction are estimated,

GUI option (File Menu -> Export -> Undistort Photos) =  does not correct Rolling shutter effect

Thanks for your support