From: Muhammad Huda on
hi...
i've problem with my final exam
i want to segmented multiple image (6 image),
i've done to read multiple image with

files = dir('*.jpg');
num = numel(files);
images = cell (3,2);

for k = 1:num
images{k}=imread(files(k).name);
end

but i can't segmnted all image,..in workspace,only one image to segmented

can u help me??
From: ImageAnalyst on
How about this:

for k = 1:num
    imageArray = imread(files(k).name);
resultsArray(k,:) = SegmentImage(imageArray);
end


Of course you need to write the function SegmentImage() because only
you know what you want to measure.