Login  Register

Using ImageJ to distort or skew an image.

Posted by Blue on Apr 01, 2015; 2:48am
URL: http://imagej.273.s1.nabble.com/Using-ImageJ-to-distort-or-skew-an-image-tp5012282.html

I have a collection of several thousand images that I need to process, but we've realised that the camera wasn't aligned properly. I'm wondering if I can use ImageJ (or Fiji) and a macro to fix each image. Below is an example of what I want to do. Basically, by artificially skewing the image in the other "direction", we can "fix" the problem of the camera being off-centre when the image was taken.

Skew

I've been searching around online and here for an answer, but most solutions seem to be about fixing distortion due to the lens, which I think would be the fisheye effect. I've tried playing with ImageJ and reading the documentation, but I haven't figured it out that way, either. Apologies if this has been solved before.

Thanks!
Remember Wheaton's Law