Wondercoll
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros
Public Member Functions | Protected Attributes | List of all members
CvImage Class Reference

#include <cxcore.hpp>

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)
 
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
 
intrefcount
 

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

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

Member Data Documentation

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

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