For a mining research application I need to determine what percentage of a crushed stone is a particular colour.
While I cannot post them, I have many photographs of a gravel-like product that is multicoloured. The microscope pictures can either could show an individual layer of stones with a constant (white or black) background or the surface of a random packed pile. Each individual stone has multiple colours. I would like to know exactly what percentage of image is background and what percentage of the actual stone is each individual colour. As the surface is none uniform and a uniform surface cannot be constructed for this application, shadows may be an issue if a mulilayered surface of rock is used. Adjustable tolerances of the colour and feedback as to which sections are labelled as each colour would, therefore, be useful. I will then be able to correlate the results to chemical analysis to determine how the surface composition compares to the total composition.
My hope is that (as this is a relatively simple concept) this is possible using Matlab, Photoshop, or some other readily available piece of software. Freeware is not nessesary but might be preferable so it can be tested before expenditure. If it can be done in Matlab, what is a good resource for learning how to use it for such image analysis?