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 details)

Uploaded Source

File details

Details for the file micral_grain-2.0.tar.gz.

File metadata

  • Download URL: micral_grain-2.0.tar.gz
  • Upload date:
  • Size: 2.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/39.2.0 requests-toolbelt/0.8.0 tqdm/4.23.4 CPython/3.6.6

File hashes

Hashes for micral_grain-2.0.tar.gz
Algorithm Hash digest
SHA256 89487ecf4ff5ddfe03c83060308f6c76b3145896833d411bee40a810ad480625
MD5 e72d20d685cb9450b615abf325aa7334
BLAKE2b-256 6ce8e8158ec3c71f94185c312d48b71fa31fcbf5943fde9ee8c308383019c233

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page