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

Add scale / shift support to Matrix Convert<> #19

Merged
merged 2 commits into from Apr 12, 2017

Conversation

jaydcarlson
Copy link
Contributor

Often times, when converting pixel formats, we need to scale/shift the raw values (say, from going to an 8-bit grayscale image to a 16-bit grayscale image). This modification allows optionally scaling and shifting during the conversion. Since sensible default parameters (1.0 scaling, 0.0 shifting) are provided, this update won't break existing code.

@emgucv
Copy link
Owner

emgucv commented Apr 11, 2017

Hi Jay, thanks for the contribution. Our commercial releases are also based on this GitHub repository. Will you grant permission for us to use your code in both our commercial releases and open source releases?

@jaydcarlson
Copy link
Contributor Author

Sure, no problem.

@emgucv emgucv merged commit e34ccfb into emgucv:master Apr 12, 2017
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