View Single Post
  #2   Spotlight this post!  
Unread 03-02-2012, 13:00
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: Colorimage.cpp error

To get any good advice you'll want to attach code showing where in your code you are using ColorImage. Some basic advice, make sure you are deleting images that you are getting from the camera, and the images you get back from the threshold function.

Each time you get an image from the camera, and perform a threshold (producing a binary image) you'll be left with 1 color image and 1 binary image, if you don't store pointers to these objects and delete them when you are done with them, you will quickly eat up your memory and things will start failing.

This post has some more detailed info:
http://www.chiefdelphi.com/forums/sh...15&postcount=3


If this doesn't help you, please post your code.
Reply With Quote