How to draw a circle around blob objects in an image??

조회 수: 2 (최근 30일)
Nisreen Sulayman
Nisreen Sulayman 2015년 6월 25일
편집: Nisreen Sulayman 2015년 6월 25일
I have about 180 images .... I draw circle about blob objects in each image using the following code
i goes from 1 to 180
********************
figure
imshow(Or_Im{i}, [ ]);
hold on
for k = 1 : numberOfBlobs{i} % Loop through all keeper blobs.
itsRound{i} = logicalKeepersIndexes{i}(k); % See if this blob is considered round.
if itsRound{i}
% Plot round blobs with a green circle.
plot(centroidsX{i}(k), centroidsY{i}(k), 'ro', 'MarkerSize', 30, 'LineWidth', 1);
end
end
hold off
*********************
I want to draw the circle on the 180 images and save the resulted image without using "figure", "imshow" and "plot"

답변 (0개)

카테고리

Help CenterFile Exchange에서 Images에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by