Lines Matching refs:mapy
638 Mat mapx, mapy; member in CV_Remap_Test
654 CV_ImageWarpBaseTest(), mapx(), mapy(), in CV_Remap_Test()
676 mapy = Mat(); in generate_test_data()
695 … mapy.create(dst.size(), mapy_types[rng.uniform(0, sizeof(mapy_types) / sizeof(int))]); in generate_test_data()
697 switch (mapy.type()) in generate_test_data()
701 … MatIterator_<ushort> begin_y = mapy.begin<ushort>(), end_y = mapy.end<ushort>(); in generate_test_data()
709 … MatIterator_<short> begin_y = mapy.begin<short>(), end_y = mapy.end<short>(); in generate_test_data()
721 mapy.create(dst.size(), CV_32FC1); in generate_test_data()
725 MatIterator_<float> begin_y = mapy.begin<float>(); in generate_test_data()
761 remap(src, dst, mapx, mapy, interpolation, borderType, borderValue); in run_func()
767 … convertMaps(mapx.clone(), mapy.clone(), mapx, mapy, CV_16SC2, interpolation == INTER_NEAREST); in convert_maps()
769 if (mapy.type() != CV_16UC1) in convert_maps()
770 mapy.clone().convertTo(mapy, CV_16UC1); in convert_maps()
773 mapy = Mat(); in convert_maps()
774 CV_Assert(((interpolation == INTER_NEAREST && mapy.empty()) || mapy.type() == CV_16UC1 || in convert_maps()
775 mapy.type() == CV_16SC1) && mapx.type() == CV_16SC2); in convert_maps()
830 CV_Assert(mapx.type() == CV_16SC2 && mapy.empty()); in remap_nearest()
876 CV_Assert(mapx.type() == CV_16SC2 && mapy.type() == CV_16UC1); in remap_generic()
898 const ushort* yMy = mapy.ptr<ushort>(dy); in remap_generic()
1068 mapy.create(dsize, CV_16SC1); in warpAffine()
1070 mapy = Mat(); in warpAffine()
1096 …mapy.ptr<short>(dy)[dx] = ((v2 & (INTER_TAB_SIZE - 1)) * INTER_TAB_SIZE + (v1 & (INTER_TAB_SIZE - … in warpAffine()
1100 …CV_Assert(mapx.type() == CV_16SC2 && ((inter == INTER_NEAREST && mapy.empty()) || mapy.type() == C… in warpAffine()
1101 cv::remap(_src, _dst, mapx, mapy, inter, borderType, borderValue); in warpAffine()
1195 mapy.create(dsize, CV_16SC1); in warpPerspective()
1197 mapy = Mat(); in warpPerspective()
1222 mapy.ptr<short>(dy)[dx] = saturate_cast<short>((v1 & (INTER_TAB_SIZE - 1)) * in warpPerspective()
1227 …CV_Assert(mapx.type() == CV_16SC2 && ((inter == INTER_NEAREST && mapy.empty()) || mapy.type() == C… in warpPerspective()
1228 cv::remap(_src, _dst, mapx, mapy, inter, borderType, borderValue); in warpPerspective()