Auto Raster Log Digitizing is a popular problem in oil & gas industry, where geologists would like to digitize data points on an analog raster log (normally being fed into the system as a scanned image). This is a heuristic algorithm to solve the aforementioned problem, with 3 steps:
1) Preprocess the image: thin the image then remove vertical grid lines
2) Wait for user input to pick the starting point
3) Start from that point, run Breath First Search algorithm to find the longest possible path down the image (assuming the path of the log curve will be longer than any other paths). If the algorithm hits a dead-end (possibly because of bad image quality), try to look for a closest nearby point and continue the process from that point.
Huy Nguyen (2021). Auto Raster Log Digitizing (https://www.mathworks.com/matlabcentral/fileexchange/57391-auto-raster-log-digitizing), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform CompatibilityWindows macOS Linux
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!