Measure the spreading length using image analysis.
Ältere Kommentare anzeigen
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?
Akzeptierte Antwort
Weitere Antworten (1)
KALYAN ACHARJYA
am 21 Jun. 2020
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 Kommentare
KALYAN ACHARJYA
am 21 Jun. 2020
As images number are quite high, then it must be automated to get the distance, see option 1
mathru
am 21 Jun. 2020
Kategorien
Mehr zu Image Processing Toolbox finden Sie in Hilfe-Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!


