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
0023da2e
Commit
0023da2e
authored
Dec 03, 2016
by
Patrik Huber
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added Matlab documentation
parent
5ae4c184
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
26 additions
and
0 deletions
+26
-0
matlab/+eos/+fitting/fit_shape_and_pose.m
matlab/+eos/+fitting/fit_shape_and_pose.m
+26
-0
No files found.
matlab/+eos/+fitting/fit_shape_and_pose.m
View file @
0023da2e
function
[
mesh
,
rendering_parameters
]
=
fit_shape_and_pose
(
morphable_model
,
...
blendshapes
,
landmarks
,
landmark_mapper
,
image_width
,
image_height
,
...
edge_topology
,
contour_landmarks
,
model_contour
,
num_iterations
,
...
num_shape_coefficients_to_fit
,
lambda
)
% FIT_SHAPE_AND_POSE Fit a 3DMM shape model to landmarks.
% [ mesh, rendering_parameters ] = FIT_SHAPE_AND_POSE(morphable_model, ...
% blendshapes, landmarks, landmark_mapper, image_width, image_height, ...
% edge_topology, contour_landmarks, model_contour, num_iterations, ...
% num_shape_coefficients_to_fit, lambda)
%
% This function fits a 3D Morphable Model to landmarks in an image.
% It fits the pose (camera), PCA shape model, and expression blendshapes
% in an iterative way.
%
% Please see the C++ documentation for the description of the parameters:
% http://patrikhuber.github.io/eos/doc/ (TODO: Update documentation!)
%
% NOTE: In contrast to the C++ function, this Matlab function expects the
% morphable_model, blendshapes, landmark_mapper, edge_topology,
% contour_landmarks and model_contour as *filenames* to the respective
% files in the eos/share/ directory, and not the objects directly.
mesh
=
fitting
(
1
,
[
1
,
2
,
3
;
4
,
5
,
6
]);
rendering_parameters
=
[];
end
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