Home | History | Annotate | Download | only in src

Lines Matching full:roi

110         if( samples[c]->roi &&
111 ((samples[c]->roi->xOffset | samples[c]->roi->yOffset
112 | samples[c]->roi->width | samples[c]->roi->height) < 0 ||
113 samples[c]->roi->xOffset + samples[c]->roi->width > samples[c]->width ||
114 samples[c]->roi->yOffset + samples[c]->roi->height > samples[c]->height ||
115 (unsigned) (samples[c]->roi->coi) > (unsigned) (samples[c]->nChannels)))
116 CV_ERROR( CV_BadROISize, "Invalid ROI" );