NI LabVIEW,CVI,数据采集等产品讨论区

cancel
Showing results for 
Search instead for 
Did you mean: 

关于 labview 转换为visionpro CogImage8Grey 的问题

Solved!
Go to solution

目前能读取本地图片转换为CogImage8Grey的格式,在转换vision Image 时出现问题,

找不到 vision Image  像素数据 scan。

0 Kudos
Message 1 of 12
(1,782 Views)

Vision Development Module 装了吗?

 

George Zou
Message 2 of 12
(1,751 Views)

装了 但没办法转换到bitmap

0 Kudos
Message 3 of 12
(1,739 Views)

你读写都用 .Net 了, 还有 Vision 什么事?

 

>但没办法转换到bitmap

你的图中不是一开始就是 Bitmap 了吗?

可以存为 bitmap, jpg, or png.

 

George Zou
0 Kudos
Message 4 of 12
(1,735 Views)

采集出来的图像时 vision image ,转换为bitmap 我需要如何操作呢 , 附件时我的VI 能帮我看下问题么 谢谢!!

捕获.PNG

0 Kudos
Message 5 of 12
(1,719 Views)

用 Vision 的 External Library Support VIs.

image.png

 

George Zou
0 Kudos
Message 6 of 12
(1,717 Views)

谢谢,可以说的具体些嘛 ,获得的指针是一个数值。没办法直接引用,这方面不是太了解,十分感谢。

0 Kudos
Message 7 of 12
(1,714 Views)

你只会 C#, 不 C/C++ 吗?  指针是地址, 当然是一个数值.

 

George Zou
0 Kudos
Message 8 of 12
(1,711 Views)

是的 ,我调用IntPtr 节点后,value 显示没有像素值,图片是像素的,是VI 哪里没有设置对嘛。谢谢批注 2021-04-02 113943.png

0 Kudos
Message 9 of 12
(1,709 Views)

Of course.  You haven't acquired an image yet.

 

 

George Zou
0 Kudos
Message 10 of 12
(1,702 Views)