Home > marsbar > @maroi_sphere > volume.m

volume

PURPOSE ^

volume method - returns volume of ROI in mm

SYNOPSIS ^

function v = volume(obj)

DESCRIPTION ^

 volume method - returns volume of ROI in mm

 $Id$

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:

SOURCE CODE ^

0001 function v = volume(obj)
0002 % volume method - returns volume of ROI in mm
0003 %
0004 % $Id$
0005 
0006 v = (4/3*pi)*obj.radius^3;

Generated on Wed 11-May-2022 16:26:09 by m2html © 2003-2019