Le samedi 22 janvier 2022, pawel.dar...@gmail.com a écrit :
> Hello,
> 
> I am not sure that this is correct group for my problem but I hope
> someone can help me :)
> 
> I try to analyze picture with porous material
> (https://python.neocast.eu/disc.png). I calculate a total quantity of
> each pores but I would like also calculate a porosity. To make I need
> a size of sample or total pixels which are in the sample. How to do
> it ?

Hi,
you should give scikit-image (https://scikit-image.org/) a try!
It has many features for objects detection and labelling, see for
instance the following examples

Label Image regions :
https://scikit-image.org/docs/dev/auto_examples/segmentation/plot_label.html#sphx-glr-auto-examples-segmentation-plot-label-py
Blob detection :
https://scikit-image.org/docs/dev/auto_examples/features_detection/plot_blob.html#sphx-glr-auto-examples-features-detection-plot-blob-py
Measure region properties :
https://scikit-image.org/docs/dev/auto_examples/segmentation/plot_regionprops.html#sphx-glr-auto-examples-segmentation-plot-regionprops-py

Fabrice


_______________________________________________
NumPy-Discussion mailing list -- numpy-discussion@python.org
To unsubscribe send an email to numpy-discussion-le...@python.org
https://mail.python.org/mailman3/lists/numpy-discussion.python.org/
Member address: arch...@mail-archive.com

Reply via email to