Content aware image cropping
Home Page:http://29a.ch/2014/04/03/smartcrop-content-aware-image-cropping
Geek Repo:Geek Repo
Github PK Tool:Github PK Tool
jrast opened this issue 6 years ago · comments
As I understand the Code, the cie function is used to transform the RGB image to grayscale. Why are custom values used and not the default ones, for example provided on the wikipedia page, which would be
0.2126 * R + 0.7152 * G + 0.0722 * B
smartcrop.js/smartcrop.js
Line 562 in 11614e1
https://en.wikipedia.org/wiki/Grayscale
Sorry, just seen issue #77 which asks exactly the same question...