If the frame grabber is represented by vil2_image_data object, then the get_view(..) method can return a new view of the existing buffer.
vil2_memory_image works similarly. It contains some image data, Every time someone calls get_view(..) on that vil2_memory_image, it returns a new vil2_image_view that looks at the same underlying data.
 
Is this sufficient?
 
Note: We currently use a mil_image_2d (which is a view like vil2_image_view) to wrap the output buffer of a framegrabber without any problems.
 
Ian.
-----Original Message-----
From: Joseph Mundy [mailto:mundy@lems.brown.edu]
Sent: Wednesday, October 02, 2002 4:42 PM
To: vxl-maintainers@lists.sourceforge.net
Subject: [Vxl-maintainers] Set View

The idea of  set_view(..) is to be able to use an existing piece of memory as the data for an image.  This condition arises for example in the case of a frame-grabber of live video where a buffer is being filled by the camera feed and designated by the camera driver.