Use ResizedX and ResizedY
Compute gradient
Change range of theta
Compute cell histogram