当前位置:网站首页>传感器尺寸、像素、DPI分辨率、英寸、毫米的关系
传感器尺寸、像素、DPI分辨率、英寸、毫米的关系
2022-07-01 17:47:00 【全栈程序员站长】
大家好,又见面了,我是你们的朋友全栈君。
虽然网上有很多这种资料,但是太过于复杂,每个人的说法都不一样,看的让人云里雾里的,我总结了一下,不知道对不对!
1. 1英寸=25.4mm
2. 传感器尺寸:传感器的尺寸是指传感器的大小,一般描述大小有两种形式,以IMX386感光元件为例,其传感器尺寸1/2.9英寸,是指传感器对角线为1/2.9英寸;还可以描述成传感器尺寸4.97mm×6.2mm,是指水平(竖直)长(宽)为4.97(6.2)mm。
两种表示方法可以通过下图转换
3. 像素:是指图片的大小, 以小米Max2手机为例,其后置相机像素为4000×3000(12M),是指其拍摄的照片水平(竖直)方向上有4000(3000)个像素,如上图。
4. DPI:每英寸的像素个数,也就是所谓的分辨率。以小米Max2手机后置摄像头为例,其照片DPI为72像素/英寸,可以从其属性里面观察。如下图:
公式:图像的横向(竖向)像素数=打印横向(竖向)分辨率(DPI)×打印的横向(竖向)尺寸
下面是我用小米Max2拍摄的照片
其属性截图如下:
计算器照片的物理尺寸:
图像的横向(竖向)像素数=打印横向(竖向)分辨率(DPI)×打印的横向(竖向)尺寸
3000/72=41.67英寸
4000/72=55.56英寸
我们可以打开PS,打开PS刻度,将其单位调整为英寸,截图如下:
结果是一样的,之所以有细微的差别,是应为在计算I的时候会有一个四舍五入的过程。
发布者:全栈程序员栈长,转载请注明出处:https://javaforall.cn/130889.html原文链接:https://javaforall.cn
边栏推荐
- PHP implements sensitive word filtering system "suggestions collection"
- Unity3d extended toolbar
- What are the legal risks of NFT brought by stars such as curry and O'Neill?
- How to write good code - Defensive Programming Guide
- China PBAT resin Market Forecast and Strategic Research Report (2022 Edition)
- Setting up a time server requires the client to automatically synchronize the time of the server at 9 a.m. every day
- Redis -- data type and operation
- PIP version problems: PIP problems still occur when installing akshare and using Tsinghua source and Douban source
- String的trim()和substring()详解
- Apache iceberg source code analysis: schema evolution
猜你喜欢

Replace UUID, nanoid is faster and safer!

为什么你要考虑使用Prisma

Iommu/smmuv3 code analysis (10) page table operation

Penetration practice vulnhub range Tornado
![[C language foundation] 12 strings](/img/42/9c024eb08eb935fe66c3aaac7589d8.jpg)
[C language foundation] 12 strings

(1) CNN network structure

Gold, silver and four want to change jobs, so we should seize the time to make up

Yyds dry inventory MySQL RC transaction isolation level implementation

剑指 Offer 20. 表示数值的字符串

Sword finger offer 20 String representing numeric value
随机推荐
剑指 Offer 20. 表示数值的字符串
What are the six steps of the software development process? How to draw software development flow chart?
PIP version problems: PIP problems still occur when installing akshare and using Tsinghua source and Douban source
(12) About time-consuming printing
Encryption and decryption of tinyurl in leetcode
中国生物降解塑料市场预测与投资战略报告(2022版)
RadHat搭建内网YUM源服务器
How to use JMeter function and mockjs function in metersphere interface test
Official announcement! Hong Kong University of science and Technology (Guangzhou) approved!
Openlayers customize bubble boxes and navigate to bubble boxes
Can hero sports go public against the wind?
In depth Research Report on China's disposable sanitary products production equipment industry (2022 Edition)
SPIE Western optoelectronics exhibition returned offline and successfully held a science and engineering event
Key points on February 15, 2022
Redis -- data type and operation
Openlayers 自定义气泡框以及定位到气泡框
徽商期货是正规期货平台吗?在徽商期货开户安全吗?
LeetCode中等题之TinyURL 的加密与解密
Heavy disclosure! Hundreds of important information systems have been invaded, and the host has become a key attack target
Source code of new campus errand / campus task platform on mutual station