Lines Matching refs:flowField
189 IplImage *flowField; in ShowFlow() local
219 flowField = cvCreateImage (image_size, IPL_DEPTH_8U, 4); in ShowFlow()
220 if (flowField == 0) return NCV_NULL_PTR; in ShowFlow()
222 unsigned char *row = reinterpret_cast<unsigned char *> (flowField->imageData); in ShowFlow()
226 for (int i = 0; i < flowField->height; ++i) in ShowFlow()
228 for (int j = 0; j < flowField->width; ++j) in ShowFlow()
230 (row + j * flowField->nChannels)[0] = 0; in ShowFlow()
231 …(row + j * flowField->nChannels)[1] = static_cast<unsigned char> (MapValue (-(*ptr_v), -maxDisplac… in ShowFlow()
232 …(row + j * flowField->nChannels)[2] = static_cast<unsigned char> (MapValue (*ptr_u , -maxDisplac… in ShowFlow()
233 (row + j * flowField->nChannels)[3] = 255; in ShowFlow()
237 row += flowField->widthStep; in ShowFlow()
242 cvShowImage (name, flowField); in ShowFlow()