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

rescale_pixels() for rescaling the range of pixels #568

Merged
merged 4 commits into from May 21, 2015

Conversation

Projects
None yet
3 participants
@jabooth
Member

jabooth commented Mar 26, 2015

Adds a new method to Images that makes it easy to linearly rescale the range of pixels to a certain range. The range is given by a maximum and minimum value. The user can choose whether the scaling should be performed per channel independently, or for all pixels in the image across channels.

@jabooth jabooth added the in progress label Mar 26, 2015

@jabooth

This comment has been minimized.

Member

jabooth commented Mar 26, 2015

[tests to come, just wanted to post this before it was forgotten]

@patricksnape

This comment has been minimized.

Contributor

patricksnape commented Mar 26, 2015

A test and then I will +1

@nontas

This comment has been minimized.

Member

nontas commented Mar 26, 2015

Nice addition! +1

@jabooth

This comment has been minimized.

Member

jabooth commented Mar 31, 2015

@patricksnape added tests, let me know if you are happy after the travis run

jabooth added a commit that referenced this pull request May 21, 2015

Merge pull request #568 from jabooth/rescale_pixels
rescale_pixels() for rescaling the range of pixels

@jabooth jabooth merged commit 4794949 into menpo:master May 21, 2015

3 checks passed

clahub All contributors have signed the Contributor License Agreement.
Details
continuous-integration/appveyor AppVeyor build succeeded
Details
continuous-integration/travis-ci/pr The Travis CI build passed
Details

@jabooth jabooth removed the in progress label May 21, 2015

@jabooth jabooth deleted the jabooth:rescale_pixels branch May 21, 2015

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