382 questions
0
votes
0
answers
15
views
How are the givens rotation of a matrix and its hermitian related?
I am working on transformation problem
A = U B U^dagger
in which I want to givens rotate U and its hermitian (U^dagger). Is there a relation between the Givens Rotation of a matrix and its hermitian?
...
0
votes
1
answer
41
views
Image rotations in 3D space based on rotation matrices - Vector norm change
I am working on image rotations in 3D space. I am trying to rotate an image on a 3D graph based on Yaw, Pitch, and Roll angles.
I've succeeded in plotting the image as a polygon. Here is a view for ...
0
votes
0
answers
41
views
C# SharpDX, Quaternion Squad not continue
I'm using SharpDX to perform Squad interpolation of quaternions, but the calculated results are not continuous. Here is the code. What is the issue, and how can I fix it?
The following graph ...
0
votes
0
answers
48
views
Opencv coordinate transformation: Rotate a rotated coordinate system by one of its new (rotated) axes
For my thesis I am doing a computer vision project. Part of this is a lot of coordinate transformations which i struggle with at the moment. I just cannot rotate my coordinate system by an arbitrary ...
1
vote
0
answers
116
views
Rotation matrix to Euler angles (Static RPY) using the C++ Eigen library
TLDR:
How to get Euler angles in RPY form from a rotation matrix using the Eigen library. I tried ChatGPT, Google search and the documentation. The following is supposed to be the way: mat.eulerAngles(...
0
votes
0
answers
20
views
Parsing and Playing AMC/ASF in Unity
I've been trying to manually parse and play amc/asf files in unity. I've parsed the data but I'm not applying it correctly.
Here is my setup:
Parsing the data
It is assumed that Unity uses a left-...
0
votes
0
answers
41
views
Rotation calculation disagreement between Wolfram Alpha and Scipy?
I'm trying to validate quaternion and rotation array conversions using Scipy and WolframAlpha.
Converting quaternions to rotation matrices, I'm using Scipy:
from scipy.spatial.transform import ...
1
vote
1
answer
85
views
Calculate new X,Y rectangle coords after rotation
How to correctly calculate X1 after the rectangle was rotated 30 degrees? The X point is 164,83 before the rotation. I used this code:
void rotate_rectangle(double x, double y, double angle, double* ...
1
vote
2
answers
173
views
Corners detection fails when textbox is rotated
After rotating the text box in the GTK drawing area, the four corners detection didn't work anymore as the x,y vertices were left to their original values. I used this code to update them but still ...
1
vote
1
answer
156
views
calculating rotation matrix and translation vector
I have some camera parameters, from there I can get the intrinsic parameters matrix, but I didn't know how to calculate the extrinsic parameters without knowing the real world coordinates. I want ...
0
votes
0
answers
39
views
How do I make a 3D representation of a 2D matrix with a z value on each element
I am working on the 42 school project FdF that is a computer graphics related project that uses an API for the Xlib named minilibx (linked below if you want to check out) and need to make a 3D ...
1
vote
1
answer
465
views
how to use efficiently rotation matrix in numpy to compute new coordinates along a circle (avoiding for loops)?
I would like improve the script below.
The goal of the script is to compute different coordinates corresponding to several angles. This corresponds to rotate one point around x axis and for each step ...
1
vote
1
answer
59
views
ThreeJS: Adding DecalGeometry inside to grouped object
There is a small sketch based of original ThreeJS DecalGeometry example and it works fine. Basically, it has to add logo to the tank center by X axis perpendicular [{0, 0, 0}, {tankRadius, 0, 0}] and ...
1
vote
0
answers
190
views
How to get correct rotation matrix from two vectors?
Problem:
According to a 3D coordinate axes, there exists a vector, v1. Now, this 3D coordinate axes rotates by a certain yaw, then pitch, then roll. Now, the vector existing in the space appears ...
0
votes
1
answer
36
views
Expanding quad to be oriented along control points
I have a problem with expanding and orienting a 4 vertices quad along two control points. I made this picture to illustrate my problem:
Here is my HTML5 canvas code trying to solve this problem. ...