Jump to content

Recommended Posts

Posted (edited)

Hi, I'm new to Affinity and I'm trying to remove a background from an image. I used the selection brush to select my subject that I want to keep in while removing the background. When I remove the background, it leaves some area outside the selection (shown in the second pic). Has anyone had an issue like this before or know how to fix it?

 

image.png.5169b05d22f8fe9c4eaee2e36d707766.pngimage.png.8e2c91d803050c277a92da55f7768f34.png

Edited by Anonymous_
Posted

This can happen especially when you use "refine selection". If you need a hard edge for your selection, don't use refine selection.

 

Mac mini M1 A2348 | MBP M3 

Windows 11 - AMD Ryzen 9 5900x - 32 GB RAM - Nvidia GTX 1080

LG34WK950U-W, calibrated to DCI-P3 with LG Calibration Studio / Spider 5 | Dell 27“ 4K

iPad Air Gen 5 (2022) A2589

Special interest into procedural texture filter, edit alpha channel, RGB/16 and RGB/32 color formats, stacking, finding root causes for misbehaving files, finding creative solutions for unsolvable tasks, finding bugs in Apps.

I use iPad screenshots and videos even in the Desktop section of the forum when I expect no relevant difference.

 

Posted

Great

1 hour ago, NotMyFault said:

This can happen especially when you use "refine selection". If you need a hard edge for your selection, don't use refine selection.

 

Great thanks

Posted

My experience in extracting people from complex backgrounds is that this always happens. I always have to clean up the mask produced when the selection is output.

You must also clean up the portion of the mask that exposes the subject itself. There is always spillage (or whatever the appropriate term might be) onto the subject itself.

Just as you clean up the mask by painting on the mask with white outside the subject, so you must clean up the mask by painting on the mask with black over the subject itself to ensure the transparent area is fully transparent. You can alt-click on the mask icon to see it in black and white.

Since I am selecting subjects with hair flying around, I can't avoid using Refine Selection so far as I know. That's what all the tutorials show that I've seen. Some suggest just wiping out the loose hair and drawing in your own version with a suitable brush. That's beyond my limited artistic ability.

Various solutions have been proposed in tutorials and in these forums for dealing with masking artifacts. I only do a few of these extractions each year, so I haven't studied the solutions in detail. Perhaps others with more experience will add to this thread.

Affinity Photo 2.6.3 (MSI); Affinity Publisher 2.6.3 (MSI). Windows 11 Home Version 24H2
Dell XPS 8940, 64 GB Ram, Intel Core i7-11700K @ 3.60 GHz, NVIDIA GeForce RTX 3060

Posted

If you want a clean mask for that specific file, I would use the pen tool and create a vector mask (curve layer). When done, add a little bit of Gaussian blur via layer fx.

Selection brush and all other pixel based tools won’t give pleasant results, the contrast in the image is too low.

Mac mini M1 A2348 | MBP M3 

Windows 11 - AMD Ryzen 9 5900x - 32 GB RAM - Nvidia GTX 1080

LG34WK950U-W, calibrated to DCI-P3 with LG Calibration Studio / Spider 5 | Dell 27“ 4K

iPad Air Gen 5 (2022) A2589

Special interest into procedural texture filter, edit alpha channel, RGB/16 and RGB/32 color formats, stacking, finding root causes for misbehaving files, finding creative solutions for unsolvable tasks, finding bugs in Apps.

I use iPad screenshots and videos even in the Desktop section of the forum when I expect no relevant difference.

 

Posted

Thanks for the input guys. I'd say for now for me it's better to use the pen tool to cut out more complex images and wait until the guys at Affinity improve the selection brush in the future.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...

Important Information

Terms of Use | Privacy Policy | Guidelines | We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.