how i read multiple images in MAT-format from a folder

i need help to read multiple images in MAT-format to applay the system on
load('C:\Users\AL-WAFI\Desktop\#c المحاضرات\DataBase-CT-Scan\001_dicomload.mat')
for i=1:12
x = lung_3d(:,:,i)
y = imread('x')
%%%Lungs Boundary Detection %%%%
boundary_image = extracting(y);
figure, imshow(boundary_image);
% %%%Lung Region Segmentation %%%%
draw_circle = circle(boundary_image,1,8);
figure,imshow(draw_circle);
%%lung region analysis%%%
[allgrains,biggrain,numObjects]=measure_object(draw_circle);
end
i want to get the output for average image only

More Answers (0)

Categories

Find more on Images in Help Center and File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!