00001 00014 /* This library is free software; you can redistribute it and/or 00015 modify it under the terms of the GNU Lesser General Public 00016 License as published by the Free Software Foundation; either 00017 version 2.1 of the License, or (at your option) any later version. 00018 00019 This library is distributed in the hope that it will be useful, 00020 but WITHOUT ANY WARRANTY; without even the implied warranty of 00021 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 00022 Lesser General Public License for more details. 00023 00024 You should have received a copy of the GNU Lesser General Public 00025 License along with this library; if not, write to the Free Software 00026 Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 00027 */ 00028 00029 #ifndef _GAN_2X4MATRIX_NORM_H 00030 #define _GAN_2X4MATRIX_NORM_H 00031 00032 #include <gandalf/linalg/2x4matrix.h> 00033 00034 #ifdef __cplusplus 00035 extern "C" { 00036 #endif 00037 00038 #define GAN_MAT_NORMALISE gan_mat24_normalize 00039 #define GAN_MATTYPE Gan_Matrix24 00040 #define GAN_SQUMATTYPE Gan_SquMatrix44 00041 00042 /* 00043 * File: $RCSfile: mat_norm_noc.h,v $ 00044 * Module: Fixed size matrix projective normalisation 00045 * Part of: Gandalf Library 00046 * 00047 * Revision: $Revision: 1.7 $ 00048 * Last edited: $Date: 2005/08/22 08:52:18 $ 00049 * Author: $Author: jps $ 00050 * Copyright: (c) 2000 Imagineer Software Limited 00051 * 00052 * Notes: Not to be compiled separately 00053 */ 00054 00055 /* This library is free software; you can redistribute it and/or 00056 modify it under the terms of the GNU Lesser General Public 00057 License as published by the Free Software Foundation; either 00058 version 2.1 of the License, or (at your option) any later version. 00059 00060 This library is distributed in the hope that it will be useful, 00061 but WITHOUT ANY WARRANTY; without even the implied warranty of 00062 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 00063 Lesser General Public License for more details. 00064 00065 You should have received a copy of the GNU Lesser General Public 00066 License along with this library; if not, write to the Free Software 00067 Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 00068 */ 00069 00070 /* normalises an array of matrices B */ 00071 Gan_Bool gan_mat24_normalize ( Gan_Matrix24 *B, int n, double term_threshold, 00072 int max_iterations, Gan_SquMatrix44 *Lp ); 00073 00074 #undef GAN_MAT_NORMALISE 00075 #undef GAN_MATTYPE 00076 #undef GAN_SQUMATTYPE 00077 00078 #ifdef __cplusplus 00079 } 00080 #endif 00081 00082 #endif /* #ifndef _GAN_2X4MATRIX_NORM_H */