03-27-2012 08:38 PM
Can LabVIEW process images in RAW format? Can LabVIEW handle images in the multimegapixel formats produced by some of the current DSLR cameras (e.g. 5000x3500 pixels)?
Can LabVIEW be programmed to remotely acquire images from a commercial DSLR camera with DirectShow capability? e.g. Canon Rebel T2i.
03-28-2012 01:51 PM - edited 03-28-2012 01:52 PM
1) So RAW files have a multitude of possible file extensions / formats, and it depends on which of these extensions you use. If the image can fit in memory, it can be brought into LabVIEW. An image of that size should be able to come into LabVIEW. Are you considering using NI-Vision to do this? You would look into the VI called "IMAQ ReadFile." There are a certain set of standard formats that can be read.
2) If a camera is DirectShow capable, and there are USB drivers available to access that camera through a Windows machine, then you should be able to bring that camera up in NI's software such as LabVIEW.
04-02-2012 05:00 AM
If relevant, I have attempted a set of wrappers to the Canon EDSDK, see http://tech.groups.yahoo.com/group/CanonSDK/message/1716
I succeed in grabbing 18Mpix jpeg pictures from two simultaneous cameras.
The RAW format used is probably propietary and undocumented by Canon, though it may be that http://www.cybercom.net/~dcoffin/dcraw/ succeeded in reverse-engineering it. In what I did, though, RAW images may be eventually processed ("developed") only via the SDK functions supplied by Canon, on which I didn't dwell more than needed.
Enrico