openlifu.photoscan¶
Functions
Converts a mesh (polydata, unstructured grid or even just a point cloud) between the LPS (left-posterior-superior) coordinate system and RAS (right-anterior-superior) coordinate system. |
|
|
Converts a numpy array with dimensions [HxWx3] representing an RGB image into vtkImageData |
|
This function returns the data directly from the model and texture filepaths without requiring a photoscan object. param model_abspath: absolute filepath to model data texture abspath: absolute filepath to texture data Returns: Photoscan data as (model_vtkpolydata, texture_vtkimagedata). |
|
param parent_dir: parent directory containing model and texture data filepaths Returns: Photoscan data as (model_vtkpolydata, texture_vtkimagedata) |
|
This function assumes that the model is saved to file in LPS coordinates. |
|
|
|
|
|
|
|
|
|
Run Meshroom with the given images and pipeline. |
|
Classes
|