Squeeze Mapping: Transform Circle to Quarter Moon Shape

  • Thread starter Carol_m
  • Start date
  • Tags
    Mapping
In summary, Henry_M is trying to map every point in a circle to a point in a quarter moon shape, but is struggling to get x' in terms of x. He is looking for help from the community to solve this problem.
  • #1
Carol_m
11
0
Hello!

I am trying to transform a circle into a "quarter moon shape". This is that every point in the circle is mapped into the "quarter moon shape" - therefore squeezed.

In particular I am looking for a expression that relates x x' and y y' ...

Can any bright mind help me :) ?

Thank you
 
Physics news on Phys.org
  • #2
I'm not quite sure exactly what you mean by a "quarter moon", can you be any more explicit? In any case, there will be a whole multitude of such mappings; do you want some specific property (perhaps conformality like your other thread)?

It'd be useful if you could give some context to your question, then perhaps I can be a little more helpful. Why are you interested in this expression?
 
  • #3
Hi henry_m,

Please check the figure attached so you can see what I meant about the "quarter moon" shape. Sorry if I wasn't clear, I didn't know how to call it :)

I am an engineer and this is part of a problem that I need to solve. Basically, I want to map every point in the circle to a point in the "quarter moon" shape. In my understanding y'=y but I am struggling to get x' in terms of x.

Any help from the bright minds is much appreciate it! :)

Thank you!
 

Attachments

  • transformation2.jpg
    transformation2.jpg
    8.5 KB · Views: 401
  • #4
Ok... the attached figure shows what this mapping must do. It must map each (red) line of the circle to a line of the quarter moon. Let's see how it can be done.

The equation of a circle of radius r is:

[tex]x^2+y^2=r^2[/tex]

so, the x coordinate of left half of the circle (which i will call xL) is given by:

[tex]x_L=-\sqrt{r^2-y^2}[/tex]

and the x coordinate of the right half of the circle is:

[tex]x_R=\sqrt{r^2-y^2}[/tex]

Which means the ends of the red line on the circle are at the coordinates (xL,y) and (xR,y).

The right half of the quarter moon is a half circle, so its x coordinate (which i will call x'R) is also given by:

[tex]x'_R=\sqrt{r^2-y^2}[/tex]

The left half of the quarter moon is exactly midway between the right half and the y axis, so its x coordinate (which i will call x'L) is the half of x'R:

[tex]x'_L=\frac{\sqrt{r^2-y^2}}{2}[/tex]

And so the coordinates of the ends of the red line on the quarter moon are (x'L,y) and (x'R,y).

Now we just need to find a transformation that map points on the red line on the circle to points on the quarter moon. If we choose a linear transformation:

[tex]x'=Ax+B[/tex]

It must map the left end of the red line on the circle (at (xL,y)) to the left end of the red line on the quarter moon (at (x'L,y)), so the following must be true:

[tex]x'_L=Ax_L+B.[/tex]

It must also be true for the right ends of both lines, so:

[tex]x'_R=Ax_R+B.[/tex]

Solving it for A and B and substituting the values of xL, xR, x'L and x'R, we find:

[tex]A=\frac{1}{4}[/tex]

and

[tex]B=\frac{3\sqrt{r^2-y^2}}{4}[/tex]

So, the final transformation is:

[tex]x'=\frac{1}{4}x+\frac{3\sqrt{r^2-y^2}}{4}[/tex].
 

Attachments

  • transformation2.jpg
    transformation2.jpg
    11.7 KB · Views: 398
  • #5
OK, I guess that the left-hand boundary of that figure is the arc of a larger circle, intersecting the smaller one at opposite points?

One strategy would certainly be to keep y the same, and then for each fixed y just map linearly, i.e keep each point the same proportional distance away from the left and right boundaries. So, explicitly, if the left and right boundaries on the original figure are at x=f1(y) and g1(y) repectively, and on the final figure at x=f2(y) and g2(y) (in your example g1=g2), you have a map (x',y')=(a(y)x+b(y),y), with a(y) and b(y) chosen such that (f1(y),y) maps to (f2(y),y) and similar for g.

I hope that's clear. The rest should be just algebra, though it might be a little messy.

Another way that is perhaps mathematically a little prettier is to find a conformal map using complex variables. My strategy would be find the inverse map. First translate so one of the corners is at 0, then take z-->1/z, which will leave you with a 'wedge'. Translate again so that the corner of the wedge is at the origin, then take some power to turn it into a half-plane. Then a standard mobius map will take you to a circle. Depending on your application, this is likely to be seriously messy though, especially if you write it in terms of (x,y)-->(x',y') rather than z-->z', and I wouldn't like to have to do all this explicitly, at least without mathematica to help me out.
 
  • #6
Hi coelho!

Thank you very much for your detailed response it has been really useful!

many thanks to henry_m too for the help!

You guys are great!

Cheers,
 

What is squeeze mapping?

Squeeze mapping is a mathematical transformation used to map a circular shape onto a quarter moon shape. It involves altering the size and shape of the original shape to fit onto the desired shape.

How is squeeze mapping useful?

Squeeze mapping is useful in various fields such as computer graphics, image processing, and geometric modeling. It allows for the efficient representation and manipulation of complex shapes.

What is the process of squeeze mapping?

The process of squeeze mapping involves scaling and shearing the original circular shape to fit onto the quarter moon shape. This can be achieved using mathematical equations and transformations.

What are the applications of squeeze mapping?

Squeeze mapping has various applications, such as creating realistic 3D graphics, transforming images and textures, and creating geometric models for animations and simulations.

Are there any limitations to squeeze mapping?

While squeeze mapping is a useful tool, it has some limitations. It may not be suitable for highly complex shapes, and the resulting shape may have distortions or inaccuracies compared to the original shape.

Similar threads

Replies
2
Views
286
  • Astronomy and Astrophysics
Replies
5
Views
1K
Replies
1
Views
1K
  • Calculus
Replies
29
Views
715
Replies
3
Views
600
Replies
6
Views
2K
  • Calculus
Replies
9
Views
2K
  • Precalculus Mathematics Homework Help
Replies
17
Views
2K
Replies
21
Views
10K
Back
Top