Synthetic collection generation
Refactoring of synthetic blob generation
- Created new
generatemodule in library and corresponding page in the documentation - Moved
generate_volumefunction fromqim3d/utils/img.pytoqim3d/generate/blob_.py, and re-named function toblob - Moved
overlay_rgb_imagesfunction fromqim3d/utils/img.pytoqim3d/processing/operations.py - Optimized
qim3d.generate.blobfunction with vectorized approach for faster computations - Added
auto_clipboolean parameter for allowing automatic threshold computation to ensure blobs without straight cuts
Implementation of synthetic collection generation
- Created new
collectionfunction in thegeneratemodule (qim3d/generate/collection_.py), and corresponding page in the documentation - The
collectionfunction generates and returns a 3D volume with a collection of blobs from specified parameter ranges, along with a connected components CC object. Blobs are placed without overlap, and can either be placed randomly or at specific positions within the collection.