Lines Matching full:interpolation
94 int interpolation;
101 BaseTest(), interpolation(-1),
134 return str.empty() ? "Unsupported/Unkown interpolation type" : str;
181 // generating an interpolation type
182 interpolation = rng.uniform(0, CV_INTER_LANCZOS4 + 1);
186 if (interpolation == INTER_AREA)
216 if (interpolation == INTER_AREA && (scale_x < 1.0 || scale_y < 1.0))
217 interpolation = INTER_LINEAR;
246 if (interpolation == INTER_CUBIC)
248 else if (interpolation == INTER_LANCZOS4)
250 else if (interpolation == INTER_NEAREST)
252 else if (interpolation == INTER_AREA)
273 bool area_fast = interpolation == INTER_AREA &&
282 PRINT_TO_LOG("Interpolation: %s\n", interpolation_to_string(area_fast ? INTER_LANCZOS4 + 1 : interpolation).c_str());
426 area_fast = interpolation == INTER_AREA &&
438 cv::resize(src, dst, dst.size(), 0, 0, interpolation);
445 if (interpolation == INTER_AREA)
511 // for interpolation type : INTER_LINEAR, INTER_LINEAR, INTER_CUBIC, INTER_LANCZOS4
518 if (interpolation
531 else if (interpolation == INTER_LINEAR || interpolation == INTER_CUBIC || interpolation == INTER_LANCZOS4)
533 interpolate_method inter_func = inter_array[interpolation - (interpolation == INTER_LANCZOS4 ? 2 : 1)];
537 if (interpolation == INTER_CUBIC)
539 else if (interpolation == INTER_LANCZOS4)
591 if (interpolation == INTER_NEAREST)
692 if (interpolation != INTER_NEAREST)
761 remap(src, dst, mapx, mapy, interpolation, borderType, borderValue);
767 convertMaps(mapx.clone(), mapy.clone(), mapx, mapy, CV_16SC2, interpolation == INTER_NEAREST);
768 else if (interpolation != INTER_NEAREST)
772 if (interpolation == INTER_NEAREST)
774 CV_Assert(((interpolation == INTER_NEAREST && mapy.empty()) || mapy.type() == CV_16UC1 ||
820 if (interpolation == INTER_AREA)
821 interpolation = INTER_LINEAR;
823 int index = interpolation == INTER_NEAREST ? 0 : 1;
879 if (interpolation == INTER_CUBIC)
881 else if (interpolation == INTER_LANCZOS4)
883 else if (interpolation != INTER_LINEAR)
893 interpolate_method inter_func = inter_array[interpolation - (interpolation == INTER_LANCZOS4 ? 2 : 1)];
1031 interpolation |= CV_WARP_INVERSE_MAP;
1036 cv::warpAffine(src, dst, M, dst.size(), interpolation, borderType, borderValue);
1062 int inter = interpolation & INTER_MAX;
1072 if (!(interpolation & CV_WARP_INVERSE_MAP))
1157 cv::warpPerspective(src, dst, M, dst.size(), interpolation, borderType, borderValue);
1182 if (!(interpolation & CV_WARP_INVERSE_MAP))
1189 int inter = interpolation & INTER_MAX;