当前位置:网站首页>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 .
边栏推荐
- 使用rewrite规则实现将所有到a域名的访问rewrite到b域名
- MoCo: Momentum Contrast for Unsupervised Visual Representation Learning
- Arduino measures AC current
- Use of grpc interceptor
- 一文搞定class的微观结构和指令
- Déterminer si un arbre binaire est un arbre binaire complet
- d3dx9_ How to repair 31.dll_ d3dx9_ 31. Solution to missing DLL
- Multi sensor fusion of imu/ electronic compass / wheel encoder (Kalman filter)
- Hainan Nuanshen tea recruits warmhearted people: recruitment of the product experience recommender of Nuanshen multi bubble honey orchid single cluster
- Leetcode daily question 1189 The maximum number of "balloons" simple simulation questions~
猜你喜欢
Un article traite de la microstructure et des instructions de la classe
Sum of two numbers, sum of three numbers (sort + double pointer)
Data type, variable declaration, global variable and i/o mapping of PLC programming basis (CoDeSys)
Negative sampling
2022.02.13 - SX10-30. Home raiding II
Realize reverse proxy client IP transparent transmission
Vision Transformer (ViT)
30 optimization skills about mysql, super practical
2022 G3 boiler water treatment simulation examination and G3 boiler water treatment simulation examination question bank
d3dx9_ What if 29.dll is missing? System missing d3dx9_ Solution of 29.dll file
随机推荐
Hcip day 12 (BGP black hole, anti ring, configuration)
3D reconstruction of point cloud
判斷二叉樹是否為完全二叉樹
openresty ngx_ Lua regular expression
leecode-学习笔记
Data type, variable declaration, global variable and i/o mapping of PLC programming basis (CoDeSys)
Basic knowledge of database (interview)
Leetcode buys and sells stocks
Selenium+pytest automated test framework practice
Arduino 测量交流电流
February 13, 2022-4-symmetric binary tree
Finally understand what dynamic planning is
Marginal probability and conditional probability
The difference between MVVM and MVC
Three. JS VR house viewing
Use of shell:for loop
Matlab smooth curve connection scatter diagram
Nacos installation and service registration
[untitled]
(4)UART应用设计及仿真验证2 —— RX模块设计(无状态机)