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 4097420
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 20, 20262026-05-20T20:10:17+00:00 2026-05-20T20:10:17+00:00

We are making an app that includes a digital gallery which display photos and

  • 0

We are making an app that includes a digital gallery which display photos and text.

The user usually uploads a photo with a background, we would like to mask out the background, with the foreground object remaining composited with our custom background. The object is mostly dark and the shape is simple, so if it is photographed on a white background the outline is clearly defined. We would like to provide very easy to use tools to help the user remove the background, which provides similar features of photoshop, but w/o the complexness of it. We also need to let the user resize the object to the same size.

Some ideas,

  1. A magic wand tool
  2. A line tool that creates closed bezier lines
  3. Some predefined shapes as masks.

The tool could be made with flash/air/html5.

  • 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-20T20:10:18+00:00Added an answer on May 20, 2026 at 8:10 pm

    If the object is always darker than the background, you should use a simple threshold method with one parameter to set it: (Everything brighter than threshold is BG, the rest is FG).
    If that is not the case, have a look at watershed algorithms. I think the free OpenCV library (http://opencv.willowgarage.com/wiki/) from Intel includes an implementation. These also need very few parameters: seeding points to start the segmentation, so the user could just click on the foreground object and then again set interactively set a threshold until the whole object is selected. This is mostly like the “Magic Wand”.
    If that still isn’t enough maybe “snakes” and “level-set” approaches are for you. The user could draw a rough curve around the object and the algorithm tries to find the actual exact border. These algorithms are especially designed to find optimal separations between fore- and background depending on whatever property you define and they can be controlled with few parameters (usually 2 or 3), which should still be easy enough for most users. I doubt Intel has an implementation for those, but I used this one some time ago: http://vivienmallet.net/fronts/ and it was very nice and open source, so you can easily adopt it to your needs.

    My suggestion is to start with OpenCV since it contains a LOT of different approaches, that are sufficient for most simple problems.

    Cheers!

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

Sidebar

Related Questions

I am making an app that takes photos from web site for some Username
In my app, I have a User model, which includes a number of attributes
I'm thinking about making a Cocoa app (desktop) that includes a CouchDB database. How
I am making App. that includes Picture Editing, After Editing I want to save
I am making a iPhone app that allows the user to go back in
I am making an iPhone app which includes tutorials on guitar scales. The goal
I am making app that takes a screenshot of a URL requested by the
I am making an app that scrolls information on the desktop. The window is
I am making an app that will play sound on events but I can't
I'm making an app that will be installed and run on multiple computers, my

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.