当前位置:网站首页>The PNG image is normal when LabVIEW is opened, and the full black image is obtained when Photoshop is opened
The PNG image is normal when LabVIEW is opened, and the full black image is obtained when Photoshop is opened
2022-07-05 23:12:00 【LabVIEW development】
LabVIEW open PNG The image is normal and Photoshop Open to get a completely black image
Read a 10-bit And save it as 16-bit Of PNG file . Use Vision Assistant or LabVIEW When it is turned on , It's all right ; But with Photoshop or Windows Picture and Fax Viewer On , The whole image is black .
answer : Please try multiplying the original image by 2 And then re archive . In this way, the value of each point in the image can be translated 2 To the power of . This is a common method used by many image processing software to display images .
When NI Vision Show a by default 16-bit In the picture , NI-Vision The full range of values of the image will be checked 〈full dynamic range〉 And convert the value to 8-bit On display 〈 In this way, the data of each pixel can be compressed to be displayed in Windows The scope of the 〉. On the other hand ,Photoshop And other image display software will just 16-bit Data translation 8 bit Then it will be displayed directly . Although this method is very common , But it will cause the loss of image resolution , The reason is that the least significant bit data is deleted when translating the data 《truncating the least significant bit》. therefore , If you have any 10-bit Image , translation 8 bit after , Will get only 2bit Image of and with 8 bit Express , So the new image looks black .
edit
Add picture comments , No more than 140 word ( Optional )
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 .
边栏推荐
- Use of shell:for loop
- Nacos 的安装与服务的注册
- 二叉树递归套路总结
- The method and principle of viewing the last modification time of the web page
- MoCo: Momentum Contrast for Unsupervised Visual Representation Learning
- CorelDRAW plug-in -- GMS plug-in development -- new project -- macro recording -- VBA editing -- debugging skills -- CDR plug-in (2)
- Multi view 3D reconstruction
- npm ELECTRON_ Mirror is set as domestic source (npmmirror China mirror)
- openresty ngx_lua正則錶達式
- SPSS analysis of employment problems of college graduates
猜你喜欢
并查集实践
How to quickly understand complex businesses and systematically think about problems?
利用LNMP实现wordpress站点搭建
Sum of two numbers, sum of three numbers (sort + double pointer)
一文搞定class的微观结构和指令
LeetCode145. Post order traversal of binary tree (three methods of recursion and iteration)
Development specification: interface unified return value format [resend]
Leetcode daily question 1189 The maximum number of "balloons" simple simulation questions~
The difference between MVVM and MVC
Vcomp110.dll download -vcomp110 What if DLL is lost
随机推荐
使用rewrite规则实现将所有到a域名的访问rewrite到b域名
Use of shell:for loop
Simple and beautiful method of PPT color matching
regular expression
Sum of two numbers, sum of three numbers (sort + double pointer)
Idea rundashboard window configuration
2:第一章:认识JVM规范1:JVM简介;
Registration of Electrical Engineering (elementary) examination in 2022 and the latest analysis of Electrical Engineering (elementary)
一文搞定class的微观结构和指令
One article deals with the microstructure and instructions of class
TypeError: this. getOptions is not a function
Use of grpc interceptor
audiopolicy
派对的最大快乐值
Marginal probability and conditional probability
一文搞定JVM常见工具和优化策略
Summary of binary tree recursive routines
Starting from 1.5, build a micro Service Framework -- log tracking traceid
LabVIEW打开PNG 图像正常而 Photoshop打开得到全黑的图像
【原创】程序员团队管理的核心是什么?