added parameter class to orientation histogram