Skip to content
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

Balance out rescale/crop methods #613

Merged
merged 3 commits into from
Jul 27, 2015
Merged

Conversation

patricksnape
Copy link
Contributor

Rounds out the image API with some extra methods:

  • deprecate rescale_to_reference_shape
  • add rescale_to_pointcloud
  • add crop_to_pointcloud
  • add crop_to_pointcloud_proportion
  • add init_from_rolled_channels
  • tests

This makes it easier to create menpo images from things like
scikit image or opencv
Not really a big changed since it is a private API anyway. Just
for consistency.
This just makes the API more consistent around cropping to
arbitrary pointclouds
@patricksnape
Copy link
Contributor Author

@jabooth Happy with this?

@jabooth
Copy link
Member

jabooth commented Jul 27, 2015

@patricksnape really happy with this, nice job.
+1

jabooth added a commit that referenced this pull request Jul 27, 2015
Balance out rescale/crop methods
@jabooth jabooth merged commit d642e3c into menpo:master Jul 27, 2015
@patricksnape patricksnape deleted the image_methods branch September 3, 2015 11:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants