Skip to content

DimhamT/ImageMesh.jl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ImageMesh

ImageMesh is a tool that generates colorful simplicial mesh images from input pictures. It applies the Longest-edge bisection algorithm to refine meshes and creates visually appealing outputs.

Features

  • Mesh refinement using the Longest-edge bisection algorithm.
  • Outputs colorful triangular mesh images.
  • Built with Gridap for mesh processing and CairoMakie for visualization.

Installation

using Pkg 
Pkg.add(path="https://github.com/DimhamT/ImageMesh.jl.git")

Usage

using ImageMesh
infile = "path/to/image"
outfile = "path/to/image"
img2mesh(infile, outfile)

Example

Input Image

Input Image

Generated Mesh Output

Generated Mesh

Notes

This is purely a toy project for fun and experimentation. Enjoy!

About

This is a small toy that converts images into simplicial meshes.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages