Home
last modified time | relevance | path

Searched refs:INTER_NEAREST (Results 1 – 25 of 36) sorted by relevance

12

/external/opencv3/modules/imgproc/test/
Dtest_imgwarp_strict.cpp118 if (inter == INTER_NEAREST) in interpolation_to_string()
250 else if (interpolation == INTER_NEAREST) in validate_results()
518 if (interpolation == INTER_NEAREST) in resize_1d()
591 if (interpolation == INTER_NEAREST) in resize_generic()
692 if (interpolation != INTER_NEAREST) in generate_test_data()
767 … convertMaps(mapx.clone(), mapy.clone(), mapx, mapy, CV_16SC2, interpolation == INTER_NEAREST); in convert_maps()
768 else if (interpolation != INTER_NEAREST) in convert_maps()
772 if (interpolation == INTER_NEAREST) in convert_maps()
774 CV_Assert(((interpolation == INTER_NEAREST && mapy.empty()) || mapy.type() == CV_16UC1 || in convert_maps()
823 int index = interpolation == INTER_NEAREST ? 0 : 1; in run_reference_func()
[all …]
/external/opencv3/modules/imgproc/perf/opencl/
Dperf_imgwarp.cpp57 CV_ENUM(InterType, INTER_NEAREST, INTER_LINEAR, INTER_CUBIC)
94 … OCL_PERF_ENUM(InterType(INTER_NEAREST), InterType(INTER_LINEAR)))) in OCL_PERF_TEST_P() argument
126 OCL_PERF_ENUM(InterType(INTER_NEAREST), InterType(INTER_LINEAR)),
178 OCL_PERF_ENUM(InterType(INTER_NEAREST), InterType(INTER_LINEAR)))) in OCL_PERF_TEST_P() argument
/external/opencv3/modules/imgproc/test/ocl/
Dtest_warp.cpp307 OCL_OFF(cv::remap(src_roi, dst_roi, map1_roi, map2_roi, INTER_NEAREST, borderType, val)); in OCL_TEST_P()
308 OCL_ON(cv::remap(usrc_roi, udst_roi, umap1_roi, umap2_roi, INTER_NEAREST, borderType, val)); in OCL_TEST_P()
340 … Values((Interpolation)INTER_NEAREST, (Interpolation)INTER_LINEAR, (Interpolation)INTER_CUBIC),
346 … Values((Interpolation)INTER_NEAREST, (Interpolation)INTER_LINEAR, (Interpolation)INTER_CUBIC),
354 Values((Interpolation)INTER_NEAREST, (Interpolation)INTER_LINEAR),
/external/opencv3/modules/imgproc/perf/
Dperf_remap.cpp10 CV_ENUM(InterType, INTER_NEAREST, INTER_LINEAR, INTER_CUBIC, INTER_LANCZOS4)
34 else if (inter_type != INTER_NEAREST && map1_type == CV_16SC2) in PERF_TEST_P()
/external/opencv3/modules/cudawarping/perf/
Dperf_warping.cpp98 …Values(Interpolation(cv::INTER_NEAREST), Interpolation(cv::INTER_LINEAR), Interpolation(cv::INTER_… in PERF_TEST_P() argument
150 …Values(Interpolation(cv::INTER_NEAREST), Interpolation(cv::INTER_LINEAR), Interpolation(cv::INTER_…
237 …Values(Interpolation(cv::INTER_NEAREST), Interpolation(cv::INTER_LINEAR), Interpolation(cv::INTER_… in PERF_TEST_P() argument
287 …Values(Interpolation(cv::INTER_NEAREST), Interpolation(cv::INTER_LINEAR), Interpolation(cv::INTER_… in PERF_TEST_P() argument
337 …Values(Interpolation(cv::INTER_NEAREST), Interpolation(cv::INTER_LINEAR), Interpolation(cv::INTER_… in PERF_TEST_P() argument
/external/opencv3/modules/cudev/test/
Dtest_warp.cu109 cv::remap(src, dst_gold, mapx, mapy, INTER_NEAREST, BORDER_REPLICATE); in test_remap()
233 cv::warpAffine(src, dst_gold, M, size, INTER_NEAREST | WARP_INVERSE_MAP); in TEST()
253 cv::warpPerspective(src, dst_gold, M, size, INTER_NEAREST | WARP_INVERSE_MAP); in TEST()
/external/opencv3/modules/cudawarping/test/
Dtest_warp_perspective.cpp90 int interpolation = cv::INTER_NEAREST; in CUDA_TEST_P()
233 …testing::Values(Interpolation(cv::INTER_NEAREST), Interpolation(cv::INTER_LINEAR), Interpolation(c…
281 …testing::Values(Interpolation(cv::INTER_NEAREST), Interpolation(cv::INTER_LINEAR), Interpolation(c…
Dtest_warp_affine.cpp89 int interpolation = cv::INTER_NEAREST; in CUDA_TEST_P()
230 …testing::Values(Interpolation(cv::INTER_NEAREST), Interpolation(cv::INTER_LINEAR), Interpolation(c…
278 …testing::Values(Interpolation(cv::INTER_NEAREST), Interpolation(cv::INTER_LINEAR), Interpolation(c…
Dtest_resize.cpp160 …testing::Values(Interpolation(cv::INTER_NEAREST), Interpolation(cv::INTER_LINEAR), Interpolation(c…
206 testing::Values(Interpolation(cv::INTER_NEAREST), Interpolation(cv::INTER_AREA)),
Dtest_remap.cpp176 …testing::Values(Interpolation(cv::INTER_NEAREST), Interpolation(cv::INTER_LINEAR), Interpolation(c…
/external/opencv3/samples/python2/
Dasift.py57 img = cv2.resize(img, (0, 0), fx=1.0/tilt, fy=1.0, interpolation=cv2.INTER_NEAREST)
61 mask = cv2.warpAffine(mask, A, (w, h), flags=cv2.INTER_NEAREST)
/external/opencv3/modules/ts/include/opencv2/ts/
Dcuda_perf.hpp59 CV_ENUM(Interpolation, INTER_NEAREST, INTER_LINEAR, INTER_CUBIC, INTER_AREA)
Dcuda_test.hpp320 CV_ENUM(Interpolation, INTER_NEAREST, INTER_LINEAR, INTER_CUBIC, INTER_AREA)
325 CV_FLAGS(WarpFlags, INTER_NEAREST, INTER_LINEAR, INTER_CUBIC, WARP_INVERSE_MAP)
/external/opencv3/modules/cudawarping/src/
Dresize.cpp73 …CV_Assert( interpolation == INTER_NEAREST || interpolation == INTER_LINEAR || interpolation == INT… in resize()
Dremap.cpp83 …CV_Assert( interpolation == INTER_NEAREST || interpolation == INTER_LINEAR || interpolation == INT… in remap()
Dwarp.cpp193 …CV_Assert( interpolation == INTER_NEAREST || interpolation == INTER_LINEAR || interpolation == INT… in warpAffine()
332 …CV_Assert( interpolation == INTER_NEAREST || interpolation == INTER_LINEAR || interpolation == INT… in warpPerspective()
524 …CV_Assert( interpolation == INTER_NEAREST || interpolation == INTER_LINEAR || interpolation == INT… in rotate()
/external/opencv3/modules/superres/src/
Dbtv_l1.cpp622 remap(uhighRes_, ua_, ubackwardMaps_[k], noArray(), INTER_NEAREST); in ocl_process()
626 resize(ub_, uc_, lowResSize, 0, 0, INTER_NEAREST); in ocl_process()
636 remap(ub_, ua_, uforwardMaps_[k], noArray(), INTER_NEAREST); in ocl_process()
723 remap(highRes_, a_, backwardMaps_[k], noArray(), INTER_NEAREST); in process()
727 resize(b_, c_, lowResSize, 0, 0, INTER_NEAREST); in process()
736 remap(b_, a_, forwardMaps_[k], noArray(), INTER_NEAREST); in process()
Dbtv_l1_cuda.cpp360 …map(highRes_, a_[k], backwardMaps_[k].first, backwardMaps_[k].second, INTER_NEAREST, BORDER_REPLIC… in process()
364 cuda::resize(b_[k], c_[k], lowResSize, 0, 0, INTER_NEAREST, streams_[k]); in process()
373 …(b_[k], diffTerms_[k], forwardMaps_[k].first, forwardMaps_[k].second, INTER_NEAREST, BORDER_REPLIC… in process()
/external/libvpx/libvpx/vp9/encoder/
Dvp9_speed_features.c339 sf->inter_mode_mask[BLOCK_32X64] = INTER_NEAREST; in set_rt_speed_feature()
340 sf->inter_mode_mask[BLOCK_64X32] = INTER_NEAREST; in set_rt_speed_feature()
341 sf->inter_mode_mask[BLOCK_64X64] = INTER_NEAREST; in set_rt_speed_feature()
Dvp9_speed_features.h36 INTER_NEAREST = (1 << NEARESTMV), enumerator
/external/opencv3/modules/videostab/src/
Dstabilizer.cpp220 stabilizationMotion(Rect(0,0,3,2)), frameSize_, INTER_NEAREST); in stabilizeFrame()
224 stabilizationMotion, frameSize_, INTER_NEAREST); in stabilizeFrame()
Dinpainting.cpp393 INTER_NEAREST); in inpaint()
395 warpPerspective(mask1_, transformedMask1_, motion1to0, mask1_.size(), INTER_NEAREST); in inpaint()
/external/opencv3/samples/android/image-manipulations/src/org/opencv/samples/imagemanipulations/
DImageManipulationsActivity.java297 … Imgproc.resize(rgbaInnerWindow, mIntermediateMat, mSize0, 0.1, 0.1, Imgproc.INTER_NEAREST); in onCameraFrame()
298 …c.resize(mIntermediateMat, rgbaInnerWindow, rgbaInnerWindow.size(), 0., 0., Imgproc.INTER_NEAREST); in onCameraFrame()
/external/opencv3/modules/stitching/src/
Dstitcher.cpp185 w->warp(masks[i], K, cameras_[i].R, INTER_NEAREST, BORDER_CONSTANT, masks_warped[i]); in composePanorama()
297 w->warp(mask, K, cameras_[img_idx].R, INTER_NEAREST, BORDER_CONSTANT, mask_warped); in composePanorama()
/external/opencv3/modules/imgproc/src/opencl/
Dwarp_perspective.cl79 #ifdef INTER_NEAREST
87 #ifdef INTER_NEAREST

12