New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

adds constrain_to_landmarks on BooleanImage #441

merged 1 commit into from Sep 11, 2014


None yet
1 participant

jabooth commented Sep 10, 2014

we currently have MaskedImage.constrain_mask_to_landmarks(), but that isn't so useful if you have just a BooleanImage that you are using as a reference space. This PR adds two new methods to BooleanImage:

  • constrain_to_landmarks(group, label)
  • constrain_to_pointcloud(pointcloud)

to encourage the use of BooleanImage as reference space templates.

@jabooth jabooth added the in progress label Sep 10, 2014

jabooth added a commit that referenced this pull request Sep 11, 2014

Merge pull request #441 from jabooth/booleanconstrain
adds constrain_to_landmarks on BooleanImage

@jabooth jabooth merged commit 6008825 into menpo:master Sep 11, 2014

1 check passed

continuous-integration/travis-ci The Travis CI build passed

@jabooth jabooth deleted the jabooth:booleanconstrain branch Sep 11, 2014

@jabooth jabooth removed the in progress label Sep 11, 2014

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment