Search found 9 matches
- 2014-07-21T10:55:21-07:00
- Forum: MagickWand
- Topic: Perspective + Shepards -- feature request
- Replies: 20
- Views: 34721
Re: Perspective + Shepards -- feature request
Stupid me. I can do mesh warp directly from source to target, without the intermediate perspective distortion. I'll try that. I was wrong again. As I understand it, to use mesh warp, I have to know the target coordinates of the corners of the image or at least of the points on the boundary of some ...
- 2014-07-20T22:21:25-07:00
- Forum: MagickWand
- Topic: Perspective + Shepards -- feature request
- Replies: 20
- Views: 34721
Re: Perspective + Shepards -- feature request
I do not know if this will help, but you could do a mesh warp. see my script at http://www.fmwconcepts.com/imagemagick/meshwarp/index.php for an example. Thanks. Mesh warp looks like something worth trying out. But again, to make it work, I'll need to know the position of control points after the p...
- 2014-07-20T21:36:54-07:00
- Forum: MagickWand
- Topic: Perspective + Shepards -- feature request
- Replies: 20
- Views: 34721
Re: Perspective + Shepards -- feature request
I do not know if this will help, but you could do a mesh warp. see my script at http://www.fmwconcepts.com/imagemagick/meshwarp/index.php for an example. Thanks. Mesh warp looks like something worth trying out. But again, to make it work, I'll need to know the position of control points after the p...
- 2014-07-20T20:57:48-07:00
- Forum: MagickWand
- Topic: Perspective + Shepards -- feature request
- Replies: 20
- Views: 34721
Re: Perspective + Shepards -- feature request
Perspective distortion is straight forward. and mapping specific coordinates in either direction is also quite straight forward. Examples of doing this is in Layering Images Layering Images, Positioning Distorted Perspective Images http://www.imagemagick.org/Usage/layers/#layer_distort Thank you fo...
- 2014-07-19T11:17:49-07:00
- Forum: MagickWand
- Topic: Perspective + Shepards -- feature request
- Replies: 20
- Views: 34721
Re: Perspective + Shepards -- feature request
That is why you need many points >> 8. And try to get control points near the corners and sides to keep it from extruding. Sure. But in fact, in Ursa Major only these 8 points need to be fixed. I'd prefer to avoid picking dozens of points for dozens of constellations by hand just to fight with the ...
- 2014-07-19T10:35:33-07:00
- Forum: MagickWand
- Topic: Perspective + Shepards -- feature request
- Replies: 20
- Views: 34721
Re: Perspective + Shepards -- feature request
I tried quadratic distort with 8 control points. The result is grotesque, like I warned in the first post:
![Image](http://i.imgur.com/ncHYQRP.jpg)
![Image](http://i.imgur.com/ncHYQRP.jpg)
- 2014-07-19T00:24:34-07:00
- Forum: MagickWand
- Topic: Perspective + Shepards -- feature request
- Replies: 20
- Views: 34721
Re: Perspective + Shepards -- feature request
None. I'm using the MagickWand API, not the command-line tools. Apologies if that wasn't clear.dlemstra wrote:What are the commands you are executing on the command line?
- 2014-07-18T08:40:14-07:00
- Forum: MagickWand
- Topic: Perspective + Shepards -- feature request
- Replies: 20
- Views: 34721
Re: Perspective + Shepards -- feature request
Thank you, snibgo. I did consider the way you propose. My C++ program would have to spawn 'convert' on each constellation image, read its stderr through a pipe, parse the coefficients, read the converted image from the disk, and pass it on to ShepardsDistortion. All in all, this would be an ugly hac...
- 2014-07-18T04:53:40-07:00
- Forum: MagickWand
- Topic: Perspective + Shepards -- feature request
- Replies: 20
- Views: 34721
Perspective + Shepards -- feature request
Dear MagickWand wizards, Here is my use case: I am developing a batch application for generating high-quality stylized sky maps. To this end, I overlap distorted images of constellations and exactly positioned stars. Here is an example: http://i.imgur.com/weNNwce.jpg PerspectiveDistortion maps the p...