Skip to main content

Separation tool between coarse and ultrafine grain

Project description

Micral (MICROstructure anALysis)

Grain separation module


Description :

The aim is to distinguish between coarse and ultrafine graine microstructure. This tools output the pourcentage of coarse grain.


Installation :

pip install micral_grain


Usage :

In a python file or directly in the interpreter, type :

import micral_grain print(micral_grain.analyse(<your image>))

Where <your image> is the name of the image to analyse (with extension (ie jpg, png, bmp etc…)) The output is an unique value.

It’s also possible to send multiple image at once : in that case, provide a list of name : <your image> = [<image1>, <image2>, …] And the return will be also a list of all the results

Note that the image must be in the same directory than the python file (or in the current directory of the command)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

micral_grain-2.0.tar.gz (2.5 kB view hashes)

Uploaded source

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page