build_reference_frame¶
-
menpofit.builder.
build_reference_frame
(landmarks, boundary=3, group='source')[source]¶ Builds a reference frame from a particular set of landmarks.
- Parameters
landmarks (menpo.shape.PointCloud) – The landmarks that will be used to build the reference frame.
boundary (int, optional) – The number of pixels to be left as a safe margin on the boundaries of the reference frame (has potential effects on the gradient computation).
group (str, optional) – Group that will be assigned to the provided set of landmarks on the reference frame.
- Returns
reference_frame (manpo.image.MaskedImage) – The reference frame.