zhaojiahai / aforge

Automatically exported from code.google.com/p/aforge
Other
0 stars 0 forks source link

Converting an Image between Rectangular and Polar Coordinates #164

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
I'm looking for the ability to convert between Rectangular and Polar 
Coordinates, in the same way you can with the Photoshop filter.

This would be what would be used to map rectangular textures (like any of the 
generated textures with AForge) and wrap them around a sphere in 3D.

---

I'm looking to convert images in the same way as described in the 2nd part of 
this tutorial, that begins with the 3 square images half way down:
http://www.vantagegraphics.co.uk/pages/ ... phere.html

Or as described in this 3 page tutorial:
http://www.bluesubstance.com/photoshop/polar_01.htm

Original issue reported on code.google.com by dandixo...@gmail.com on 13 Oct 2010 at 3:55

GoogleCodeExporter commented 8 years ago
Here is another one which seems relevant:
http://www.vantagegraphics.co.uk/pages/notebook/mapsphere.html

Original comment by andrew.k...@gmail.com on 13 Oct 2010 at 9:35

GoogleCodeExporter commented 8 years ago

Original comment by andrew.k...@gmail.com on 1 Feb 2011 at 9:38

GoogleCodeExporter commented 8 years ago
Added TransformToPolar image processing routine which transforms source image 
to polar coordinates. Produced effect is similar to the one available in GIMP 
as "Polar Coordinates" distortion filter. The new class provides similar 
properties as configuration options in GIMP.

Committed in revision 1386. Will be released in version 2.1.6.

Original comment by andrew.k...@gmail.com on 2 Feb 2011 at 4:24

GoogleCodeExporter commented 8 years ago
Seems lime Polar to Rect should be done also ...

Original comment by andrew.k...@gmail.com on 4 Feb 2011 at 3:03

GoogleCodeExporter commented 8 years ago
Added TransformFromPolar which does transformation from polar coordinates to 
rectangle.

Committed in revision 1387. Will be released in version 2.1.6.

Original comment by andrew.k...@gmail.com on 4 Feb 2011 at 4:25

GoogleCodeExporter commented 8 years ago

Original comment by andrew.k...@gmail.com on 28 Jul 2011 at 9:44

GoogleCodeExporter commented 8 years ago

Original comment by andrew.k...@gmail.com on 10 Aug 2011 at 9:24