PDA

View Full Version : SnapImage "ghost image" problems



Unregistered
July 6, 2002, 00:04:49
I am writing an application using the Imaging Control library for the
ImagingSource Video Converter box and I'm having problems with corrupted
images.

The code is designed to take a single snapshot on user demand

and after initializing the interface and the memory buffer, the code uses
the sequence:

grabber->startLive( false );
if (!grabber->snapImages( 1, 0x5000 )) {
error_msg ...
} else {
pMemBuffer = grabber->getActiveMemBuffer();
if (pMemBuffer != NULL) {
*img = pMemBuffer->getPtr();
}
else {
error_msg....
};
}
grabber->stopLive();

Which returns a pointer used by the application to copy the image into a
image buffer in Tk.

The process works as expected roughly 75% of the time. But the remainder
of the time the image pointed to by the buffer either is all blue, or is a corrupted
image with multiple ghosts, and/or wrap-around.

I have downloaded all of the latest driver and patches and have even tried to
snap multiple images and look at just the first image. The result, however, is
the same, the system always generates a frequent corrupted image.


This message was originally posted by Robert J. Anderson in the old IC Imaging Control Support Forum.

Unregistered
July 8, 2002, 15:17:58
Hello,

I think you do not have the latest driver. The problems you describe are known bugs of the driver 3.0.0.4. The latest driver solves this problem and can be downloaded from the following location:

<a href='http://www.1394imaging.com/products/interfaces/dfg13941/'>http://www.1394imaging.com/products/interfaces/dfg13941/</a>

Best regards
Johannes
IC Support


This message was originally posted by IC Support in the old IC Imaging Control Support Forum.

Unregistered
July 8, 2002, 22:34:57
Sure enough. I had downloaded the 1.3 code, but not the new WDM driver. After downloading the WDM drivers to a temp file, and then opening the Device Manager I was able to update the driver for the VideoDongle (now called the Video to 1394,WDM Capture device) and the problem went away.

Small changes to code to reflect the new driver name and channel numbers and the ghosting and missed image problem has gone away.

The one thing that hasn't been resolved is that the new images
are upside down and reversed over the previously sampled images.


This message was originally posted by Robert J. Anderson in the old IC Imaging Control Support Forum.

Unregistered
July 9, 2002, 10:27:20
Hello,

Please tell me the video format you specified for the DFG/1394-1.

Best regards
Johannes
IC Support


This message was originally posted by IC Support in the old IC Imaging Control Support Forum.