magick
magick copied to clipboard
Add new CropStrategy CSMaxEntropyFast, rewrite in C.
- It's not necessary to calculate entropy for full of image when finding max entropy rectangle. We could use previous result to speed up this process. Reduce time complexity from O(n^3) to O(n^2).