Home
last modified time | relevance | path

Searched refs:dft_size (Results 1 – 5 of 5) sorted by relevance

/external/opencv3/modules/cudaarithm/src/
Darithm.cpp291 void cv::cuda::dft(InputArray _src, OutputArray _dst, Size dft_size, int flags, Stream& stream) in dft() argument
296 (void) dft_size; in dft()
308 const bool is_1d_input = (dft_size.height == 1) || (dft_size.width == 1); in dft()
333 Size dft_size_opt = dft_size; in dft()
337 dft_size_opt.width = std::max(dft_size.width, dft_size.height); in dft()
338 dft_size_opt.height = std::min(dft_size.width, dft_size.height); in dft()
359 createContinuous(dft_size, CV_32FC2, _dst); in dft()
368 createContinuous(dft_size, CV_32F, _dst); in dft()
378 if (dft_size == dft_size_opt) in dft()
379 createContinuous(Size(dft_size.width / 2 + 1, dft_size.height), CV_32FC2, _dst); in dft()
[all …]
/external/opencv3/modules/imgproc/src/
Dtemplmatch.cpp113 int dft_size = 18; in useNaive() local
114 return size.height < dft_size && size.width < dft_size; in useNaive()
122 Size dft_size; member
145 dft_size.width = std::max(getOptimalDFTSize(block_size.width + templ_size.width - 1), 2); in create()
146 dft_size.height = getOptimalDFTSize(block_size.height + templ_size.height - 1); in create()
147 if( dft_size.width <= 0 || dft_size.height <= 0 ) in create()
151 block_size.width = dft_size.width - templ_size.width + 1; in create()
153 block_size.height = dft_size.height - templ_size.height + 1; in create()
156 image_block.create(dft_size, CV_32F); in create()
157 templ_block.create(dft_size, CV_32F); in create()
[all …]
/external/opencv3/modules/core/test/ocl/
Dtest_dft.cpp67 cv::Size dft_size; in PARAM_TEST_CASE() local
77 dft_size = GET_PARAM(0); in PARAM_TEST_CASE()
97 is1d = (dft_flags & DFT_ROWS) != 0 || dft_size.height == 1; in PARAM_TEST_CASE()
102 src = randomMat(dft_size, CV_MAKE_TYPE(depth, cn), 0.0, 100.0); in PARAM_TEST_CASE()
/external/opencv3/modules/core/src/
Ddxt.cpp1824 int dft_size; member
1829 OCL_FftPlan(int _size, int _depth) : dft_size(_size), dft_depth(_depth), status(true) in OCL_FftPlan()
1835 ocl_getRadixes(dft_size, radixes, blocks, min_radix); in OCL_FftPlan()
1836 thread_count = dft_size / min_radix; in OCL_FftPlan()
1851 …mat("fft_radix%d_B%d(smem,twiddles+%d,ind,%d,%d);", radix, block, twiddle_size, n, dft_size/radix); in OCL_FftPlan()
1853 …sing += format("fft_radix%d(smem,twiddles+%d,ind,%d,%d);", radix, twiddle_size, n, dft_size/radix); in OCL_FftPlan()
1865dft_size, min_radix, ocl::typeToStr(dft_depth), ocl::typeToStr(CV_MAKE_TYPE(dft_depth, 2)), in OCL_FftPlan()
2033 Ptr<OCL_FftPlan> getFftPlan(int dft_size, int depth) in getFftPlan() argument
2035 int key = (dft_size << 16) | (depth & 0xFFFF); in getFftPlan()
2043 Ptr<OCL_FftPlan> newPlan = Ptr<OCL_FftPlan>(new OCL_FftPlan(dft_size, depth)); in getFftPlan()
[all …]
/external/opencv3/modules/cudaarithm/include/opencv2/
Dcudaarithm.hpp810 CV_EXPORTS void dft(InputArray src, OutputArray dst, Size dft_size, int flags=0, Stream& stream = S…