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
Post a Comment