CV_8S 122 modules/core/include/opencv2/core/cvdef.h #define CV_8SC1 CV_MAKETYPE(CV_8S,1) CV_8S 123 modules/core/include/opencv2/core/cvdef.h #define CV_8SC2 CV_MAKETYPE(CV_8S,2) CV_8S 124 modules/core/include/opencv2/core/cvdef.h #define CV_8SC3 CV_MAKETYPE(CV_8S,3) CV_8S 125 modules/core/include/opencv2/core/cvdef.h #define CV_8SC4 CV_MAKETYPE(CV_8S,4) CV_8S 126 modules/core/include/opencv2/core/cvdef.h #define CV_8SC(n) CV_MAKETYPE(CV_8S,(n)) CV_8S 269 modules/core/include/opencv2/core/mat.hpp DEPTH_MASK_8S = 1 << CV_8S, CV_8S 133 modules/core/include/opencv2/core/private.cuda.hpp template<> struct NPPTypeTraits<CV_8S> { typedef Npp8s npp_type; }; CV_8S 226 modules/core/include/opencv2/core/private.hpp depth == CV_8S ? ipp8s : CV_8S 159 modules/core/include/opencv2/core/traits.hpp depth = CV_8S, CV_8S 174 modules/core/include/opencv2/core/traits.hpp depth = CV_8S, CV_8S 286 modules/core/include/opencv2/core/traits.hpp template<> class TypeDepth<CV_8S> CV_8S 288 modules/core/include/opencv2/core/traits.hpp enum { depth = CV_8S }; CV_8S 501 modules/core/include/opencv2/core/types_c.h ((((CV_8U)+(CV_16U<<4)+(CV_32F<<8)+(CV_64F<<16)+(CV_8S<<20)+ \ CV_8S 604 modules/core/include/opencv2/core/types_c.h return CV_ELEM_SIZE1(depth)*8 | (depth == CV_8S || depth == CV_16S || CV_8S 7 modules/core/misc/java/src/java/core+CvType.java CV_8U = 0, CV_8S = 1, CV_8S 43 modules/core/misc/java/src/java/core+CvType.java return makeType(CV_8S, ch); CV_8S 81 modules/core/misc/java/src/java/core+CvType.java case CV_8S: CV_8S 103 modules/core/misc/java/src/java/core+CvType.java case CV_8S: CV_8S 997 modules/core/misc/java/src/java/core+Mat.java if (CvType.depth(t) == CvType.CV_8U || CvType.depth(t) == CvType.CV_8S) { CV_8S 1012 modules/core/misc/java/src/java/core+Mat.java if (CvType.depth(t) == CvType.CV_8U || CvType.depth(t) == CvType.CV_8S) { CV_8S 78 modules/core/misc/java/test/MatTest.java assertTrue(0 > new Mat(2, 10, CvType.CV_8U).checkVector(10, CvType.CV_8S)); CV_8S 79 modules/core/misc/java/test/MatTest.java assertTrue(0 > new Mat(1, 2, CvType.CV_8UC(10)).checkVector(10, CvType.CV_8S)); CV_8S 80 modules/core/misc/java/test/MatTest.java assertTrue(0 > new Mat(2, 1, CvType.CV_8UC(10)).checkVector(10, CvType.CV_8S)); CV_8S 81 modules/core/misc/java/test/MatTest.java assertTrue(0 > new Mat(1, 10, CvType.CV_8UC2).checkVector(10, CvType.CV_8S)); CV_8S 16 modules/core/perf/perf_convertTo.cpp testing::Values(CV_8U, CV_8S, CV_16U, CV_16S, CV_32S, CV_32F, CV_64F), CV_8S 17 modules/core/perf/perf_convertTo.cpp testing::Values(CV_8U, CV_8S, CV_16U, CV_16S, CV_32S, CV_32F, CV_64F), CV_8S 24 modules/core/perf/perf_minmaxloc.cpp else if (matType == CV_8S) CV_8S 1589 modules/core/src/arithm.cpp CV_Assert( (mtype == CV_8U || mtype == CV_8S) && _mask.sameSize(*psrc1)); CV_8S 1797 modules/core/src/arithm.cpp minval >= (int)SCHAR_MIN && maxval <= (int)SCHAR_MAX ? CV_8S : CV_8S 2021 modules/core/src/arithm.cpp wtype = depth1 <= CV_8S && depth2 <= CV_8S ? CV_16S : CV_8S 2301 modules/core/src/arithm.cpp else if (dtype == CV_8S) CV_8S 1551 modules/core/src/array.cpp case CV_8S: CV_8S 1588 modules/core/src/array.cpp case CV_8S: CV_8S 1616 modules/core/src/array.cpp case CV_8S: CV_8S 5917 modules/core/src/convert.cpp (depth == CV_8U || depth == CV_8S) ); CV_8S 1540 modules/core/src/mathfuncs.cpp template<> struct mat_type_assotiations<CV_8S> CV_8S 1605 modules/core/src/mathfuncs.cpp &checkIntegerRange<CV_8S>, CV_8S 1051 modules/core/src/matrix.cpp case CV_8S: CV_8S 3810 modules/core/src/matrix.cpp depth == CV_8U || depth == CV_8S ? (IppFlipFunc)ippsFlip_8u_I : CV_8S 5355 modules/core/src/ocl.cpp (ddepth == CV_16S && sdepth <= CV_8S) || CV_8S 5377 modules/core/src/ocl.cpp if (depth <= CV_8S) CV_8S 5458 modules/core/src/ocl.cpp vectorWidths[CV_8U] = vectorWidths[CV_8S] = 4; CV_8S 1283 modules/core/src/opengl.cpp CV_Assert( depth == CV_8S || depth == CV_16S || depth == CV_32S || depth == CV_32F || depth == CV_64F ); CV_8S 112 modules/core/src/out.cpp case CV_8S: valueToStr = &FormattedImpl::valueToStr8s; break; CV_8S 3140 modules/core/src/persistence.cpp case CV_8S: CV_8S 3262 modules/core/src/persistence.cpp case CV_8S: CV_8S 3307 modules/core/src/persistence.cpp case CV_8S: CV_8S 547 modules/core/src/rand.cpp depth == CV_8S ? -128. : depth == CV_16S ? -32768. : (double)INT_MIN); CV_8S 549 modules/core/src/rand.cpp depth == CV_8S ? 128. : depth == CV_16S ? 32768. : (double)INT_MAX); CV_8S 1218 modules/core/src/stat.cpp intSumBlockSize = depth <= CV_8S ? (1 << 23) : (1 << 15); CV_8S 1466 modules/core/src/stat.cpp intSumBlockSize = depth <= CV_8S ? (1 << 23) : (1 << 15); CV_8S 1756 modules/core/src/stat.cpp bool blockSum = depth <= CV_16S, blockSqSum = depth <= CV_8S; CV_8S 2256 modules/core/src/stat.cpp depth == CV_8S ? (ippiMinMaxIndxFuncC1)ippiMinMaxIndx_8s_C1R : CV_8S 2892 modules/core/src/stat.cpp ((normType == NORM_L2 || normType == NORM_L2SQR) && depth <= CV_8S); CV_8S 2899 modules/core/src/stat.cpp intSumBlockSize = (normType == NORM_L1 && depth <= CV_8S ? (1 << 23) : (1 << 15))/cn; CV_8S 3377 modules/core/src/stat.cpp ((normType == NORM_L2 || normType == NORM_L2SQR) && depth <= CV_8S); CV_8S 3384 modules/core/src/stat.cpp intSumBlockSize = normType == NORM_L1 && depth <= CV_8S ? (1 << 23) : (1 << 15); CV_8S 1812 modules/core/test/ocl/test_arithm.cpp OCL_INSTANTIATE_TEST_CASE_P(Arithm, Lut, Combine(::testing::Values(CV_8U, CV_8S), OCL_ALL_DEPTHS, OCL_ALL_CHANNELS, Bool(), Bool())); CV_8S 575 modules/core/test/test_arithm.cpp case CV_8S: CV_8S 625 modules/core/test/test_arithm.cpp case CV_8S: CV_8S 94 modules/core/test/test_countnonzero.cpp case CV_8S: { src.at<char>(i, j) = cv::randu<uchar>() - 128; break; } CV_8S 117 modules/core/test/test_countnonzero.cpp case CV_8S: { if (!src.at<char>(i, j)) {src.at<char>(i, j) = cv::randu<uchar>() - 128; n += abs(sign(src.at<char>(i, j)));} break; } CV_8S 153 modules/core/test/test_countnonzero.cpp else if (current_type == CV_8S) result += abs(sign(src.at<char>(i, j))); CV_8S 21 modules/core/test/test_io.cpp else if( type == CV_8S ) CV_8S 55 modules/core/test/test_io.cpp if( depth == CV_8U || depth == CV_8S ) CV_8S 973 modules/core/test/test_mat.cpp case CV_8S: CV_8S 1011 modules/core/test/test_mat.cpp curRes = run_case(CV_8S, mvSize, mSize, rng); CV_8S 105 modules/core/test/test_math.cpp depth += depth == CV_8S; CV_8S 246 modules/core/test/test_math.cpp case CV_8S: CV_8S 401 modules/core/test/test_math.cpp depth += depth == CV_8S; CV_8S 888 modules/core/test/test_math.cpp return depth <= CV_8S ? 1 : depth <= CV_32S ? 9 : Base::get_success_error_level( test_case_idx, i, j ); CV_8S 2828 modules/core/test/test_math.cpp Mat mtx0(1, n, CV_8S), mtx, result; CV_8S 670 modules/core/test/test_operations.cpp if (Mat_<signed char>(1, 1).depth() != CV_8S) throw test_excep(); CV_8S 199 modules/core/test/test_rand.cpp depth == CV_8S ? ((const schar*)data)[i] : CV_8S 269 modules/core/test/test_rand.cpp depth == CV_8S ? ((const schar*)data)[i] : CV_8S 98 modules/core/test/test_umat.cpp int new_depth = randomInt(CV_8S, CV_64F); CV_8S 171 modules/core/test/test_umat.cpp int new_type = CV_MAKE_TYPE(randomInt(CV_8S,CV_64F),randomInt(1,4)); CV_8S 73 modules/cudaarithm/src/core.cpp template<> struct NppTypeTraits<CV_8S> { typedef Npp8s npp_t; }; CV_8S 391 modules/cudaarithm/src/element_operations.cpp {NppShift<CV_8S , 1, nppiRShiftC_8s_C1R >::call, 0, NppShift<CV_8S , 3, nppiRShiftC_8s_C3R >::call, NppShift<CV_8S , 4, nppiRShiftC_8s_C4R>::call }, CV_8S 2215 modules/cudaarithm/test/test_element_operations.cpp MatDepth(CV_8S), CV_8S 108 modules/cudaarithm/test/test_reductions.cpp MatDepth(CV_8S), CV_8S 1077 modules/features2d/src/matchers.cpp case CV_8S: CV_8S 1116 modules/features2d/src/matchers.cpp case CV_8S: CV_8S 1164 modules/features2d/src/matchers.cpp case CV_8S: CV_8S 1215 modules/features2d/src/matchers.cpp case CV_8S: CV_8S 77 modules/flann/include/opencv2/flann.hpp template <> struct CvType<char> { static int type() { return CV_8S; } }; CV_8S 162 modules/flann/src/miniflann.cpp types.push_back( CV_8S ); CV_8S 735 modules/flann/src/miniflann.cpp header.data_type == FLANN_INT8 ? CV_8S : CV_8S 583 modules/imgcodecs/src/grfmt_exr.cpp bool issigned = depth == CV_8S || depth == CV_16S || depth == CV_32S; CV_8S 622 modules/imgcodecs/src/utils.cpp double scale = src_depth <= CV_8S ? 1 : src_depth <= CV_32S ? 1./256 : 255; CV_8S 623 modules/imgcodecs/src/utils.cpp double shift = src_depth == CV_8S || src_depth == CV_16S ? 128 : 0; CV_8S 349 modules/imgproc/src/connectedcomponents.cpp CV_Assert(iDepth == CV_8U || iDepth == CV_8S); CV_8S 2521 modules/imgproc/src/drawing.cpp else if( CV_MAT_DEPTH( type ) == CV_8S ) CV_8S 605 modules/imgproc/src/shapedescr.cpp CV_Assert( img.depth() <= CV_8S && img.channels() == 1 ); CV_8S 664 modules/imgproc/src/templmatch.cpp int maxDepth = depth > CV_8S ? CV_64F : std::max(std::max(CV_32F, tdepth), cdepth); CV_8S 135 modules/imgproc/test/test_filter.cpp depth += depth == CV_8S; CV_8S 417 modules/imgproc/test/test_filter.cpp return depth <= CV_8S ? 2 : depth <= CV_32S ? 32 : CV_8S 473 modules/imgproc/test/test_filter.cpp return depth <= CV_8S ? 2 : 5e-4; CV_8S 656 modules/imgproc/test/test_filter.cpp return depth <= CV_8S ? 1 : 1e-5; CV_8S 750 modules/imgproc/test/test_filter.cpp return depth <= CV_8S ? 8 : 1e-5; CV_8S 1249 modules/imgproc/test/test_filter.cpp return depth <= CV_8S ? 3e-2 : depth == CV_32F ? 1e-3 : 1e-10; CV_8S 154 modules/imgproc/test/test_imgwarp_strict.cpp while (depth == CV_8S || depth == CV_32S) CV_8S 1781 modules/java/generator/src/cpp/Mat.cpp case CV_8S: PUT_ITEM(schar, row, c); break; CV_8S 1795 modules/java/generator/src/cpp/Mat.cpp case CV_8S: PUT_ITEM(schar, r, c); break; CV_8S 1862 modules/java/generator/src/cpp/Mat.cpp if(me->depth() != CV_8U && me->depth() != CV_8S) return 0; // incompatible type CV_8S 2005 modules/java/generator/src/cpp/Mat.cpp if(me->depth() != CV_8U && me->depth() != CV_8S) return 0; // incompatible type CV_8S 2148 modules/java/generator/src/cpp/Mat.cpp case CV_8S: for(i=0; i<me->channels(); i++) buff[i] = *((signed char*) me->ptr(row, col) + i); break; CV_8S 1011 modules/ml/src/ann_mlp.cpp prev_dEdw_sign[i] = Mat::zeros(weights[i].size(), CV_8S); CV_8S 273 modules/ml/src/gbt.cpp case CV_8S: CV_8S 50 modules/photo/src/seamless_cloning_impl.cpp Mat kernel = Mat::zeros(1, 3, CV_8S); CV_8S 71 modules/photo/src/seamless_cloning_impl.cpp Mat kernel = Mat::zeros(3, 1, CV_8S); CV_8S 92 modules/photo/src/seamless_cloning_impl.cpp Mat kernel = Mat::zeros(1, 3, CV_8S); CV_8S 100 modules/photo/src/seamless_cloning_impl.cpp Mat kernel = Mat::zeros(3, 1, CV_8S); CV_8S 170 modules/python/src2/cv2.cpp int typenum = depth == CV_8U ? NPY_UBYTE : depth == CV_8S ? NPY_BYTE : CV_8S 271 modules/python/src2/cv2.cpp typenum == NPY_BYTE ? CV_8S : CV_8S 1335 modules/python/src2/cv2.cpp PUBLISH(CV_8S); CV_8S 220 modules/ts/include/opencv2/ts/cuda_test.hpp #define ALL_DEPTH testing::Values(MatDepth(CV_8U), MatDepth(CV_8S), MatDepth(CV_16U), MatDepth(CV_16S), MatDepth(CV_32S), MatDepth(CV_32F), MatDepth(CV_64F)) CV_8S 356 modules/ts/include/opencv2/ts/ocl_test.hpp #define OCL_ALL_DEPTHS Values(CV_8U, CV_8S, CV_16U, CV_16S, CV_32S, CV_32F, CV_64F) CV_8S 155 modules/ts/include/opencv2/ts/ts_perf.hpp CV_ENUM(MatDepth, CV_8U, CV_8S, CV_16U, CV_16S, CV_32S, CV_32F, CV_64F, CV_USRTYPE1) CV_8S 260 modules/ts/src/cuda_test.cpp if (src.depth() != CV_8S) CV_8S 69 modules/ts/src/ocl_perf.cpp else if (dst.depth() == CV_8S) CV_8S 91 modules/ts/src/ts_func.cpp double val = depth == CV_8U ? 0 : depth == CV_8S ? SCHAR_MIN : depth == CV_16U ? 0 : CV_8S 101 modules/ts/src/ts_func.cpp double val = depth == CV_8U ? UCHAR_MAX : depth == CV_8S ? SCHAR_MAX : depth == CV_16U ? USHRT_MAX : CV_8S 256 modules/ts/src/ts_func.cpp case CV_8S: CV_8S 314 modules/ts/src/ts_func.cpp case CV_8S: CV_8S 568 modules/ts/src/ts_func.cpp case CV_8S: CV_8S 673 modules/ts/src/ts_func.cpp case CV_8S: CV_8S 730 modules/ts/src/ts_func.cpp case CV_8S: CV_8S 807 modules/ts/src/ts_func.cpp case CV_8S: CV_8S 1067 modules/ts/src/ts_func.cpp case CV_8S: CV_8S 1293 modules/ts/src/ts_func.cpp case CV_8S: CV_8S 1375 modules/ts/src/ts_func.cpp case CV_8S: CV_8S 1440 modules/ts/src/ts_func.cpp case CV_8S: CV_8S 1656 modules/ts/src/ts_func.cpp case CV_8S: CV_8S 1703 modules/ts/src/ts_func.cpp case CV_8S: CV_8S 1835 modules/ts/src/ts_func.cpp case CV_8S: CV_8S 1924 modules/ts/src/ts_func.cpp case CV_8S: CV_8S 2001 modules/ts/src/ts_func.cpp case CV_8S: CV_8S 2343 modules/ts/src/ts_func.cpp case CV_8S: CV_8S 2400 modules/ts/src/ts_func.cpp case CV_8S: CV_8S 2468 modules/ts/src/ts_func.cpp case CV_8S: CV_8S 2540 modules/ts/src/ts_func.cpp case CV_8S: CV_8S 2625 modules/ts/src/ts_func.cpp case CV_8S: CV_8S 2858 modules/ts/src/ts_func.cpp else if(depth == CV_8S) CV_8S 305 modules/ts/src/ts_perf.cpp case CV_8S: return *(m.ptr<signed char>(y, x) + cn); CV_8S 1023 modules/ts/src/ts_perf.cpp else if (depth == CV_8S) CV_8S 1894 modules/ts/src/ts_perf.cpp case CV_8S: *os << "8S"; break;