Lines Matching refs:depth
201 void convertToDepth(InputArray src, OutputArray dst, int depth)
203 CV_Assert( src.depth() <= CV_64F );
204 CV_Assert( depth == CV_8U || depth == CV_32F );
217 const double scale = maxVals[depth] / maxVals[src.depth()];
222 src.getGpuMat().convertTo(dst.getGpuMatRef(), depth, scale);
226 src.getUMat().convertTo(dst, depth, scale);
230 src.getMat().convertTo(dst, depth, scale);
241 const int depth = CV_MAT_DEPTH(type);
244 if (src.depth() == depth)
252 convertToDepth(src, buf1, depth);
257 convertToDepth(buf0, buf1, depth);
266 const int depth = CV_MAT_DEPTH(type);
269 if (src.depth() == depth)
277 convertToDepth(src, buf1, depth);
282 convertToDepth(buf0, buf1, depth);
291 const int depth = CV_MAT_DEPTH(type);
294 if (src.depth() == depth)
302 convertToDepth(src, buf1, depth);
307 convertToDepth(buf0, buf1, depth);