Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
E
eos
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Richard Torenvliet
eos
Commits
f58f9f54
Commit
f58f9f54
authored
8 years ago
by
Patrik Huber
Browse files
Options
Downloads
Patches
Plain Diff
Removed eos:: namespace prefix from some function arguments
parent
0f2bd583
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
include/eos/fitting/fitting.hpp
+2
-2
2 additions, 2 deletions
include/eos/fitting/fitting.hpp
with
2 additions
and
2 deletions
include/eos/fitting/fitting.hpp
+
2
−
2
View file @
f58f9f54
...
...
@@ -55,7 +55,7 @@ namespace eos {
* @param[out] blendshape_coefficients Output parameter that will contain the resulting blendshape coefficients.
* @return The fitted model shape instance.
*/
cv
::
Mat
fit_shape
(
cv
::
Mat
affine_camera_matrix
,
eos
::
morphablemodel
::
MorphableModel
morphable_model
,
std
::
vector
<
eos
::
morphablemodel
::
Blendshape
>
blendshapes
,
std
::
vector
<
cv
::
Vec2f
>
image_points
,
std
::
vector
<
int
>
vertex_indices
,
float
lambda
,
boost
::
optional
<
int
>
num_coefficients_to_fit
,
std
::
vector
<
float
>&
pca_shape_coefficients
,
std
::
vector
<
float
>&
blendshape_coefficients
)
cv
::
Mat
fit_shape
(
cv
::
Mat
affine_camera_matrix
,
morphablemodel
::
MorphableModel
morphable_model
,
std
::
vector
<
morphablemodel
::
Blendshape
>
blendshapes
,
std
::
vector
<
cv
::
Vec2f
>
image_points
,
std
::
vector
<
int
>
vertex_indices
,
float
lambda
,
boost
::
optional
<
int
>
num_coefficients_to_fit
,
std
::
vector
<
float
>&
pca_shape_coefficients
,
std
::
vector
<
float
>&
blendshape_coefficients
)
{
using
cv
::
Mat
;
...
...
@@ -105,7 +105,7 @@ cv::Mat fit_shape(cv::Mat affine_camera_matrix, eos::morphablemodel::MorphableMo
* @param[in] num_coefficients_to_fit How many shape-coefficients to fit (all others will stay 0). Should be bigger than zero, or boost::none to fit all coefficients.
* @return The fitted model shape instance.
*/
cv
::
Mat
fit_shape
(
cv
::
Mat
affine_camera_matrix
,
eos
::
morphablemodel
::
MorphableModel
morphable_model
,
std
::
vector
<
eos
::
morphablemodel
::
Blendshape
>
blendshapes
,
std
::
vector
<
cv
::
Vec2f
>
image_points
,
std
::
vector
<
int
>
vertex_indices
,
float
lambda
=
3.0
f
,
boost
::
optional
<
int
>
num_coefficients_to_fit
=
boost
::
optional
<
int
>
())
cv
::
Mat
fit_shape
(
cv
::
Mat
affine_camera_matrix
,
morphablemodel
::
MorphableModel
morphable_model
,
std
::
vector
<
morphablemodel
::
Blendshape
>
blendshapes
,
std
::
vector
<
cv
::
Vec2f
>
image_points
,
std
::
vector
<
int
>
vertex_indices
,
float
lambda
=
3.0
f
,
boost
::
optional
<
int
>
num_coefficients_to_fit
=
boost
::
optional
<
int
>
())
{
std
::
vector
<
float
>
unused
;
return
fit_shape
(
affine_camera_matrix
,
morphable_model
,
blendshapes
,
image_points
,
vertex_indices
,
lambda
,
num_coefficients_to_fit
,
unused
,
unused
);
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment