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
The id of current image in reconstruction project,
<class 'int'>
The image path in local computer,
<class 'str'>
the image name,
<class 'str'>
the id of the camera model (sonsor),
<class 'int'>
the object of the camera model (sensor),
easyidp.Sensor
whether this image is used in the 3D reconstruction,
<class 'bool'>
the 3x3 camera matrix, the
K
inK[R t]
,<class 'numpy.ndarray'>
the 3x1 vector of camera location, the
t
inK[R t]
,<class 'numpy.ndarray'>
the 3x3 rotation matrix, the
R
inK[R t]
,<class 'numpy.ndarray'>
the transform matrix, different between pix4d and metashape project, please check below for more details
<class 'numpy.ndarray'>
the 3x1 translation vector, often provided by metashape.
The 3x1 vector of geo coodinate of image in real world,
<class 'numpy.ndarray'>
- cam_matrix#
the 3x3 camera matrix, the
K
inK[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
inK[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
inK[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.