Iris Rock Segmentation is a MATLAB implementation of the rock detection method outlined in "Rock Detection and Accurate Boundary Localization Through Non-Learning Based Superpixel Optimization" the uses a combination of edge detection/range filtering and superpixels to detect rocks/objects in images and accurately localize their boundaries.
[1] A. Albazroun, R. Duvall, W. Whittaker. Rock Detection and Accurate Boundary Localization Through Non-Learning Based Superpixel Optimization. RISS Journal. 2020.
Used to detect rocks in a single image from the input folder to the output folder. To use this function just give it the name of an image in the input folder as a string and it would return two binary images rocksBW with the rocks detected and oddBW (WIP) with the non-rock objects detected. It will also output the rocksBW binary image to the output folder and (optionally) the original image with the rock boundaries highlighted in red.
Used to process all the png and jpg images from the input folder to the output folder. Just put the jpg/png images to be processed in the input folder and run the script and the equivalent rocksBW binary image for each image will be saved in the output folder.