Measure the spreading length using image analysis.
Afficher commentaires plus anciens
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?
Réponse acceptée
Plus de réponses (1)
KALYAN ACHARJYA
le 21 Juin 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 commentaires
KALYAN ACHARJYA
le 21 Juin 2020
As images number are quite high, then it must be automated to get the distance, see option 1
mathru
le 21 Juin 2020
Catégories
En savoir plus sur Image Processing Toolbox dans Centre d'aide et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!


