Ignore:
Timestamp:
07/24/2009 03:33:27 PM (10 years ago)
Author:
dave
Message:

eigenface user classification seems to work on the test video

File:
1 edited

Legend:

Unmodified
Added
Removed
  • foam/trunk/vision/src/Image.cpp

    r94 r95  
    183183        cvSetImageROI(m_Image,roi); 
    184184        newimage = cvCreateImage( cvSize(roi.width, roi.height), m_Image->depth, m_Image->nChannels ); 
    185         cvCopy(m_Image,newimage); 
    186         cvReleaseImage(&m_Image); 
     185        cvCopy(m_Image,newimage);        
     186        cvResetImageROI(m_Image); 
    187187        return newimage; 
    188188} 
Note: See TracChangeset for help on using the changeset viewer.