How to measure spray penetration length and spray area?

7 visualizzazioni (ultimi 30 giorni)
Dear community member,
In order to continue processing data for the experiment results, I have to calculate the spray penetration length based on the spray image. Previously I got the code from Image Analyst to calculate the spray cone angle as a reference.
My current idea is to set the spray plume segmentation from the binary image first in order to define the spray boundary, then start to measure the along the Y axis from spray origin to the farthest point of the spray (Please refer to the attach. 1 images)
How I can proceed after getting the initial binary image? I tried to use bwboundaries function but didn't manage to get it right.
Then, if the spray plume segmentation is fully defined, can the spray area be calculated also? It would be very very helpful if these two cases can be solved.
Please kindly guide me to resolve this problem.
The image that will be processed is also attached.
Thank you again for your kindness and support.
  4 Commenti
I Komang Gede Tryas Agameru Putra
Dear Daniel,
I didn't manage to insert the code that you gave. Could you please enligthen me where do I put that code?
I've attached the the code in the attachment.
Thank you again for your support.
I Komang Gede Tryas Agameru Putra
I think the issue has been resolved, thank you very much for giving the insight.
Best Regards!

Accedi per commentare.

Risposta accettata

Image Analyst
Image Analyst il 5 Ago 2023
There are several ways you can determine the starting and ending rows. I think the fastest is just this
[blobRows, blobColumns] = find(binaryImage);
topRow = min(blobRows)
bottomRow = max(blobRows)
You could also use regionprops and ask for the bounding box.
props = regionprops(binaryImage, 'BoundingBox');
topRow = props.BoundingBox(2) + 0.5
bottomRow = topRow + props.BoundingBox(4) - 1
  8 Commenti
I Komang Gede Tryas Agameru Putra
Dear Image Analyst,
Thank you for giving the insight!
Best Regards.

Accedi per commentare.

Più risposte (0)

Categorie

Scopri di più su Images in Help Center e File Exchange

Prodotti


Release

R2022b

Community Treasure Hunt

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

Start Hunting!

Translated by