#include <volume_io/internal_volume_io.h>
#include <bicpl/trans.h>
#include <bicpl/numerical.h>
Include dependency graph for optimize.c:
Go to the source code of this file.
Data Structures | |
struct | function_data |
Defines | |
#define | FUNCTION_TOLERANCE 1e-6 |
#define | INITIAL_SIMPLEX_SIZE 3.0 |
#define | MAX_ITERS 300 |
Functions | |
private Real | lsq_objective (Transform *lt, Real **pts1, Real **pts2, int npoints) |
private Real | fit_function (void *func_data, float params[]) |
public BOOLEAN | optimize_simplex (Real **pts1, Real **pts2, int npoints, Trans_type trans_type, Real center[], Real translations[], Real scales[], Real shears[], Real rotations[]) |
|
Definition at line 24 of file optimize.c. Referenced by optimize_simplex(). |
|
Definition at line 25 of file optimize.c. Referenced by optimize_simplex(). |
|
Definition at line 26 of file optimize.c. Referenced by optimize_simplex(). |
|
Definition at line 102 of file optimize.c. References build_transformation_matrix(), function_data::center, lsq_objective(), function_data::ndim, function_data::npoints, function_data::pts1, and function_data::pts2. Referenced by optimize_simplex(). |
|
Definition at line 54 of file optimize.c. Referenced by fit_function(). |
|
Definition at line 164 of file optimize.c. References function_data::center, FALSE, fit_function(), FUNCTION_TOLERANCE, get_amoeba_parameters(), INITIAL_SIMPLEX_SIZE, initialize_amoeba(), MAX_ITERS, function_data::ndim, function_data::npoints, perform_amoeba(), function_data::pts1, function_data::pts2, terminate_amoeba(), TRANS_LSQ10, TRANS_LSQ9, and TRUE. Referenced by compute_arb_param_transform(). |