09-17-2010 09:47 AM
Hello,
I have implementted a camera grabber application using ni-vision development module with Visual Studio C#. So basically as in demo example that comes with the ni-vision development module installation software, I am using IMAQdx to connect to the 16-bit grayscale camera and used the the NI ImageViewer control to dispaly the image into that viewer.
The problem that I have is I really that even though the ImageViewer control's property, "DisplayMapping", is set by default to "MapFullDynamicRange" the image doesnot looks to be in "FullDynamicRange" mode as it is when you use imaq image control with LabView. The one with LabView works well and does really the "FullDynamicRange" compare to the ImageAViewer control that with have with Visual Studio C#. I know when operating in the "FullDyanmicrange" mode, a black 16-bit image should appear gray in the control viewer which is not case when using the C# ImageViewer control.
I want to know what image control, in ni-vision development module with Visual Studio C#, I have to use to be able to do a dispaly mapping in "FullDynamicRange" exactly the one in LabView image control.
Note: There is another component available "axCWIMAQViewer" (which looks like more like the one used by LabView) but I believe this only for VB users and I can't figure out how to use it my C# application that use IMAQdx library.
Please I need help!
Thanks,
-Rafiou
09-27-2010 12:32 PM
Please any clues with my question below. Any help will be really appreciate.
-Thanks,
Rafiou