Home | History | Annotate | Download | only in src

Lines Matching refs:lines

1030                              const CvMat* fmatrix, CvMat* lines )
1077 if( !CV_IS_MAT(lines) )
1078 CV_ERROR( !lines ? CV_StsNullPtr : CV_StsBadArg, "lines parameter is not a valid matrix" );
1080 abc_depth = CV_MAT_DEPTH(lines->type);
1081 abc_cn = CV_MAT_CN(lines->type);
1083 CV_ERROR( CV_StsUnsupportedFormat, "The format of the matrix of lines is unsupported" );
1085 if( lines->rows > lines->cols )
1087 abc_dims = abc_cn*lines->cols;
1088 abc_count = lines->rows;
1092 if( (lines->rows > 1 && abc_cn > 1) || (lines->rows == 1 && abc_cn == 1) )
1093 CV_ERROR( CV_StsBadSize, "The lines matrix does not have a proper layout (3xn or nx3)" );
1094 abc_dims = abc_cn * lines->rows;
1095 abc_count = lines->cols;
1099 CV_ERROR( CV_StsOutOfRange, "The lines matrix does not have a proper layout (3xn or nx3)" );
1102 CV_ERROR( CV_StsUnmatchedSizes, "The numbers of points and lines are different" );
1118 if( lines->rows == 3 )
1120 abc_plane_stride = lines->step;
1126 abc_stride = lines->rows == 1 ? 3*abc_elem_size : lines->step;
1137 ap = lines->data.ptr;