Kinect Depth Normalization

버전 1.0.0.0 (127 KB) 작성자: Atif Anwer
Fills in '0' depth value in kinect depth image with statistical mode of surrounding 25 values
다운로드 수: 1.1K
업데이트 날짜: 2014/9/12

라이선스 보기

The kinect depth image has pixels with values equal to the calculated depth of object/surface in view. However, areas that absorb or scatter the kinect IR (like glossy surfaces or sharp edges) are filled with zero pixel value (indicating non-calculated depth). These regions with the missing information, represented by zero values, need to be filled prior to using the depth images. This filling process is done by replacing the zero value pixels with the statistical mode of the surrounding 25 pixels. Using a statistical mode returns sharper edges than using statistical mean values, since mode only inserts the maximum occurring value in the surrounding 25 pixels to the centre pixel.

Usage: [Q,R]=Kinect_DepthNormalization(depthImage)

Function Input: Kinect depth image (16-bit png)

Function Output: depth image with zero valued replaced , Number of zero pixels detected in the image.

Note:
The code is a matlab implementation of the algorithm used by Karl Sanford at Code Project (http://www.codeproject.com/Articles/317974/KinectDepthSmoothing)

인용 양식

Atif Anwer (2024). Kinect Depth Normalization (https://www.mathworks.com/matlabcentral/fileexchange/47830-kinect-depth-normalization), MATLAB Central File Exchange. 검색됨 .

MATLAB 릴리스 호환 정보
개발 환경: R2014a
모든 릴리스와 호환
플랫폼 호환성
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
버전 게시됨 릴리스 정보
1.0.0.0