Main Page | Modules | Class List | Directories | 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/3vector.h>

Go to the source code of this file.

Classes

struct  Gan_RadialBasisFunction
struct  Gan_Camera
 Structure containing camera parameters in double precision. More...

Typedefs

typedef Gan_RadialBasisFunction Gan_RadialBasisFunction
typedef Gan_Camera Gan_Camera
 Structure containing camera parameters in double precision.

Functions

Gan_Bool gan_camera_build_va (Gan_Camera *camera, Gan_CameraType type, double zh, double fx, double fy, double x0, double y0,...)
 Constructs a structure representing a camera.
Gan_Bool gan_camera_internalize (Gan_Camera *camera)
 Builds the internals of a camera.
Gan_Bool gan_camera_identical (Gan_Camera *camera1, Gan_Camera *camera2)
 Checks whether two cameras have identical parameters.
Gan_SquMatrix33 gan_camera_fill_matrix_s (const Gan_Camera *camera)
 Fills and returns a 3x3 upper triangular camera matrix.
Gan_Matrix33 gan_camera_fill_fullmatrix_s (const Gan_Camera *camera)
 Fills and returns a full 3x3 camera matrix.
Gan_Bool gan_camera_set_common_fields (Gan_Camera *camera, Gan_CameraType type, double zh, double fx, double fy, double x0, double y0)
 Set common fields of camera structure.
Gan_Bool gan_camera_project_point_gen (const Gan_Camera *camera, Gan_Vector3 *X, Gan_Vector3 *p, 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 (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 (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 (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.37
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