Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [geometric-transform]

The tag has no usage guidance.

3
votes
2answers
136 views

Removing anomalous points from data

I have two sets of 2d-data points which can be transformed in each other by using a certain transformation function. The problem is that in both data sets there are points which do not have ...
0
votes
0answers
56 views

Transform a field with derivatives

Given a function of Cartesian coordinates $(x, y)$ in $g(x, y) = \frac{d}{dx}f(x, y)-y\frac{d}{dy}f(x, y)$, I want to transform this expression to polar coordinates $(r,\phi)$. I saw a solution using ...
2
votes
1answer
44 views

How is the error of FindGeometricTransform calculated? [duplicate]

This question has beeen asked here but was not answered. How is the returned error calculated? I cannot find any information about this in the documentation of ...
0
votes
1answer
71 views

Transforming a conic to it's standard form

Suppose a conic is given.I need to transform it to standard form.So i tried like this: ...
1
vote
1answer
50 views

Sequential 3D transformations

I have a function s[x,y,z] that assumes a reference of centered at the origin and pointed along the positive z axis. Given two points, I want to rotate and translate that function such that its center ...
2
votes
1answer
76 views

How to draw a “Y” shaped branch in Mathematica?

I want to draw a Y-shaped branch in Mathematica. I am trying to draw a line of length L. In step II, I want to translate to the ending point of the line. Then I want to rotate at an angle of 45 deg to ...
4
votes
3answers
350 views

Drawing the Pursuit curves

I was reading this post on Filling Space with Pursuit Polygons. I didn't really see where the filling was, but found it quite interesting. Then I saw these pursuit ...
0
votes
1answer
39 views

With equation of vector fields which are in cylindrical polar coordinates, how to plot 3-D vector field? [closed]

I have the equation of vector fields which are in cylindrical polar coordinates. How do I plot 3-D vector field? I never used Mathematica. Edit2: ...
3
votes
1answer
70 views

What algorithm is used by FindGeometricTransform? [closed]

Can anyone tell me how the operation FindGeometricTransform[pts1, pts2] works (I mean inside logic of the transformation function), or where can I find such an ...
0
votes
0answers
95 views

Eigenvalues not invariant after similarity transformation

I have two examples of matrices that undergo a similarity transformation: a random matrix, and an exclusion-process inspired matrix. The similarity transformation $\sigma$ is given by an $L \times L$ ...
2
votes
3answers
114 views

Computing angle of rotation and scaling factor directly from given transformation matrix

I have a simple 2D transformation matrix performing rotation combined with scaling \begin{bmatrix} 1 & 1 \\ -1 & 1 \end{bmatrix} Where the scalar $r$ is multiplied with \begin{...
0
votes
0answers
66 views

Is there a point-cloud fitting algorithm like Iterative Closest Point in Mathematica?

I would like to fit point clouds that are in a different orientation to each other (two scans of the same object from different angles). This involves finding the geometric transformation between the ...
4
votes
2answers
199 views

Rotating panels with GeometricTransformation

In the field of architecture, learning to manipulate geometry so comprehensively with Mathematica has been fun. However, I seem to have reached my limits with the following ...
5
votes
4answers
950 views

How to double (or triple) each element of equation?

x^2/3+y^2/9==1 (0.5x)^2/3+(0.5*y)^2/9==1 Looks at above two equation,I multiply 0.5 to each element of second equation,which means when plotting, each point ...
1
vote
1answer
147 views

rotate image around fixed point

How can I painlessly rotate a tiff image by some small angle around a point with specific coordinates? The image shouldn't be altered otherwise, it can be padded with zeros if necessary, and then ...
5
votes
1answer
205 views

How to transform general Ellipsoid into rotated axis-oriented one?

Recently, I discovered a long-standing bug in the rendering of Disk and Circle primitives after applying ...
12
votes
2answers
173 views

Why BoundingRegion does not work well?

Bug introduced in 8 or earlier and persisting through 11.2.0 The underlying bug is unstable and wrong rendering of Disk[] and ...
1
vote
2answers
207 views

How to determine roll pitch and yaw/Euler angles from approximately orthogonal matrix?

I have a collection of rigid bodies, each comprising ~100 particles. Each body is defined by a list of points corresponding to the coordinates of its constituent particles. The rigid bodies are ...
1
vote
0answers
44 views

How to get explicit result of geometric transformation? [duplicate]

Seems like this simply rectangle rescale should work and return the exact coordinates of the transformed resulting rectangle (which should be ...
13
votes
2answers
434 views

Extracting data from analog screen photograph

I'm using an analog profilometer from the 1970s and need a way to digitize the data and the only way is through a photograph. I've searched but all I could find was how to extract data from computer ...
0
votes
1answer
101 views

Rotate a RegionPlot3D

I plotted a bunch of regions using RegionPlot3D, and would need to rotate them around an a vector {0,0,1} anchored at point {5,5,5}. I tried RotationTransform, Transformed Region, and changing ...
4
votes
2answers
125 views

Performing geometric transforms on 3D text inside a Graphics3D expression

I am trying to put some 3D text inside a 3D graphics. So far I find two ways to make 3D text. halirutan in "Rotating an image along a Möbius strip?") ...
7
votes
2answers
145 views

DiscretizeGraphics issues with transformations

I noticed DiscretizeGraphics does not work correctly with transformed Graphics such as ...
4
votes
1answer
283 views

Results of Rotate and Translate are not the same in 2D and 3D

I cannot understand why the same transformations in 2D and 3D do not give the similar results (flat join segment line). In 3D the segments are not joined. Please help! ...
2
votes
1answer
117 views

Transform a RegionFunction in ContourPlot3D

This is related to a previous question but now I would like to apply a geometric transformation to the region function first. (I am trying to paint a spot on a cylinder, where the spot is the region ...
1
vote
1answer
120 views

Extracting scaling factor and rotation angle from TransformationFunction

I have successfully transformed two 2D data sets (data1, data2) by using ...
10
votes
1answer
109 views

What does the alignment error returned from FindGeometricTransform measure?

FindGeometricTransform returns "the alignment error together with the transformation function." How is the alignment error computed? I ask because if you iterate <...
-4
votes
1answer
123 views

Mathematica Module for Denavit-Hartenberg Parameters to Transformation Matrix

I need to write a Mathematica module to get a 4*4 transformation matrix given the Denavit-Hartenberg parameters of the manipulator. How do I go about it?
2
votes
1answer
109 views

Get CoordinateTransformData from TransformationFunction?

I can define a composite symbolic transformation as e.g. tf = RotationTransform[θ, {0, 0, 1}] @* TranslationTransform[{0, 0, 1}] which returns (in ...
1
vote
0answers
174 views

Apply a four-point transform crop to an image

I am attempting to straighten and crop an image by using Edge Detection. The original image looks like this. By using edge detection and finding the max and min values for the points regarding the ...
5
votes
0answers
189 views

BSpline: construct surface from enclosing contours

I'm aiming to construct 3D shape from profiles (typical archaeological drawing stuff: front, side and top profiles views). Through several operation, I now have BSpline curves, which should define ...
6
votes
1answer
229 views

Plot points shifted (a lot) in output and PNG export but not in PDF export

Bug introduced in 8 or earlier and persisting through 11.2.0 Consider the following code: ...
4
votes
1answer
86 views

Using RotationTransform and Table

I created a small animation, very simple of course, that works very well. ...
1
vote
1answer
74 views

Implementation of ShearingMatrix

How does Mathematica implement ShearingMatrix? In other words given the parameters $\theta$, $n$ and $v$, what is the formula behind it?
1
vote
2answers
162 views

Images and Linear Transformations

I was playing around with some of the Image processing commands like ImageRotate. I thought it would be fun to try and make up some basic linear transformation rules - starting in 2D and then going ...
13
votes
1answer
600 views

How to align a poster?

I'd like to crop and transform out the magazine cover so that it is rectangular. I read the docs for ImagePerspectiveTransformation, and here's where I got to. ...
1
vote
2answers
152 views
13
votes
2answers
2k views

Application of the projection matrix: Removing perspective distortion

I know that there are many posts about image treatment, but I still have trouble with this little challegene. Baisically I want to remove the perspective distorsion form this image: (source: http://...
3
votes
1answer
273 views

Projecting a Graphics3D object onto a plane

I would like to project a 3-dimensional cone onto a plane and mark the intersection (which is an ellipse) with a line. I find cone2 by performing a transformation ...
3
votes
0answers
99 views

TransformedRegion and RegionPlot

I encountered an issue using RegionPlot together with rotated regions. Notice how as long as one drags a slider in this simple ...
4
votes
1answer
186 views

Getting Area of a region transformed by GeometricTransformation

I tried this: Clear[b1, b2, A, p] b1 = {-1, 1}; b2 = {1, 1}; A = {{2, 1}, {-1, 1}}; p = Parallelogram[{0, 0}, {b1, b2}]; Then drew this: ...
2
votes
1answer
92 views

How to get coordinates from GeometricTransform?

I'm trying to get the exact coordinates of the resulting points from my transform: ...
1
vote
1answer
163 views

Affine Transform Question

I set up these: ...
2
votes
1answer
281 views

Plotting a manifold within an existing surface

I have a dynamical system $\textbf{x}'=\textbf{f(x)}$ where $x\in \mathbb{R}^4$. However, $x_1 +x_2 +x_3 + x_4 =1$ and $0\leq x_i \leq 1$ for $i = 1,2,3,4$, meaning the system lives on the Tetrahedron....
5
votes
2answers
10k views

How do I get the inverse of a homogeneous transformation matrix?

I want to get the inverse of this homogeneous transformation matrix: iab = { {1, 0, 0, 0}, {0, 0, -1, 0}, {0, 1, 0, 3}, {0, 0, 0, 1} } using the ...
4
votes
0answers
90 views

Generation of Space Representation of non-crystallographic Point Groups

In Mathematica the command FiniteGroupData[{"CrystallographicPointGroup",<group number>}, "SpaceRepresentation"] yields the space representation (...
4
votes
2answers
306 views

Rotating an Interpolating Function

I have used the following code to generate eigenfunctions of a PDE: ...
8
votes
1answer
127 views

ImageForwardTransformation produces strange artifacts

I am trying to manipulate an image in equirectangular projection with ImageForwardTransformation. I want to change the projection's inclination to the ecliptic. For ...
4
votes
1answer
662 views

Rotating a contour plot

I am working with some students on transforming conic sections by rotation of axes. I would like to create a simple Manipulate where I plot the before and after ...
2
votes
1answer
357 views

Eigenvectors choose intuitive ordering/sorting

Starting from some symmetric $L\times L$ matrices $M$(see below), I want to compute the eigenvectors in Mathematica, in order to construct an ...