Backward Projection with Metashape Data on ver2.0 #33
-
Hi, I've been trying out ver2.0 and it is much easier to use with Pix4D projects. Great job! import easyidp as idp
project_path = "/data/2017_tanashi_lotus/170531.Lotus.psx"
dsm_path = "/data/2017_tanashi_lotus/170531.Lotus.outputs/170531.Lotus_dsm.tif"
ms = idp.Metashape(project_path, chunk_id=0)
roi = idp.ROI("/data/2017_tanashi_lotus/plots.shp")
roi.get_z_from_dsm(dsm_path)
out = ms.back2raw(roi) The resulting |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 3 replies
-
yes, you are right, currently the metashape have not been fully implemented. You need to specify ms.crs to dom's crs to get correct results. It will be fixed soon. |
Beta Was this translation helpful? Give feedback.
-
@Ken-Kuroki Should support now in # optional
ms.crs = pyproj.CRS.from_epsg(32654)
# it will read crs.roi directly
ms.back2raw(roi) It should produce the correct results. |
Beta Was this translation helpful? Give feedback.
@Ken-Kuroki Should support now in
v2.0.0.dev3
It should produce the correct results.