"""Extracts pixel coordinates from the segmentation data."""
"""
Extracts pixel coordinates from the segmentation data.
Parameters
----------
non_linear : bool, optional
Whether to use non-linear transformation from the VisuAlign markers (default is True).
object_cutoff : int, optional
The minimum size of objects to be considered (default is 0).
use_flat : bool, optional
Whether to use flat file atlas maps exported from QuickNII or VisuAlign. This is usually not needed since we can calculate them automatically. This setting is for testing and compatibility purposes (default is False).
Returns
-------
None
"""
(
self.pixel_points,
self.centroids,
...
...
@@ -77,7 +134,18 @@ class PyNutil:
)
defquantify_coordinates(self):
"""Quantifies the pixel coordinates by region."""
"""
Quantifies the pixel coordinates by region.
Returns
-------
None
Raises
------
ValueError
If get_coordinates has not been run before running quantify_coordinates.