I need to perform skew correction on some images (lets say the format is tiff). That is, I have some images which can come in tilted to the right or left and I need to adjust them so that they are straight up and down. The images consist of text and lines; the lines are basically borders around the text; so all of the lines are horizontal and vertical (which hopefully simplifies the problem).
Is there an open source java library that would help with this?