Measuring distance between two points in an image
古いコメントを表示
Hello, I'm working on a MATLAB project at uni and i've been trying to find out how to measure sizes of objects in a given image. For example - Measuring the size of a foot through image proccessing. If you have any knowledge about these kind of analasys, I would be more than happy if you could share it.
1 件のコメント
Adam
2017 年 6 月 13 日
What are you actually asking here? What is in the question title or the much wider question in the body which seems to be asking how to do image processing and identify objects before you get anywhere near measuring them?
回答 (3 件)
Matt J
2017 年 6 月 13 日
0 投票
imdistline() will probably help.
Sean
2017 年 6 月 16 日
0 投票
Check this out:
Image Analyst
2017 年 6 月 16 日
0 投票
See my attached spatial calibration demo.
2 件のコメント
AVINASH SURESHRAO DIKKAR 17MMT1022
2018 年 12 月 17 日
編集済み: Image Analyst
2018 年 12 月 17 日
i refered your spatial calibration demo code. I'm doing a matlab project for the inspection of chain link for that I have to find out the object position and measurement. While going through your code I didnt understand how you created a boundary around the object and created a line into that. Can you please explain to me and can you explain me the formula for distance which you use in your code. Please explain me code it is very helpfull to me and my project.
Image Analyst
2018 年 12 月 17 日
編集済み: Image Analyst
2018 年 12 月 17 日
You can try imfreehand(). I attach demos.
Or you can use roipoly() or roipolyold().
Here is an explanation for how distance is calculated: Wikipedia on Pythagorean Theorem
カテゴリ
ヘルプ センター および File Exchange で Denoising and Compression についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!