Jump to content
You must now use your email address to sign in [click for more info] ×

Refining Adding Darkness And Greyness


Recommended Posts

The three images below show the subject in:

1) The original image layer

2) The new refined layer and mask of the subject

3) Number 2 on top of number 1.

Why has the feathered outline area (around the head and neck) that I manually Refined, turned much darker than the original image? This is noticeable both in 2) and 3).

Also, often when I select an area and Refine it, the subsequent new layer and mask show a lot of grey patches where I have manually Refined. I usually erase these, but then the original image layer becomes visible beneath, and this is often noticeable enough to render the new layer and mask unuseable.

 

photo_2023-01-12_15-18-05.jpg

photo_2023-01-12_15-18-05 - TEST #1.png

photo_2023-01-12_15-18-05 - TEST #2.jpg

Affinity Photo 1.10.6.1665 / Affinity Publisher 1.10.6 - Win 10 Home 64 bit 22H2, OS Build 19045.2251 - Asus ROG G20CB - i5-6400 2.7ghz - 8gb RAM - NVIDIA GX950- BenQ BL2783

Link to comment
Share on other sites

Maybe there is a doubling effect, so if you have two layers the same but one is masked the one below will make the one above darker because you are overlaying one on top of another.

 

 

iMac 27" 2019 Somona 14.3.1, iMac 27" Affinity Designer, Photo & Publisher V1 & V2, Adobe, Inkscape, Vectorstyler, Blender, C4D, Sketchup + more... XP-Pen Artist-22E, - iPad Pro 12.9  
B| (Please refrain from licking the screen while using this forum)

Affinity Help - Affinity Desktop Tutorials - Feedback - FAQ - most asked questions

Link to comment
Share on other sites

On 1/12/2023 at 11:31 PM, firstdefence said:

Maybe there is a doubling effect, so if you have two layers the same but one is masked the one below will make the one above darker because you are overlaying one on top of another.

 

 

Hi, thanks for your reply. But the darkening effect is happening only on the edges of the subject, where I have used the refining brush. The grey patches also appear where the refining brush has been used. The rest (majority) of the subject remains the same when layered over a copy of itself.

Affinity Photo 1.10.6.1665 / Affinity Publisher 1.10.6 - Win 10 Home 64 bit 22H2, OS Build 19045.2251 - Asus ROG G20CB - i5-6400 2.7ghz - 8gb RAM - NVIDIA GX950- BenQ BL2783

Link to comment
Share on other sites

Can you please provide a screen recording or set of screenshots of all steps you to to select and create the layer based on the selection?
 

This behavior is not „mandatory“, but depending on your workflow it might be a side-effect of chosen parameters for „refine mask“

Option 1: using pure mask

  • Have only the original image as sigle layer within photo open
  • create a selection by brush.
  • If using refine: use output „selection“!!!!!!
  • convert to mask (by creating a mask while the selection is active)
  • important: deactivate selection!!!!! (Otherwise you might create the darkening effect)
  • merge visible
  • ceactivate mask layer
  • Now you have 2 layers: the source bottom, the cut-out on top
  • you can toggle the top layer visibility: no darkening effect

Option 2:  Using refine and output „new layer“ 

  • same process as above, but choose „new layer“ as output for refine
  • This will change colors ad edge pixels to remove color contamination, and may impact brightness 
  • If you toggle visibility, you may see the darkening effect

 

Mac mini M1 A2348 | Windows 10 - AMD Ryzen 9 5900x - 32 GB RAM - Nvidia GTX 1080

LG34WK950U-W, calibrated to DCI-P3 with LG Calibration Studio / Spider 5

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.

 

Link to comment
Share on other sites

You can see the darkening effect of color decontamination if you choose „new layer with mask“, and then deactivate the mask. The edge pixels got almost black.

While mask active:

383D83A4-942E-4D97-97DA-3454BB368AAA.thumb.png.e0b800a6800b5806df9baf9a38ca7727.png

Mask deactive:

 

4F851380-4ED4-44C9-B1BA-ACEB1147635B.thumb.png.b73039c872017c75a2095c93bac39892.png

Mac mini M1 A2348 | Windows 10 - AMD Ryzen 9 5900x - 32 GB RAM - Nvidia GTX 1080

LG34WK950U-W, calibrated to DCI-P3 with LG Calibration Studio / Spider 5

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.

 

Link to comment
Share on other sites

Thinking again: this might be a bug of color decontamination going too far, or missing brightness compensation.

I never liked how this feature worked, and avoid it.

My alternative solution is to always use „mask“ as output method, or „selection“ and the converting selection to mask as described above.

If i need color decontamination, i simply add an HSL or vibrance adjustment, fully de-saturate, and then invert mask and brush in again whith white brush the edge area where i really need decontamination. Depending on the new background color, you may need additional adjustments to blend this composition. 

 

https://affinity.help/photo2/en-US.lproj/pages/Selections/selections_refine.html

 

 

62725869-D76A-4CA8-8D76-BCDAF94D2774.png

Mac mini M1 A2348 | Windows 10 - AMD Ryzen 9 5900x - 32 GB RAM - Nvidia GTX 1080

LG34WK950U-W, calibrated to DCI-P3 with LG Calibration Studio / Spider 5

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.

 

Link to comment
Share on other sites

On 1/14/2023 at 10:51 AM, NotMyFault said:

Thinking again: this might be a bug of color decontamination going too far, or missing brightness compensation.

I never liked how this feature worked, and avoid it.

My alternative solution is to always use „mask“ as output method, or „selection“ and the converting selection to mask as described above.

If i need color decontamination, i simply add an HSL or vibrance adjustment, fully de-saturate, and then invert mask and brush in again whith white brush the edge area where i really need decontamination. Depending on the new background color, you may need additional adjustments to blend this composition. 

 

https://affinity.help/photo2/en-US.lproj/pages/Selections/selections_refine.html

 

 

62725869-D76A-4CA8-8D76-BCDAF94D2774.png

Thanks for all your assessing and troubleshooting. I really appreciate it. I haven't yet had the opportunity to review all your points, but will do so over the ensuing days. Again, many thanks for your thoroughness and testing.

Affinity Photo 1.10.6.1665 / Affinity Publisher 1.10.6 - Win 10 Home 64 bit 22H2, OS Build 19045.2251 - Asus ROG G20CB - i5-6400 2.7ghz - 8gb RAM - NVIDIA GX950- BenQ BL2783

Link to comment
Share on other sites

 

I would like to explain my method  how to perfectly blend cutouts with background replacements  in more depth, and need an example file. 

Would you allow me to use your excellent images for a tutorial ?

Mac mini M1 A2348 | Windows 10 - AMD Ryzen 9 5900x - 32 GB RAM - Nvidia GTX 1080

LG34WK950U-W, calibrated to DCI-P3 with LG Calibration Studio / Spider 5

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.

 

Link to comment
Share on other sites

2 hours ago, NotMyFault said:

 

I would like to explain my method  how to perfectly blend cutouts with background replacements  in more depth, and need an example file. 

Would you allow me to use your excellent images for a tutorial ?

These emu images are terrible, though you can use them if you want. They were taken by a friend on a mobile phone. Next time I'm at the field (within the next few days), and there's a blue sky as a background, I'll take some better photos of the emu and post them here for you to use. Or alternatively, I have some images here that might suit your purpose:

https://postimg.cc/gallery/mgBbcFG

Affinity Photo 1.10.6.1665 / Affinity Publisher 1.10.6 - Win 10 Home 64 bit 22H2, OS Build 19045.2251 - Asus ROG G20CB - i5-6400 2.7ghz - 8gb RAM - NVIDIA GX950- BenQ BL2783

Link to comment
Share on other sites

2 hours ago, justinpbrown71 said:

These emu images are terrible, though you can use them if you want. They were taken by a friend on a mobile phone. Next time I'm at the field (within the next few days), and there's a blue sky as a background, I'll take some better photos of the emu and post them here for you to use. Or alternatively, I have some images here that might suit your purpose:

https://postimg.cc/gallery/mgBbcFG

Thanks a lot. Impressive gallery.

Mac mini M1 A2348 | Windows 10 - AMD Ryzen 9 5900x - 32 GB RAM - Nvidia GTX 1080

LG34WK950U-W, calibrated to DCI-P3 with LG Calibration Studio / Spider 5

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.

 

Link to comment
Share on other sites

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.