Questions tagged [skew]
382 questions
59
votes
6 answers
Executing cv::warpPerspective for a fake deskewing on a set of cv::Point
I'm trying to do a perspective transformation of a set of points in order to achieve a deskewing effect:
http://nuigroup.com/?ACT=28&fid=27&aid=1892_H6eNAaign4Mrnn30Au8d
I'm using the image below for tests, and the green rectangle display the area…

karlphillip
- 92,053
- 36
- 243
- 426
48
votes
8 answers
How to generate distributions given, mean, SD, skew and kurtosis in R?
Is it possible to generate distributions in R for which the Mean, SD, skew and kurtosis are known? So far it appears the best route would be to create random numbers and transform them accordingly.
If there is a package tailored to generating…

Aaron B
- 583
- 1
- 5
- 5
43
votes
3 answers
Detect if an OCR text image is upside down
I have some hundreds of images (scanned documents), most of them are skewed. I wanted to de-skew them using Python.
Here is the code I used:
import numpy as np
import cv2
from skimage.transform import radon
filename = 'path_to_filename'
# Load…

singrium
- 2,746
- 5
- 32
- 45
41
votes
8 answers
CSS Transform Skew
Does anyone know how to achieve skew like this:
Using CSS's new transform property?
As you can see I'm trying to skew both corners, anyone know if this is possible?

realph
- 4,481
- 13
- 49
- 104
26
votes
2 answers
Skewed Borders on a Div
I'm trying to skew a div, similar to this:
Slant the top of a div using css without skewing text
or this: http://tympanus.net/codrops/2011/12/21/slopy-elements-with-css3/
Here's an image of what I'm trying to do:
Basically, I need to slant the…

Michelle
- 560
- 1
- 7
- 16
19
votes
1 answer
Semi-transparent slanted background
I want to create an html element, e.g. a div, which is styled as follows:
semi-transparent background-color
rounded borders on all edges
left side of the div draws a straight line
right side of the div draws a skewed line
I'd like to create this…

jessica
- 480
- 6
- 17
19
votes
1 answer
Skew one corner of image
I'm trying to skew one single corner of my div background as shown at the green checkmark in the image below:
In CSS3 I'm however unable to achieve that, skewing completely skews every corner. I just want to skew the bottom right corner to the left…

bartjansen
- 203
- 1
- 2
- 7
14
votes
3 answers
Chrome : Text blurry when skew back : skew(-10deg) -> skew(10deg)
I just want to skew the parent and skew it back on the child.
Example : HTML
Example : CSS
.parent {
transform:…
Hello

l2aelba
- 21,591
- 22
- 102
- 138
14
votes
1 answer
How do I unskew background image in skewed layer (CSS)?
I'm trying to display a profile photo like this / - / (the slashes represent slants using skewX, the hyphen represents a horizontally-aligned background image).
The problem is that this code also skews the background image:
.photo {
transform:…

Zuno
- 433
- 1
- 7
- 17
13
votes
3 answers
Makefile : Clock skew detected
My problem is whenever I try to compile using Makefile I get the following :
make: Warning: File `Board.c' has modification time 1.3e+03 s in the future
gcc -Wall -c -Wvla -lm Board.c -o Board.o
gcc -Wall -c -Wvla -lm PlayBoard.c -o PlayBoard.o
gcc…

Nadin Haddad
- 337
- 2
- 3
- 9
12
votes
7 answers
Auto-resizing skewed background in CSS (+ images?)
I'm going to convert this PSD image to CSS. I've multiple h2s in multiple pages, so the inner text lenght and background-color may vary. Therefore the background should automatically adapt to "any" length.
So far, the markup is something like:
Giona
- 20,734
- 4
- 56
- 68

Giona
- 20,734
- 4
- 56
- 68
12
votes
2 answers
CSS Skew only container, not content
I'm having trouble figuring out how to make the following layout work. I'm not restricted to pure CSS - I know JS will be involved to make it cross-browser - but a CSS solution would be awesome. Here's what I am trying to achieve:
I've tried the…

briteweb
- 275
- 1
- 3
- 12
11
votes
3 answers
spark: How does salting work in dealing with skewed data
I have a skewed data in a table which is then compared with other table that is small.
I understood that salting works in case of joins- that is a random number is appended to keys in big table with skew data from a range of random data and the…

Bishamon Ten
- 479
- 1
- 6
- 20
10
votes
3 answers
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…

pkaeding
- 36,513
- 30
- 103
- 141
10
votes
1 answer
How is Loop skewing making loop parallelizable?
I am reading about loop tranformation techniques and i have a very hard time understanding how does loop skewing makes a loop parallelizable Here are are two loops, the initial one and the seconde one, what is the difference betwwen the two ? The…

user2133558
- 524
- 2
- 10
- 29