java - Map a rectangle to another, including rotation -


i have 2 images, template, , scan page.
print template , scan it.
images have point each angle.
because scan translated, rotated , can have different size (in vertical horizontal, because of printer distorsions) have map 4 point of scan template.
have position of each point.
how can in java create affinetransform apply scan?

technically can find affine transformation mathematically , apply self using loop finds source pixels every destination pixel , doing interpolation between them, waste of time.

there many image processing library that, opencv.


Comments

Popular posts from this blog

monitor web browser programmatically in Android? -

Shrink a YouTube video to responsive width -

wpf - PdfWriter.GetInstance throws System.NullReferenceException -