extract white minerals from background

1 view (last 30 days)
i have a jpg of a number of minerals with 2 nikol and i need to end up with an image with just the light colored minerals and more importantly their shape intact cause i'll need the best shape possible to calculate their roundness, i'm interested in getting the white ones (also slightly gray) turned into black shape and eliminate the background (noise, colored minerals and dark ones)rendering it white, thanks in advance

Accepted Answer

Stephen Jue
Stephen Jue on 23 Jun 2017
You may be able to achieve this by using Color-Based Segmentation. There are two examples that may help you get started:

More Answers (0)

Categories

Find more on Statistics and Machine Learning Toolbox in Help Center and File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!