function [img] = segSpine(slice,segs) img(300,300) = 0; for i=1:segs bw = roipoly(slice); img = img | bw; end imshow(img);