Skip to content
Snippets Groups Projects
Commit 7f406282 authored by s193396's avatar s193396
Browse files

more fixes to docs

parent 6866dfcc
No related branches found
No related tags found
No related merge requests found
...@@ -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),
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment