Changeset 1031


Ignore:
Timestamp:
03/29/2011 09:32:57 AM (9 years ago)
Author:
dave
Message:

memory leak fix, and added documentation

Location:
libs/magicsquares
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • libs/magicsquares/applications/harvest/README

    r665 r1031  
     1A drawing scanning program for reading webcamera images and  
     2converting them into seperated, background removed png images. 
    13 
     4There are lots of controls for thresholding and crop areas, for 
     5now read the source (in App.cpp) to find out what they do. 
    26 
     7The images have the original centroid positions encoded in the  
     8filename. This allows them to be reassembled and animated using 
     9dynamically created skeletons. 
     10 
     11At the moment skeletons are calculated and procedurally animated 
     12using Prims MST algorithm in the Germination X game  
     13(see lirec/scenarios/GerminationX/) 
     14 
     15dave@fo.am 
     16  
  • libs/magicsquares/src/Image.cpp

    r784 r1031  
    193193        cvCopy(m_Image,newimage);        
    194194        cvResetImageROI(m_Image); 
    195         return newimage; 
     195        Image ret(newimage); 
     196    cvReleaseImage(&newimage); 
     197    return ret; 
    196198} 
    197199 
Note: See TracChangeset for help on using the changeset viewer.