/Grain-Counting-HED-Algorithm

Counting Grains in petrographical thin sections using HED algorithm

Primary LanguageJupyter Notebook

Petrographical thin section Holistically-Nested Edge Detection algorithm (HED) for grain detection and counting (WORK IN PROGRESS)

A simple program to use the HED Algorithm in a thin section with an aditional canny filter applied.

Example with olivine thin section XPL

Example with an olivine XPL thin section

Example with sandstone thin section XPL

Example with an Sandstone XPL thin section

References

https://github.com/opencv/opencv/blob/master/samples/dnn/edge_detection.py

https://www.pyimagesearch.com/2019/03/04/holistically-nested-edge-detection-with-opencv-and-deep-learning/#pyi-pyimagesearch-plus-pricing-modal