Changes since version 2.23.1¶
New Features¶
-
Plane basis + scalar angle for 2D shapes —
Rectangle2Dgains optionaldir_u/dir_v(in-plane basis) andEllipsegains ananglescalar; both now place their body in the same deterministic frame as their handles on any plane.CoordinateMappergainspixel_axes()to expose the annotation plane's pixel basis.ActRectangle2D/ActEllipseaccept the samedir_u/dir_vbasis. -
Canonical scalar ellipse labelme storage — the pytanga
ellipselabelme extension is written as a center point plusradius_u/radius_v/anglescalar keys (instead of[center, rim_u, rim_v]rim points); the legacy rim form is still accepted on load.
Bug Fixes¶
-
Rectangle2Dbody and handles use one in-plane frame — the body is placed with a deterministic in-plane basis instead of the shortest-arc+z → normalrotation (arbitrary near-z), so a rectangle on a tilted calibrated plane no longer renders rotated relative to its corner/rotate handles. -
LabelMe rectangles/circles round-trip on a tilted calibrated plane —
LabelMeStorebuilds/exports rectangles in the mapper's pixel basis, computes circle radii in full 3D, and places the circle rim on the plane, so pixel shapes survive load + save on any 3D plane.