Home
last modified time | relevance | path

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

/external/opencv/cv/src/
Dcvcanny.cpp165 int* _mag = mag_buf[(i > 0) + 1] + 1; in cvCanny() local
166 float* _magf = (float*)_mag; in cvCanny()
176 _mag[-1] = _mag[size.width] = 0; in cvCanny()
180 _mag[j] = abs(_dx[j]) + abs(_dy[j]); in cvCanny()
202 memset( _mag-1, 0, (size.width + 2)*sizeof(int) ); in cvCanny()
212 _mag = mag_buf[1] + 1; // take the central row in cvCanny()
238 int m = _mag[j]; in cvCanny()
251 if( m > _mag[j-1] && m >= _mag[j+1] ) in cvCanny()
265 if( m > _mag[j+magstep2] && m >= _mag[j+magstep1] ) in cvCanny()
280 if( m > _mag[j+magstep2-s] && m > _mag[j+magstep1+s] ) in cvCanny()
[all …]
/external/opencv3/modules/imgproc/src/
Dcanny.cpp448 int* _mag = mag_buf[1] + 1; // take the central row in operator ()() local
474 int m = _mag[j]; in operator ()()
487 if (m > _mag[j-1] && m >= _mag[j+1]) canny_push = true; in operator ()()
494 if (m > _mag[j+magstep2] && m >= _mag[j+magstep1]) canny_push = true; in operator ()()
499 if (m > _mag[j+magstep2-s] && m > _mag[j+magstep1+s]) canny_push = true; in operator ()()
526 _mag = mag_buf[0]; in operator ()()
529 mag_buf[2] = _mag; in operator ()()
855 int* _mag = mag_buf[1] + 1; // take the central row in Canny() local
877 int m = _mag[j]; in Canny()
890 if (m > _mag[j-1] && m >= _mag[j+1]) goto __ocv_canny_push; in Canny()
[all …]
/external/opencv3/modules/cudaarithm/src/cuda/
Dpolar_cart.cu119 void cv::cuda::cartToPolar(InputArray _x, InputArray _y, OutputArray _mag, OutputArray _angle, bool… in cartToPolar() argument
127 GpuMat mag = getOutputMat(_mag, x.size(), CV_32FC1, stream); in cartToPolar()
154 syncOutput(mag, _mag, stream); in cartToPolar()
180 void cv::cuda::polarToCart(InputArray _mag, InputArray _angle, OutputArray _x, OutputArray _y, bool… in polarToCart() argument
182 GpuMat mag = getInputMat(_mag, _stream); in polarToCart()
/external/opencv3/modules/objdetect/src/
Dhog.cpp421 __m128 _mag = _mm_loadu_ps(dbuf + x + (width << 1)); in computeGradient() local
430 __m128 ft0 = _mm_mul_ps(_mag, _mm_sub_ps(fone, _angle)); in computeGradient()
431 __m128 ft1 = _mm_mul_ps(_mag, _angle); in computeGradient()
/external/opencv3/modules/core/src/
Dmathfuncs.cpp585 static bool ocl_polarToCart( InputArray _mag, InputArray _angle, in ocl_polarToCart() argument
604 UMat mag = _mag.getUMat(), angle = _angle.getUMat(); in ocl_polarToCart()