The tag has no wiki summary.

learn more… | top users | synonyms

8
votes
2answers
220 views

Applying non-Affine transforms to 2D polygons with textures

I am trying to create a vanishing point perspective transformation of 2D polygons, for example transforming the red polygon into the blue polygon: ...
1
vote
2answers
163 views

Find the centre of FindGeometricTransform

I'm interested in using Solve[] to find the centre point of rotation (as an $x,y,z$ coordinate point) and axis of rotation (as a vector) from a ...
5
votes
1answer
317 views

How to map an image to get an illusion of 3D

I would like to distort or map a given jpg so it looks 3D as in the following youtube video: http://www.youtube.com/watch?v=IfCCUd8mFtg. I usually use conformal mapping (a complex function) to do my ...
5
votes
1answer
135 views
7
votes
2answers
226 views

Is it possible to manipulate a graphics object with 3 rotation transforms simultaneously?

The code that I have written has an unintended consequence that I'm not sure how to get around. I want 3 rotation transforms to be applied simultaneously to 1 graphics object. Instead, I get 3 ...
7
votes
3answers
282 views

Identifying when two graphic objects overlap

I'm designing a small demonstration that helps to visualize the reason behind shaping an electrode that is used to probe a surface: ...
3
votes
1answer
206 views

Volumetric Rendering of cylinder symmetric radial image

I would like to render a cylinder symmetric radial cross-section with Image3D. As an example one could use the propagation of a Bessel Beam through a Lens: Here the cylinder axis is the bottom of ...
1
vote
1answer
156 views

Custom TransformationFunction in Graphics? GeometricTransformation::nonaffine error

There are many functions in Mathematica, which return expressions with TransformationFunction head, for example RotationTransform. Unfortunately, there is no ...
1
vote
3answers
167 views

point-wise transform of `Plot`

Suppose I have the following plot: Plot[(1 - p2)^2/(p2^2 + (1 - p2)^2), {p2, 0, 1}, AxesLabel -> {"p2", "p1"}] Now I want to do a point-wise transform to ...
2
votes
3answers
234 views

Using ImageTransformation[] with a lookup table

I need to transform images by ImageTransformation in a time critical application. Therefore I precalculate a lookup table lut of ...
0
votes
1answer
83 views

Reflection transform of function [duplicate]

I am trying to find the reflection function. Here is my function and its graph. ...
11
votes
3answers
431 views

Rotate a grid, made up of lines, so that it aligns with the xy axes

While working on an answer for another problem I hit upon one of my own. I took the image given in that question and cleaned it up so that I could detect the grid lines: ...
13
votes
4answers
2k views

How to draw a great circle on a sphere?

I apologize for the text description, but new users are not allowed to post images. I want to draw a circle that cuts through the center of a sphere and has an inclination of 15 degrees with the ...
6
votes
1answer
179 views

Digital Elevation Maps (DEM) are Warped yet ReliefPlot renders as a rectangle - how do i join?

I downloaded several USGS Digital Elevation Maps (DEM files) corresponding to 12 adjacent areas. Each file Imports[] into Mathematica and I can render the individual ...
3
votes
3answers
224 views

How to transform and swap columns of this matrix in a simple way? Version 2

So, earlier today I asked the question How to transform this matrix & swap its columns in a simple way? and was given useful and elaborated answers. Now, I'm still not used to the "Array", ...
3
votes
4answers
323 views

How to transform this matrix & swap its columns in a simple way?

I would like to transform matrix $\mathbf A = \begin{pmatrix} a&b&i&j\\ c&d&k&l \\ e&f&m&n \\ g&h&o&p \end{pmatrix}$ into matrix $\mathbf B = ...
19
votes
2answers
547 views

Movable text on a curve

Having an arbitrary curve defined as InterpolatingFunction, what is the best way to place a text on this curve? The text generally has two rows, for example: ...
1
vote
1answer
105 views

Why doesn't Normal[] work?

I have a polygon on which I'm applying a GeometricTransform and I want to get the coordinates of the transformed polygon. ...
66
votes
4answers
5k views

How to peel the labels from marmalade jars using Mathematica?

How can I detect and peel the label from the jar below (POV, cylinder radius, jar contents are all unknown) to get something like this, which is the original label before it was stuck on the jar? ...
4
votes
0answers
170 views

Unexpected behavior of GeometricTransformation

I have the following mapping on the complex plane: $$ z \mapsto \tau \mu z-1, $$ where $\mu$ is complex, $\tau$ is real number. I want to draw the image of left unit semidisk and play with $\tau$. ...