Calibrate image scale automatically
7 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Guilherme Franklin
am 30 Jan. 2022
Beantwortet: Benjamin Thompson
am 31 Jan. 2022
I'm working with an image bank to find the leaf area of the leaf.
For that I would get an algorithm that would find my scale and calibrate my image automatically.
Here is an example image:
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/878865/image.png)
In all my images I have something like this. What I want is to find that piece of the image through an algorithm and make it my scale.
Here is another image with the part of the image of interest:
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/878870/image.png)
0 Kommentare
Akzeptierte Antwort
Benjamin Thompson
am 31 Jan. 2022
Use the Camera Calibration app, and see the example "Measuring Planar Objects with a Calibrated Camera". Use a checkerboard image to calibrate your own camera setup if possible, then you can use pointsToWorld to calculate any distance within your plane of interest. This method has the nice advantage of removing camera distortion effects for you.
0 Kommentare
Weitere Antworten (0)
Siehe auch
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!