04-01-2021 10:27 AM
Currently, it is possible to read local images and convert them to CogImage8Grey format. There is a problem when converting the vision image.
The vision Image pixel data scan cannot be found .
Thank you !!
04-02-2021 03:06 AM
That doesn't make much sense to me.
You're reading a bitmap (successfully?).
Why convert it to CogImage8Grey if you want it in a IMAQ image?
@zyya5984514 wrote:The vision Image pixel data scan cannot be found .
I don't know what that is.
You'd usually copy the data from one memory location to the other (the .NET image to the Vision image), or do pointer magic so the IMAQ image uses the pointer.
04-02-2021 03:23 AM
Now I use labview to call visionro, and the image format of visionpro is CogImage8Grey, so I want to convert the labview vision image to bitmap, which is then converted to CogImage8Grey format. Now the problem appears in the conversion from labview vision image to bitmap, do you have any good way to help me 。thank you !!
04-02-2021 03:27 AM
I found Bitmap Pointer to LV_Image on the ni official website, but I tried to switch from LV_Image to Bitmap Pointer and failed
04-02-2021 08:28 PM
已解决
04-06-2021 02:27 AM
@zyya5984514 wrote:
已解决
It could help someone to post the solution.
It would help everyone if you marked a post as solution.
11-28-2022 12:59 AM
Hi ,
We are also trying to convert labview image to cog8grey image. But no solution found.
If anyone found the solution post, it could help us!!
11-28-2022 08:44 AM - edited 11-28-2022 09:03 AM
If you have VDM (vision development module), there is a vi in it which give you a reference similar to scan0.