1
Python and Java API / Build and export orthophotos with different resolutions using script
« on: October 18, 2023, 07:32:34 AM »
Hi,guys
I want to build and export orthophotos with different resolutions using script.
And the main flow is as follows:
for photo in chunk
read the the [X Y Z] values (after aligning) of the current photo
calculate the spatial resolution of current photo with Z value and pixle size and focal length of the camera
disable all photos and enable current photo
specify a coordinate system according to the X (latitude) value, for example North Pole Stereographic for photos with latitude >60N, and Equidistant Cylindrical for 60S<latitude<60N
build orthomosaic with the calculated resolution and specified coordinate system, and the surface is mesh
export orthophoto
Thanks.
I want to build and export orthophotos with different resolutions using script.
And the main flow is as follows:
for photo in chunk
read the the [X Y Z] values (after aligning) of the current photo
calculate the spatial resolution of current photo with Z value and pixle size and focal length of the camera
disable all photos and enable current photo
specify a coordinate system according to the X (latitude) value, for example North Pole Stereographic for photos with latitude >60N, and Equidistant Cylindrical for 60S<latitude<60N
build orthomosaic with the calculated resolution and specified coordinate system, and the surface is mesh
export orthophoto
Thanks.