JaCraig / Structure.Sketching

Image processing library for use in .Net applications that supports .Net Core.
Apache License 2.0
84 stars 5 forks source link

Affine Transformations #3

Closed JaCraig closed 8 years ago

JaCraig commented 8 years ago

Basically I should be able to improve the speed of some of the translation, rotation, scaling, and shearing code (or add it in cases where it currently doesn't exist) by using a very simple affine transformation. Basic matrix multiplication:

http://homepages.inf.ed.ac.uk/rbf/HIPR2/affine.htm

Projective transformations may also be desirable but at present affine should work well enough for most cases.