Calculate the cone angle of a spray image
9 ビュー (過去 30 日間)
古いコメントを表示
Please find the image bellow - the angle is between the boundary lines in red shown, while the reference point is the center point in the line shown as reference. The reference point is at fixed distance known value. The dark fish shaped is the spray shape after impingement- for which we need to measure the angle. Scattered dots are particle in liquid form-
To tackle I thought to get following steps: read the image Subtracting image with background image to get clear spray visualization convert grey-scale to binary setting threshold for separating the dark and light area- for boundary Drawing the boundary lines as spray after collision and calculating the angle between lines
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/150066/image.png)
3 件のコメント
Image Analyst
2015 年 5 月 13 日
Attach the original, un-annotated image and your script if you need help on it.
採用された回答
Image Analyst
2015 年 5 月 14 日
編集済み: Image Analyst
2021 年 7 月 16 日
Alright sanjeet, I spent way more time than I should have to make this fancy for you (about half an hour) but attached below the image is the code.
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/176820/image.jpeg)
It determined that the angle is 23.1 degrees. If you want the lines overlaid on the image, I'm sure you can figure out that simple part. As I mentioned in the comments you might want to figure out an algorithm to examine the widths plot and figure out where to fit your line over. The min is fairly straight forward, but the widest part is somewhat of a judgement call.
その他の回答 (2 件)
Dhruv Gandhi
2019 年 4 月 29 日
Hallo image analyst,
i want to calculate the area of the coloured image , see the attachment.
i try to convert all the blue lines into white and other then Blue in to Black. after That want to calculateArea of this Black region in the image. i Dont know How to do that. can ypu please Help.
0 件のコメント
I Komang Gede Tryas Agameru Putra
2023 年 7 月 28 日
Dear Image Analyst,
Thank you for providing the code above, I tried to use your code to analyze the cone angle, but it turns out that the cone angle is not properly calculated since it shows zero values (please kindly see the attachment).
Please kindly help me to solve this issues.
Thank you in advanced.
5 件のコメント
I Komang Gede Tryas Agameru Putra
2023 年 8 月 2 日
Dear Image Analyst,
I have posted the question in separate section. Thank you in advanced
参考
カテゴリ
Help Center および File Exchange で Continuous Wavelet Transforms についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!