Main Page | Modules | Class List | Directories | File List | Class Members | File Members

cameraf.h File Reference

#include <stdio.h>
#include <gandalf/common/misc_defs.h>
#include <gandalf/vision/camera_defs.h>
#include <gandalf/linalg/3x3matrixf.h>
#include <gandalf/linalg/3vectorf.h>

Go to the source code of this file.

Classes

struct  Gan_RadialBasisFunction_f
struct  Gan_Camera_f
 Structure containing camera parameters in single precision. More...

Typedefs

typedef Gan_RadialBasisFunction_f Gan_RadialBasisFunction_f
typedef Gan_Camera_f Gan_Camera_f
 Structure containing camera parameters in single precision.

Functions

Gan_Bool gan_cameraf_build_va (Gan_Camera_f *camera, Gan_CameraType type, float zh, float fx, float fy, float x0, float y0,...)
 Constructs a structure representing a camera.
Gan_Bool gan_cameraf_internalize (Gan_Camera_f *camera)
 Builds the internals of a camera.
Gan_Bool gan_cameraf_identical (Gan_Camera_f *camera1, Gan_Camera_f *camera2)
 Checks whether two cameras have identical parameters.
Gan_SquMatrix33_f gan_cameraf_fill_matrix_s (const Gan_Camera_f *camera)
 Fills and returns a 3x3 upper triangular camera matrix.
Gan_Matrix33_f gan_cameraf_fill_fullmatrix_s (const Gan_Camera_f *camera)
 Fills and returns a full 3x3 camera matrix.
Gan_Bool gan_cameraf_set_common_fields (Gan_Camera_f *camera, Gan_CameraType type, float zh, float fx, float fy, float x0, float y0)
 Set common fields of camera structure.
Gan_Bool gan_cameraf_project_point_gen (const Gan_Camera_f *camera, Gan_Vector3_f *X, Gan_Vector3_f *p, Gan_Matrix22_f *HX, Gan_Camera_f HC[2], int *error_code)
 Macro: Projects a point from the scene onto the image.
Gan_Bool gan_cameraf_project_point (const Gan_Camera_f *camera, Gan_Vector3_f *X, Gan_Vector3_f *p, int *error_code)
 Macro: Projects a point from the scene onto the image.
Gan_Bool gan_cameraf_project_point_q (const Gan_Camera_f *camera, Gan_Vector3_f *X, Gan_Vector3_f *p)
 Macro: Projects a point from the scene onto the image.
Gan_Bool gan_cameraf_project_point_i (const Gan_Camera_f *camera, Gan_Vector3_f *X)
 Macro: Projects a point from the scene onto the image.
Gan_Bool gan_cameraf_backproject_point (const Gan_Camera_f *camera, Gan_Vector3_f *p, Gan_Vector3_f *X, int *error_code)
 Macro: Back-projects an image point into the scene.
Gan_Bool gan_cameraf_backproject_point_q (const Gan_Camera_f *camera, Gan_Vector3_f *p, Gan_Vector3_f *X)
 Macro: Back-projects an image point into the scene.
Gan_Bool gan_cameraf_backproject_point_i (const Gan_Camera_f *camera, Gan_Vector3_f *p)
 Macro: Back-projects an image point into the scene.
Gan_Bool gan_cameraf_add_distortion (const Gan_Camera_f *camera, Gan_Vector3_f *pu, Gan_Vector3_f *p, int *error_code)
 Macro: Applies non-linear distortion to an image point.
Gan_Bool gan_cameraf_add_distortion_q (const Gan_Camera_f *camera, Gan_Vector3_f *pu, Gan_Vector3_f *p)
 Macro: Applies non-linear distortion to an image point.
Gan_Bool gan_cameraf_add_distortion_i (const Gan_Camera_f *camera, Gan_Vector3_f *p)
 Macro: Applies non-linear distortion to an image point.
Gan_Bool gan_cameraf_remove_distortion (const Gan_Camera_f *camera, Gan_Vector3_f *p, Gan_Vector3_f *pu, int *error_code)
 Macro: Removes non-linear distortion from an image point.
Gan_Bool gan_cameraf_remove_distortion_q (const Gan_Camera_f *camera, Gan_Vector3_f *p, Gan_Vector3_f *pu)
 Macro: Removes non-linear distortion from an image point.
Gan_Bool gan_cameraf_remove_distortion_i (const Gan_Camera_f *camera, Gan_Vector3_f *p)
 Macro: Removes non-linear distortion from an image point.
Gan_Bool gan_cameraf_project_line_q (const Gan_Camera_f *camera, Gan_Vector3_f *L, Gan_Vector3_f *l)
 Macro: Projects a line from the scene onto the image.
Gan_Bool gan_cameraf_project_line_i (const Gan_Camera_f *camera, Gan_Vector3_f *L)
 Macro: Projects a line from the scene onto the image.
Gan_Bool gan_cameraf_backproject_line_q (const Gan_Camera_f *camera, Gan_Vector3_f *l, Gan_Vector3_f *L)
 Macro: Back-projects an image line into the scene.
Gan_Bool gan_cameraf_backproject_line_i (const Gan_Camera_f *camera, Gan_Vector3_f *l)
 Macro: Back-projects an image line into the scene.


Detailed Description

Module: Camera definitions and building functions

Part of: Gandalf Library

Version:
1.18
Date:
2005/04/22 13:16:23
Author:
pm
Copyright: (c) 2000 Imagineer Software Limited
Generated on Sat May 21 23:52:49 2005 by  doxygen 1.4.3