The halo appears where the model cannot uniquely separate hair and old background.
Semi-transparent hairs mix the color of a person and their surroundings, and after changing the background, this mixture stays on the contour: a light border in the dark stage, a dark one in a bright one. You don't need to fix the whole portrait, you have to correct the silhouette boundary, the colour trail and the new light.
Why hair can not be cut as a flat object
The edge of the jacket has a clear boundary. The hairstyle doesn't have one: thin hairs miss the background, the fluff is blurred by depth of field, and shiny strands reflect the color of its surroundings; the algorithm actually decides for each pixel how much hair there is in it and how many backgrounds. A few percent error is imperceptible on the source, but becomes apparent after a sharp change of color.
There's a second reason: the new background can be cut correctly, but the light on the person continues to belong to the old scene. The cold blue backlight on your hair next to a warm wall reads like a halo, although technically it is part of the original portrait.
Determine the type of halo before regeneration
| What do you see? | Probable cause. | What to change |
|---|---|---|
| Smooth light stripe | There's an old background in the mask. | Clarify the edge of the silhouette |
| Colored individual hairs | Reflection of the old environment | Neutralize the edge color |
| The haircut looks cut out. | Loss of translucent hair | Restore natural detailing |
| The whole person doesn't match the scene. | Different lights and sharpness | Agree on the whole scene |
Check the result against a light, dark and medium background. In one color, the defect may disappear, but that doesn't mean that the outline is corrected. A scale of 150-200% is just for control: decisions about naturalness are still made at normal publication sizes.
What photos give a clean background replacement
- Contrast without relighting.Dark hair on a moderately light background is easier to separate than black strands in the shade.
- Sufficient head size.If the face occupies several tens of pixels, individual hairs can no longer be reliably restored.
- A sharp contour.Strong blur is permissible artistically, but leaves the models with few facts about the boundary.
- No complicated pattern behind his head.The leaves, grid and small signs intertwine with the hair and increase uncertainty.
You don't have to look for a studio shot. Often, just choose the next photo from the series, where the head is slightly larger, the background is calmer, and the hair does not merge with the shadow.
Formulate the task through conservation and local area
A useful instruction calls a new background, then limits the area of change and describes an edge criterion. For example: "Replace only the background with a light studio wall. Save face, hairstyle and head shape. Remove the color of the old background from the edge of your hair, save fine individual hairs and soft natural transition without light border."
If the first result is good everywhere except for the outline, don't start a complete re-creation. Local editing reduces the area of risk: the model does not have to reinvent the face, clothes and composition. If a person is illuminated on the opposite side of the new window, one mask will not solve the problem - you need a background with compatible light or neat correction of portrait illuminations.
Five signs of a natural edge
- There's no continuous laneIt's not on the light or the dark side of the background.
- Thin hairs unchoppedAnd they're not made into the same fluffy contour.
- The color of the edge is explained by lightIt's a new scene, not an old environment.
- Sharpness matches.The background does not look much clearer or softer than a person.
- The silhouette is read in the size of the publicationIt doesn't feel like a sticker.
How to Choose the Next Step in 30 Seconds
If the border repeats the entire silhouette in a flat stripe, specify the mask. If individual strands are painted, remove the color trail. if the edge is clean but the portrait still looks inserted, compare the direction of light, contrast and blur with the new background. Don't combine three tasks into an endless prompt: correct the cause found.
A clean outline begins with a correct diagnosis.
Not every halo is treated by re-removing the background. First, separate the mask error from the color trail and the mismatched light, then control only the problem area, so you have a better chance of saving your face and getting a natural result in one additional attempt.
