In several occasions I stumbled upon the possibility to distort images with conformal maps
(for example with SeamlessMaker http://www.hypatiasoft.fr/) and I experimented with
http://davidbau.com/conformal/ to get maps that might be interesting for distortion.
Is fx expressive enough to define conformal maps (functions with one complex variable)?
Has someone tried this in IM? Some projections are conformal maps ...
image distortion with conformal maps
-
- Posts: 12159
- Joined: 2010-01-23T23:01:33-07:00
- Authentication code: 1151
- Location: England, UK
Re: image distortion with conformal maps
Yes, however, fx doesn't do complex arithmetic.
Some conformal maps don't even need fx. For example, "-resize 50%".
Some conformal maps don't even need fx. For example, "-resize 50%".
snibgo's IM pages: im.snibgo.com
- fmw42
- Posts: 25562
- Joined: 2007-07-02T17:14:51-07:00
- Authentication code: 1152
- Location: Sunnyvale, California, USA
Re: image distortion with conformal maps
I have created a script. conformal, at my link below that allow one to do conformal mappings for 7 different complex formulae (expressions). Note it will be slow due to the use of -fx. A 500x500 image should process in about 10-15 seconds.