Reimplemented histogram equalization + new bindings.