More About Background Removal in Office 2010

Hi, I’m Tucker Hatfield, a PM on the Office Graphics team, and a while back I posted an introduction to Background Removal (The Magic of Background Removal). In this post I’ll build on what I showed you last time by giving an example of how to make more detailed background removal and how to do some interesting things with the results.

As I showed before, in many cases you’ll find you can effectively remove a background with nothing more than a very little adjustment of the marquee, but other times it takes a little work. Here’s a good example of a photo that takes a bit more attention.


If we just clicked Remove Background and accepted the default marquee for this picture, you’d get the result below. You can see that even with the default marquee it did a pretty good job of guessing what the subject was, but there are a few problems.


The top of the cup extends a bit beyond the marquee, which makes Background Removal think it should be excluded. Clicking and dragging on the selection handles to resize the marquee quickly adds that part back in.


After just resizing the marquee a little the results are better because Background Removal has a better idea of what to include. But it’s still not perfect. A bit of the lip of the cup is still gone, there’s that background poking through the handle of the cup, and parts of the “Office” logo are getting cut out. (Here’s a quick hint: Clicking off of the picture or pressing ESC will close Background Removal and let you see what your work looks like so far. You can go back into Background Removal and continue editing at any time – you can even save and exit and continue editing later.)

What to do?

When you start Background Removal, in addition to showing the marquee and what areas will be included and removed, the Ribbon also switches to a new contextual tab that features some new tools to help you fine-tune the result.


First let’s use “Mark Areas to Remove” to eliminate the background from inside the handle. If you choose the Remove marker you can draw a line to indicate that what’s under the line should be added to the background and removed from the picture. Remember that background removal is a smart process and all your marks are doing is giving it a hint about whether something is foreground or background. You don’t have to be precise or “color in” the area; a click and drag to make a quick line that crosses some of what needs to be removed is good enough. (For those of you who want more details on the technology Background Removal is based on, the paper here provides some details)


Now let’s add in what’s missing using the “Mark Areas to Keep” button. A couple quick Include marks include “Office,” and the cup edge.


Include marks also don’t need to cover the whole area you want to add, and it’s okay if they cover some of what already is included. You’ll note that I made one, long mark that crossed all of the portions of the Office logo that I wanted to add in. I could have made several smaller marks over the various letters, but fewer marks can often do the job quicker and with better results.

You’ll notice, though, that when I removed the background from inside the cup handle, Background Removal examined the entire image again and trimmed out a bit of the handle – that’s easily solved by simply adding an additional mark, but if the result seems unsatisfactory, you can use the “Delete Mark” option to simply to simply click on the mark to remove it and start over.

Let’s clean the handle area up, next. First zoom in using the zoom slider in the status bar to make that easier. When you’re zoomed in the picture becomes bigger but the marking lines remain the same size, which allows you to place them more precisely.


Once you choose to keep the changes, you have the cup isolated from the background.


What if you choose just to remove a small portion of the picture? For instance, you might like the curved look of the Office logo and decide I wanted to isolate it for a document.


You’ll notice that the size of the picture doesn’t change when you do Background Removal -- even though the bulk of your picture may be transparent, the whole thing is still there. If the result has too much white space, use Crop to remove the extra. By the way, using crop in this way is a trick that works with any picture that has a lot of transparency.


Once you’ve got a picture with no background, you’ve opened up your options for integrating those pictures into your document. In PowerPoint, we could use Brightness & Contrast to brighten it up a bit, add a shadow and put it on a nice background. Adding a small amount of Soft Edges, which is available in the Picture Effects dropdown in the Picture Tools tab, enhances the way your picture blends into the background.


Or in Word, we could use tight wrapping around the cup.


And don’t forget that you can use Artistic Effects and other photo editing tools after background removal.


That’s pretty much all there is to using background removal. More complicated pictures will take more marks to properly remove the background, while for simpler pictures merely using the marquee may do the trick. With some practice and experimentation, I’m sure you’ll find many ways to use Background Removal to make pictures a more integrated part of your documents.

Comments (22)
  1. thenonhacker says:

    Very cool!

    I like the reference to the Microsoft Research paper that made this technology possible!


    1. Is Background Removal standard across all Office Apps?

    2. Will the technology be opened up in .NET Framework just like what you did in SyncToy?

  2. David Diskin says:

    I would love to see features like this merged into other Microsoft applications such as Publisher and Expression Design.

    In fact, I would love to see a LOT more parity between the features of all of these applications.

  3. PetLahev says:


    I just want to have this cup 🙂

    Anyway, very good job, thanks for this article

  4. Vasudev says:

    Yes this is one of the coolest features. Can we have save option to save the picture? Or how about providing this tech in WL Photo Gallery?

  5. dbh says:

    That reminds me a need a good mug for my tea, one thing to add to my Christmas wish list.

  6. Jose Cortes says:

    Nice feature, background removal for the masses! I will forward this to my designer

  7. Dave says:

    Can you invert the selection – so you retain what was originally the background?  Sometimes it’s just easier to specify a selection this way.

  8. Sébastien Labonne says:

    Interesting feature.

    However, smoother edges would be an interesting addition.

    I tried it with some pictures, and I found that I needed lots of marks and that in the end, I was still not satisfied with the edges of the resulting picture.

  9. ian_pick says:

    in 10 years from now you will be able to “photoshop” inside a word application on your mobile phone.Coding has gone nuts since i started 12 years ago  :]

  10. jad says:

    Yeah please send me one of the cups! /jim

  11. jad says:

    Yeah, I’d love you to send me one of the cups!

    Happy holidays!! /jim

  12. Tucker Hatfield [MSFT] says:

    Some quick answers to questions above:

    Background removal in in Word, PowerPoint, Excel, and Outlook in Office 2010.

    We’ve gotten interest in Background Removal from other groups within MS, but I don’t know of any plans to expose it through .Net.  However, I wouldn’t be surprised to see it show up in other products.

    We do some modest edge smoothing, but not a lot.  For things that need more, as I mention using a bit of an edge blur helps a lot.

    After using Background Removal you can right-click on the picture and Save As Picture to use it elsewhere.

    We don’t support inverting the selection.

    I love the cup, too.  It was a “welcome to the team” gift when I came over to Office a few years ago.  I wish I could tell you where to get one.

  13. Matthew says:

    Why does background removal display as a modal tab instead of a contextual tab? Isn’t background removal a tool, not a mode?

  14. BlasterNT says:

    It was a contextual tab in the technical preview too…

  15. L-O Andersson, Sweden says:

    fantastic! Impresseing to have such a tool in a word processing program.

  16. Derrick Davies says:

    How do I remove send a smile & send a frown from my

    screen or computer


  17. Javierzv says:

    The option “background removal” don’t work.

    what can i do? to BR work

  18. Ben says:

    @derrick: You can uninstall send a smile from Add/Remove programs or Programs and Features.

    @david: I’d love to see a standardized Office Graphics platform as well. Since some Office products were purchased from outside companies (like Publisher and Visio) it takes a lot of work to get them all using the same graphics platform. Combine that with different graphics subsystems on different platforms (even across Windows versions) and you get a whole new level of complexity!

  19. Garry Trinder says:

    I have same problem with Javierzv up there.

    The button for “Remove Background” isn’t activated even when I double clicked picture as well as the button for “Artistic Effects”.

    Do you have any advice on that?

  20. Tucker Hatfield [MSFT] says:

    If you’re using Vista or Win 7, I’m not certain what may be causing your problem.  Background Removal is only supported on bitmap images (BMP, JPG, TIFF, etc) and you can not use if if you’ve multi-selected images.

    Background removal requires the Windows Imaging Components (WIC), so if you’re operating on XP w/o the most recent SP or on Server, you may not have it installed.  WIC is part of the latest .NET Framework, and can be downloaded from (

  21. davide says:

    Please enclose the cup in the next MSDN shipment!!


  22. Shubham says:

    thanks Hatfield. I didn’t knew that office 2010 can do remove backgrounds too..

Comments are closed.

Skip to main content