CvImage Class Reference

#include <legacy.hpp>

List of all members.

Public Member Functions

 CvImage ()
 CvImage (CvSize size, int depth, int channels)
 CvImage (IplImage *img)
 CvImage (const CvImage &img)
 CvImage (const char *filename, const char *imgname=0, int color=-1)
 CvImage (CvFileStorage *fs, const char *mapname, const char *imgname)
 CvImage (CvFileStorage *fs, const char *seqname, int idx)
 ~CvImage ()
CvImage clone ()
void create (CvSize size, int depth, int channels)
void release ()
void clear ()
void attach (IplImage *img, bool use_refcount=true)
void detach ()
bool load (const char *filename, const char *imgname=0, int color=-1)
bool read (CvFileStorage *fs, const char *mapname, const char *imgname)
bool read (CvFileStorage *fs, const char *seqname, int idx)
void save (const char *filename, const char *imgname, const int *params=0)
void write (CvFileStorage *fs, const char *imgname)
void show (const char *window_name)
bool is_valid ()
int width () const
int height () const
CvSize size () const
CvSize roi_size () const
CvRect roi () const
int coi () const
void set_roi (CvRect roi)
void reset_roi ()
void set_coi (int coi)
int depth () const
int channels () const
int pix_size () const
uchardata ()
const uchardata () const
int step () const
int origin () const
ucharroi_row (int y)
const ucharroi_row (int y) const
 operator const IplImage * () const
 operator IplImage * ()
CvImageoperator= (const CvImage &img)

Protected Attributes

IplImageimage
int * refcount

Constructor & Destructor Documentation

CvImage::CvImage (  ) 
CvImage::CvImage ( CvSize  size,
int  depth,
int  channels 
)
CvImage::CvImage ( IplImage img  ) 
CvImage::CvImage ( const CvImage img  ) 
CvImage::CvImage ( const char *  filename,
const char *  imgname = 0,
int  color = -1 
)
CvImage::CvImage ( CvFileStorage fs,
const char *  mapname,
const char *  imgname 
)
CvImage::CvImage ( CvFileStorage fs,
const char *  seqname,
int  idx 
)
CvImage::~CvImage (  ) 

Member Function Documentation

CvImage CvImage::clone (  ) 
void CvImage::create ( CvSize  size,
int  depth,
int  channels 
)
void CvImage::release (  ) 
void CvImage::clear (  ) 
void CvImage::attach ( IplImage img,
bool  use_refcount = true 
)
void CvImage::detach (  ) 
bool CvImage::load ( const char *  filename,
const char *  imgname = 0,
int  color = -1 
)
bool CvImage::read ( CvFileStorage fs,
const char *  mapname,
const char *  imgname 
)
bool CvImage::read ( CvFileStorage fs,
const char *  seqname,
int  idx 
)
void CvImage::save ( const char *  filename,
const char *  imgname,
const int *  params = 0 
)
void CvImage::write ( CvFileStorage fs,
const char *  imgname 
)
void CvImage::show ( const char *  window_name  ) 
bool CvImage::is_valid (  ) 
int CvImage::width (  )  const
int CvImage::height (  )  const
CvSize CvImage::size (  )  const
CvSize CvImage::roi_size (  )  const
CvRect CvImage::roi (  )  const
int CvImage::coi (  )  const
void CvImage::set_roi ( CvRect  roi  ) 
void CvImage::reset_roi (  ) 
void CvImage::set_coi ( int  coi  ) 
int CvImage::depth (  )  const
int CvImage::channels (  )  const
int CvImage::pix_size (  )  const
uchar* CvImage::data (  ) 
const uchar* CvImage::data (  )  const
int CvImage::step (  )  const
int CvImage::origin (  )  const
uchar* CvImage::roi_row ( int  y  ) 
const uchar* CvImage::roi_row ( int  y  )  const
CvImage::operator const IplImage * (  )  const
CvImage::operator IplImage * (  ) 
CvImage& CvImage::operator= ( const CvImage img  ) 

Member Data Documentation

IplImage* CvImage::image [protected]
int* CvImage::refcount [protected]

The documentation for this class was generated from the following file: