Add switches in HOG transform