fix visualizeHOG() for rgb