skew

How can I detect (and correct) skew in images?

I have a large collection of scanned images, and they are all somewhat skewed, with a white area around them. So, these images have rectangles of colors, surrounded by a large white area. The problem is that these rectangles of color are not parallel to the image border. I'm sure there must be a way to programmatically detect these ...

Creating a Skew AngleY from a Skew Factor for a Rhomboid in XAML

I'm not sure if this is possible, but basically I have two degrees that will change the width/size and skew of an image. In a tranformation matrix (<Matrix3DProjection/>), it works like this: M11:cos(x) M12:sin(y)*sin(x) M11:0 M21:0 M22:cos(y) M23:0 M31:0 M32:0 M33:1 So if I have X = 30° and ...

binary pattern: smoothing, normalizing, slant correction

hey all, i need help in a topic to which am a newbie. i currently registered for a pattern recognition course, i have this binary pattern given in the attached pic , and i am asked to find algorithms that will: -a) smooth the pattern -b) normalize the size of the pattern -c) correct its slant i am not asking for someone to solve it fo...