EPR Imaging Toolbox collection user manual |
radon_phantom Generates a digital sphere or cube phantom [image] = radon_phantom(phantom) phantom - phantom definition (structure) ~.type - type of phantom (string, 'sphere'/'cube') for sphere phantom ~.r - radius of sphere (float, cm) ~.offset - offset of the sphere from the center (float, cm) ~.size - length of area of interest (float, cm) ~.nBins - length of array (int) for cube phantom ~.a - cube side (float, cm) ~.offset - offset of the cube from the center (float, cm) ~.size - length of area of interest (float, cm) ~.nBins - length of array (int) phantom.type = 'sphere'; phantom.r=3; % radius of the sphere phantom.offset=[-.5,1,0]; % offset of the sphere phantom.size= 10; % size of imaged area phantom.nBins=64; % phantom array length image = radon_phantom(phantom); ibGUI(image) % view the phantoms Legend: EPR-IT functions; MATLAB functions; comments. See also: |