Blender  V3.3
Classes | Typedefs | Enumerations | Functions
intern/reconstruction.h File Reference

Go to the source code of this file.

Classes

struct  libmv_ReconstructionOptions
 

Typedefs

typedef struct libmv_Reconstruction libmv_Reconstruction
 
typedef struct libmv_ReconstructionOptions libmv_ReconstructionOptions
 
typedef void(* reconstruct_progress_update_cb) (void *customdata, double progress, const char *message)
 

Enumerations

enum  {
  LIBMV_REFINE_FOCAL_LENGTH = (1 << 0) , LIBMV_REFINE_PRINCIPAL_POINT = (1 << 1) , LIBMV_REFINE_RADIAL_DISTORTION_K1 = (1 << 2) , LIBMV_REFINE_RADIAL_DISTORTION_K2 = (1 << 3) ,
  LIBMV_REFINE_RADIAL_DISTORTION_K3 = (1 << 4) , LIBMV_REFINE_RADIAL_DISTORTION_K4 = (1 << 5) , LIBMV_REFINE_RADIAL_DISTORTION , LIBMV_REFINE_TANGENTIAL_DISTORTION_P1 = (1 << 6) ,
  LIBMV_REFINE_TANGENTIAL_DISTORTION_P2 = (1 << 7) , LIBMV_REFINE_TANGENTIAL_DISTORTION
}
 

Functions

libmv_Reconstructionlibmv_solveReconstruction (const struct libmv_Tracks *libmv_tracks, const struct libmv_CameraIntrinsicsOptions *libmv_camera_intrinsics_options, libmv_ReconstructionOptions *libmv_reconstruction_options, reconstruct_progress_update_cb progress_update_callback, void *callback_customdata)
 
libmv_Reconstructionlibmv_solveModal (const struct libmv_Tracks *libmv_tracks, const struct libmv_CameraIntrinsicsOptions *libmv_camera_intrinsics_options, const libmv_ReconstructionOptions *libmv_reconstruction_options, reconstruct_progress_update_cb progress_update_callback, void *callback_customdata)
 
int libmv_reconstructionIsValid (libmv_Reconstruction *libmv_reconstruction)
 
void libmv_reconstructionDestroy (libmv_Reconstruction *libmv_reconstruction)
 
int libmv_reprojectionPointForTrack (const libmv_Reconstruction *libmv_reconstruction, int track, double pos[3])
 
double libmv_reprojectionErrorForTrack (const libmv_Reconstruction *libmv_reconstruction, int track)
 
double libmv_reprojectionErrorForImage (const libmv_Reconstruction *libmv_reconstruction, int image)
 
int libmv_reprojectionCameraForImage (const libmv_Reconstruction *libmv_reconstruction, int image, double mat[4][4])
 
double libmv_reprojectionError (const libmv_Reconstruction *libmv_reconstruction)
 
struct libmv_CameraIntrinsicslibmv_reconstructionExtractIntrinsics (libmv_Reconstruction *libmv_Reconstruction)
 

Typedef Documentation

◆ libmv_Reconstruction

Definition at line 1 of file intern/reconstruction.h.

◆ libmv_ReconstructionOptions

◆ reconstruct_progress_update_cb

typedef void(* reconstruct_progress_update_cb) (void *customdata, double progress, const char *message)

Definition at line 41 of file intern/reconstruction.h.

Enumeration Type Documentation

◆ anonymous enum

anonymous enum
Enumerator
LIBMV_REFINE_FOCAL_LENGTH 
LIBMV_REFINE_PRINCIPAL_POINT 
LIBMV_REFINE_RADIAL_DISTORTION_K1 
LIBMV_REFINE_RADIAL_DISTORTION_K2 
LIBMV_REFINE_RADIAL_DISTORTION_K3 
LIBMV_REFINE_RADIAL_DISTORTION_K4 
LIBMV_REFINE_RADIAL_DISTORTION 
LIBMV_REFINE_TANGENTIAL_DISTORTION_P1 
LIBMV_REFINE_TANGENTIAL_DISTORTION_P2 
LIBMV_REFINE_TANGENTIAL_DISTORTION 

Definition at line 17 of file intern/reconstruction.h.

Function Documentation

◆ libmv_reconstructionDestroy()

void libmv_reconstructionDestroy ( libmv_Reconstruction libmv_reconstruction)

◆ libmv_reconstructionExtractIntrinsics()

struct libmv_CameraIntrinsics* libmv_reconstructionExtractIntrinsics ( libmv_Reconstruction libmv_Reconstruction)

◆ libmv_reconstructionIsValid()

int libmv_reconstructionIsValid ( libmv_Reconstruction libmv_reconstruction)

◆ libmv_reprojectionCameraForImage()

int libmv_reprojectionCameraForImage ( const libmv_Reconstruction libmv_reconstruction,
int  image,
double  mat[4][4] 
)

◆ libmv_reprojectionError()

double libmv_reprojectionError ( const libmv_Reconstruction libmv_reconstruction)

Definition at line 510 of file intern/reconstruction.cc.

References libmv_Reconstruction::error.

Referenced by BKE_tracking_reconstruction_solve().

◆ libmv_reprojectionErrorForImage()

double libmv_reprojectionErrorForImage ( const libmv_Reconstruction libmv_reconstruction,
int  image 
)

◆ libmv_reprojectionErrorForTrack()

double libmv_reprojectionErrorForTrack ( const libmv_Reconstruction libmv_reconstruction,
int  track 
)

◆ libmv_reprojectionPointForTrack()

int libmv_reprojectionPointForTrack ( const libmv_Reconstruction libmv_reconstruction,
int  track,
double  pos[3] 
)

◆ libmv_solveModal()

libmv_Reconstruction* libmv_solveModal ( const struct libmv_Tracks libmv_tracks,
const struct libmv_CameraIntrinsicsOptions libmv_camera_intrinsics_options,
const libmv_ReconstructionOptions libmv_reconstruction_options,
reconstruct_progress_update_cb  progress_update_callback,
void callback_customdata 
)

◆ libmv_solveReconstruction()

libmv_Reconstruction* libmv_solveReconstruction ( const struct libmv_Tracks libmv_tracks,
const struct libmv_CameraIntrinsicsOptions libmv_camera_intrinsics_options,
libmv_ReconstructionOptions libmv_reconstruction_options,
reconstruct_progress_update_cb  progress_update_callback,
void callback_customdata 
)