Analyse tool for microstructure
Micral (MICROstructure anALysis)
The aim of this tool is to gather information about microstructure.
pip install micral
In a python file or directly in the interpreter, type :
<your image> is the name of the image to analyse (with extension (ie jpg, png, bmp etc…)) It’s also possible to send multiple image at once : in that case, provide a list of name : <your image> = [<image1>, <image2>, …]
Note that the image must be in the same directory than the python file (or in the current directory of the command)
The output will be an Python dictionnary, and each entry is a dictionnary how gather the differents informations on the image.
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.