Skip to content

Software for contour extraction and mesh generation for numerical analysis

License

Notifications You must be signed in to change notification settings

RafaelCasamaximo/contExt

Repository files navigation

ContExt Banner

Report a BugRequest a Feature

About the Project

This application performs treatment and contour extraction from an image, and the generation of sparse or adaptive meshes intended for the application of numerical methods, especially finite differences.

Getting Started

This software uses Python and libraries managed by PIP.

Graphical User Interface

The graphical interface was implemented using the DearPyGUI library, which makes use of graphical APIs (DirectX 11 on Windows, Metal on macOS, OpenGL 3 on Linux and OpenGL ES on Raspberry Pi 4), therefore, you must have the necessary drivers and software to run this software.

Installing Libraries

To install all the requirements run the command:

pip install -r requirements.txt

Complete List of Libraries

Library Version
dearpygui 1.8.0
numpy 1.24.1
opencv_python 4.7.0.68
shapely 2.0.1
pyinstaller 5.7.0

How to generate the binary

To generate the binary it is possible to use one of the existing build scripts in the project files.

Windows

.\build.cmd

Linux

bash ./build.sh

How to Use

To execute the software run the command:

python main.py

Features

  • Importing a large range of image formats;
  • Various filters for image processing;
  • Selection of contour extraction method;
  • Parameterization of the generated contour;
  • Generation of sparse or adaptive meshes;

Screenshots

Processing Tab Filtering Tab Thresholding Tab Contour Extraction Tab Mesh Generation Tab

Download

You can download the binaries for each operating system on the Releases tab.

Contributing

You can open a new issue or request a feature here. If you want to contribute to the project see our Guideline

Code of Conduct

Access our Code of Conduct

License

We are under the GNU GENERAL PUBLIC LICENSE V3.0 and this software is patented on INPI (National Institute of Industrial Property).

Credits

Acknowledgments

Special thanks to professor Neyva Romeiro and the other professors at LabSan and Universidade Estadual de Londrina.