Parameters: |
- input (mango.Dds) – Finds the convex hull of voxels which are not
masked (masked voxels have value input.mtype.maskValue() or value inputmsk).
- inputmsk (input.dtype or None) – Additional mask value to exclude voxels from convex-hull calculation.
If None, inputmsk=input.mtype.maskValue() or if input doesn’t
have an mtype attribute inputmsk=0.
- outhull (input.dtype or None) – Value for voxels which lie outside the convex-hull.
If None, outhull=input.mtype.maskValue() or if input doesn’t
have an mtype attribute outhull=0.
- inhull (input.dtype or None) – Value for voxels which lie inside the convex-hull.
If None, inhull=1.
- copy (bool) – If True, returns a copy of the input image with
the outside-hull voxels (copyoutside=True) set to outhull.
- copyoutside (bool) – If True (and copy=True), the returned image
is a copy of the input image with the outside-hull voxels
set to outhull.
If False (and copy=True), the returned image
is a copy of the input image with the inside-hull voxels
set to inhull.
|