Finds the sphere that best fits a set of point ROIs, and optionally displays the image data bounded by the sphere in a new image window. Place a set of point ROIs on structures of interest, hitting [T] to add each point to the ROI Manager. Fit Sphere takes the coordinates of the points from the ROI Manager and applies a least-squares optimisation, which is a Java port of some C++ code by Angelo Tardugno.
- Input
- A 3D image
- ROI Manager populated with at least 5 point ROI's
- Options
- Copy Sphere: Create a new stack containing image data from within the best-fit sphere.
- Padding: Number of black pixels to put between the sphere and the sides of the image
- Inner Cube: Create a new stack containing image data from the cube that just fits inside the best-fit sphere.
- Outer Cube: Create a new stack containing image data from the cube that the best-fit sphere just fits inside.
- Crop Factor: Radius used for generating new images is multiplied by crop factor so that a bigger or smaller volume can be produced.
- Add to ROI Manager: Add the sphere to the ROI Manager as a set of circular ROIs
- Clear ROI Manager: Clear any existing ROIs in the Manager prior to adding circles
- Output
- Image: image file name
- X Centroid: x-coordinate of sphere's centroid
- Y Centroid: y-coordinate of sphere's centroid
- Z Centroid: z-coordinate of sphere's centroid
- Radius: length of radius
- Images containing a copy of data within the sphere, or within cubes bounding or bounded by the sphere.
This file last modified 1345hrs 29 May 2020 © Michael Doube 2004-2026 :: Designed to be interoperable and standards-compliant.