Ignore:
Timestamp:
09/08/2009 12:23:04 PM (10 years ago)
Author:
dave
Message:

added python wrap

File:
1 edited

Legend:

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

    r96 r112  
    3030{ 
    3131        m_Image=cvLoadImage(filename.c_str()); 
     32        if (m_Image==NULL) cerr<<"Could not open image: "<<filename<<endl; 
     33        assert(m_Image); 
     34} 
     35 
     36Image::Image(char *filename) 
     37{ 
     38        m_Image=cvLoadImage(filename); 
    3239        if (m_Image==NULL) cerr<<"Could not open image: "<<filename<<endl; 
    3340        assert(m_Image); 
Note: See TracChangeset for help on using the changeset viewer.