View Single Post
  #3   Spotlight this post!  
Unread 26-01-2012, 00:00
Tommy.Brown's Avatar
Tommy.Brown Tommy.Brown is offline
Lead Programmer
FRC #1477 (Texas Torque)
Team Role: Programmer
 
Join Date: Jul 2011
Rookie Year: 2011
Location: The Woodlands
Posts: 27
Tommy.Brown is an unknown quantity at this point
Re: IMAQ images and Memory Management

If you are working with pointers, you should just be able to delete the images out of memory each time through the loop once you are done processing them.

Image *genericImage = NULL;
//Code to get value and store it in genericImage
delete genericImage;
__________________
FRC Team 1477 - Texas Torque
The Woodlands, Texas
Reply With Quote