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

camera.h File Reference

#include <stdio.h>
#include <gandalf/common/misc_defs.h>
#include <gandalf/vision/camera_defs.h>
#include <gandalf/linalg/3x3matrix.h>
#include <gandalf/linalg/2x3matrix.h>
#include <gandalf/linalg/3vector.h>

Go to the source code of this file.

Classes

struct  Gan_PositionState
 Structure containing any previous project/backproject result. More...
struct  Gan_CubicBSplineSupport
struct  Gan_CubicBSplineWeights
struct  Gan_Camera
 Structure containing camera parameters in double precision. More...

Typedefs

typedef Gan_PositionState Gan_PositionState
 Structure containing any previous project/backproject result.
typedef Gan_CubicBSplineSupport Gan_CubicBSplineSupport
typedef Gan_Vector2 Gan_CubicBSplineWeightBlock [1+(1<< 4)]
typedef Gan_CubicBSplineWeights Gan_CubicBSplineWeights
typedef Gan_Camera Gan_Camera
 Structure containing camera parameters in double precision.

Functions

Gan_Bool gan_camera_project_point_gen (const Gan_Camera *camera, Gan_Vector3 *X, Gan_Vector3 *p, Gan_PositionState *Xpprev, Gan_Matrix22 *HX, Gan_Camera HC[2], int *error_code)
 Macro: Projects a point from the scene onto the image.
Gan_Bool gan_camera_project_point (const Gan_Camera *camera, Gan_Vector3 *X, Gan_Vector3 *p, int *error_code)
 Macro: Projects a point from the scene onto the image.
Gan_Bool gan_camera_project_point_q (const Gan_Camera *camera, Gan_Vector3 *X, Gan_Vector3 *p)
 Macro: Projects a point from the scene onto the image.
Gan_Bool gan_camera_project_point_i (const Gan_Camera *camera, Gan_Vector3 *X)
 Macro: Projects a point from the scene onto the image.
Gan_Bool gan_camera_backproject_point_gen (const Gan_Camera *camera, Gan_Vector3 *p, Gan_Vector3 *X, Gan_PositionState *pXprev, int *error_code)
 Macro: Back-projects an image point into the scene.
Gan_Bool gan_camera_backproject_point (const Gan_Camera *camera, Gan_Vector3 *p, Gan_Vector3 *X, int *error_code)
 Macro: Back-projects an image point into the scene.
Gan_Bool gan_camera_backproject_point_q (const Gan_Camera *camera, Gan_Vector3 *p, Gan_Vector3 *X)
 Macro: Back-projects an image point into the scene.
Gan_Bool gan_camera_backproject_point_i (const Gan_Camera *camera, Gan_Vector3 *p)
 Macro: Back-projects an image point into the scene.
Gan_Bool gan_camera_add_distortion_gen (const Gan_Camera *camera, Gan_Vector3 *pu, Gan_Vector3 *p, Gan_PositionState *pupprev, int *error_code)
 Macro: Applies non-linear distortion to an image point.
Gan_Bool gan_camera_add_distortion (const Gan_Camera *camera, Gan_Vector3 *pu, Gan_Vector3 *p, int *error_code)
 Macro: Applies non-linear distortion to an image point.
Gan_Bool gan_camera_add_distortion_q (const Gan_Camera *camera, Gan_Vector3 *pu, Gan_Vector3 *p)
 Macro: Applies non-linear distortion to an image point.
Gan_Bool gan_camera_add_distortion_i (const Gan_Camera *camera, Gan_Vector3 *p)
 Macro: Applies non-linear distortion to an image point.
Gan_Bool gan_camera_remove_distortion_gen (const Gan_Camera *camera, Gan_Vector3 *p, Gan_Vector3 *pu, Gan_PositionState *ppuprev, int *error_code)
 Macro: Removes non-linear distortion from an image point.
Gan_Bool gan_camera_remove_distortion (const Gan_Camera *camera, Gan_Vector3 *p, Gan_Vector3 *pu, int *error_code)
 Macro: Removes non-linear distortion from an image point.
Gan_Bool gan_camera_remove_distortion_q (const Gan_Camera *camera, Gan_Vector3 *p, Gan_Vector3 *pu)
 Macro: Removes non-linear distortion from an image point.
Gan_Bool gan_camera_remove_distortion_i (const Gan_Camera *camera, Gan_Vector3 *p)
 Macro: Removes non-linear distortion from an image point.
Gan_Bool gan_camera_project_line_q (const Gan_Camera *camera, Gan_Vector3 *L, Gan_Vector3 *l)
 Macro: Projects a line from the scene onto the image.
Gan_Bool gan_camera_project_line_i (const Gan_Camera *camera, Gan_Vector3 *L)
 Macro: Projects a line from the scene onto the image.
Gan_Bool gan_camera_backproject_line_q (const Gan_Camera *camera, Gan_Vector3 *l, Gan_Vector3 *L)
 Macro: Back-projects an image line into the scene.
Gan_Bool gan_camera_backproject_line_i (const Gan_Camera *camera, Gan_Vector3 *l)
 Macro: Back-projects an image line into the scene.


Detailed Description

Module: Camera definitions and building functions

Part of: Gandalf Library

Version:
1.46
Date:
2006/03/15 16:18:23
Author:
pm
Copyright: (c) 2000 Imagineer Software Limited
Generated on Fri Mar 17 12:44:51 2006 by  doxygen 1.3.9.1