Modified x/y to h/v