Shape features quantify the intrinsic geometry of a segmented tumor or anatomical structure, capturing metrics such as volume, surface area, sphericity, compactness, and maximum 3D diameter. Unlike first-order or textural features, these descriptors are calculated solely from the binary mask defining the ROI's boundary, making them agnostic to the original voxel intensity values. They provide critical information about lesion morphology, including elongation, flatness, and surface irregularity.
Glossary
Shape Features

What are Shape Features?
Shape features are quantitative, three-dimensional morphological descriptors that characterize the geometric properties of a segmented region of interest (ROI) in medical imaging, independent of its intensity or textural patterns.
These features are fundamental to radiomic analysis because tumor shape is often a strong independent predictor of malignancy and treatment response. For instance, a high sphericity value indicates a round, compact mass typical of benign nodules, while low sphericity and high surface-to-volume ratio suggest an invasive, spiculated lesion. Standardized computation of shape features, as defined by the Image Biomarker Standardisation Initiative (IBSI), ensures reproducibility across different imaging platforms and clinical sites.
Core Shape Feature Metrics
Shape features quantify the three-dimensional geometric properties of a segmented Region of Interest (ROI), providing crucial morphological biomarkers that are independent of voxel intensity distributions.
Mesh Volume & Voxel Volume
The most fundamental shape metric, representing the total space enclosed by the ROI. Mesh Volume is computed from the triangulated surface mesh of the segmentation, while Voxel Volume is the sum of all included voxels. Discrepancies between these two values can indicate segmentation roughness or partial volume effects. This feature is critical for tracking gross tumor size changes over time.
Surface Area
The total area of the boundary between the ROI and its surrounding tissue. It is calculated by summing the areas of all triangles in a generated mesh. A high surface area relative to volume indicates an irregular, spiculated, or non-spherical morphology, often associated with aggressive tumor phenotypes.
Sphericity
A dimensionless measure of how closely the shape of the ROI approximates a perfect sphere. A value of 1.0 indicates a perfect sphere, while values approaching 0 indicate an increasingly irregular or elongated shape. It is calculated as the ratio of the surface area of a sphere with the same volume as the ROI to the actual surface area of the ROI.
Compactness
A measure of how compact the ROI is relative to a sphere. It is defined as the ratio of volume to surface area, normalized by the radius of a sphere with an equivalent volume. A perfectly compact sphere has a value of 1. Deviations quantify morphological complexity, with highly lobulated or infiltrative tumors exhibiting lower compactness.
Maximum 3D Diameter
The largest pairwise Euclidean distance between any two voxels on the surface mesh of the ROI. This metric represents the longest axis of the tumor and is a direct 3D correlate of the RECIST (Response Evaluation Criteria in Solid Tumors) measurement, but is fully volumetric and independent of slice orientation.
Elongation & Flatness
These metrics describe the shape's deviation from isotropy using principal component analysis (PCA) of the ROI's voxel coordinates. Elongation is the ratio of the largest to the second-largest principal axis length, indicating a rod-like shape. Flatness is the ratio of the second-largest to the smallest axis length, indicating a disk-like shape.
Frequently Asked Questions
Answers to common questions about morphological descriptors that quantify the three-dimensional geometric properties of segmented regions of interest in medical imaging.
Shape features are morphological descriptors that quantify the three-dimensional geometric properties of a segmented region of interest (ROI), such as a tumor, independent of its internal intensity patterns. Unlike texture features—which analyze the spatial arrangement and statistical distribution of voxel intensities within the ROI—shape features describe the external boundary and overall form. Key shape metrics include:
- Volume: The total number of voxels multiplied by voxel dimensions, representing the physical size of the structure.
- Surface Area: The total area of the triangular mesh approximating the ROI boundary.
- Sphericity: A dimensionless measure of how closely the shape approximates a perfect sphere, calculated as the ratio of the surface area of a sphere with equivalent volume to the actual surface area.
- Compactness: Quantifies how tightly packed the shape is, often derived from the ratio of volume to surface area.
Shape features are typically computed from the binary mask of the segmentation, making them sensitive to segmentation accuracy but independent of scanner calibration or intensity normalization. They are foundational in radiomic signatures for predicting tumor aggressiveness, as irregular, non-spherical morphologies often correlate with malignancy and invasive potential.
Enabling Efficiency, Speed & Accuracy
Intelligent Analysis, Decision & Execution
We build AI systems for teams that need search across company data, workflow automation across tools, or AI features inside products and internal software.
Talk to Us
Search across company data
Give teams answers from docs, tickets, runbooks, and product data with sources and permissions.
Useful when people spend too long searching or get different answers from different systems.

Automate internal workflows
Use AI to route work, draft outputs, trigger actions, and keep approvals and logs in place.
Useful when repetitive work moves across multiple tools and teams.

Add AI to products and internal tools
Build assistants, guided actions, or decision support into the software your team or customers already use.
Useful when AI needs to be part of the product, not a separate tool.
Related Terms
Explore the core morphological descriptors and related concepts used to quantify the three-dimensional geometric properties of segmented regions of interest in medical imaging.
Sphericity
A dimensionless shape feature measuring how closely the three-dimensional shape of a tumor approximates a perfect sphere. It is calculated as the ratio of the surface area of a sphere with the same volume as the tumor to the actual surface area of the tumor.
- Value Range: 0 to 1, where 1 is a perfect sphere.
- Clinical Relevance: High sphericity is often associated with benignity or a less aggressive phenotype, while low sphericity indicates an irregular, invasive margin.
- Calculation: Sensitive to segmentation smoothness; mesh-based computation is preferred over voxel-based methods to avoid discretization errors.
Compactness
A measure of how efficiently the tumor volume is packed relative to its surface area, independent of scale. It is mathematically defined as Volume / (√π * Surface Area^(3/2)), comparing the shape to a sphere.
- Alternative Formulations: Compactness 1 and Compactness 2 are defined by the IBSI, using different normalization factors based on sphere or cube references.
- Interpretation: A highly compact mass has a low surface-area-to-volume ratio, suggesting a solid, cohesive growth pattern rather than a spiculated or infiltrative one.
Maximum 3D Diameter
The largest pairwise Euclidean distance between any two voxels on the surface mesh of the segmented region of interest. This is a fundamental measure of tumor burden.
- Utility: Used in oncology standards like RECIST (Response Evaluation Criteria in Solid Tumors) for assessing treatment response, though RECIST traditionally uses 1D axial measurements.
- Robustness: Highly robust to minor segmentation variations but sensitive to the presence of non-tissue outliers in the mask.
Surface Area to Volume Ratio (SA:V)
A fundamental descriptor of morphological complexity, calculated by dividing the total surface area of the segmented object by its volume. It provides insight into the irregularity of the tumor boundary.
- Biological Correlate: A high SA:V ratio indicates a highly irregular, spiculated, or infiltrative margin, which is a hallmark of aggressive malignancies.
- Scale Dependence: Unlike sphericity, this metric is not dimensionless and is inherently dependent on the overall size of the lesion, requiring careful normalization in multi-center studies.
Mesh Volume
The volume enclosed by the triangulated surface mesh of the region of interest, computed using the divergence theorem. This is distinct from simple voxel counting, which can be biased by partial volume effects.
- Method: The volume is calculated by summing the signed volumes of tetrahedra formed by connecting each mesh triangle to the origin.
- Precision: Mesh-based volume is the gold standard in radiomics as it provides a sub-voxel approximation of the true boundary, reducing the stair-step artifacts inherent in voxel-based volume.
Flatness
A shape feature that quantifies the relationship between the longest and shortest principal axes of the region of interest, derived from an eigenvalue decomposition of the physical coordinates.
- Calculation: Defined as
sqrt(λ_minor / λ_major), where λ represents the eigenvalues of the principal component analysis. - Interpretation: A value close to 0 indicates a flat, elongated, or sheet-like structure, while a value close to 1 suggests a more equiaxed or spherical shape. This is critical for distinguishing between nodular and diffuse growth patterns.

About the author
Prasad Kumkar
CEO & MD, Inference Systems
Prasad Kumkar is the CEO & MD of Inference Systems and writes about AI systems architecture, LLM infrastructure, model serving, evaluation, and production deployment. Over 5+ years, he has worked across computer vision models, L5 autonomous vehicle systems, and LLM research, with a focus on taking complex AI ideas into real-world engineering systems.
His work and writing cover AI systems, large language models, AI agents, multimodal systems, autonomous systems, inference optimization, RAG, evaluation, and production AI engineering.
Partnered with leading AI, data, and software stack.
How We Work
Custom AI workflows for your Business
One-fit-all AI don't work for modern businesses. At Inferensys, we aim to understand your business & custom requirements; which we use to define most efficient agentic workflows, the data, and the tools for your business.
01
Review the use case
We understand the task, the users, and where AI can actually help.
Read more02
Pick the right approach
We define what needs search, automation, or product integration.
Read more03
Build the first useful version
We implement the part that proves the value first.
Read more04
Improve from there
We add the checks and visibility needed to keep it useful.
Read moreThe first call is a practical review of your use case and the right next step.
Talk to Us