Hello: extract an image from a white background

Discussion in 'Photoshop Tutorials' started by Mike Russell, Feb 22, 2008.

  1. Mike Russell

    Mike Russell Guest

    Hi Freddie,

    There are quite a few solutions, as well as ways of extracting your original
    image. If you started out by using the magic wand, as many people do, that
    could be the source of the problem.

    Photoshop's Filter>Extract... command can do a beautiful job of removing the
    original matte color, so you may want to check out a tutorial on the correct
    use of that command. If this is not relevant to your problem, or otherwise
    does not improve things, there are at least two commands may help with this.
    First get your extracted image on a separate layer. Then use one of these
    two procedures

    1) Layer>Matting>Remove Black Matte - will quickly remove the black for most
    cases. It will fail if the layer has large feathered edges.

    2) If that doesn't work, use Select>Load Selection... to load the selection
    from the transparency information of the extracted layer. Then use
    Selection>Refine Edge... and click on Preview. Select the icon for a white
    background, and use the various sliders to adjust your selection. Once you
    have it looking good, click OK, invert the selection and press the delete
    key to clean up the layer. This method has the problem that you are
    deleting part of the edge to get rid of the black fringe.

    If none of the above methods work, there are any number of techniques that
    might work for your particular image. I suggest that you post a sample of
    the image for people to look at and make more specific suggestions. If
    necessary, join Flickr.com or a similar site, post your image, and provide a
    link to it here.
    Mike Russell, Feb 22, 2008
    1. Advertisements

  2. Hello,
    I have need to extract an image froma a white background for place
    this image on a black background on a flash file.
    The problem is that there is a white halo that is ugly to see.
    I heve tried to select the white colors, on Safe for web command, to
    render transparent but the result is not fine.
    There's a solution?
    I hope of to have been clear and sorry for my english... :)

    Freddie Maranzano, Feb 22, 2008
    1. Advertisements

  3. Mike Russell

    hoffmann Guest


    there are a couple of methods. One of them:
    1. Select the object
    2. Select > Modify > Contract (this shrinks the size by 1..2 pixels)
    3. Put the selection onto the black background
    4. Apply a little Gaussian Blur to the boundary between
    the object and the black background, using a coarse
    selection of this boundary.
    You'll never get pleasing results if you put the object
    with transparent background on a HTML-color area.

    Best regards --Gernot Hoffmann
    hoffmann, Feb 22, 2008
  4. Mike Russell

    pico Guest

    Change the fringe pixels to black.
    pico, Feb 22, 2008

  5. Thanks to all. Your help is very appreciated.
    I'll try all of your suggestion and then I'll noticed you.
    Thanks again

    Freddie Maranzano, Feb 23, 2008
  6. Mike Russell

    ronviers Guest

    Hi Freddie,
    As others have mentioned there are a lot of ways to approach this and
    each image is different and will probably need a different approach.
    So what I like to do is look carefully at the halo and ask some basic
    questions. Things like. Is it neutral? Is it stratified? Are the areas
    where it varies, for example in size, easy to delineate? Is the
    falloff consistent? What I am looking for are the attributes of the
    halo that make it distinctly visible. Those are the things that can be
    used to isolate it and remove it.
    Blur, high pass and threshold are things you might want to read up on.
    They can be used together to isolated edges.
    Good luck,
    ronviers, Feb 23, 2008
  7. Mike Russell

    Fred Guest

    Take a look here, Freddie (scroll to the bottom of the page, to Advanced
    Fred, Feb 28, 2008
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.