Halcon rectangular coordinates and angle modification