How to track the boundary of a drop over successive frames?
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
Hi,
I am trying to track the boundary of drop that is spreading over a liquid. The drop is circular initially but get deformed over subsequent frames. A few frames from the video are attached in this Hyperlink. I tried using regionpros and hough transform in Matlab but neither of them worked. The major problem is due to the background which is a grid placed in order to enhance the contrast of the edge (without it the edge is not very clear) while recording the video. How can I measure the area/ perimeter of the region enclosed by the interface?
Any help on how to proceed would be really appreciated.
Thanks,
Rajesh
0 Kommentare
Antworten (1)
Image Analyst
am 2 Mai 2017
Try thresholding and calling bwboundaries. If that doesn't work because the boundary is too faint, then try to seal it by using imdilate() before thresholding:
img = imdilate(grayImage, true(3));
binaryImage = img > 128; % Or whatever value works.
binaryImage = imfill(binaryImage, 'holes'); % Fill it so we can get the outer boundary only.
boundaries = bwboundaries(binaryImage);
2 Kommentare
Image Analyst
am 2 Mai 2017
It should make the white ring larger. I don't know why it didn't.
You could try just thresholding the noisy image and then calling bwareafilt() or bwareafilt() to take only blobs of a certain size. Then call bwconvhull() to create the ellipses.
Siehe auch
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!