当前位置:网站首页>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 .
边栏推荐
- Selenium+pytest automated test framework practice
- Getting started stm32--gpio (running lantern) (nanny level)
- Use of shell:for loop
- February 13, 2022-4-symmetric binary tree
- 一文搞定JVM的内存结构
- Commonly used probability distributions: Bernoulli distribution, binomial distribution, polynomial distribution, Gaussian distribution, exponential distribution, Laplace distribution and Dirac delta d
- MoCo: Momentum Contrast for Unsupervised Visual Representation Learning
- Alibaba Tianchi SQL training camp task4 learning notes
- Common JVM tools and optimization strategies
- 关于MySQL的30条优化技巧,超实用
猜你喜欢
随机推荐
透彻理解JVM类加载子系统
一文搞定垃圾回收器
Metasploit(msf)利用ms17_010(永恒之蓝)出现Encoding::UndefinedConversionError问题
(4)UART应用设计及仿真验证2 —— RX模块设计(无状态机)
d3dx9_ How to repair 31.dll_ d3dx9_ 31. Solution to missing DLL
2022 registration examination for safety management personnel of hazardous chemical business units and simulated reexamination examination for safety management personnel of hazardous chemical busines
3D reconstruction of point cloud
Hj16 shopping list
两数之和、三数之和(排序+双指针)
VOT toolkit environment configuration and use
一文搞定JVM的内存结构
audiopolicy
C Primer Plus Chapter 9 question 9 POW function
Douban scoring applet Part-2
Roman numeral to integer
Negative sampling
Global and Chinese market of diesel fire pump 2022-2028: Research Report on technology, participants, trends, market size and share
Matlab smooth curve connection scatter diagram
Finally understand what dynamic planning is
Arduino 测量交流电流









