From: LabBEAN on
I'm acquiring images from a USB Microsoft Fingerprint Reader via ActiveX.  The BiometricDisplay method outputs "handler" which is a reference, whose wire type is "stdole.Picture".  I can create "Picture" property and invoke nodes using "handler" (in contrast to the "Pict" nodes used with LabVIEW picture indicator references) but do not see how they help.
 
The SDK (Software Development Kit) explains that the BiometricDisplay method "Returns a picture display handle (IPictureDisp) to the supplied raw grayscale fingerprint image with its minutiae, segments and minutiae direction drawn."  (Minutiae, segments, and direction are merely parts of the template, which is used for matching.)
 
A couple of KnowledgeBase links make me wonder if porting the image to a standard LabVIEW indicator is even possible due to thread problems:
 
<a href="http://digital.ni.com/public.nsf/allkb/62A407CAD9BC56BB862569C90055A3BE" target="_blank">http://digital.ni.com/public.nsf/allkb/62A407CAD9BC56BB862569C90055A3BE</a>
<a href="http://digital.ni.com/public.nsf/allkb/9C4B1DC160DD5BF986256D6D00647526" target="_blank">http://digital.ni.com/public.nsf/allkb/9C4B1DC160DD5BF986256D6D00647526</a>
&nbsp;
Is it possible to port the image to a standard LabVIEW indicator?&nbsp; Are there ActiveX controls that could house the image?&nbsp; How would I find / install / use them?&nbsp; I've seen "Tree View Control" and "ImageList" mentioned elsewhere, but don't know&nbsp;if they're even applicable.&nbsp; Please speak slowly, as I am unfamiliar with the Picture data type.
&nbsp;
Thank you!
&nbsp;
From: LabBEAN on
Can I pass the ActiveX IPictureDisp handle to a front panel&nbsp;ActiveX control for display (e.g. the ActiveX equivalent of the LV Picture Indicator) to keep it in the ActiveX layer?&nbsp; Which control, and how do I install it?
&nbsp;
If not, have you successfully used OLE functions to convert the&nbsp;reference?&nbsp; Can this be done in LabVIEW?&nbsp; How would I load the libraries?
&nbsp;
Thank you for your comments!
&nbsp;
-B&nbsp;
From: zou on
LabBEAN wrote:
Can I pass the ActiveX IPictureDisp handle to a front panel&nbsp;ActiveX control for display (e.g. the ActiveX equivalent of the LV Picture Indicator) to keep it in the ActiveX layer?&nbsp; Which control, and how do I install it?
&nbsp;
I don't think that would work.
&nbsp;
If not, have you successfully used OLE functions to convert the&nbsp;reference?
Yes.
&nbsp;
Can this be done in LabVIEW?&nbsp; How would I load the libraries?
I don't think so.
&nbsp;
George Zou
&nbsp;
From: LabBEAN on
I am able to convert and pass the rawImage Variant&nbsp;to a LabVIEW Picture Indicator (see attached VI).&nbsp;&nbsp;The handle&nbsp;may be&nbsp;referencing a similar (standard?) rawImage Variant data type (albeit OLE), only this image would contain the overlayed template (explained above).&nbsp; I wonder if your DLL would parse the handle object correctly.&nbsp; Could you attach it / something similar as an&nbsp;example?
&nbsp;
Or, and please forgive me for continuing to beat this drum, maybe there's an ActiveX control that accepts the&nbsp;handle if it is to the&nbsp;rawImage type?
&nbsp;
-B


rawImage to Picture.vi:
http://forums.ni.com/attachments/ni/170/297562/1/rawImage to Picture.vi
From: zou on
The OLE handle is not likely to be a raw image pointer.
MS doesn't give the data structure of the handle.&nbsp; So you&nbsp;can't parse.
You have to use OLE functions and other WinAPIs to get the raw image pointer.
&nbsp;
Can you give me the web page of the SDK you're using?
I might have time to make a VI for you.
&nbsp;
George Zou
&nbsp;
 |  Next  |  Last
Pages: 1 2
Prev: MIDI Keyboard Input
Next: AXIS 213 Camera