/external/ceres-solver/internal/ceres/ |
numeric_diff_cost_function_test.cc | 49 internal::scoped_ptr<CostFunction> cost_function; local 50 cost_function.reset( 58 functor.ExpectCostFunctionEvaluationIsNearlyCorrect(*cost_function, CENTRAL); 62 internal::scoped_ptr<CostFunction> cost_function; local 63 cost_function.reset( 71 functor.ExpectCostFunctionEvaluationIsNearlyCorrect(*cost_function, FORWARD); 75 internal::scoped_ptr<CostFunction> cost_function; local 76 cost_function.reset( 84 functor.ExpectCostFunctionEvaluationIsNearlyCorrect(*cost_function, CENTRAL); 88 internal::scoped_ptr<CostFunction> cost_function; local 101 internal::scoped_ptr<CostFunction> cost_function; local 114 internal::scoped_ptr<CostFunction> cost_function; local 127 internal::scoped_ptr<CostFunction> cost_function; local 140 internal::scoped_ptr<CostFunction> cost_function; local 169 scoped_ptr<CostFunction> cost_function; local [all...] |
numeric_diff_functor_test.cc | 52 internal::scoped_ptr<CostFunction> cost_function; local 55 cost_function.reset( 59 functor.ExpectCostFunctionEvaluationIsNearlyCorrect(*cost_function, CENTRAL); 61 cost_function.reset( 64 functor.ExpectCostFunctionEvaluationIsNearlyCorrect(*cost_function, CENTRAL); 71 internal::scoped_ptr<CostFunction> cost_function; local 74 cost_function.reset( 78 functor.ExpectCostFunctionEvaluationIsNearlyCorrect(*cost_function, FORWARD); 80 cost_function.reset( 83 functor.ExpectCostFunctionEvaluationIsNearlyCorrect(*cost_function, FORWARD) 90 internal::scoped_ptr<CostFunction> cost_function; local 109 internal::scoped_ptr<CostFunction> cost_function; local [all...] |
runtime_numeric_diff_cost_function.h | 46 // CostFunction* cost_function = 59 #include "ceres/cost_function.h" 70 // The base cost_function's implementation of Evaluate() only needs to fill in 72 // jacobians by the base cost_function is overwritten. 80 const CostFunction *cost_function,
|
gradient_checking_cost_function.h | 36 #include "ceres/cost_function.h" 43 // Creates a CostFunction that checks the jacobians that cost_function computes 61 const CostFunction* cost_function,
|
autodiff_cost_function_test.cc | 36 #include "ceres/cost_function.h" 55 CostFunction* cost_function = local 75 cost_function->Evaluate(parameters, &residuals, NULL); 77 cost_function->Evaluate(parameters, &residuals, jacobians); 90 delete cost_function; 112 CostFunction* cost_function = local 127 cost_function->Evaluate(parameters, &residuals, NULL); 130 cost_function->Evaluate(parameters, &residuals, jacobians); 142 delete cost_function;
|
problem.cc | 46 CostFunction* cost_function, 49 return problem_impl_->AddResidualBlock(cost_function, 55 CostFunction* cost_function, 58 return problem_impl_->AddResidualBlock(cost_function, 64 CostFunction* cost_function, 67 return problem_impl_->AddResidualBlock(cost_function, 73 CostFunction* cost_function, 76 return problem_impl_->AddResidualBlock(cost_function, 82 CostFunction* cost_function, 85 return problem_impl_->AddResidualBlock(cost_function, [all...] |
numeric_diff_test_utils.h | 34 #include "ceres/cost_function.h" 48 const CostFunction& cost_function, 73 const CostFunction& cost_function,
|
problem_impl.h | 73 ResidualBlockId AddResidualBlock(CostFunction* cost_function, 76 ResidualBlockId AddResidualBlock(CostFunction* cost_function, 79 ResidualBlockId AddResidualBlock(CostFunction* cost_function, 82 ResidualBlockId AddResidualBlock(CostFunction* cost_function, 85 ResidualBlockId AddResidualBlock(CostFunction* cost_function, 89 ResidualBlockId AddResidualBlock(CostFunction* cost_function, 93 ResidualBlockId AddResidualBlock(CostFunction* cost_function, 97 ResidualBlockId AddResidualBlock(CostFunction* cost_function, 102 ResidualBlockId AddResidualBlock(CostFunction* cost_function, 107 ResidualBlockId AddResidualBlock(CostFunction* cost_function, [all...] |
residual_block.h | 40 #include "ceres/cost_function.h" 58 // --- loss_function( || cost_function(block1, block2, ...) ||^2 ), 72 ResidualBlock(const CostFunction* cost_function, 106 const CostFunction* cost_function() const { return cost_function_; } function in class:ceres::internal::ResidualBlock
|
dynamic_autodiff_cost_function_test.cc | 77 DynamicAutoDiffCostFunction<MyCostFunctor, 3> cost_function( 79 cost_function.AddParameterBlock(param_block_0.size()); 80 cost_function.AddParameterBlock(param_block_1.size()); 81 cost_function.SetNumResiduals(21); 88 EXPECT_TRUE(cost_function.Evaluate(¶meter_blocks[0], 105 DynamicAutoDiffCostFunction<MyCostFunctor, 3> cost_function( 107 cost_function.AddParameterBlock(param_block_0.size()); 108 cost_function.AddParameterBlock(param_block_1.size()); 109 cost_function.SetNumResiduals(21); 128 EXPECT_TRUE(cost_function.Evaluate(parameter_blocks.data() 332 DynamicMyThreeParameterCostFunction * cost_function = local 569 DynamicMySixParameterCostFunction * cost_function = local [all...] |
problem_impl.cc | 43 #include "ceres/cost_function.h" 163 residual_block->cost_function() != NULL) { 165 const_cast<CostFunction*>(residual_block->cost_function())); 219 CostFunction* cost_function, 222 CHECK_NOTNULL(cost_function); 224 cost_function->parameter_block_sizes().size()); 228 cost_function->parameter_block_sizes(); 263 // cost_function. 265 CHECK_EQ(cost_function->parameter_block_sizes()[i], 268 << " of size " << cost_function->parameter_block_sizes()[i [all...] |
c_api.cc | 40 #include "ceres/cost_function.h" 68 CallbackCostFunction(ceres_cost_function_t cost_function, 73 : cost_function_(cost_function), 143 ceres_cost_function_t cost_function, 154 new CallbackCostFunction(cost_function,
|
numeric_diff_test_utils.cc | 35 #include "ceres/cost_function.h" 58 const CostFunction& cost_function, 70 ASSERT_TRUE(cost_function.Evaluate(¶meters[0], 103 const CostFunction& cost_function, 140 ASSERT_TRUE(cost_function.Evaluate(¶meters[0],
|
residual_block_test.cc | 93 TernaryCostFunction cost_function(3, 2, 3, 4); 96 ResidualBlock residual_block(&cost_function, NULL, parameters, -1); 99 EXPECT_EQ(&cost_function, residual_block.cost_function()); 232 LocallyParameterizedCostFunction cost_function; local 235 ResidualBlock residual_block(&cost_function, NULL, parameters, -1); 238 EXPECT_EQ(&cost_function, residual_block.cost_function());
|
residual_block_utils_test.cc | 37 #include "ceres/cost_function.h" 46 void CheckEvaluation(const CostFunction& cost_function, bool is_good) { 52 ResidualBlock residual_block(&cost_function,
|
runtime_numeric_diff_cost_function_test.cc | 41 #include "ceres/cost_function.h" 91 CostFunction *cost_function = cfs[c].get(); local 103 ASSERT_TRUE(cost_function->Evaluate(¶meters[0], 163 CostFunction *cost_function = cfs[c].get(); local 199 ASSERT_TRUE(cost_function->Evaluate(¶meters[0],
|
cost_function_to_functor_test.cc | 40 void ExpectCostFunctionsAreEqual(const CostFunction& cost_function, 42 EXPECT_EQ(cost_function.num_residuals(), 44 const int num_residuals = cost_function.num_residuals(); 46 cost_function.parameter_block_sizes(); 86 EXPECT_TRUE(cost_function.Evaluate(parameter_blocks.get(), 96 EXPECT_TRUE(cost_function.Evaluate(parameter_blocks.get(), 246 scoped_ptr<CostFunction> cost_function( \ 258 ExpectCostFunctionsAreEqual(*cost_function, *actual_cost_function); \
|
residual_block.cc | 40 #include "ceres/cost_function.h" 52 ResidualBlock::ResidualBlock(const CostFunction* cost_function, 56 : cost_function_(cost_function), 60 cost_function->parameter_block_sizes().size()]),
|
/external/ceres-solver/include/ceres/ |
problem.h | 119 // Please see cost_function.h for details of the CostFunction object. 187 // cost_function and loss_function pointers. These objects remain 192 // Note: Even though the Problem takes ownership of cost_function 195 // delete on each cost_function or loss_function pointer only once, 209 ResidualBlockId AddResidualBlock(CostFunction* cost_function, 216 ResidualBlockId AddResidualBlock(CostFunction* cost_function, 219 ResidualBlockId AddResidualBlock(CostFunction* cost_function, 222 ResidualBlockId AddResidualBlock(CostFunction* cost_function, 225 ResidualBlockId AddResidualBlock(CostFunction* cost_function, 229 ResidualBlockId AddResidualBlock(CostFunction* cost_function, [all...] |
c_api.h | 124 ceres_cost_function_t cost_function,
|
/external/ceres-solver/examples/ |
helloworld.cc | 69 CostFunction* cost_function = local 71 problem.AddResidualBlock(cost_function, NULL, &x);
|
helloworld_analytic_diff.cc | 93 CostFunction* cost_function = new QuadraticCostFunction; local 94 problem.AddResidualBlock(cost_function, NULL, &x);
|
helloworld_numeric_diff.cc | 65 CostFunction* cost_function = local 67 problem.AddResidualBlock(cost_function, NULL, &x);
|
denoising.cc | 97 ceres::CostFunction* cost_function = local 100 problem->AddResidualBlock(cost_function, 108 std::vector<ceres::CostFunction*> cost_function(foe.NumFilters()); 111 cost_function[alpha_index] = foe.NewCostFunction(alpha_index); 129 problem->AddResidualBlock(cost_function[alpha_index],
|
bundle_adjuster.cc | 258 CostFunction* cost_function; local 262 cost_function = new AutoDiffCostFunction< 268 cost_function = 289 problem->AddResidualBlock(cost_function, 295 problem->AddResidualBlock(cost_function, loss_function, camera, point);
|