Lines Matching refs:height
68 // Thus (c,r) is usually in the domain [0, width) X [0, height)
87 // for (int r = 0; r < im->Height(); ++r) {
193 int Height() const {return image_->height; }
235 WImageView<T> View(int c, int r, int width, int height);
271 WImageViewC<T, C> View(int c, int r, int width, int height);
310 WImageBuffer(int width, int height, int nchannels) : WImage<T>(0) {
311 Allocate(width, height, nchannels);
320 void Allocate(int width, int height, int nchannels);
330 Allocate(src.Width(), src.Height());
367 WImageBufferC(int width, int height) : WImageC<T, C>(0) {
368 Allocate(width, height);
377 void Allocate(int width, int height);
387 Allocate(src.Width(), src.Height());
426 WImageView(WImage<T>* img, int c, int r, int width, int height);
430 WImageView(T* data, int width, int height, int channels, int width_step = -1);
468 int c, int r, int width, int height);
471 WImageViewC(T* data, int width, int height, int width_step = -1);
531 inline void WImageBuffer<T>::Allocate(int width, int height, int nchannels)
534 WImage<T>::Height() != height || WImage<T>::Channels() != nchannels) {
536 WImage<T>::image_ = cvCreateImage(cvSize(width, height),
542 inline void WImageBufferC<T, C>::Allocate(int width, int height)
544 if (IsNull() || WImage<T>::Width() != width || WImage<T>::Height() != height) {
546 WImageC<T, C>::SetIpl(cvCreateImage(cvSize(width, height),WImage<T>::Depth(), C));
554 WImageView<T>::WImageView(WImage<T>* img, int c, int r, int width, int height)
560 header_.height = height;
565 WImageView<T>::WImageView(T* data, int width, int height, int nchannels, int width_step)
568 cvInitImageHeader(&header_, cvSize(width, height), WImage<T>::Depth(), nchannels);
577 WImageViewC<T, C>::WImageViewC(WImageC<T, C>* img, int c, int r, int width, int height)
583 header_.height = height;
595 WImageViewC<T, C>::WImageViewC(T* data, int width, int height, int width_step)
598 cvInitImageHeader(&header_, cvSize(width, height), WImage<T>::Depth(), C);
608 WImageView<T> WImage<T>::View(int c, int r, int width, int height) {
609 return WImageView<T>(this, c, r, width, height);
613 WImageViewC<T, C> WImageC<T, C>::View(int c, int r, int width, int height) {
614 return WImageViewC<T, C>(this, c, r, width, height);