Home
last modified time | relevance | path

Searched refs:depthMap (Results 1 – 6 of 6) sorted by relevance

/external/mesa3d/src/mesa/main/
Dreadpix.c468 GLubyte *depthMap, *stencilMap, *stencilVals; in fast_read_depth_stencil_pixels_separate() local
475 GL_MAP_READ_BIT, &depthMap, &depthStride); in fast_read_depth_stencil_pixels_separate()
476 if (!depthMap) { in fast_read_depth_stencil_pixels_separate()
493 _mesa_unpack_uint_z_row(depthRb->Format, width, depthMap, dst); in fast_read_depth_stencil_pixels_separate()
501 depthMap += depthStride; in fast_read_depth_stencil_pixels_separate()
529 GLubyte *depthMap, *stencilMap; in slow_read_depth_stencil_pixels_separate() local
539 GL_MAP_READ_BIT, &depthMap, &depthStride); in slow_read_depth_stencil_pixels_separate()
540 if (!depthMap) { in slow_read_depth_stencil_pixels_separate()
556 stencilMap = depthMap; in slow_read_depth_stencil_pixels_separate()
565 _mesa_unpack_float_z_row(depthRb->Format, width, depthMap, depthVals); in slow_read_depth_stencil_pixels_separate()
[all …]
/external/opencv3/doc/tutorials/highgui/
Dintelperc.markdown40 Mat depthMap;
41 capture >> depthMap;
52 Mat depthMap;
58 capture.retrieve( depthMap, CAP_INTELPERC_DEPTH_MAP );
Dkinect_openni.markdown58 Mat depthMap;
59 capture >> depthMap;
70 Mat depthMap;
75 capture.retrieve( depthMap, CAP_OPENNI_DEPTH_MAP );
/external/opencv3/modules/videoio/src/
Dcap_openni2.cpp718 inline void getDepthMapFromMetaData(const openni::VideoFrameRef& depthMetaData, cv::Mat& depthMap, … in getDepthMapFromMetaData() argument
720 depthMap.create(depthMetaData.getHeight(), depthMetaData.getWidth(), CV_16UC1); in getDepthMapFromMetaData()
721 depthMap.data = (uchar*)depthMetaData.getData(); in getDepthMapFromMetaData()
723 …cv::Mat badMask = (depthMap == (double)noSampleValue) | (depthMap == (double)shadowValue) | (depth… in getDepthMapFromMetaData()
726 depthMap.setTo( cv::Scalar::all( CvCapture_OpenNI2::INVALID_PIXEL_VAL ), badMask ); in getDepthMapFromMetaData()
Dcap_openni.cpp1142 inline void getDepthMapFromMetaData( const xn::DepthMetaData& depthMetaData, cv::Mat& depthMap, XnU… in getDepthMapFromMetaData() argument
1147 depthMap.create( rows, cols, CV_16UC1 ); in getDepthMapFromMetaData()
1152 memcpy( depthMap.data, pDepthMap, cols*rows*sizeof(XnDepthPixel) ); in getDepthMapFromMetaData()
1154 …cv::Mat badMask = (depthMap == (double)noSampleValue) | (depthMap == (double)shadowValue) | (depth… in getDepthMapFromMetaData()
1157 depthMap.setTo( cv::Scalar::all( CvCapture_OpenNI::INVALID_PIXEL_VAL ), badMask ); in getDepthMapFromMetaData()
/external/opencv3/samples/cpp/
Dopenni_capture.cpp261 Mat depthMap; in main() local
274 if( retrievedImageFlags[0] && capture.retrieve( depthMap, CAP_OPENNI_DEPTH_MAP ) ) in main()
277 Mat show; depthMap.convertTo( show, CV_8UC1, scaleFactor ); in main()