How to Remove a Photo Background Without It Showing
A clean cutout is decided when you shoot: separation, a contrasting background and even light. And which method to use for hard, soft or semi-transparent edges.
A clean cutout is decided when you shoot, not when you edit. A subject separated from the background, with a plain background of a different tone from the subject, and with even light, can be cut out in under a minute with any tool. The same subject against a shelf full of things the same color takes an hour of fighting and still looks cut out.
That's why this article starts where the problem starts. The second half (what to do when the file is already made and you can't reshoot) is also here, and there what rules isn't the program you use but what kind of edge your subject has.
Why do some cutouts take a minute and others don't?
Because every selection, automatic or manual, does the same thing: it looks for where the subject ends and the background begins. If that boundary is obvious (a clearly different tone, a clearly different focus, clear contrast) it finds it on its own. If the edge of the gray sweater melts into the gray wall, no algorithm can guess it, because the information isn't in the file.
Everything else follows from that.
The cutout starts at the shot
Five decisions at the moment of shooting, ordered by how much they save you later:
Separate the subject from the background. A meter between the person and the wall eliminates the cast shadow, which is the false edge that most confuses automatic selections and the one that looks worst if you leave it.
Choose a background of contrasting tone. You don't need a cyclorama: a plain wall in a color that doesn't appear in the subject already solves 90%. Avoid a background the same tone as the hair or clothing.
Light the background separately if you can. A uniformly lit background is selected in one go. One with a light gradient forces you to work in zones.
Use a medium or long focal length. A moderate telephoto compresses and blurs the background, and a blurred background has subject edges more defined by contrast. It also avoids distortion at the edges of the frame.
Mind the hair. No wind, no loose strands crossing a detailed background. A tied-up bun turns fifteen minutes of work into two.
If the background is going to be part of the photo instead of disappearing, the decision is different and it's in backgrounds for portraits.
Which method do I use depending on the edge?
This is the useful classification. Not by tool (they change every year) but by the physics of the edge you have to separate.
Edge type: Hard and geometric; Example: Box, book, building; Method: Pen-tool path or straight selection; Difficulty: Low; Typical mistake: Rounded corners from too much smoothing
Edge type: Hard and curved; Example: Bottle, cup, shoe; Method: Pen-tool path following the curve; Difficulty: Low; Typical mistake: The edge is left with a halo of the original background
Edge type: Soft; Example: Hair, fur, feathers; Method: Automatic selection and then edge refinement; Difficulty: High; Typical mistake: Cutting the hair out with scissors and leaving a helmet
Edge type: In motion; Example: Twirling skirt, water; Method: Edge refinement with partial transparency; Difficulty: High; Typical mistake: Freezing an edge that should be soft
Edge type: Semi-transparent; Example: Glass, veil, smoke; Method: Luminosity mask, not selection; Difficulty: Very high; Typical mistake: Treating it as opaque and losing what shows through behind it
The first two are solved with patience. The other three deserve a separate explanation, because most attempts fail by approaching them wrong.
Hair, fur and soft edges
A lock of hair doesn't have an edge: it has hundreds of individual hairs, and the background shows between them. If you cut it out as if it were an outline, you get that helmet silhouette that gives away the composite instantly.
The right way is to accept that the edge is partially transparent and work with that: a quick base selection, and then a refinement pass that decides, pixel by pixel, what proportion is hair and what proportion is background. Almost all editors have a function of this kind, with different names.
And there's a separate problem left: fine hairs carry color from the original background. On a green background, blond hair picks up green at the edges, and when you paste it onto white that green is still there. It's fixed by desaturating the edge or tinting it toward the hair color, and it's the step that separates a passable cutout from one you can't see.
Glass, smoke and veil
Here the usual approach fails completely. A glass goblet isn't an opaque object shaped like a goblet: it's a zone where the background is seen modified. If you cut it out and paste it onto another background, it still shows the old background inside.
The two real ways out are to photograph it directly on the final background, which is what any product photographer with a budget does, or to build the transparency with luminosity-based masks instead of outline selection. It's hours of work, not minutes, and it's worth knowing that before promising a deadline.
How do I know the cutout is wrong?
Four signals, and all four are easier to see if you put the cutout on a saturated-color background before calling it good:
A light or dark fringe following the whole outline. It's old background that stayed inside the selection.
Hair cut flush, with no loose strands.
Edges that are too perfect. A real photographed object has an edge with a pixel or two of transition. An edge with zero transition reads as a sticker.
The shadow doesn't match. If the subject was lit from the left and you paste it into a scene lit from the right, the brain detects it even if the cutout is perfect. This isn't fixed by cutting out better.
Save the file in a format that supports transparency
A detail that ruins the work at the end: JPEG has no alpha channel. If you export the cutout to JPEG, the transparent area is filled with white and you've lost the cutout. Save as PNG, TIFF or your editor's native format, as explained in image formats.
Frequently asked questions
Are automatic background removers enough?
For hard edges and contrasting backgrounds, yes, and they save a lot of time. They fail predictably in three cases: hair, transparencies and subjects the same tone as the background. They work very well as a first step to make the base selection that you then refine by hand.
What background is best for cutting out later?
A plain one, uniformly lit and in a tone that doesn't appear in the subject. White is convenient for products because it also bounces light. Green only pays off if you're going to use real chroma keying, and it has the drawback of tinting the edges and bright areas of the subject green.
Can I remove the background from a blurry or out-of-focus photo?
From an out-of-focus one, yes, carefully: the edge is wide and you have to respect that transition instead of hardening it. From a motion-blurred one, poorly, because the moving edge is partially transparent in a specific direction and almost no tool reconstructs it convincingly.
Why does my cut-out product look pasted onto the new background?
Almost always because of the shadow and the direction of the light, not the cutout. An object without a shadow floats. Add a contact shadow under the base, consistent with the light direction of the new background, and the composite settles in immediately. How to set up those shots from the start is in the product and commercial photography guide.
What to check before calling a cutout good
Put it on a saturated red background and look at the outline at 100%. If no fringe appears, the hair keeps loose strands and the shadow goes in the same direction as the new background's light, it's done. If you're going to cut out many similar shots, go back to the start of this page: half an hour setting up the background and the separation saves days of editor time, and it's exactly the same calculation made in product photography.
The 44 Enfogram cards come with the lighting and background-separation diagrams printed in A4 and A5, so you can set up the shot before the cutout becomes a problem.