Commit 0023da2e authored by Patrik Huber's avatar Patrik Huber

Added Matlab documentation

parent 5ae4c184
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
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment