Forum

Author Topic: the marker's est  (Read 1726 times)

DCWang

  • Newbie
  • *
  • Posts: 4
    • View Profile
the marker's est
« on: July 03, 2017, 05:59:23 AM »
I use PhotoScan 1.3.1. I want get est in python. How do I get x_est and y_est  and z_est ?

awilson

  • Newbie
  • *
  • Posts: 18
    • View Profile
Re: the marker's est
« Reply #1 on: July 03, 2017, 08:25:47 PM »
I think this should work for you. I'm not sure the difference in calculation between X and X_est, but this gives me the values that match X_est in my scene:

Code: [Select]
for marker in chunk.markers:
  p = marker.position
  p.size = 4
  p.w = 1
  T = chunk.transform.matrix
  p_t = T * p
  p_t.size = 3
  proj = chunk.crs
  p_est = proj.project(p_t)