For similarity transforms, we parameterise the 2D transformation space by translations (t1,t2), log scale (logs) and rotation (θ). We discretise with bin sizes that are 1/8 of the image size for translation, one octave for scale, and π/8 radians for rotation.