format输出文件格式
This commit is contained in:
parent
0e8fb34e7a
commit
3e2f9b7f85
@ -269,6 +269,10 @@ class ImagePreprocessor:
|
||||
)
|
||||
shutil.copytree(os.path.join(src_dir, "odm_texturing"),
|
||||
os.path.join(self.config.output_dir, "texturing"))
|
||||
os.rename(os.path.join(self.config.output_dir, "texturing", "odm_textured_model_geo.obj"),
|
||||
os.path.join(self.config.output_dir, "texturing", "textured_model.obj"))
|
||||
os.rename(os.path.join(self.config.output_dir, "texturing", "odm_textured_model_geo.mtl"),
|
||||
os.path.join(self.config.output_dir, "texturing", "textured_model.mtl"))
|
||||
elif self.config.mode == "重建模式":
|
||||
shutil.copy2(os.path.join(src_dir, "odm_orthophoto", "odm_orthophoto.tif"),
|
||||
os.path.join(self.config.output_dir,
|
||||
@ -276,10 +280,14 @@ class ImagePreprocessor:
|
||||
)
|
||||
shutil.copy2(os.path.join(src_dir, "odm_georeferencing", "odm_georeferenced_model.laz"),
|
||||
os.path.join(self.config.output_dir,
|
||||
"odm_georeferenced_model.laz")
|
||||
"pointcloud.laz")
|
||||
)
|
||||
shutil.copytree(os.path.join(src_dir, "odm_texturing"),
|
||||
os.path.join(self.config.output_dir, "texturing"))
|
||||
os.rename(os.path.join(self.config.output_dir, "texturing", "odm_textured_model_geo.obj"),
|
||||
os.path.join(self.config.output_dir, "texturing", "textured_model.obj"))
|
||||
os.rename(os.path.join(self.config.output_dir, "texturing", "odm_textured_model_geo.mtl"),
|
||||
os.path.join(self.config.output_dir, "texturing", "textured_model.mtl"))
|
||||
if self.config.produce_dem:
|
||||
shutil.copy2(
|
||||
os.path.join(src_dir, "odm_dem", "dsm.tif"),
|
||||
|
Loading…
Reference in New Issue
Block a user