Dear Icy,
I have two sets of coordinates, and I want to transform one to fit to the other.
Basically I'm creating an image for a region to tightly fit into, corrected for rotation/shearing:
I have 4 sets of point-coordinates (X Y) for the initial region, and 4 sets for the target region.
java.lang.UnsatisfiedLinkError: org.opencv.core.Mat.n_Mat()J
Which indicates that the library file cannot be found? The same code works fine in a standalone java project.
Perhaps
linking to libraries works differently for plugins? I'm a bit new to
java so if you could explain how that works it might help.
Otherwise suggestions to do an affinetransformation without openCV would be appreciated, I'm not great at math so I was hoping to use the openCV methods to generate the needed matrices for me out of the sets of points.
For testing code, see here:
I cannot get this to work in an Icy plugin.