I have a picture:
The sunk area is a phase,and the bulged area in another phase.I want count the proportion of this two area.this is my method.First I get the mask by Image-Tool.
you can download to use it.
gra = GradientFilter[img, 2]; ImageCompose[img, {(comp = WatershedComponents[gra, mask]) // Colorize[#, ColorRules -> {13 -> Transparent}] &, 0.6}] Then the result is appear:
ComponentMeasurements[comp, "Count"] // SortBy[#, Last] & // Values // {Total[Most[#]], Last[#]} & // #/Total[#] & // N {0.547061, 0.452939}
But as you see,some unsatisfactory place like this place lead to the result is imprecise.:
BTW,the use of Image-Tool to pick so many component is very unadvisable.Can anybody give a more smart and more precise solution?
Update:
As the @SimonWoods 's request,I process the origional picture by PhotoShop and upload it:





