08-03-2017 09:53 PM
Actually, I am using a Intel RealSense SR300 to acquire 16 bit grayscale depth image from the camera. However, it is returning RGB image which is whole green.
Can anybody suggest how to get the the required depth image??
Regards,
Kashish Dhal
08-03-2017 10:09 PM
use I16 for imaq that you regard it as buffer of your images and if this not work use imaq cast image
08-03-2017 10:18 PM
Thankyou for replying.
Can you explain in detail a little bit ??
Regards,
Kashish Dhal
08-03-2017 10:38 PM
send your camera acquisition code I try to change it in way that you want
08-03-2017 10:51 PM
Attached code
08-04-2017 10:59 AM
Sorry, it likely isn't possible to get 16-bit images using Vision Acquisition with that camera. It uses DirectShow to allow applications like Vision Acquisition to acquire images in a generic fashion without leveraging Intel's SDK directly. DirectShow is aimed at webcams and standard video streams and is mostly limited to 8-bit image depths (either single channel or RGB) unless you leverage custom video formats.
To get 16-bit images you'd probably have to use some sort of LabVIEW wrapper around their native SDK.
08-04-2017 04:23 PM
So, is there any possibility to covert the acquired 32 bit RGB images into 16 bit grayscale ??
By separating the 4 four channels and then using the data to get 16 bit ??
I don't know much about C++ codes, it is very difficult for me to wrap the intel SDK. Can I get some help in that ??
And how to use DirectShow to get 8 bit images ??
Regards,
Kashish Dhal
08-04-2017 04:26 PM
Well, it is completely up to how their DirectShow driver forms the data into 32-bit RGB images. There may be extra bit depth information in between the different color channels that you could combine somehow. You're probably going to dig deeper into their documentation.
08-04-2017 04:52 PM
You might try getting in touch with the Intel engineer who gave this presentation at NIWeek 2017. I believe he wrote a LV wrapper for RealSense cameras. http://forums.ni.com/ni/attachments/ni/niweeksessions/316/3/Advancing%203D%20Vision%20Processing%20f...
08-06-2017 02:04 AM
Thank you Joseph, I wrote them an e-mail regarding the same.
I have a question that can we change camera settings using IMAQdx property node found in the NI-IMAQdx palette ??
Regards,
Kashish Dhal