/external/opencv3/modules/cudaimgproc/src/ |
D | color.cpp | 91 CV_Assert( src.depth() == CV_8U || src.depth() == CV_16U || src.depth() == CV_32F ); in BGR_to_RGB() 92 CV_Assert( src.channels() == 3 ); in BGR_to_RGB() 107 CV_Assert( src.depth() == CV_8U || src.depth() == CV_16U || src.depth() == CV_32F ); in BGR_to_BGRA() 108 CV_Assert( src.channels() == 3 ); in BGR_to_BGRA() 123 CV_Assert( src.depth() == CV_8U || src.depth() == CV_16U || src.depth() == CV_32F ); in BGR_to_RGBA() 124 CV_Assert( src.channels() == 3 ); in BGR_to_RGBA() 139 CV_Assert( src.depth() == CV_8U || src.depth() == CV_16U || src.depth() == CV_32F ); in BGRA_to_BGR() 140 CV_Assert( src.channels() == 4 ); in BGRA_to_BGR() 155 CV_Assert( src.depth() == CV_8U || src.depth() == CV_16U || src.depth() == CV_32F ); in BGRA_to_RGB() 156 CV_Assert( src.channels() == 4 ); in BGRA_to_RGB() [all …]
|
D | match_template.cpp | 190 CV_Assert( image.depth() == CV_32F ); in match() 191 CV_Assert( image.type() == templ.type() ); in match() 192 CV_Assert( image.cols >= templ.cols && image.rows >= templ.rows ); in match() 240 CV_Assert( image.depth() == CV_8U ); in match() 241 CV_Assert( image.type() == templ.type() ); in match() 242 CV_Assert( image.cols >= templ.cols && image.rows >= templ.rows ); in match() 283 CV_Assert( image.depth() == CV_8U ); in match() 284 CV_Assert( image.type() == templ.type() ); in match() 285 CV_Assert( image.cols >= templ.cols && image.rows >= templ.rows ); in match() 313 CV_Assert( image.depth() == CV_32F ); in match() [all …]
|
D | blend.cpp | 79 CV_Assert( img1.size() == img2.size() ); in blendLinear() 80 CV_Assert( img1.type() == img2.type() ); in blendLinear() 81 CV_Assert( weights1.size() == img1.size() ); in blendLinear() 82 CV_Assert( weights2.size() == img2.size() ); in blendLinear() 83 CV_Assert( weights1.type() == CV_32FC1 ); in blendLinear() 84 CV_Assert( weights2.type() == CV_32FC1 ); in blendLinear()
|
/external/opencv3/modules/cudalegacy/src/ |
D | graphcuts.cpp | 73 CV_Assert(!image.empty()); in connectivityMask() 76 CV_Assert(ch <= 4); in connectivityMask() 95 CV_Assert(f); in connectivityMask() 107 CV_Assert(!mask.empty() && mask.type() == CV_8U); in labelComponents() 148 CV_Assert(terminals.type() == CV_32S); in graphcut() 150 CV_Assert(terminals.type() == CV_32S || terminals.type() == CV_32F); in graphcut() 155 CV_Assert(leftTransp.size() == Size(src_size.height, src_size.width)); in graphcut() 156 CV_Assert(leftTransp.type() == terminals.type()); in graphcut() 158 CV_Assert(rightTransp.size() == Size(src_size.height, src_size.width)); in graphcut() 159 CV_Assert(rightTransp.type() == terminals.type()); in graphcut() [all …]
|
D | calib3d.cpp | 87 CV_Assert(src.rows == 1 && src.cols > 0 && src.type() == CV_32FC3); in transformPointsCaller() 88 CV_Assert(rvec.size() == Size(3, 1) && rvec.type() == CV_32F); in transformPointsCaller() 89 CV_Assert(tvec.size() == Size(3, 1) && tvec.type() == CV_32F); in transformPointsCaller() 109 CV_Assert(src.rows == 1 && src.cols > 0 && src.type() == CV_32FC3); in projectPointsCaller() 110 CV_Assert(rvec.size() == Size(3, 1) && rvec.type() == CV_32F); in projectPointsCaller() 111 CV_Assert(tvec.size() == Size(3, 1) && tvec.type() == CV_32F); in projectPointsCaller() 112 CV_Assert(camera_mat.size() == Size(3, 3) && camera_mat.type() == CV_32F); in projectPointsCaller() 113 CV_Assert(dist_coef.empty()); // Undistortion isn't supported in projectPointsCaller() 217 CV_Assert(object.rows == 1 && object.cols > 0 && object.type() == CV_32FC3); in solvePnPRansac() 218 CV_Assert(image.rows == 1 && image.cols > 0 && image.type() == CV_32FC2); in solvePnPRansac() [all …]
|
D | interpolate_frames.cpp | 57 CV_Assert(frame0.type() == CV_32FC1); in interpolateFrames() 58 CV_Assert(frame1.size() == frame0.size() && frame1.type() == frame0.type()); in interpolateFrames() 59 CV_Assert(fu.size() == frame0.size() && fu.type() == frame0.type()); in interpolateFrames() 60 CV_Assert(fv.size() == frame0.size() && fv.type() == frame0.type()); in interpolateFrames() 61 CV_Assert(bu.size() == frame0.size() && bu.type() == frame0.type()); in interpolateFrames() 62 CV_Assert(bv.size() == frame0.size() && bv.type() == frame0.type()); in interpolateFrames() 83 …CV_Assert(frame1.step == step && fu.step == step && fv.step == step && bu.step == step && bv.step … in interpolateFrames()
|
D | gmg.cpp | 186 CV_Assert( frame.depth() == CV_8U || frame.depth() == CV_16U || frame.depth() == CV_32F ); in apply() 187 CV_Assert( frame.channels() == 1 || frame.channels() == 3 || frame.channels() == 4 ); in apply() 191 CV_Assert( newLearningRate >= 0.0 && newLearningRate <= 1.0 ); in apply() 242 CV_Assert( maxFeatures_ > 0 ); in initialize() 243 CV_Assert( learningRate_ >= 0.0f && learningRate_ <= 1.0f); in initialize() 244 CV_Assert( numInitializationFrames_ >= 1); in initialize() 245 CV_Assert( quantizationLevels_ >= 1 && quantizationLevels_ <= 255); in initialize() 246 CV_Assert( backgroundPrior_ >= 0.0f && backgroundPrior_ <= 1.0f); in initialize() 250 CV_Assert( minVal_ < maxVal_ ); in initialize()
|
/external/opencv3/modules/cudacodec/src/ |
D | video_writer.cpp | 85 CV_Assert( err == 0 ); in NVEncoderWrapper() 203 CV_Assert( err == 0 ); in initEncoder() 209 CV_Assert( err == 0 ); in initEncoder() 211 CV_Assert( err == 0 ); in initEncoder() 215 CV_Assert( err == 0 ); in initEncoder() 228 CV_Assert( err == 0 ); in initEncoder() 234 CV_Assert( err == 0 ); in initEncoder() 243 CV_Assert( err == 0 ); in setEncodeParams() 247 CV_Assert( err == 0 ); in setEncodeParams() 251 CV_Assert( err == 0 ); in setEncodeParams() [all …]
|
/external/opencv3/modules/video/src/ |
D | ecc.cpp | 57 CV_Assert(src1.size() == src2.size()); in image_jacobian_homo_ECC() 58 CV_Assert(src1.size() == src3.size()); in image_jacobian_homo_ECC() 59 CV_Assert(src1.size() == src4.size()); in image_jacobian_homo_ECC() 61 CV_Assert( src1.rows == dst.rows); in image_jacobian_homo_ECC() 62 CV_Assert(dst.cols == (src1.cols*8)); in image_jacobian_homo_ECC() 63 CV_Assert(dst.type() == CV_32FC1); in image_jacobian_homo_ECC() 65 CV_Assert(src5.isContinuous()); in image_jacobian_homo_ECC() 130 CV_Assert( src1.size()==src2.size()); in image_jacobian_euclidean_ECC() 131 CV_Assert( src1.size()==src3.size()); in image_jacobian_euclidean_ECC() 132 CV_Assert( src1.size()==src4.size()); in image_jacobian_euclidean_ECC() [all …]
|
/external/opencv3/modules/flann/include/opencv2/ |
D | flann.hpp | 253 CV_Assert(dataset.type() == CvType<ElementType>::type()); in GenericIndex() 254 CV_Assert(dataset.isContinuous()); in GenericIndex() 286 CV_Assert(queries.type() == CvType<ElementType>::type()); in knnSearch() 287 CV_Assert(queries.isContinuous()); in knnSearch() 290 CV_Assert(indices.type() == CV_32S); in knnSearch() 291 CV_Assert(indices.isContinuous()); in knnSearch() 294 CV_Assert(dists.type() == CvType<DistanceType>::type()); in knnSearch() 295 CV_Assert(dists.isContinuous()); in knnSearch() 318 CV_Assert(query.type() == CvType<ElementType>::type()); in radiusSearch() 319 CV_Assert(query.isContinuous()); in radiusSearch() [all …]
|
/external/opencv3/modules/core/test/ |
D | test_ippasync.cpp | 53 CV_Assert(sts==HPP_STATUS_NO_ERROR); in TEST_P() 65 CV_Assert(sts==HPP_STATUS_NO_ERROR); in TEST_P() 67 CV_Assert(sts==HPP_STATUS_NO_ERROR); in TEST_P() 70 CV_Assert(sts==HPP_STATUS_NO_ERROR); in TEST_P() 77 CV_Assert(sts==HPP_STATUS_NO_ERROR); in TEST_P() 81 CV_Assert(sts==HPP_STATUS_NO_ERROR); in TEST_P() 83 CV_Assert(sts==HPP_STATUS_NO_ERROR); in TEST_P() 137 CV_Assert(sts==HPP_STATUS_NO_ERROR); in TEST_P() 149 CV_Assert(sts==HPP_STATUS_NO_ERROR); in TEST_P() 151 CV_Assert(sts==HPP_STATUS_NO_ERROR); in TEST_P() [all …]
|
/external/opencv3/modules/imgproc/test/ |
D | test_intersection.cpp | 120 CV_Assert(ret == INTERSECT_NONE); in test1() 121 CV_Assert(vertices.empty()); in test1() 146 CV_Assert(ret == INTERSECT_PARTIAL); in test2() 147 CV_Assert(vertices.size() == 4); in test2() 169 CV_Assert(bestR < ACCURACY); in test2() 194 CV_Assert(ret == INTERSECT_PARTIAL); in test3() 195 CV_Assert(vertices.size() == 3); in test3() 216 CV_Assert(bestR < ACCURACY); in test3() 242 CV_Assert(ret == INTERSECT_FULL); in test4() 243 CV_Assert(vertices.size() == 4); in test4() [all …]
|
/external/opencv3/modules/viz/src/ |
D | widget.cpp | 87 CV_Assert(vtkPLYReader::CanReadFile(file_name.c_str())); in fromPlyFile() 109 CV_Assert("Widget type is not supported." && actor); in setRenderingProperty() 120 CV_Assert("Widget does not have text content." && text_actor); in setRenderingProperty() 144 CV_Assert("Can't set shading property for such type of widget" && mapper); in setRenderingProperty() 157 CV_Assert("Can't set shading property for such type of widget" && mapper); in setRenderingProperty() 169 CV_Assert("setPointCloudRenderingProperties: Unknown property"); in setRenderingProperty() 177 CV_Assert("Widget type is not supported." && actor); in getRenderingProperty() 190 CV_Assert("Widget does not have text content." && text_actor); in getRenderingProperty() 215 CV_Assert("getPointCloudRenderingProperties: Unknown property"); in getRenderingProperty() 239 CV_Assert("Widget is not 3D." && actor); in setPose() [all …]
|
/external/opencv3/modules/imgproc/src/ |
D | generalized_hough.cpp | 114 CV_Assert( src.type() == CV_8UC1 ); in calcEdges() 115 CV_Assert( cannyLowThresh_ > 0 && cannyLowThresh_ < cannyHighThresh_ ); in calcEdges() 141 CV_Assert( templEdges_.type() == CV_8UC1 ); in setTemplateImpl() 142 CV_Assert( templDx_.type() == CV_32FC1 && templDx_.size() == templEdges_.size() ); in setTemplateImpl() 143 CV_Assert( templDy_.type() == templDx_.type() && templDy_.size() == templEdges_.size() ); in setTemplateImpl() 185 CV_Assert( imageEdges_.type() == CV_8UC1 ); in detectImpl() 186 CV_Assert( imageDx_.type() == CV_32FC1 && imageDx_.size() == imageEdges_.size() ); in detectImpl() 187 CV_Assert( imageDy_.type() == imageDx_.type() && imageDy_.size() == imageEdges_.size() ); in detectImpl() 223 CV_Assert( !hasVotes || voteOutBuf_.size() == oldSize ); in filterMinDist() 303 CV_Assert( !hasVotes || voteOutBuf_.size() == posOutBuf_.size() ); in convertTo() [all …]
|
/external/opencv3/modules/core/src/ |
D | matrix.cpp | 78 CV_Assert( sz[i] <= (size_t)INT_MAX ); in download() 109 CV_Assert( sz[i] <= (size_t)INT_MAX ); in upload() 140 CV_Assert( sz[i] <= (size_t)INT_MAX ); in copy() 182 CV_Assert(total <= step[i]); in allocate() 211 CV_Assert(u->urefcount >= 0); in deallocate() 212 CV_Assert(u->refcount >= 0); in deallocate() 266 CV_Assert( 0 <= _dims && _dims <= CV_MAX_DIM ); in setSize() 293 CV_Assert( s >= 0 ); in setSize() 373 CV_Assert(0 <= d && d <= CV_MAX_DIM && _sizes); in create() 405 CV_Assert(u != 0); in create() [all …]
|
/external/opencv3/modules/java/generator/src/cpp/ |
D | utils.cpp | 31 CV_Assert( AndroidBitmap_getInfo(env, bitmap, &info) >= 0 ); in Java_org_opencv_android_Utils_nBitmapToMat2() 32 CV_Assert( info.format == ANDROID_BITMAP_FORMAT_RGBA_8888 || in Java_org_opencv_android_Utils_nBitmapToMat2() 34 CV_Assert( AndroidBitmap_lockPixels(env, bitmap, &pixels) >= 0 ); in Java_org_opencv_android_Utils_nBitmapToMat2() 35 CV_Assert( pixels ); in Java_org_opencv_android_Utils_nBitmapToMat2() 94 CV_Assert( AndroidBitmap_getInfo(env, bitmap, &info) >= 0 ); in Java_org_opencv_android_Utils_nMatToBitmap2() 95 CV_Assert( info.format == ANDROID_BITMAP_FORMAT_RGBA_8888 || in Java_org_opencv_android_Utils_nMatToBitmap2() 97 …CV_Assert( src.dims == 2 && info.height == (uint32_t)src.rows && info.width == (uint32_t)src.cols … in Java_org_opencv_android_Utils_nMatToBitmap2() 98 CV_Assert( src.type() == CV_8UC1 || src.type() == CV_8UC3 || src.type() == CV_8UC4 ); in Java_org_opencv_android_Utils_nMatToBitmap2() 99 CV_Assert( AndroidBitmap_lockPixels(env, bitmap, &pixels) >= 0 ); in Java_org_opencv_android_Utils_nMatToBitmap2() 100 CV_Assert( pixels ); in Java_org_opencv_android_Utils_nMatToBitmap2()
|
/external/opencv3/modules/ml/src/ |
D | em.cpp | 64 CV_Assert(nclusters > 1); in CV_IMPL_PROPERTY_S() 75 CV_Assert(covMatType == COV_MAT_SPHERICAL || in setCovarianceMatrixType() 192 CV_Assert(isTrained()); in predict2() 194 CV_Assert(!sample.empty()); in predict2() 240 CV_Assert(!samples.empty()); in checkTrainData() 241 CV_Assert(samples.channels() == 1); in checkTrainData() 247 CV_Assert(nclusters > 0); in checkTrainData() 248 CV_Assert(nclusters <= nsamples); in checkTrainData() 249 CV_Assert(startStep == START_AUTO_STEP || in checkTrainData() 252 CV_Assert(covMatType == COV_MAT_GENERIC || in checkTrainData() [all …]
|
D | data.cpp | 59 CV_Assert( type == CV_32S || type == CV_32F || type == CV_64F ); in getSubVector() 83 CV_Assert( 0 <= k && k < m ); in getSubVector() 94 CV_Assert( 0 <= k && k < m ); in getSubVector() 105 CV_Assert( 0 <= k && k < m ); in getSubVector() 199 CV_Assert( 0 <= vi && vi < n ); in getCatCount() 237 CV_Assert(_layout == ROW_SAMPLE || _layout == COL_SAMPLE ); in setData() 251 CV_Assert( samples.type() == CV_32F || samples.type() == CV_32S ); in setData() 255 CV_Assert( (sampleIdx.checkVector(1, CV_32S, true) > 0 && in setData() 264 CV_Assert( sampleWeights.checkVector(1, CV_32F, true) == nsamples ); in setData() 273 CV_Assert( (varIdx.checkVector(1, CV_32S, true) > 0 && in setData() [all …]
|
/external/opencv3/modules/cudev/include/opencv2/cudev/grid/ |
D | copy.hpp | 69 CV_Assert( getRows(mask) == rows && getCols(mask) == cols ); in gridCopy_() 82 CV_Assert( getRows(dst) == rows && getCols(dst) == cols ); in gridCopy_() 83 CV_Assert( getRows(mask) == rows && getCols(mask) == cols ); in gridCopy_() 105 CV_Assert( getRows(dst) == rows && getCols(dst) == cols ); in gridCopy_() 118 CV_Assert( getRows(mask) == rows && getCols(mask) == cols ); in gridCopy_() 138 CV_Assert( getRows(get<0>(dst)) == rows && getCols(get<0>(dst)) == cols ); in gridCopy_() 139 CV_Assert( getRows(get<1>(dst)) == rows && getCols(get<1>(dst)) == cols ); in gridCopy_() 140 CV_Assert( getRows(mask) == rows && getCols(mask) == cols ); in gridCopy_() 175 CV_Assert( getRows(get<0>(dst)) == rows && getCols(get<0>(dst)) == cols ); in gridCopy_() 176 CV_Assert( getRows(get<1>(dst)) == rows && getCols(get<1>(dst)) == cols ); in gridCopy_() [all …]
|
D | transform.hpp | 69 CV_Assert( getRows(mask) == rows && getCols(mask) == cols ); in gridTransformUnary_() 82 CV_Assert( getRows(dst) == rows && getCols(dst) == cols ); in gridTransformUnary_() 83 CV_Assert( getRows(mask) == rows && getCols(mask) == cols ); in gridTransformUnary_() 105 CV_Assert( getRows(dst) == rows && getCols(dst) == cols ); in gridTransformUnary_() 116 CV_Assert( getRows(src2) == rows && getCols(src2) == cols ); in gridTransformBinary_() 117 CV_Assert( getRows(mask) == rows && getCols(mask) == cols ); in gridTransformBinary_() 130 CV_Assert( getRows(dst) == rows && getCols(dst) == cols ); in gridTransformBinary_() 131 CV_Assert( getRows(src2) == rows && getCols(src2) == cols ); in gridTransformBinary_() 132 CV_Assert( getRows(mask) == rows && getCols(mask) == cols ); in gridTransformBinary_() 143 CV_Assert( getRows(src2) == rows && getCols(src2) == cols ); in gridTransformBinary_() [all …]
|
D | split_merge.hpp | 71 CV_Assert( getRows(mask) == rows && getCols(mask) == cols ); in gridMerge_() 90 CV_Assert( getRows(dst) == rows && getCols(dst) == cols ); in gridMerge_() 91 CV_Assert( getRows(mask) == rows && getCols(mask) == cols ); in gridMerge_() 125 CV_Assert( getRows(dst) == rows && getCols(dst) == cols ); in gridMerge_() 142 CV_Assert( getRows(mask) == rows && getCols(mask) == cols ); in gridSplit_() 162 CV_Assert( getRows(mask) == rows && getCols(mask) == cols ); in gridSplit_() 182 CV_Assert( getRows(dst[0]) == rows && getCols(dst[0]) == cols ); in gridSplit_() 183 CV_Assert( getRows(dst[1]) == rows && getCols(dst[1]) == cols ); in gridSplit_() 184 CV_Assert( getRows(mask) == rows && getCols(mask) == cols ); in gridSplit_() 237 CV_Assert( getRows(dst[0]) == rows && getCols(dst[0]) == cols ); in gridSplit_() [all …]
|
/external/opencv3/modules/core/include/opencv2/core/ |
D | ippasync.hpp | 78 CV_Assert( hppType >= 0 ); in toHppType() 91 CV_Assert( cvType >= 0 ); in toCvType() 115 CV_Assert( sts == HPP_STATUS_NO_ERROR); in copyHppToMat() 119 CV_Assert(width%cn == 0); in copyHppToMat() 129 CV_Assert( sts == HPP_STATUS_NO_ERROR); in copyHppToMat() 173 CV_Assert(src.data); in getHpp()
|
/external/opencv3/modules/cudaarithm/src/cuda/ |
D | polar_cart.cu | 64 CV_Assert( x.depth() == CV_32F ); in magnitude() 65 CV_Assert( y.type() == x.type() && y.size() == x.size() ); in magnitude() 83 CV_Assert( x.depth() == CV_32F ); in magnitudeSqr() 84 CV_Assert( y.type() == x.type() && y.size() == x.size() ); in magnitudeSqr() 102 CV_Assert( x.depth() == CV_32F ); in phase() 103 CV_Assert( y.type() == x.type() && y.size() == x.size() ); in phase() 124 CV_Assert( x.depth() == CV_32F ); in cartToPolar() 125 CV_Assert( y.type() == x.type() && y.size() == x.size() ); in cartToPolar() 185 CV_Assert( angle.depth() == CV_32F ); in polarToCart() 186 CV_Assert( mag.empty() || (mag.type() == angle.type() && mag.size() == angle.size()) ); in polarToCart()
|
/external/opencv3/modules/stitching/src/ |
D | warpers_cuda.cpp | 78 CV_Assert( K.size() == Size(3,3) && K.type() == CV_32FC1 ); in buildWarpPlaneMaps() 79 CV_Assert( R.size() == Size(3,3) && R.type() == CV_32FC1 ); in buildWarpPlaneMaps() 80 …CV_Assert( (T.size() == Size(3,1) || T.size() == Size(1,3)) && T.type() == CV_32FC1 && T.isContinu… in buildWarpPlaneMaps() 84 CV_Assert( K_Rinv.isContinuous() ); in buildWarpPlaneMaps() 85 CV_Assert( R_Kinv.isContinuous() ); in buildWarpPlaneMaps() 105 CV_Assert( K.size() == Size(3,3) && K.type() == CV_32FC1 ); in buildWarpSphericalMaps() 106 CV_Assert( R.size() == Size(3,3) && R.type() == CV_32FC1 ); in buildWarpSphericalMaps() 110 CV_Assert( K_Rinv.isContinuous() ); in buildWarpSphericalMaps() 111 CV_Assert( R_Kinv.isContinuous() ); in buildWarpSphericalMaps() 130 CV_Assert( K.size() == Size(3,3) && K.type() == CV_32FC1 ); in buildWarpCylindricalMaps() [all …]
|
/external/opencv3/modules/cudafilters/src/ |
D | filtering.cpp | 81 CV_Assert( 0 <= anchor && anchor < ksize ); in normalizeAnchor() 121 CV_Assert( srcType == CV_8UC1 || srcType == CV_8UC4 ); in NPPBoxFilter() 122 CV_Assert( dstType == srcType ); in NPPBoxFilter() 132 CV_Assert( src.type() == type_ ); in apply() 216 CV_Assert( sdepth == CV_8U || sdepth == CV_16U || sdepth == CV_32F ); in LinearFilter() 217 CV_Assert( scn == 1 || scn == 4 ); in LinearFilter() 218 CV_Assert( dstType == srcType ); in LinearFilter() 219 CV_Assert( kernel.channels() == 1 ); in LinearFilter() 220 …CV_Assert( borderMode == BORDER_REFLECT101 || borderMode == BORDER_REPLICATE || borderMode == BORD… in LinearFilter() 256 CV_Assert( src.type() == type_ ); in apply() [all …]
|