当前位置:网站首页>LabVIEW calculates the camera image sensor resolution and lens focal length
LabVIEW calculates the camera image sensor resolution and lens focal length
2022-07-01 02:07:00 【LabVIEW development】
LabVIEW Calculate the resolution of camera image sensor and lens focal length
He is sure to use the right lens 、 Focal length and sensor resolution ( Camera sensors CCD Number of rows and columns per pixel )? About the real world , The following definitions have been understood :
field (FOV) - The detected area that the camera can collect
The resolution of the - The number of object details that the imaging system needs to replicate
Object distance - The distance from the front of the lens to the detected object
Please refer to the following legend :

edit
Add picture comments , No more than 140 word ( Optional )
answer :
In order to obtain accurate measurements , At least two pixels are required to express the smallest feature you want to detect . Please use the resolution information to select the appropriate camera and lens for the application .
First , It is necessary to determine the resolution required by the image acquisition system . You can first measure the size of the smallest feature to be detected in real-world measurement units . then , Calculate the required sensor resolution by the following formula (S):
Sensor resolution (S) =(FOV / The resolution of the ) x 2 = (FOV / The size of the smallest feature ) x 2
for example :
There is a sensor with a resolution of 640x480 The camera , Want to know the resolution of the smallest feature that can be detected in any direction . Because it is required that the measurement does not depend on the direction , So take CCD Short side in dimension parameter , Here is the 480; Suppose you want to capture FOV yes 100mm.
According to the above formula , The minimum feature size that can be detected is FOV Divide by the sensor resolution and multiply by 2( Minimum feature size =(100/480)*2). In this way, the minimum feature size that can be detected can be calculated as 0.42mm. Note that this is a rough equation , The lens distortion is not considered 、 Specific feature detection algorithm 、 And whether to use sub-pixel precision .
then , Calculate the required focal length .
Use the following formula :
The focal length x FOV = Sensor size x Object distance
For the example above , If you want to determine the object distance , First assume that the sensor size is 1/2‘’, Lens focal length is 12.5mm, Then the object distance is 98mm( Object distance =(12.5*100)/12.7). Please note that for a unified unit 1/2'' Conversion for 12.7mm.
In the factory lens , Only a portion has a standard focal length . The usual lens focal length includes 6mm,8mm,12.5mm,25mm, as well as 50mm Several kinds . Once a lens with a focal length close to the focal length required by the image acquisition system is selected , It is necessary to adjust the object distance to focus the detected object .
Short focal length ( Less than 12mm) There will be obvious distortion in the image taken by the lens of . If the application is sensitive to image distortion , Please try to increase the object distance and use a lens with a longer focal length . If it is inconvenient to adjust the object distance , When you choose a lens, you will be greatly restricted .
When building the system , It is necessary to adjust various parameters in the focal length formula repeatedly and carefully , Until we find a combination that meets the testing needs and meets the cost requirements .
LabVIEW、LabVIEW Development 、LabVIEW Programming 、LabVIEW Program
Examples and information mentioned above , Both in word In the attachment in , Click to download . Learn more , Can you contact us .
边栏推荐
- 小程序云开发之--微信公众号文章采集篇
- 端口号和进程号的区别?
- Machine learning 10 belief Bayesian classifier
- Alphabet-Rearrange-Inator 3000(字典树自定义排序)
- SWT/ANR问题--Dump时间过长导致的SWT
- 数学知识:求组合数 IV—求组合数
- SWT/ANR问题--Native方法执行时间过长导致SWT
- Some uses of Halcon array
- Ernie gram, an explicit and complete n-gram mask language model, implements explicit n-gram semantic unit knowledge modeling.
- PMP是什么?
猜你喜欢

我的PMP学习考试心得
![Pytorch - - Basic Reference North Deux élèves du secondaire peuvent comprendre [Rétropropagation et Gradient descendant]](/img/6e/279dbb7a8d7a5ecd240de464c5b8b2.png)
Pytorch - - Basic Reference North Deux élèves du secondaire peuvent comprendre [Rétropropagation et Gradient descendant]

Necessary tools for testing - postman practical tutorial

零基础自学SQL课程 | 窗口函数

The image variables in the Halcon variable window are not displayed, and it is useless to restart the software and the computer

软件开发中的上游和下游

QML control type: tooltip

go导入自建包

Short message sending solution in medical his industry

(summary I) Halcon Foundation's target finding features + becoming a regular
随机推荐
Batch import of Excel data in applet
PMP是什麼?
修复表中的名字(首字符大写,其他小写)
@The difference between configurationproperties and @value
工厂+策略模式
My PMP learning test experience
Short video platform development, relying on drawerlayout to achieve side sliding menu effect
(翻译)实时内联验证更容易让用户犯错的原因
Pytoch -- foundation refers to the north_ II. What high school students can understand [back propagation and gradient descent]
【agora】用户管理
The latest CSDN salary increase technology stack in 2022 overview of APP automated testing
机器学习10-信念贝叶斯分类器
[JS adds attributes to elements: setAttribute; classlist.remove; classlist.add;]
The image variables in the Halcon variable window are not displayed, and it is useless to restart the software and the computer
SQL语句关联表 如何添加关联表的条件 [需要null值或不需要null值]
【Content-Type请求头的内容】
运算符重载的初识
Check the disk usage of MySQL database
我的PMP学习考试心得
Leetcode (524) -- match the longest word in the dictionary by deleting letters