Lines Matching refs:img
242 explicit WImage(IplImage* img) : image_(img) { in WImage() argument
243 assert(!img || img->depth == Depth()); in WImage()
266 explicit WImageC(IplImage* img) : WImage<T>(img) { in WImageC() argument
267 assert(!img || img->nChannels == Channels()); in WImageC()
316 explicit WImageBuffer(IplImage* img) : WImage<T>(img) {} in WImageBuffer() argument
323 void SetIpl(IplImage* img) { in SetIpl() argument
325 WImage<T>::SetIpl(img); in SetIpl()
373 explicit WImageBufferC(IplImage* img) : WImageC<T, C>(img) {} in WImageBufferC() argument
380 void SetIpl(IplImage* img) { in SetIpl() argument
382 WImageC<T, C>::SetIpl(img); in SetIpl()
426 WImageView(WImage<T>* img, int c, int r, int width, int height);
434 WImageView(IplImage* img) : WImage<T>(img) {} in WImageView() argument
437 WImageView(const WImage<T>& img) : WImage<T>(0) { in WImageView() argument
438 header_ = *(img.Ipl()); in WImageView()
442 WImageView& operator=(const WImage<T>& img) {
443 header_ = *(img.Ipl());
467 WImageViewC(WImageC<T, C>* img,
475 WImageViewC(IplImage* img) : WImageC<T, C>(img) {} in WImageViewC() argument
480 WImageViewC(const WImageC<T, C>& img) : WImageC<T, C>(0) { in WImageViewC() argument
481 header_ = *(img.Ipl()); in WImageViewC()
484 WImageViewC(const WImageViewC<T, C>& img) : WImageC<T, C>(0) { in WImageViewC() argument
485 header_ = *(img.Ipl()); in WImageViewC()
489 WImageViewC& operator=(const WImageC<T, C>& img) {
490 header_ = *(img.Ipl());
494 WImageViewC& operator=(const WImageViewC<T, C>& img) {
495 header_ = *(img.Ipl());
554 WImageView<T>::WImageView(WImage<T>* img, int c, int r, int width, int height) in WImageView() argument
557 header_ = *(img->Ipl()); in WImageView()
558 header_.imageData = reinterpret_cast<char*>((*img)(c, r)); in WImageView()
577 WImageViewC<T, C>::WImageViewC(WImageC<T, C>* img, int c, int r, int width, int height) in WImageViewC() argument
580 header_ = *(img->Ipl()); in WImageViewC()
581 header_.imageData = reinterpret_cast<char*>((*img)(c, r)); in WImageViewC()