Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
E
eos
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Richard Torenvliet
eos
Commits
9e62edc2
Commit
9e62edc2
authored
Nov 28, 2015
by
Patrik Huber
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Minor documentation improvement - snake_case & consistency
parent
876bdc67
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
7 deletions
+7
-7
include/eos/morphablemodel/PcaModel.hpp
include/eos/morphablemodel/PcaModel.hpp
+7
-7
No files found.
include/eos/morphablemodel/PcaModel.hpp
View file @
9e62edc2
...
@@ -38,8 +38,8 @@ namespace eos {
...
@@ -38,8 +38,8 @@ namespace eos {
namespace
morphablemodel
{
namespace
morphablemodel
{
// Forward declarations of free functions
// Forward declarations of free functions
cv
::
Mat
normalise_pca_basis
(
cv
::
Mat
unnormalised
B
asis
,
cv
::
Mat
eigenvalues
);
cv
::
Mat
normalise_pca_basis
(
cv
::
Mat
unnormalised
_b
asis
,
cv
::
Mat
eigenvalues
);
cv
::
Mat
unnormalise_pca_basis
(
cv
::
Mat
normalised
B
asis
,
cv
::
Mat
eigenvalues
);
cv
::
Mat
unnormalise_pca_basis
(
cv
::
Mat
normalised
_b
asis
,
cv
::
Mat
eigenvalues
);
/**
/**
* @brief This class represents a PCA-model that consists of:
* @brief This class represents a PCA-model that consists of:
...
@@ -82,7 +82,7 @@ public:
...
@@ -82,7 +82,7 @@ public:
*/
*/
int
get_num_principal_components
()
const
int
get_num_principal_components
()
const
{
{
// Note: we could assert(normalised
PcaBasis.cols==unnormalisedPcaB
asis.cols)
// Note: we could assert(normalised
_pca_basis.cols==unnormalised_pca_b
asis.cols)
return
normalised_pca_basis
.
cols
;
return
normalised_pca_basis
.
cols
;
};
};
...
@@ -96,7 +96,7 @@ public:
...
@@ -96,7 +96,7 @@ public:
*/
*/
int
get_data_dimension
()
const
int
get_data_dimension
()
const
{
{
// Note: we could assert(normalised
PcaBasis.rows==unnormalisedPcaB
asis.rows)
// Note: we could assert(normalised
_pca_basis.rows==unnormalised_pca_b
asis.rows)
return
normalised_pca_basis
.
rows
;
return
normalised_pca_basis
.
rows
;
};
};
...
@@ -121,10 +121,10 @@ public:
...
@@ -121,10 +121,10 @@ public:
};
};
/**
/**
* Return the value of the mean at a given vertex i
d
.
* Return the value of the mean at a given vertex i
ndex
.
*
*
* @param[in] vertex_index A vertex i
d
.
* @param[in] vertex_index A vertex i
ndex
.
* @return A homogeneous vector containing the values at the given vertex i
d
.
* @return A homogeneous vector containing the values at the given vertex i
ndex
.
*/
*/
cv
::
Vec4f
get_mean_at_point
(
int
vertex_index
)
const
cv
::
Vec4f
get_mean_at_point
(
int
vertex_index
)
const
{
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment