Home
last modified time | relevance | path

Searched refs:kernel_size (Results 1 – 25 of 26) sorted by relevance

12

/external/opencv3/samples/cpp/tutorial_code/ImgTrans/
Dfilter2D_demo.cpp27 int kernel_size; in main() local
56 kernel_size = 3 + 2*( ind%5 ); in main()
57 kernel = Mat::ones( kernel_size, kernel_size, CV_32F )/ (float)(kernel_size*kernel_size); in main()
DLaplace_Demo.cpp22 int kernel_size = 3; in main() local
46 Laplacian( src_gray, dst, ddepth, kernel_size, scale, delta, BORDER_DEFAULT ); in main()
DCannyDetector_Demo.cpp24 int kernel_size = 3; variable
37 Canny( detected_edges, detected_edges, lowThreshold, lowThreshold*ratio, kernel_size ); in CannyThreshold()
/external/opencv3/modules/cudaimgproc/src/
Dbilateral_filter.cpp59 …void bilateral_filter_gpu(const PtrStepSzb& src, PtrStepSzb dst, int kernel_size, float sigma_spat…
63 void cv::cuda::bilateralFilter(InputArray _src, OutputArray _dst, int kernel_size, float sigma_colo… in bilateralFilter() argument
67 …typedef void (*func_t)(const PtrStepSzb& src, PtrStepSzb dst, int kernel_size, float sigma_spatial… in bilateralFilter()
82 int radius = (kernel_size <= 0) ? cvRound(sigma_spatial*1.5) : kernel_size/2; in bilateralFilter()
83 kernel_size = std::max(radius, 1)*2 + 1; in bilateralFilter()
96 …func(src, dst, kernel_size, sigma_spatial, sigma_color, borderMode, StreamAccessor::getStream(stre… in bilateralFilter()
/external/bison/src/
DLR0.c86 static int *kernel_size; variable
129 kernel_size = xnmalloc (nsyms, sizeof *kernel_size); in allocate_itemsets()
152 free (kernel_size); in free_storage()
183 memset (kernel_size, 0, nsyms * sizeof *kernel_size); in new_itemsets()
191 if (!kernel_size[sym]) in new_itemsets()
197 kernel_base[sym][kernel_size[sym]] = itemset[i] + 1; in new_itemsets()
198 kernel_size[sym]++; in new_itemsets()
258 shiftset[i] = get_state (sym, kernel_size[sym], kernel_base[sym]); in append_states()
/external/opencv3/modules/cudaimgproc/test/
Dtest_bilateral_filter.cpp57 int kernel_size; in PARAM_TEST_CASE() local
67 kernel_size = 5; in PARAM_TEST_CASE()
82 cv::cuda::bilateralFilter(loadMat(src), dst, kernel_size, sigma_color, sigma_spatial); in CUDA_TEST_P()
85 cv::bilateralFilter(src, dst_gold, kernel_size, sigma_color, sigma_spatial); in CUDA_TEST_P()
/external/opencv3/doc/tutorials/imgproc/imgtrans/filter_2d/
Dfilter_2d.markdown84 int kernel_size;
113 kernel_size = 3 + 2*( ind%5 );
114 kernel = Mat::ones( kernel_size, kernel_size, CV_32F )/ (float)(kernel_size*kernel_size);
149 kernel_size = 3 + 2*( ind%5 );
150 kernel = Mat::ones( kernel_size, kernel_size, CV_32F )/ (float)(kernel_size*kernel_size);
152 … The first line is to update the *kernel_size* to odd values in the range: \f$[3,11]\f$. The second
/external/opencv3/modules/cudaimgproc/perf/
Dperf_bilateral_filter.cpp65 const int kernel_size = GET_PARAM(3); variable
81 …TEST_CYCLE() cv::cuda::bilateralFilter(d_src, dst, kernel_size, sigma_color, sigma_spatial, border…
89 … TEST_CYCLE() cv::bilateralFilter(src, dst, kernel_size, sigma_color, sigma_spatial, borderMode);
/external/vboot_reference/futility/
Dvb1_helper.c129 static int KernelSize(uint8_t *kernel_buf, uint64_t kernel_size, in KernelSize() argument
137 return kernel_size; in KernelSize()
143 if (kernel32_start >= kernel_size) { in KernelSize()
147 return kernel_size - kernel32_start; in KernelSize()
152 static int PickApartVmlinuz(uint8_t *kernel_buf, uint64_t kernel_size, in PickApartVmlinuz() argument
157 uint64_t kernel32_size = kernel_size; in PickApartVmlinuz()
166 if (kernel32_start >= kernel_size) { in PickApartVmlinuz()
170 kernel32_size = kernel_size - kernel32_start; in PickApartVmlinuz()
397 uint8_t *SignKernelBlob(uint8_t *kernel_blob, uint64_t kernel_size, in SignKernelBlob() argument
411 body_sig = CalculateSignature(kernel_blob, kernel_size, signpriv_key); in SignKernelBlob()
[all …]
Dvb1_helper.h17 uint8_t *SignKernelBlob(uint8_t *kernel_blob, uint64_t kernel_size,
37 uint64_t kernel_size,
Dcmd_show.c417 uint64_t kernel_size = 0; in futil_cb_show_kernel_preamble() local
495 kernel_size = option.fv_size; in futil_cb_show_kernel_preamble()
499 kernel_size = state->my_area->len - option.padding; in futil_cb_show_kernel_preamble()
508 if (0 != VerifyData(kernel_blob, kernel_size, in futil_cb_show_kernel_preamble()
/external/opencv3/modules/cudaimgproc/src/cuda/
Dbilateral_filter.cu128 …void bilateral_caller(const PtrStepSzb& src, PtrStepSzb dst, int kernel_size, float sigma_spatial,… in bilateral_caller() argument
139 …bilateral_kernel<<<grid, block>>>((PtrStepSz<T>)src, (PtrStepSz<T>)dst, b, kernel_size, sigma_spat… in bilateral_caller()
147 …void bilateral_filter_gpu(const PtrStepSzb& src, PtrStepSzb dst, int kernel_size, float gauss_spat… in bilateral_filter_gpu() argument
149 …typedef void (*caller_t)(const PtrStepSzb& src, PtrStepSzb dst, int kernel_size, float sigma_spati… in bilateral_filter_gpu()
159 … funcs[borderMode](src, dst, kernel_size, gauss_spatial_coeff, gauss_color_coeff, stream); in bilateral_filter_gpu()
/external/mesa3d/src/gallium/state_trackers/vega/
Dapi_filters.c295 VGint kernel_size = kernelWidth * kernelHeight; in vegaConvolve() local
331 buffer_len = 8 + 2 * 4 * kernel_size; in vegaConvolve()
359 idx += kernel_size * 4; in vegaConvolve()
486 VGint kernel_width, kernel_height, kernel_size; in vegaGaussianBlur() local
516 kernel_size = kernel_width * kernel_height; in vegaGaussianBlur()
517 kernel = malloc(sizeof(VGfloat)*kernel_size); in vegaGaussianBlur()
521 buffer_len = 8 + 2 * 4 * kernel_size; in vegaGaussianBlur()
549 idx += kernel_size * 4; in vegaGaussianBlur()
/external/opencv3/doc/tutorials/imgproc/imgtrans/laplace_operator/
Dlaplace_operator.markdown63 int kernel_size = 3;
86 Laplacian( src_gray, dst, ddepth, kernel_size, scale, delta, BORDER_DEFAULT );
94 - *kernel_size*: The kernel size of the Sobel operator to be applied internally. We use 3 in
/external/opencv3/samples/cpp/tutorial_code/photo/seamless_cloning/
Dcloning_gui.cpp61 int channel, num, kernel_size; variable
163 textureFlattening(img0,res1,blend,low_t,high_t,kernel_size); in source()
428 cin >> kernel_size; in main()
538 textureFlattening(img0,res1,blend,low_t,high_t,kernel_size); in main()
/external/opencv3/samples/cpp/
Dcloning_gui.cpp62 int channel, num, kernel_size; variable
164 textureFlattening(img0,res1,blend,low_t,high_t,kernel_size); in source()
429 cin >> kernel_size; in main()
539 textureFlattening(img0,res1,blend,low_t,high_t,kernel_size); in main()
/external/opencv3/modules/photo/src/
Dseamless_cloning.cpp170 float low_threshold, float high_threshold, int kernel_size) in textureFlattening() argument
190 obj.textureFlatten(src,cs_mask,gray,low_threshold,high_threshold,kernel_size,blend); in textureFlattening()
Dseamless_cloning.hpp59 …t &mask, cv::Mat &wmask, float low_threshold, float high_threhold, int kernel_size, cv::Mat &clone…
Dseamless_cloning_impl.cpp452 float high_threshold, int kernel_size, Mat &cloned) in textureFlatten() argument
457 Canny(mask,out,low_threshold,high_threshold,kernel_size); in textureFlatten()
/external/opencv3/doc/tutorials/imgproc/imgtrans/canny_detector/
Dcanny_detector.markdown92 int kernel_size = 3;
140 Canny( detected_edges, detected_edges, lowThreshold, lowThreshold*ratio, kernel_size );
149 - *kernel_size*: We defined it to be 3 (the size of the Sobel kernel to be used
/external/opencv3/modules/java/src/
Dphoto+Photo.java392 …eFlattening(Mat src, Mat mask, Mat dst, float low_threshold, float high_threshold, int kernel_size) in textureFlattening() argument
395 …tening_0(src.nativeObj, mask.nativeObj, dst.nativeObj, low_threshold, high_threshold, kernel_size); in textureFlattening()
700 …ng mask_nativeObj, long dst_nativeObj, float low_threshold, float high_threshold, int kernel_size); in textureFlattening_0() argument
Dphoto.cpp1570 …mask_nativeObj, jlong dst_nativeObj, jfloat low_threshold, jfloat high_threshold, jint kernel_size) in Java_org_opencv_photo_Photo_textureFlattening_10() argument
1578 …textureFlattening( src, mask, dst, (float)low_threshold, (float)high_threshold, (int)kernel_size ); in Java_org_opencv_photo_Photo_textureFlattening_10()
/external/opencv3/modules/cudaimgproc/include/opencv2/
Dcudaimgproc.hpp705 CV_EXPORTS void bilateralFilter(InputArray src, OutputArray dst, int kernel_size, float sigma_color…
/external/opencv3/modules/photo/include/opencv2/
Dphoto.hpp805 int kernel_size = 3);
/external/opencv/cv/src/
Dcvsmooth.cpp650 CvSize size, int kernel_size, int cn, int pad_left, int pad_right ) in icvMedianBlur_8u_CnR_O1() argument
652 int r = (kernel_size-1)/2; in icvMedianBlur_8u_CnR_O1()

12