Lines Matching refs:Depth
204 // Return depth type (e.g. IPL_DEPTH_8U, IPL_DEPTH_32F) which is the number
207 int Depth() const;
243 assert(!img || img->depth == Depth());
247 assert(!image || image->depth == Depth());
290 assert(!image || image->depth == WImage<T>::Depth());
505 // Specializations for depth
507 inline int WImage<uchar>::Depth() const {return IPL_DEPTH_8U; }
509 inline int WImage<schar>::Depth() const {return IPL_DEPTH_8S; }
511 inline int WImage<short>::Depth() const {return IPL_DEPTH_16S; }
513 inline int WImage<ushort>::Depth() const {return IPL_DEPTH_16U; }
515 inline int WImage<int>::Depth() const {return IPL_DEPTH_32S; }
517 inline int WImage<float>::Depth() const {return IPL_DEPTH_32F; }
519 inline int WImage<double>::Depth() const {return IPL_DEPTH_64F; }
537 WImage<T>::Depth(), nchannels);
546 WImageC<T, C>::SetIpl(cvCreateImage(cvSize(width, height),WImage<T>::Depth(), C));
568 cvInitImageHeader(&header_, cvSize(width, height), WImage<T>::Depth(), nchannels);
589 cvInitImageHeader(&header_, cvSize(0, 0), WImage<T>::Depth(), C);
598 cvInitImageHeader(&header_, cvSize(width, height), WImage<T>::Depth(), C);