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

Crop images based on image entropy #9

Open
joeholdcroft opened this issue Feb 18, 2014 · 1 comment
Open

Crop images based on image entropy #9

joeholdcroft opened this issue Feb 18, 2014 · 1 comment

Comments

@joeholdcroft
Copy link
Contributor

It's plausible that Imagine might have some code to support this, but either way it'd be nice to crop images based on their entropy.

This blog post has a nice explanation.

@irisSchaffer
Copy link

Details on how they calculate it:
http://envalo.com/image-cropping-php-using-entropy-explained/

And here is an updated version of the lib:
https://github.com/tim-reynolds/crop/tree/UpdateEntropyAlgorithm

Sure looks interesting and in my opinion not even that hard to implement if we wanted to do something similar and not use the above lib. Could even ask my image processing professor whether he's got other ideas for solving cropping problems.

Couldn't find any details on whether Imagine supports this, though.

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

No branches or pull requests

2 participants