|
|
|
@ -118,11 +118,11 @@ def cmd_run(pid,usePhoto = "1",lock=False): |
|
|
|
|
|
|
|
|
|
|
|
#将两组图片进行重新对齐 然后重建区域 |
|
|
|
#将两组图片进行重新对齐 然后重建区域 |
|
|
|
psid = libs.getPSid(pid) |
|
|
|
psid = libs.getPSid(pid) |
|
|
|
textpicCmd ='-selectImage "'+os.path.join(config.workdir,pid,'photo2')+'\*" -enableTexturingAndColoring true' |
|
|
|
# textpicCmd ='-selectImage "'+os.path.join(config.workdir,pid,'photo2')+'\*" -enableTexturingAndColoring true' |
|
|
|
textpicCmdFalse ='-selectImage "'+os.path.join(config.workdir,pid,'photo1')+'\*" -enableTexturingAndColoring false' |
|
|
|
# textpicCmdFalse ='-selectImage "'+os.path.join(config.workdir,pid,'photo1')+'\*" -enableTexturingAndColoring false' |
|
|
|
cmd = f'{config.rcbin} -setInstanceName {pid} \ |
|
|
|
cmd = f'{config.rcbin} -setInstanceName {pid} \ |
|
|
|
-addFolder "{os.path.join(config.workdir, pid, "photo2")}" \ |
|
|
|
-addFolder "{os.path.join(config.workdir, pid, "photo2")}" \ |
|
|
|
-detectMarkers "D:\\make2\\config\\detectMarkers.config.xml" -align -align -align \ |
|
|
|
-detectMarkers "D:\\make2\\config\\detectMarkers.config.xml" {libs.get_defineDistances(psid)} -align -align -align \ |
|
|
|
-exportRegistration "D://{pid}/reg/{pid}_registration.out" "D://make2/config/registration_export_config.xml" -quit' |
|
|
|
-exportRegistration "D://{pid}/reg/{pid}_registration.out" "D://make2/config/registration_export_config.xml" -quit' |
|
|
|
|
|
|
|
|
|
|
|
print(cmd) |
|
|
|
print(cmd) |
|
|
|
|