Computer aided image analysis of nanocomposites microstructures