My goal is to detect any change in frames(single channel. each pixel is depth value). On app init, I take average of all corresponding pixels of first 30 frames so one average background frame will be created. On new frames arrival I subtract each frame from saved background frame(mean frame of first 30 frames). Currently algorithm is: I take mean of first 30 frames say it bg_mean(scalar, not frame, say 2345). Then calculate mean of new frame and compare it with bg_mean with some threshold added to bg_mean (to avoid noise consideration) . But this method method does not give good results if distance is far. Are there any other methods ?
How to check for substantial change in two depth frames?
121 Views Asked by Mitesh Patel At
1
There are 1 best solutions below
Related Questions in INTEL
- How can I compile *without* various instruction sets enabled?
- Restrict MKL optimized scipy to single thread
- Why is genymotion running so slowly?
- Intel VT-X not found
- Intel Edison with Kinect
- Formatting a MicroSD card within OSX
- Can I run Cuda or OpenCl on Intel processor graphics I7 (3rd or 4rd generation)
- Contrast reduction - intel x86
- x86 assembly fading bmp with linear interpolation
- Why I'm getting "error expected an expression" while compile cilk program
- Intel HAXM's intelhaxm-android.exe is not running
- Cordova - Media Plugin - Intel XDK - IOS build fail
- intel xdk: my links are not working
- running a python script that requires matplotlib gives: ImportError: undefined symbol: __libm_sse2_sincos
- To which cache a function pointer belongs to?
Related Questions in DEPTH
- denormalizing depth values
- What parameter should be changed in SGBM algorithm to invert depth value in depth image
- Error : CV_8U in function initialize
- Looking for c / c++ library to generate a PointCloud ot an Depth Image / Ranged Map
- How to refactor to reduce nesting depth with try/multiple catches (NDepend)
- "Depth" with moving Flash sprites
- Remove background from kinect depth data
- Depth / Ranged Image to Point Cloud
- Revert SVN repo to sparse checkout (undo 'svn up --set-depth infinity')?
- DirectX 11 Depth Rendering
- OpenCv - Depth Map
- change range of the kinect depth camera
- Finding depth of tree haskell
- Graph algorithm for dividing students into two groups
- find the edge based on normals
Related Questions in REALSENSE
- RGBa image from intel realsense to matlab
- pass realsesense RGB-D images from unity to c++
- Intel realsense cam on win 7
- threshold depth distance in image opencvsharp c# intel realsense
- Display point cloud continuous c# Intel Realsense
- displaying Point3DCollection with Helixtoolkit c#
- Which technology is behind intel's realsense depth sensor?
- Detecting hands or body using running_mode=VIDEO / LIVE_STREAM (Mediapipe)
- When converting depth frame to surface normals I get this weird wavy artifacts. Where are they coming from?
- ImportError from file to file of the same folder in ROS Noetic package
- How to draw a video frame from PyRealSense2 on a PyGame canvas?
- How to check if Intel RealSense device is ready after hardware reset?
- How to get the depth at pixel x,y after post processing with RealSense?
- How to avoid point cloud waiveness of intel d415 at 2meter distance
- How to record depth stream from realsense L515
Related Questions in DEPTH-CAMERA
- Unknown CMake command "set_debug_working_dir"
- When converting depth frame to surface normals I get this weird wavy artifacts. Where are they coming from?
- How to calculate the real-world distance between two objects with a depth camera
- Estimate camera orientation from ground 3D points?
- Intel RealSense D435i frames drop on Intel® RealSense™ SDK 2.0
- CVPixelBufferRef: Video Buffer and Depth Buffer have different orientations
- Calculate 3D cordinates from with camera matrix and know distance
- How do we fix our flickering depth image when using an Orbecc Astra Camera and Rviz?
- How to convert Depth Image to Pointcloud in ROS?
- depth camera interpretation of data ROS
- How to check for substantial change in two depth frames?
- Retrieving intrinsic matrix from two stereo depth sensor that resulted in a single depth image
- How to find flat regions based on depth information
- Using Orbbec Embedded S camera from ARM with OpenNI
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
I suspect your threshold value is the issue. I'm not familiar with depth-cameras, but I'd assume the noise values might be impacted by the distance. To validate this, try changing/removing it to see if it improves the results.
Traditional image processing techniques will also update the history as time goes so large changes to the scene are not counted as changes in every subsequent frames. Your idea is essentially how it is done, but approaches vary in how they account for noise (in standard images you also have to account for shadows, which you can avoid with a depth camera)
I'd suggest looking into built-in algorithms with more sophisticated noise removal (https://docs.opencv.org/3.4/d/d38/tutorial_bgsegm_bg_subtraction.html). Although for images, I suspect this would work similarly for depths cameras.