View Single Post
  #2   Spotlight this post!  
Unread 02-02-2012, 14:29
DjScribbles DjScribbles is offline
Programming Mentor
AKA: Joe S
FRC #2474 (Team Excel)
Team Role: Mentor
 
Join Date: Oct 2011
Rookie Year: 2012
Location: Niles MI
Posts: 284
DjScribbles is a splendid one to beholdDjScribbles is a splendid one to beholdDjScribbles is a splendid one to beholdDjScribbles is a splendid one to beholdDjScribbles is a splendid one to beholdDjScribbles is a splendid one to beholdDjScribbles is a splendid one to beholdDjScribbles is a splendid one to behold
Re: ImaqThreshold error

I can't say for sure without seeing your code, but my guess is that you aren't deleting your binary image (and color image if your calling new for it), and so you end up running out of memory pretty quickly and the threshold function cannot allocate memory for new binary images.
Reply With Quote