ForRMByishi / Kinect_Smoothing

"Kinect Smoothing" helps you to smooth and filter the Kinect depth image as well as trajectory data

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Kinect Depth Image Smoothing

  • "Kinect Smoothing" helps you to smooth and filter the Kinect depth image and trajectory data.

How to Use it

  • Installation
pip install -r requirements.txt
git clone https://github.com/intelligent-control-lab/Kinect_Smoothing.git

Features

1 . Depth Image Smoothing

2 . Trajectory Smoothing

  • Crop Filter:

    The x, y coordinates of the trajectory were captured by some object detection algorithms (e.g. Openpose). Sometimes the object will be positioned on the background, and the depth coordinates might register as invalid values on the Kinect. The Crop-Filter crops the invalid value and run some interpolation methods to replace it. The methods for invalid value replacement are as follows:

  • Smooth Filter:

    Smooth the data with a specific filter, which is effectively reducing the anomaly in the trajectory series. The methods for smoothing filter are as follows:

    • kalman: smooth the signal with Kalman filter, refer to Fundamentals of Kalman Filtering
    • wiener: smooth the signal with Wiener filter
    • median: smooth the signal with median filter
    • moving_average: smooth the signal with moving average filter
    • exponential_moving_average: smooth the signal with exponential moving average filter
  • Motion Sampler:

    Remove the non-moving part of the trajectory. (Just keep the significant movements)

3 . Real World Coordinate Calculation

  • Coordinate Calculator

    Transform the pixel level coordinate of Kinect to the real world coordinate.

About

"Kinect Smoothing" helps you to smooth and filter the Kinect depth image as well as trajectory data

License:MIT License


Languages

Language:Jupyter Notebook 99.7%Language:Python 0.3%