show origin
to Grey
inverse Grey
Gaussian blur
Binarization:
threshold:
Binarization
otsuThreshold
areaWidth:
C:
autoThreshold
Brighten:
extent:
Brighten(Gamma)
extent:
Brightness(HSV)
edge extraction:
jsPic edge extraction
ImageData edge extraction
using jsPic is much quicker
find the horizontal lines:
jsPic horizontal line
ImageData horizontal line
using jsPic is much quicker
morphology
Erosion
Dilation
fillHole
Standard Hough Transform (Line Detect):
please edge extraction first!
threshold:
length accuracy:
angle accuracy:
Standard Hough Transform
Progressive Probabilistic Hough Transform (Line Detect):
please edge extraction first!
threshold:
lineLength:
lineGap:
length accuracy:
angle accuracy:
Progressive Probabilistic Hough Transform
convolution
[ [-1, 0, 1], [-2, 0, 2], [-1, 0, 1] ]
convolution
resize
newWidth:
newHeight:
resize
transform
The origin is in the lower left corner.
[ [Math.cos(0.1), Math.sin(0.1), 0], [-Math.sin(0.1), Math.cos(0.1), 0], [0, 0, 1] ]
transform
perspective
↖↗↙↘
[ [-pic.width>>3, -pic.height>>3], [pic.width,pic.height>>2], [pic.width>>2,pic.height], [(pic.width*3)>>2,pic.height] ]
perspective
time used is printed in console.
click to select a picture