im_lowpoly(img, threshold, edg_amount, mid_amount)

converts an image to low-poly style

Vous suivez désormais cette soumission

This function aims to convert an image to low-poly style.
The core algorithm is the following:
1. using edge detection to determine the boundary of the image
2. randomly choose a portion of points on the edge
3. randomly choose certain amount of points from the image
4. generate delaunay triangulation with the combination of aforementioned point sets
5. colorization the triangulation. the color is determined by the color on the center point of each triangle
Examples of processed images can be viewed at Github: https://github.com/zhohu/low-poly

Citation pour cette source

Zhonglue Hu (2026). im_lowpoly(img, threshold, edg_amount, mid_amount) (https://fr.mathworks.com/matlabcentral/fileexchange/59159-im_lowpoly-img-threshold-edg_amount-mid_amount), MATLAB Central File Exchange. Extrait(e) le .

Informations générales

Compatibilité avec les versions de MATLAB

  • Compatible avec toutes les versions

Plateformes compatibles

  • Windows
  • macOS
  • Linux
Version Publié le Notes de version Action
1.0.0.0

Examples of processed images can be viewed at Github: https://github.com/zhohu/low-poly
add required products
modify the description