Note that there are some explanatory texts on larger screens.

plurals
  1. POAffine transform with interpolation
    primarykey
    data
    text
    <p>I would like to do an affine transformation on a very low resolution bitmap and I would like to do it while preserving the maximum amount of information.</p> <p>My input data is a 1 bit 64-by-64 pixel image of hand written character and my output would be greyscale and higher resolution. Upon analysing the image I construct a series of affine transformations (rotation, scaling, shear, translation) what I could multiply into a single affine transformation matrix.</p> <p>My problem is that given the <strong>input image</strong> and my computed <strong>affine transformation matrix</strong>, how can I calculate my output image in the highest possible quality? I have read articles about different interpolation techniques, but all of them are about how to do interpolation for scaling, and not for general affine transforms.</p> <p>Here is a demo what is doing exactly what I am looking for. Given an affine transformation matrix and an interpolation technique it calculates an image.</p> <p><a href="http://bigwww.epfl.ch/demo/jaffine/index.html" rel="nofollow">http://bigwww.epfl.ch/demo/jaffine/index.html</a></p> <p><strong>Can you explain me what are the steps required for calculating a higher resolution (for example 4x) greyscale image, if I have a lower resolution 1-bit input and a given T affine transformation matrix?</strong></p> <p>Can you link me to some <strong><em>source code</em></strong> or <strong><em>tutorials</em></strong> or <strong><em>articles</em></strong> or possibly even <strong><em>books</em></strong> about how to implement a linear, cubic or better interpolation with affine transform?</p> <p>I need to implement this problem in Java, and I know Java has an Affine class, but I don't know if it implements interpolation. Do you know any C++ or Java library what has nice to read code for figuring out how to write an algorithm for doing affine transform using interpolation?</p> <p><strong>Are there any freely available libraries for Java or C++ which have built-in functions for calculating affine transform using interpolation?</strong></p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload