{"id":102,"date":"2026-03-24T11:01:54","date_gmt":"2026-03-24T09:01:54","guid":{"rendered":"https:\/\/blogs.uef.fi\/photogrammetry\/?page_id=102"},"modified":"2026-03-24T11:08:18","modified_gmt":"2026-03-24T09:08:18","slug":"euler-angles-rotation-matrices","status":"publish","type":"page","link":"https:\/\/blogs.uef.fi\/photogrammetry\/euler-angles-rotation-matrices\/","title":{"rendered":"Euler Angles &amp; Rotation Matrices"},"content":{"rendered":"\n<p><br>Understanding rotations is fundamental in photogrammetry and computer vision. Whether you are working with cameras, 3D models, or coordinate systems, you need a precise way to describe how objects are oriented in space. This is where <strong>rotation matrices<\/strong> and <strong>Euler angles<\/strong> come into play.<br><br>\ud83d\udccc What Is a Rotation Matrix?<br>A rotation matrix is a mathematical tool used to rotate points or vectors in space. It allows us to transform coordinates from one orientation to another without changing their shape or size.<br>In simple terms:<br>A <strong>position vector<\/strong> defines <em>where<\/em> something is<br>A <strong>rotation matrix<\/strong> defines <em>how it is oriented<\/em><br>Together, they fully describe the pose of an object.<br><br>\ud83d\udd04 2D Rotation (Basic Concept)<br>The simplest case is rotation in 2D space, where a point rotates around the origin by an angle \u03b8.<br>The transformation is:<br>x\u2032 = cos(\u03b8)\u00b7x \u2212 sin(\u03b8)\u00b7y<br>y\u2032 = sin(\u03b8)\u00b7x + cos(\u03b8)\u00b7y<br>This represents a standard counterclockwise rotation. It\u2019s the foundation for all higher-dimensional rotations.<br><br>\ud83e\udded 3D Rotation Matrices<br>In 3D space, rotations are more complex because they can occur around three different axes:<br><strong>X-axis rotation<\/strong><br><strong>Y-axis rotation<\/strong><br><strong>Z-axis rotation<\/strong><br>Each axis has its own rotation matrix. By combining them, we can represent any orientation in 3D space.<br>A full 3D rotation is obtained by multiplying these matrices together. However, the <strong>order of multiplication matters<\/strong>\u2014changing the order results in a completely different orientation.<br><br>\ud83c\udfaf Euler Angles Explained<br>Euler angles are a way to describe 3D rotation using three angles:<br><strong>\u03c9 (omega)<\/strong> \u2192 rotation around X-axis<br><strong>\u03c6 (phi)<\/strong> \u2192 rotation around Y-axis<br><strong>\u03ba (kappa)<\/strong> \u2192 rotation around Z-axis<br>These angles are applied in sequence to achieve the final orientation.<br>This method is widely used in:<br>Photogrammetry<br>Robotics<br>Computer vision<br>because it provides a simple and intuitive way to describe rotations.<br><br>\u26a0\ufe0f Limitations of Euler Angles<br>While Euler angles are easy to understand, they come with important drawbacks:<br>1. Ambiguity<br>Different combinations of angles can produce the same final rotation. This makes direct comparison unreliable.<br>2. Gimbal Lock<br>When two rotation axes align (e.g., pitch = \u00b190\u00b0), the system loses one degree of freedom. This creates instability in calculations.<br>3. Practical Limitations<br>Due to these issues, Euler angles are not always suitable for systems requiring stable and continuous rotations (e.g., robotics or real-time tracking).<br><br>\ud83d\udd01 Alternative: Axis-Angle Representation<br>To overcome these limitations, rotations can also be represented using:<br>A <strong>rotation axis (vector)<\/strong><br>A <strong>rotation angle around that axis<\/strong><br>This is known as the <strong>axis-angle representation<\/strong>.<br>Key idea:<br>A 3D rotation can be described as rotating around a single vector in space.<br>An important property:<br>If a vector is the axis of rotation, applying the rotation matrix to it does not change it. This means the vector is an <strong>eigenvector<\/strong> of the rotation matrix.<br><br>\u2795 Why This Matters in Photogrammetry<br>Rotation modeling is essential for:<br>Camera orientation<br>Image alignment<br>3D reconstruction<br>Coordinate transformations<br>Without a solid understanding of rotations, it is not possible to correctly relate image data to real-world coordinates.<br><br>\ud83d\ude80 Summary<br>Rotation matrices define how objects are oriented in space<br>2D rotation is simple and based on one angle<br>3D rotation uses multiple axes and matrix multiplication<br>Euler angles provide an intuitive representation but have limitations<br>Axis-angle representation offers a more robust alternative<br>Mastering these concepts is the first step toward understanding more advanced topics like <strong>relative orientation<\/strong>, <strong>camera models<\/strong>, and <strong>3D reconstruction<\/strong>.<br><br>\ud83d\udc49 In the next section, we will explore <strong>coordinate transformations<\/strong>, where these rotation concepts are applied to map between different coordinate systems.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Understanding rotations is fundamental in photogrammetry and computer vision. Whether you are working with cameras, 3D models, or coordinate systems, you need a precise way to describe how objects are oriented in space. This is where rotation matrices and Euler angles come into play. \ud83d\udccc What Is a Rotation Matrix?A rotation matrix is a mathematical [&hellip;]<\/p>\n","protected":false},"author":746,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_acf_changed":false,"footnotes":""},"class_list":["post-102","page","type-page","status-publish","hentry"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.3 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Euler Angles &amp; Rotation Matrices - Learn Photogrammetry<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/blogs.uef.fi\/photogrammetry\/euler-angles-rotation-matrices\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Euler Angles &amp; Rotation Matrices - Learn Photogrammetry\" \/>\n<meta property=\"og:description\" content=\"Understanding rotations is fundamental in photogrammetry and computer vision. Whether you are working with cameras, 3D models, or coordinate systems, you need a precise way to describe how objects are oriented in space. This is where rotation matrices and Euler angles come into play. \ud83d\udccc What Is a Rotation Matrix?A rotation matrix is a mathematical [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/blogs.uef.fi\/photogrammetry\/euler-angles-rotation-matrices\/\" \/>\n<meta property=\"og:site_name\" content=\"Learn Photogrammetry\" \/>\n<meta property=\"article:modified_time\" content=\"2026-03-24T09:08:18+00:00\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"3 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/blogs.uef.fi\\\/photogrammetry\\\/euler-angles-rotation-matrices\\\/\",\"url\":\"https:\\\/\\\/blogs.uef.fi\\\/photogrammetry\\\/euler-angles-rotation-matrices\\\/\",\"name\":\"Euler Angles &amp; Rotation Matrices - Learn Photogrammetry\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/blogs.uef.fi\\\/photogrammetry\\\/#website\"},\"datePublished\":\"2026-03-24T09:01:54+00:00\",\"dateModified\":\"2026-03-24T09:08:18+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/blogs.uef.fi\\\/photogrammetry\\\/euler-angles-rotation-matrices\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/blogs.uef.fi\\\/photogrammetry\\\/euler-angles-rotation-matrices\\\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/blogs.uef.fi\\\/photogrammetry\\\/euler-angles-rotation-matrices\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/blogs.uef.fi\\\/photogrammetry\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Euler Angles &amp; Rotation Matrices\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/blogs.uef.fi\\\/photogrammetry\\\/#website\",\"url\":\"https:\\\/\\\/blogs.uef.fi\\\/photogrammetry\\\/\",\"name\":\"Learn Photogrammetry\",\"description\":\"\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/blogs.uef.fi\\\/photogrammetry\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Euler Angles &amp; Rotation Matrices - Learn Photogrammetry","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/blogs.uef.fi\/photogrammetry\/euler-angles-rotation-matrices\/","og_locale":"en_US","og_type":"article","og_title":"Euler Angles &amp; Rotation Matrices - Learn Photogrammetry","og_description":"Understanding rotations is fundamental in photogrammetry and computer vision. Whether you are working with cameras, 3D models, or coordinate systems, you need a precise way to describe how objects are oriented in space. This is where rotation matrices and Euler angles come into play. \ud83d\udccc What Is a Rotation Matrix?A rotation matrix is a mathematical [&hellip;]","og_url":"https:\/\/blogs.uef.fi\/photogrammetry\/euler-angles-rotation-matrices\/","og_site_name":"Learn Photogrammetry","article_modified_time":"2026-03-24T09:08:18+00:00","twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/blogs.uef.fi\/photogrammetry\/euler-angles-rotation-matrices\/","url":"https:\/\/blogs.uef.fi\/photogrammetry\/euler-angles-rotation-matrices\/","name":"Euler Angles &amp; Rotation Matrices - Learn Photogrammetry","isPartOf":{"@id":"https:\/\/blogs.uef.fi\/photogrammetry\/#website"},"datePublished":"2026-03-24T09:01:54+00:00","dateModified":"2026-03-24T09:08:18+00:00","breadcrumb":{"@id":"https:\/\/blogs.uef.fi\/photogrammetry\/euler-angles-rotation-matrices\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/blogs.uef.fi\/photogrammetry\/euler-angles-rotation-matrices\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/blogs.uef.fi\/photogrammetry\/euler-angles-rotation-matrices\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/blogs.uef.fi\/photogrammetry\/"},{"@type":"ListItem","position":2,"name":"Euler Angles &amp; Rotation Matrices"}]},{"@type":"WebSite","@id":"https:\/\/blogs.uef.fi\/photogrammetry\/#website","url":"https:\/\/blogs.uef.fi\/photogrammetry\/","name":"Learn Photogrammetry","description":"","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/blogs.uef.fi\/photogrammetry\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"}]}},"_links":{"self":[{"href":"https:\/\/blogs.uef.fi\/photogrammetry\/wp-json\/wp\/v2\/pages\/102","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blogs.uef.fi\/photogrammetry\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/blogs.uef.fi\/photogrammetry\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/blogs.uef.fi\/photogrammetry\/wp-json\/wp\/v2\/users\/746"}],"replies":[{"embeddable":true,"href":"https:\/\/blogs.uef.fi\/photogrammetry\/wp-json\/wp\/v2\/comments?post=102"}],"version-history":[{"count":1,"href":"https:\/\/blogs.uef.fi\/photogrammetry\/wp-json\/wp\/v2\/pages\/102\/revisions"}],"predecessor-version":[{"id":104,"href":"https:\/\/blogs.uef.fi\/photogrammetry\/wp-json\/wp\/v2\/pages\/102\/revisions\/104"}],"wp:attachment":[{"href":"https:\/\/blogs.uef.fi\/photogrammetry\/wp-json\/wp\/v2\/media?parent=102"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}