Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6548579
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T11:59:15+00:00 2026-05-25T11:59:15+00:00

The objective is to display the person on a different background (aka background removal).

  • 0

The objective is to display the person on a different background (aka background removal).

I’m using the Kinect with Microsoft’s Beta Kinect SDK to do so. With help of the depth, the background is filtered and we get only the image of the person.

This is pretty simple to do, and we can find the code that does that everywhere on the Internet. However, the depth signal is noisy, and we get pixels which do not belong to the person that are displayed.

I applied an edge detector to see if it was useful, and I currently get this:

Here’s another without edge detection:

enter image description here

My question is: Which way can I get rid of these noisy white pixels around the person?

I tried morphological operations, but some parts of the body are erased and still leave white pixels behind.

The algorithm doesn’t need to be real-time, I can just apply it when I press a ‘Save image’ button.

Edit 1:

I just tried to do background substraction with the closest frames on the shape border. The single pixels you see are flickering, which means it is noise and I can get easily get rid of them.

Edit 2:

The project is now over, and here’s what we did: manual calibration of the Kinect by using the OpenNI driver, which provides directly the infrared image. The result is really good, but each calibration is specific to each Kinect.

Then, we applied a little transparency on the borders, and the result looks really nice! I can’t provide pictures, however.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-25T11:59:16+00:00Added an answer on May 25, 2026 at 11:59 am

    Your problem isn’t just the noisy white pixels. You’re missing significant parts of the person as well, e.g. part of his right hand. I’d recommend being more conservative with your thresholding of the depth data (allow more false positives). This would give you more noisy pixels, but at least you’d have the person in their entirety.

    To get rid of the noisy pixels, I can think of a couple of things:

    • Feather the outer pixels (reduce them in intensity/increase their transparency if you’re using an alpha channel)
    • Smooth the image, perform the edge detection on the smoothed image, then use these edges with your original sharp image.
    • Do some skin region detection to mark parts that definitely belong to a person. See skin detection in the YUV color space? and Skin Color Detection
    • For clothes, work with the hue and saturation image. If you know the color of the t-shirt (or that at least that it’s not a neutral color), then this will stand out easily. If you don’t know this information, then it may be worth building up a model of the person using the other frames (if there’s a big gray blob that’s moving around in your video, chances are that your subject is wearing a gray shirt)

    The approaches aren’t mutually exclusive so it may be worth trying to do them in combination. If I think of anything else, I’ll post back here.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

How do we display percentage character in objective-c? I am using this: [NSString localizedStringWithFormat:@%.2f
I'm using objective-c & the iphone 3.0 sdk I want to retrieve the contents
Objective: When user browses to a particular seller, then display his average along with
I am new to objective C and I have a c++ background. I want
I have an Objective C application that reads data from an RSS feed using
Im working on an ios app using objective c and i have an issue
My objective is to read a text file and display the content in a
Is there any objective-c library or workaround solution to display the skp file ?
How can I programmatically (Objective-C) whether an iPad has a Retina display?
I'm new to objective-c and iOS development. I need an iPad application to display

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.