Non-Affine image transformations in .NET

前端 未结 3 1736
后悔当初
后悔当初 2021-01-12 10:23

Are there any classes, methods in the .NET library, or any algorithms in general, to perform non-affine transformations? (i.e. transformations that involve more than just ro

3条回答
  •  天命终不由人
    2021-01-12 11:16

    All of the example images you posted can be done with a Quadrilateral Distortion. Though I cant say for certain that a quad distort will cover ALL non affine transforms.

    Heres a link to a not so good implementation of it in C#... it works, but is slow. Poke around Wikipedia for the many different optimizations available for these kinds of calculations

    http://www.vcskicks.com/image-distortion.html

    -Neil

提交回复
热议问题