Home | History | Annotate | Download | only in src

Lines Matching refs:_kx

641                           const CvMat* _kx, const CvMat* _ky,
647 init( _max_width, _src_type, _dst_type, _kx, _ky, _anchor, _border_mode, _border_value );
669 const CvMat* _kx, const CvMat* _ky,
684 if( !CV_IS_MAT(_kx) || !CV_IS_MAT(_ky) ||
685 (_kx->cols != 1 && _kx->rows != 1) ||
687 CV_MAT_CN(_kx->type) != 1 || CV_MAT_CN(_ky->type) != 1 ||
688 !CV_ARE_TYPES_EQ(_kx,_ky) )
695 filter_type = MAX( CV_32F, CV_MAT_DEPTH(_kx->type) );
697 _ksize.width = _kx->rows + _kx->cols - 1;
703 if( !(kx && CV_ARE_SIZES_EQ(kx,_kx)) )
706 CV_CALL( kx = cvCreateMat( _kx->rows, _kx->cols, filter_type ));
715 CV_CALL( cvConvert( _kx, kx ));
905 const CvMat* _kx = state->get_x_kernel();
906 const int* kx = _kx->data.i;
907 int ksize = _kx->cols + _kx->rows - 1;
1040 const CvMat* _kx = state->get_x_kernel(); \
1041 const dsttype* kx = (const dsttype*)(_kx->data.ptr); \
1042 int ksize = _kx->cols + _kx->rows - 1; \
1088 const CvMat* _kx = state->get_x_kernel(); \
1089 const dsttype* kx = (const dsttype*)(_kx->data.ptr); \
1090 int ksize = _kx->cols + _kx->rows - 1; \
1165 const CvMat* _kx = state->get_x_kernel();
1166 const float* kx = _kx->data.fl;
1167 int ksize = _kx->cols + _kx->rows - 1;
1855 void CvSepFilter::init_sobel_kernel( CvMat* _kx, CvMat* _ky, int dx, int dy, int flags )
1866 if( !CV_IS_MAT(_kx) || !CV_IS_MAT(_ky) )
1869 msz = MAX( _kx->cols + _kx->rows, _ky->cols + _ky->rows );
1882 CvMat* kernel = k == 0 ? _kx : _ky;
1962 void CvSepFilter::init_scharr_kernel( CvMat* _kx, CvMat* _ky, int dx, int dy, int flags )
1973 if( !CV_IS_MAT(_kx) || !CV_IS_MAT(_ky) )
1982 CvMat* kernel = k == 0 ? _kx : _ky;
2031 CvMat _kx, _ky;
2041 _kx = cvMat( 1, kx_size, CV_32FC1, kx_data );
2046 CV_CALL( init_scharr_kernel( &_kx, &_ky, dx, dy, flags ));
2050 CV_CALL( init_sobel_kernel( &_kx, &_ky, dx, dy, flags ));
2053 CV_CALL( init( _max_width, _src_type, _dst_type, &_kx, &_ky ));