vrosnet / aforge

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

Image Warping #58

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago

The idea would be to input a source image and a distort map, and to get 
back a distorted image as output.
The input map would consist of a set of points locations with coresponding 
new location, or motion vectors. 

With computed distort map, many filters can be derived from that base, 
like swirl, spherize, water effect etc.
With manually or indirectly computed distort map, effects like morphing 
could be achieved. 

more infos:
http://en.wikipedia.org/wiki/Image_warping
http://www.codeproject.com/KB/GDI-plus/
displacementfilters.aspx?display=Print

Original issue reported on code.google.com by jcharm...@gmail.com on 25 Mar 2008 at 5:43

GoogleCodeExporter commented 8 years ago

Original comment by andrew.k...@gmail.com on 13 May 2008 at 6:45

GoogleCodeExporter commented 8 years ago
Hi,

I've implemented the 1 of the filters requested (water), are you interested in 
the
others from the web page being added?

Original comment by mattd...@gmail.com on 4 Feb 2010 at 11:32

Attachments:

GoogleCodeExporter commented 8 years ago
I've refactored the code and committed it as WaterWave class.

> I've implemented the 1 of the filters requested (water), are you
> interested in the others from the web page being added?
Not really sure. Coding style of the Water.cs was quite poor (code, 
documentation, 
optimization, features of the class).

By the way. The ticket actually asks a bit different. Instead of creating 
separate 
class for each effect, it is required to create single image processing 
routine, 
which takes an image and map of displacements (motion vectors). This will allow 
creating any type of effect by user (user just calculates the map and the rest 
is 
done by image processing routine). But, on another hand, making specially 
designed 
effects is also nice, since it allows to have things like interpolation, etc. 
(something, which is custom for certain effect).

Original comment by andrew.k...@gmail.com on 26 Feb 2010 at 2:45

GoogleCodeExporter commented 8 years ago
Added ImageWarp image processing filter, which sets pixels in destination image 
to 
values from source image taken with specified offset.

Committed in revision 1201. Will be released in version 2.1.2.

Original comment by andrew.k...@gmail.com on 1 Mar 2010 at 12:18

GoogleCodeExporter commented 8 years ago

Original comment by andrew.k...@gmail.com on 10 Mar 2010 at 3:10