MATLAB IMAGE ACQUISITION TOOLBOX - RELEASE NOTES Uživatelská příručka Strana 98

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 172
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 97
5 Acquiring Image Data
5-20
Frame Acquisition Loop
The frame acquisition loop is where your adaptor acquires frames from the device and
sends them to the engine. This process involves the following steps:
1
Check whether the specified number of frames has been acquired. The
frame acquisition loop acquires frames from the device until the specified
number of frames has been acquired. Use the IAdaptor member function
isAcquisitionNotComplete() to determine if more frames are needed.
2
If your adaptor supports hardware triggers, you would check whether a hardware
trigger is configured here — “Supporting Hardware Triggers” on page 5-27.
3
Grab a frame from the device. This code is completely dependent on your device
SDK's API. With many device SDKs, you allocate a buffer and the device fills it with
image data. See your device's API documentation to learn how to get frames from
your device.
4
Check whether you need to send the acquired frame to the engine, using the
IAdaptor member function isSendFrame(). This is how the toolbox implements
the FrameGrabInterval property, where users can specify that they only want to
acquire every other frame, for example.
If you need to send a frame to the engine, package the frame in an IAdaptorFrame
object; otherwise, skip to step 5.
a
Create a frame object, using the IEngine object makeFrame() member
function. You must specify the image frame dimensions and frame type when
you create the frame object.
b
Put the acquired image data into the frame object, using the IAdaptorFrame
object setImage() member function. You specify a pointer to the buffer that
contains the image data, the frame width and height and any offsets from the
upper left corner of the image.
Note For information about specifying frame width, height, and offset with
ROIs, see “Supporting ROIs” on page 5-24.
c
Log the time of the acquisition in the frame object, using the IAdaptorFrame
member function setTime(). Device SDKs sometimes provide access to time
stamp information, but you can also use the adaptor kit getCurrentTime()
function.
Zobrazit stránku 97
1 2 ... 93 94 95 96 97 98 99 100 101 102 103 ... 171 172

Komentáře k této Příručce

Žádné komentáře

Xerox DocuColor 250 manuals

Owner’s manuals and user’s guides for Printers Xerox DocuColor 250.
We providing 1 pdf manuals Xerox DocuColor 250 for download free by document types: User Manual






More products and manuals for Printers Xerox

Models Document Type
DocuColor 2060 NPS User Manual   Xerox DocuColor 2060 NPS User Manual, 38 pages
701P35371 User Manual   Xerox 701P35371 User Manual, 86 pages
DocuColor 5000AP User Manual   Xerox DocuColor 5000AP User Manual, 20 pages
CopyCentre/WorkCentre 118 MO3101Y6-1 User Manual   Xerox CopyCentre/WorkCentre 118 MO3101Y6-1 User Manual, 4 pages
DCC360 User Manual   Xerox DCC360 User Manual, 7 pages
3535 User Manual   Xerox 3535 User Manual, 268 pages
Phaser laser printer 4500 User Manual   Xerox Phaser laser printer 4500 User Manual, 10 pages
96/4635/180 IPS User Manual   Xerox 96/4635/180 IPS User Manual, 51 pages
3100MFP User Manual   Xerox 3100MFP User Manual, 12 pages
6360 User Manual   Xerox 6360 User Manual, 4 pages
SquareFold 610P729932 User Manual   Xerox SquareFold 610P729932 User Manual, 2 pages
Phaser 6180 User Manual   Xerox Phaser 6180 User Manual, 4 pages
DC98CC09 User Manual   Xerox DC98CC09 User Manual, 4 pages
XT3008EN0-2 User Manual   Xerox XT3008EN0-2 User Manual, 30 pages
2000 User Manual   Xerox 2000 User Manual, 2 pages
WorkCentre XD130DF User Manual   Xerox WorkCentre XD130DF User Manual, 1 pages
F12 User Manual   Xerox F12 User Manual, 4 pages
785 User Manual   Xerox 785 User Manual, 368 pages
DC220 User Manual   Xerox DC220 User Manual, 2 pages
8142 User Manual   Xerox 8142 User Manual, 1 pages