Home | History | Annotate | Download | only in src

Lines Matching refs:dst

445 icvTrueDistTrans( const CvMat* src, CvMat* dst )
459 if( !CV_ARE_SIZES_EQ( src, dst ))
463 CV_MAT_TYPE(dst->type) != CV_32FC1 )
479 dstep = dst->step / sizeof(float);
502 float* dptr = dst->data.fl + i;
539 float* d = (float*)(dst->data.ptr + i*dst->step);
580 cvPow( dst, dst, 0.5 );
596 void* dst, int dststep,
606 float* dst, int dststep,
620 icvDistanceATS_L1_8u( const CvMat* src, CvMat* dst )
633 uchar *dbase = dst->data.ptr;
635 int dststep = dst->step;
637 CV_ASSERT( CV_IS_MASK_ARR( src ) && CV_MAT_TYPE( dst->type ) == CV_8UC1 );
638 CV_ASSERT( CV_ARE_SIZES_EQ( src, dst ));
718 CvMat dststub, *dst = (CvMat*)dstarr;
725 CV_CALL( dst = cvGetMat( dst, &dststub ));
727 if( !CV_IS_MASK_ARR( src ) || (CV_MAT_TYPE( dst->type ) != CV_32FC1 &&
728 (CV_MAT_TYPE(dst->type) != CV_8UC1 || distType != CV_DIST_L1 || labels)) )
733 if( !CV_ARE_SIZES_EQ( src, dst ))
746 CV_CALL( icvTrueDistTrans( src, dst ));
756 if( !CV_ARE_SIZES_EQ( labels, dst ))
779 if( CV_MAT_TYPE(dst->type) == CV_32FC1 )
782 else if( src->data.ptr != dst->data.ptr )
799 dst->data.fl, dst->step, size,
800 CV_MAT_TYPE(dst->type) == CV_8UC1 ?
808 else if( CV_MAT_TYPE(dst->type) == CV_8UC1 )
810 CV_CALL( icvDistanceATS_L1_8u( src, dst ));
824 dst->data.fl, dst->step, size, _mask );
848 dst->data.fl, dst->step, labels->data.i, labels->step, size, _mask );