Skip to content
Snippets Groups Projects

Synthetic collection generation

Merged s193396 requested to merge synthetic_objects into main

Refactoring of synthetic blob generation

  • Created new generate module in library and corresponding page in the documentation
  • Moved generate_volume function from qim3d/utils/img.py to qim3d/generate/blob_.py, and re-named function to blob
  • Moved overlay_rgb_images function from qim3d/utils/img.py to qim3d/processing/operations.py
  • Optimized qim3d.generate.blob function with vectorized approach for faster computations
  • Added auto_clip boolean parameter for allowing automatic threshold computation to ensure blobs without straight cuts

Implementation of synthetic collection generation

  • Created new collection function in the generate module (qim3d/generate/collection_.py), and corresponding page in the documentation
  • The collection function 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.

Merge request reports

Approved by

Merged by fimafima 11 months ago (Jul 22, 2024 11:45am UTC)

Merge details

  • Changes merged into main with ab793d64 (commits were squashed).
  • Deleted the source branch.

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
Please register or sign in to reply
Loading