Measure the spreading length using image analysis.
显示 更早的评论
In the attached image there are three figures where the spreading length is changing. How can I measure the spreading length of a set of images?
采纳的回答
更多回答(1 个)
KALYAN ACHARJYA
2020-6-21
Two ways: I am considering the pixel distance length based on spaial coordinates (Not the general scale length like mm or cm)
Option 1: Image Segmenattion
- Do Image segmentation and find the ROI (Dark part of the images)
- Please do some sort of morpho operations to enure having single blob only (Dark region)
- Find the distance between farthermost two black pixels
Oprion 2: Using ginput
data=imread('image9.jpeg');
imshow(data);
[x y]=ginput(6);
x=round(x);
y=round(y);
image1_dist=sqrt((x(2)^2-x(1)^2)+y(2)^2-y(1)^2)
image2_dist=sqrt((x(4)^2-x(3)^2)+y(4)^2-y(3)^2)
image3_dist=sqrt((x(6)^2-x(5)^2)+y(6)^2-y(5)^2)
Command Window:
image1_dist =
300.3681
image2_dist =
331.2990
image3_dist =
337.3603
>>
4 个评论
KALYAN ACHARJYA
2020-6-21
As images number are quite high, then it must be automated to get the distance, see option 1
mathru
2020-6-21
类别
在 帮助中心 和 File Exchange 中查找有关 Red 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!


