Fix color histogram extraction class