This is a module
generators¶
Collection of functions for generating synthetic images¶
This module contains a variety of functions for generating artificial images of porous materials, generally for testing, validation, debugging, and illustration purposes.
|
Generates a sphere or disk packing using random sequential addition as described by Torquato [1]_. |
|
Generates an image containing amorphous blobs |
|
Creates an array of specified size with corners, edges or faces labelled as |
|
Create a 3D image of a bundle of tubes, in the form of a rectangular plate with randomly sized holes through it. |
|
Generates a binary image of overlapping cylinders given porosity OR number of cylinders. |
|
Generates a cylindrical plug suitable for use as a mask on a tomogram |
|
Generate an image with |
|
Generate fractal noise with realistic structures across scales. |
|
Inserts sub-image into a larger image at the specified location. |
|
Generate a cubic packing of spheres in a specified lattice arrangement. |
|
Calculate the voxel coordinates of a straight line between the two given end points |
|
Generate a packing of overlapping mono-disperse spheres |
|
Create an image of randomly placed, overlapping spheres with a distribution of radii. |
Iterativley inserts spheres as close to the given sites as possible. |
|
|
Iteratively inserts spheres at the lowest accessible point in an image, mimicking a gravity packing. |
|
Generates an image of random cantor dust |
|
Generates an image of a Sierpinski carpet or foam |
|
Create an image from the edges of a Voronoi tessellation. |