Home
last modified time | relevance | path

Searched refs:cost_function (Results 1 – 23 of 23) sorted by relevance

/external/ceres-solver/internal/ceres/
Dproblem.cc47 CostFunction* cost_function, in AddResidualBlock() argument
50 return problem_impl_->AddResidualBlock(cost_function, in AddResidualBlock()
56 CostFunction* cost_function, in AddResidualBlock() argument
59 return problem_impl_->AddResidualBlock(cost_function, in AddResidualBlock()
65 CostFunction* cost_function, in AddResidualBlock() argument
68 return problem_impl_->AddResidualBlock(cost_function, in AddResidualBlock()
74 CostFunction* cost_function, in AddResidualBlock() argument
77 return problem_impl_->AddResidualBlock(cost_function, in AddResidualBlock()
83 CostFunction* cost_function, in AddResidualBlock() argument
86 return problem_impl_->AddResidualBlock(cost_function, in AddResidualBlock()
[all …]
Dproblem_impl.cc141 const_cast<CostFunction*>(residual_block->cost_function())); in ~ProblemImpl()
173 CostFunction* cost_function, in AddResidualBlock() argument
176 CHECK_NOTNULL(cost_function); in AddResidualBlock()
178 cost_function->parameter_block_sizes().size()); in AddResidualBlock()
182 cost_function->parameter_block_sizes(); in AddResidualBlock()
217 CHECK_EQ(cost_function->parameter_block_sizes()[i], in AddResidualBlock()
220 << " of size " << cost_function->parameter_block_sizes()[i] in AddResidualBlock()
226 new ResidualBlock(cost_function, in AddResidualBlock()
236 CostFunction* cost_function, in AddResidualBlock() argument
241 return AddResidualBlock(cost_function, loss_function, residual_parameters); in AddResidualBlock()
[all …]
Dproblem_impl.h72 ResidualBlockId AddResidualBlock(CostFunction* cost_function,
75 ResidualBlockId AddResidualBlock(CostFunction* cost_function,
78 ResidualBlockId AddResidualBlock(CostFunction* cost_function,
81 ResidualBlockId AddResidualBlock(CostFunction* cost_function,
84 ResidualBlockId AddResidualBlock(CostFunction* cost_function,
88 ResidualBlockId AddResidualBlock(CostFunction* cost_function,
92 ResidualBlockId AddResidualBlock(CostFunction* cost_function,
96 ResidualBlockId AddResidualBlock(CostFunction* cost_function,
101 ResidualBlockId AddResidualBlock(CostFunction* cost_function,
106 ResidualBlockId AddResidualBlock(CostFunction* cost_function,
[all …]
Dautodiff_cost_function_test.cc55 CostFunction* cost_function = in TEST() local
75 cost_function->Evaluate(parameters, &residuals, NULL); in TEST()
77 cost_function->Evaluate(parameters, &residuals, jacobians); in TEST()
90 delete cost_function; in TEST()
112 CostFunction* cost_function = in TEST() local
127 cost_function->Evaluate(parameters, &residuals, NULL); in TEST()
130 cost_function->Evaluate(parameters, &residuals, jacobians); in TEST()
142 delete cost_function; in TEST()
Dnumeric_diff_cost_function_test.cc95 CostFunction *cost_function = cfs[c].get(); in TEST() local
107 ASSERT_TRUE(cost_function->Evaluate(&parameters[0], in TEST()
176 CostFunction *cost_function = cfs[c].get(); in TEST() local
212 ASSERT_TRUE(cost_function->Evaluate(&parameters[0], in TEST()
252 scoped_ptr<CostFunction> cost_function; in TEST() local
253 cost_function.reset( in TEST()
257 cost_function.reset( in TEST()
261 cost_function.reset( in TEST()
265 cost_function.reset( in TEST()
Dresidual_block_test.cc93 TernaryCostFunction cost_function(3, 2, 3, 4); in TEST() local
96 ResidualBlock residual_block(&cost_function, NULL, parameters); in TEST()
99 EXPECT_EQ(&cost_function, residual_block.cost_function()); in TEST()
232 LocallyParameterizedCostFunction cost_function; in TEST() local
235 ResidualBlock residual_block(&cost_function, NULL, parameters); in TEST()
238 EXPECT_EQ(&cost_function, residual_block.cost_function()); in TEST()
Druntime_numeric_diff_cost_function_test.cc91 CostFunction *cost_function = cfs[c].get(); in TEST() local
103 ASSERT_TRUE(cost_function->Evaluate(&parameters[0], in TEST()
163 CostFunction *cost_function = cfs[c].get(); in TEST() local
199 ASSERT_TRUE(cost_function->Evaluate(&parameters[0], in TEST()
Dresidual_block.h67 ResidualBlock(const CostFunction* cost_function,
95 const CostFunction* cost_function() const { return cost_function_; } in cost_function() function
Dresidual_block.cc50 ResidualBlock::ResidualBlock(const CostFunction* cost_function, in ResidualBlock() argument
53 : cost_function_(cost_function), in ResidualBlock()
57 cost_function->parameter_block_sizes().size()]) { in ResidualBlock()
Dresidual_block_utils_test.cc46 void CheckEvaluation(const CostFunction& cost_function, bool is_good) { in CheckEvaluation() argument
52 ResidualBlock residual_block(&cost_function, in CheckEvaluation()
Dgradient_checking_cost_function.cc219 const CostFunction *cost_function, in CreateGradientCheckingCostFunction() argument
223 return new GradientCheckingCostFunction(cost_function, in CreateGradientCheckingCostFunction()
288 CreateGradientCheckingCostFunction(residual_block->cost_function(), in CreateGradientCheckingProblemImpl()
Druntime_numeric_diff_cost_function.cc208 const CostFunction* cost_function, in CreateRuntimeNumericDiffCostFunction() argument
211 return new RuntimeNumericDiffCostFunction(cost_function, in CreateRuntimeNumericDiffCostFunction()
Druntime_numeric_diff_cost_function.h80 const CostFunction *cost_function,
Dgradient_checking_cost_function.h61 const CostFunction* cost_function,
Devaluator_test.cc757 CostFunction* cost_function = new QuadraticCostFunction<2, 2>; in SetUp() local
760 problem_.AddResidualBlock(cost_function, in SetUp()
765 problem_.AddResidualBlock(cost_function, in SetUp()
769 problem_.AddResidualBlock(cost_function, in SetUp()
Dsystem_test.cc377 CostFunction* cost_function = in BuildProblem() local
387 problem_.AddResidualBlock(cost_function, NULL, camera, point); in BuildProblem()
Dsolver_impl_test.cc657 scoped_ptr<CostFunction> cost_function( in TEST() local
664 problem.AddResidualBlock(cost_function.get(), NULL, &x); in TEST()
724 scoped_ptr<CostFunction> cost_function( in TEST() local
732 problem.AddResidualBlock(cost_function.get(), NULL, &x, &y, &z, &w); in TEST()
/external/ceres-solver/include/ceres/
Dproblem.h183 ResidualBlockId AddResidualBlock(CostFunction* cost_function,
190 ResidualBlockId AddResidualBlock(CostFunction* cost_function,
193 ResidualBlockId AddResidualBlock(CostFunction* cost_function,
196 ResidualBlockId AddResidualBlock(CostFunction* cost_function,
199 ResidualBlockId AddResidualBlock(CostFunction* cost_function,
203 ResidualBlockId AddResidualBlock(CostFunction* cost_function,
207 ResidualBlockId AddResidualBlock(CostFunction* cost_function,
211 ResidualBlockId AddResidualBlock(CostFunction* cost_function,
216 ResidualBlockId AddResidualBlock(CostFunction* cost_function,
221 ResidualBlockId AddResidualBlock(CostFunction* cost_function,
[all …]
/external/ceres-solver/examples/
Ddenoising.cc95 ceres::CostFunction* cost_function = in CreateProblem() local
98 problem->AddResidualBlock(cost_function, in CreateProblem()
106 std::vector<ceres::CostFunction*> cost_function(foe.NumFilters()); in CreateProblem() local
109 cost_function[alpha_index] = foe.NewCostFunction(alpha_index); in CreateProblem()
127 problem->AddResidualBlock(cost_function[alpha_index], in CreateProblem()
Dbundle_adjuster.cc253 CostFunction* cost_function; in BuildProblem() local
257 cost_function = new AutoDiffCostFunction< in BuildProblem()
263 cost_function = in BuildProblem()
284 problem->AddResidualBlock(cost_function, in BuildProblem()
290 problem->AddResidualBlock(cost_function, loss_function, camera, point); in BuildProblem()
Dsimple_bundle_adjuster.cc187 ceres::CostFunction* cost_function = in main() local
193 problem.AddResidualBlock(cost_function, in main()
/external/ceres-solver/docs/
Dbundleadjustment.tex78 ceres::CostFunction* cost_function =
83 problem.AddResidualBlock(cost_function,
Dmodeling.tex114 CostFunction* cost_function
167 CostFunction* cost_function
393 ResidualBlockId AddResidualBlock(CostFunction* cost_function,