Subversion Repositories seema-scanner

Rev

Rev 63 | Rev 69 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 63 Rev 68
Line 207... Line 207...
207
        cv::remap(temp, frames0Rect[i], map0X, map0Y, CV_INTER_CUBIC);
207
        cv::remap(temp, frames0Rect[i], map0X, map0Y, CV_INTER_CUBIC);
208
        cv::cvtColor(frames1[i], temp, CV_RGB2GRAY);
208
        cv::cvtColor(frames1[i], temp, CV_RGB2GRAY);
209
        cv::remap(temp, frames1Rect[i], map1X, map1Y, CV_INTER_CUBIC);
209
        cv::remap(temp, frames1Rect[i], map1X, map1Y, CV_INTER_CUBIC);
210
    }
210
    }
211
 
211
 
-
 
212
 
-
 
213
//    cv::imwrite("frames0[0].png", frames0[0]);
-
 
214
//    cv::imwrite("frames0Rect[0].png", frames0Rect[0]);
-
 
215
 
-
 
216
//    cv::imwrite("frames1[0].png", frames1[0]);
-
 
217
//    cv::imwrite("frames1Rect[0].png", frames1Rect[0]);
-
 
218
 
212
//    cv::imwrite("frames0Rect[N-1].png", frames0Rect[N-1]);
219
//    cv::imwrite("frames0Rect[N-1].png", frames0Rect[N-1]);
213
 
220
 
214
    // color remaps
221
    // color remaps
215
    cv::Mat color0Rect, color1Rect;
222
    cv::Mat color0Rect, color1Rect;
216
    cv::remap(frames0[0], color0Rect, map0X, map0Y, CV_INTER_CUBIC);
223
    cv::remap(frames0[0], color0Rect, map0X, map0Y, CV_INTER_CUBIC);