pub const NUM_TRANSFORMS: u8 = 8;
D8 geometric transforms considered (identity + rotation/reflection).