Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
qim3d
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
QIM
Tools
qim3d
Commits
7f406282
Commit
7f406282
authored
5 months ago
by
s193396
Browse files
Options
Downloads
Patches
Plain Diff
more fixes to docs
parent
6866dfcc
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
qim3d/generate/_aggregators.py
+12
-11
12 additions, 11 deletions
qim3d/generate/_aggregators.py
with
12 additions
and
11 deletions
qim3d/generate/_aggregators.py
+
12
−
11
View file @
7f406282
...
@@ -170,7 +170,7 @@ def noise_object_collection(
...
@@ -170,7 +170,7 @@ def noise_object_collection(
verbose (bool, optional): Flag to enable verbose logging. Defaults to False.
verbose (bool, optional): Flag to enable verbose logging. Defaults to False.
Returns:
Returns:
synthetic
_collection (numpy.ndarray): 3D volume of the generated collection of synthetic objects with specified parameters.
noise
_collection (numpy.ndarray): 3D volume of the generated collection of synthetic objects with specified parameters.
labels (numpy.ndarray): Array with labels for each voxel, same shape as synthetic_collection.
labels (numpy.ndarray): Array with labels for each voxel, same shape as synthetic_collection.
Raises:
Raises:
...
@@ -213,7 +213,7 @@ def noise_object_collection(
...
@@ -213,7 +213,7 @@ def noise_object_collection(
import qim3d
import qim3d
# Generate synthetic collection of dense objects
# Generate synthetic collection of dense objects
vol, labels = qim3d.generate.collection(
vol, labels = qim3d.generate.
noise_object_
collection(
min_high_value = 255,
min_high_value = 255,
max_high_value = 255,
max_high_value = 255,
min_object_noise = 0.05,
min_object_noise = 0.05,
...
@@ -233,7 +233,8 @@ def noise_object_collection(
...
@@ -233,7 +233,8 @@ def noise_object_collection(
import qim3d
import qim3d
# Generate synthetic collection of cylindrical structures
# Generate synthetic collection of cylindrical structures
vol, labels = qim3d.generate.noise_object_collection(num_objects = 40,
vol, labels = qim3d.generate.noise_object_collection(
num_objects = 40,
collection_shape = (300, 150, 150),
collection_shape = (300, 150, 150),
min_shape = (280, 10, 10),
min_shape = (280, 10, 10),
max_shape = (290, 15, 15),
max_shape = (290, 15, 15),
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment