algebra op• Data kinds: matrix → rot_scale
• Call: import fullseye as fs; fs.ledger.matrix_to_rot_scale(matrix) (implementation को सीधे call करना हो तो import reprconv; reprconv.matrix_to_rot_scale(matrix), registry से लेना हो तो opsreprconv.get("matrix_to_rot_scale"))
2-D similarity transform (2,2) → (angle [deg], scale)। rot_scale_to_matrix का उल्टा।
scale column norm है, और कोण atan2(m[1,0], m[0,0]) है। shear वाला सामान्य (2,2) देने पर भी कोई exception नहीं आता (केवल similarity हिस्सा पढ़ा जाता है), इसलिए जब residual चाहिए, तो caller की ओर m - rot_scale_to_matrix(...) निकालें।
Args:
matrix: (2, 2)।
Returns:
float का 2-tuple (angle_deg, scale)।
Raises:
ValueError: (2,2) नहीं / degenerate (scale 0) / non-finite।
• Sample data catalog (DL URL / license) — 2-D के लिए skimage.data (BSD/public) + synthetic, 3-D के लिए real data sources (Stanford/PDS आदि) के DL URL।
• Operators का स्रोत और संदर्भ — इस op family के मूल research/methods के स्रोत।
• Algorithm का मानक स्रोत (लेखक, वर्ष) और उपयोग ऊपर की family usage guide में दिए गए हैं।
• representation_conversion — py -3.11 examples/representation_conversion.py
rot_scale को input के रूप में लेते हैं)algebra)angle_to_matrix · matrix_to_angle · rot_scale_to_matrix · shift_to_vector · vector_to_shift · cscalar_to_polar · polar_to_cscalar · countrate_to_counts
*Provenance: reprconv.py — REPRCONV operator registry. यह per-op note tools/opdocs.py md से अपने-आप generate होता है (हाथ से edit न करें)।*
© 2026 Kazufumi Furuse — Fullseye operator documentation. Licensed under Apache-2.0.