From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
07-07-2008 09:03 AM
(Pour les francophonesBonjour,Je désirerais décrire la structure de données des images utilisées dans CVI / NI vision pour la présentation de mon stage. Cependant, bien qu'ayant trouvé les déclarations des structures simples utilisées dans le fichier nivision.h, rien du tout sur la structure Image_struct... Quelqu'un pourrait-il me dire s'il vous plaît si je ne cherche tout simplement pas au bon endroit ou si je ne pourrai pas obtenir cette information?Merci,)
07-07-2008 11:30 AM
Hi, julien,
No, I think here no "secret". Otherwise this not documented and not supported oficially, and it means, you can get troubles with "low-level" usage of this structure.
Technically, this structure contains two elemenths - string (name of the image) and pointer to ImageInfo structure. This was discussed a little bit here.
Andrey.
06-29-2011 09:20 PM
Hi,Andrey
Can you give me the Image_struct in C?
I need this in a harry. Thanks a lot.
Sony
06-30-2011 08:59 AM
The memory layout of Image_struct is proprietary to National Instruments. National Instruments does not expose the memory layout to external users so that we can maintain flexibility to improve the structure and develop new features without the risk of breaking backwards compatibility for external customer applications.
Why do you need to know the memory layout? We strive to grant access to all properties of the image through public functions. What are you trying to accomplish?
Ben
07-04-2011 04:31 AM
@963548712 wrote:
Hi,Andrey
Can you give me the Image_struct in C?
I need this in a harry. Thanks a lot.
Sony
The struct ImageInfo_struct is declared in NIVision.h file (located in %Program Files%\National Instruments\Vision\Include folder).
From one hand Ben is correct - using it by "Low Level" access can give you compatibility problems in a future. From another hand - access struct members in C directly is more easy than IMAQ Vision calls.
Andrey.