- boxcount(im, bins=10)[source]#
Calculates fractal dimension of an image using the tiled box counting method 
im (ndarray) – The image of the porous material.
bins (int or array_like, optional) – The number of box sizes to use. The default is 10 sizes logarithmically spaced between 1 and
min(im.shape). If an array is provided, this is used directly.
An object possessing the following attributes:
The box sizes used
The number of boxes of each size that contain both solid and void
The gradient of
count. This has the same number of elements as
- Return type:
Click here to view online example.