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!