easyidp.reconstruct.Photo#

class easyidp.reconstruct.Photo(sensor=None)#

The base class to store image information used in 3D reconstruction project

__init__(sensor=None)#

Methods

__init__([sensor])

Attributes

id

The id of current image in reconstruction project, <class 'int'>

path

The image path in local computer, <class 'str'>

label

the image name, <class 'str'>

sensor_id

the id of the camera model (sonsor), <class 'int'>

sensor

the object of the camera model (sensor), easyidp.Sensor

enabled

whether this image is used in the 3D reconstruction, <class 'bool'>

cam_matrix

the 3x3 camera matrix, the K in K[R t], <class 'numpy.ndarray'>

location

the 3x1 vector of camera location, the t in K[R t], <class 'numpy.ndarray'>

rotation

the 3x3 rotation matrix, the R in K[R t], <class 'numpy.ndarray'>

transform

the transform matrix, different between pix4d and metashape project, please check below for more details <class 'numpy.ndarray'>

translation

the 3x1 translation vector, often provided by metashape.

position

The 3x1 vector of geo coodinate of image in real world, <class 'numpy.ndarray'>

cam_matrix#

the 3x3 camera matrix, the K in K[R t], <class 'numpy.ndarray'>

enabled#

whether this image is used in the 3D reconstruction, <class 'bool'>

id#

The id of current image in reconstruction project, <class 'int'>

label#

the image name, <class 'str'>

location#

the 3x1 vector of camera location, the t in K[R t], <class 'numpy.ndarray'>

path#

The image path in local computer, <class 'str'>

position#

The 3x1 vector of geo coodinate of image in real world, <class 'numpy.ndarray'>

rotation#

the 3x3 rotation matrix, the R in K[R t], <class 'numpy.ndarray'>

sensor#

the object of the camera model (sensor), easyidp.Sensor

sensor_id#

the id of the camera model (sonsor), <class 'int'>

transform#

the transform matrix, different between pix4d and metashape project, please check below for more details <class 'numpy.ndarray'>

  • In metashape: it is the 4x4 matrix describing photo location in the chunk coordinate system -> K[R t]

  • in pix4d: it is the 3x4 pmatrix. Please check Pix4D PMatrix documentation <https://support.pix4d.com/hc/en-us/articles/202977149-What-does-the-Output-Params-Folder-contain#label12> for more details

translation#

the 3x1 translation vector, often provided by metashape.