/image-processing

Different image processing algorithms for the browser

Primary LanguageJavaScript

Image processing

Different image processing algorithms for the browser using only JavaScript and the HTML5 canvas.

Subfolders

  1. Binarization with threshold and automatic determination of best threshold (ISODATA)
  2. Flood filling algorithms (breadth-first, depth-first and sequential region labeling)
  3. Identifying contours of a binary image (Potrace algorithm)
  4. Approximating the contours of 3. with polygons (Potrace algorithm)
  5. Smoothing the polygons of 4. with bezier curves and converting to SVG (Potrace algorithm)