Why is the unit of focal length in pixel when you multiply mm and pixel?
조회 수: 4 (최근 30일)
이전 댓글 표시
I calibrated my stereo camera with matlab and extracted the focal length.
Now if I look to the documentation in which unit the focal lenght is, it shows me the calculation f = F*s.
F is in mm and s is in pixel so the unit of f should be in mm*pixel but ist says it is in pixel.
Why?
댓글 수: 0
답변 (2개)
Image Analyst
2023년 3월 26일
Where is that documentation you're referring to? I don't know why you'd multiply those two things. What do they represent? But in general the units of a product are the product of the units, so if F is in mm and s is in pixels, then y-F*s will have units of (mm*pixels).
댓글 수: 0
George Abrahams
2024년 1월 23일
Hi @sinan saglam. I'm assuming that you're referring to the cameraIntrinsics documentation. At the time of writing, it describes the FocalLength property as follows:
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1597636/image.png)
Please reread this carefully.
and
are actually in
. Therefore, the units of
and
are
.
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1597641/image.png)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1597646/image.png)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1597651/image.png)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1597656/image.png)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1597661/image.png)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1597666/image.png)
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 MATLAB Support Package for USB Webcams에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!