Linked Questions

526
votes
19answers
130k views

Where can I find examples of good Mathematica programming practice?

I consider myself a pretty good Mathematica programmer, but I'm always looking out for ways to either improve my way of doing things in Mathematica, or to see if there's something nifty that I haven't ...
92
votes
4answers
11k 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?
73
votes
2answers
4k views

Extract values for ViewMatrix from a Graphics3D

Under More Information in the help page of ViewMatrix the following entry can be found With the setting ...
19
votes
1answer
3k views

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

I would like to distort or map a given JPEG so that it looks 3D when viewed from certain angle, as in this YouTube video. The most interesting part of the video: I usually use conformal mapping (a ...
15
votes
2answers
799 views

Can Mathematica be used to make anamorphic distortions like these?

We have all see these sidewalk and street images that appear to be 3D based on the viewers perspective, but then wildly distort when viewed from a different perspective. Seems to me anamorphic ...
12
votes
4answers
2k views

Applying an ArrayPlot as a texture to the surface of a cylinder

I would like to apply a matrix plot to the surface of a 3D cylinder. The matrix plot is the output from a custom cellular-automata, and it would be nice to see the lefthand side of the plot connected ...
6
votes
0answers
231 views

Anamorphic projection onto the corner of a room

I want to use a router to carve anamorphic projections of polyhedron wireframes onto two adjacent walls of my office. Like this: In order to do this I need to transfer the positions of the vertices ...
4
votes
0answers
183 views

Mapping Images in Parisian metro stations

One particular aspect of some Parisian metro stations is that stations' walls are curved, even in the sides where one would place advertising posters. Here is a picture of one such station: I was ...
3
votes
0answers
133 views

Challenge: Calulating The Resulting 2D Image Behind A Lens [closed]

This is a tough question! I would like to calculate how an image (a real 2D photograph) looks if I place a lens at a certain distance d1 from it and I observe it at a certain distance d2. It is ...
0
votes
1answer
478 views

What kind of algorithm can be used to map image coordinates to cylinder coordinates

I plan to flatten an images on curved surface(eg: jar or door knob) and I found a pretty good post which helps me a lot :)(link below). However, I still confuse on how to map image coordinate to ...
0
votes
0answers
170 views

Removing Perspective Distortion [duplicate]

Below is my input: I would like to remove perspective distortion from the image. Expected output below: