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

Feature request: color correction option for masks


Recommended Posts

This same technique will also work with Curves.

Affinity Photo 2, Affinity Publisher 2, Affinity Designer 2 (latest retail versions) - desktop & iPad
Culling - FastRawViewer; Raw Developer - Capture One Pro; Asset Management - Photo Supreme
Mac Studio with M2 Max (2023}; 64 GB RAM; macOS 13 (Ventura); Mac Studio Display - iPad Air 4th Gen; iPadOS 17

Link to comment
Share on other sites

The main idea of this request is to refine a luminosity mask. The level or curves use is the first step. After that you will apply brush with blend modes like overlay  to the combined mask and level or curve for get the right mask. With the smadell tip you can modify the luminosity of the mask using curves or levels, yes, but you lost the effect when try combine with the mask or you can't see what is happening if use a brush with a blend mode to refine the final mask.  For now I load the mask (alpha channel) as grey pixel layer , apply curve or level, work with brush set as overlay to get the right mask  and rasterize it like mask again. 

Link to comment
Share on other sites

What's the problem with that ?    I thought it always been possible:

image.png.1d34b017a9c771cc3b7aea35e4c9b3c2.png 

 

Contrary to Phs you can make a huge non-destructible mask editing only stack here.   Well, In Psh it's possible too  but you need groups clipping for that. Not a mask technically.

Also you can "release" the mask,  edit it separately, then make it back with  "mask to bellow" again 

 or you can put embedded document in a mask and if it's copy stay in the  main layer stack somewhere  you could edit that embedded doc  with the mask updating interactively

 

ps, the black fringe my example shows  is not a mask issue. it;s  8-bit per pixel  typical sRGB issue.   Switch the doc to linear 32 -bit and  and it will be correct.  Psh has same issue.

mask stack.afphoto

Link to comment
Share on other sites

1 hour ago, kirk23 said:

What's the problem with that ?    I thought it always been possible:

image.png.1d34b017a9c771cc3b7aea35e4c9b3c2.png 

 

Contrary to Phs you can make a huge non-destructible mask editing only stack here.   Well, In Psh it's possible too  but you need groups clipping for that. Not a mask technically.

Also you can "release" the mask,  edit it separately, then make it back with  "mask to bellow" again 

 or you can put embedded document in a mask and if it's copy stay in the  main layer stack somewhere  you could edit that embedded doc  with the mask updating interactively

 

ps, the black fringe my example shows  is not a mask issue. it;s  8-bit per pixel  typical sRGB issue.   Switch the doc to linear 32 -bit and  and it will be correct.  Psh has same issue.

mask stack.afphoto

Can you try adjusting the alpha of this image? I am not able to adjust alpha
https://us-browse.startpage.com/av/anon-image?piurl=https%3A%2F%2Fi.pinimg.com%2Foriginals%2F19%2F8d%2Fae%2F198daeda14097d45e417e62ff283f10e.png&sp=1615123961T5ebf27b8b1a9db51a2710103956de568b73935130237103eebcd5c9491b162cc

Link to comment
Share on other sites

1 hour ago, surajrv6 said:

Hi surajrv6,

just as kirk23 explained:

  1. Open the PNG file from your link (you must use "save link as", do not copy the image from browser)
  2. add a "levels" adjustment
  3. switch from "master" to "alpha" channel
  4. drag any of the sliders
  5. check with "info" panel and see that A will change

image.png.28e9bb5eb30d53903fa36ea86631c0bf.png

image.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

13 hours ago, NotMyFault said:

Hi surajrv6,

just as kirk23 explained:

  1. Open the PNG file from your link (you must use "save link as", do not copy the image from browser)
  2. add a "levels" adjustment
  3. switch from "master" to "alpha" channel
  4. drag any of the sliders
  5. check with "info" panel and see that A will change

image.png.28e9bb5eb30d53903fa36ea86631c0bf.png

image.png

Hi NotMyFault,

Thank you for the detailed explanation. Adjusting the luminosity of the mask is working now. But there is a limitation here.. What if I want to test the transparency behind a background? or with all the layers turned on? It Will not work in that case. I just tried putting a black BG to see the how the mask look. the adjustment layer just adjusts the transparency (alpha) of all the layers

 

Also attaching the affinity photo file

clouds.afphoto

Link to comment
Share on other sites

3 hours ago, surajrv6 said:

What if I want to test the transparency behind a background?

see in file I posted earlier , just put the levels on top of an object mask.   Or rather put the mask beneath levels

 

 

ps. also you can use erase blending  to replace the whole idea of masking

 

image.png.b2d8e77a62206aa313c02af394da99b1.png

and use  blend option to adjust the transparency without levels at all .

It's same as if you would make a clipping group in Photoshop  and use "blend if"  sliders   .

 

erase as mask.afphoto

Link to comment
Share on other sites

1 hour ago, kirk23 said:

see in file I posted earlier , just put the levels on top of an object mask.   Or rather put the mask beneath levels

 

 

ps. also you can use erase blending  to replace the whole idea of masking

 

image.png.b2d8e77a62206aa313c02af394da99b1.png

and use  blend option to adjust the transparency without levels at all .

It's same as if you would make a clipping layer in Photoshop  and use "blend if"  sliders   .

 

erase as mask.afphoto

Hmm... erase blending option is something I was looking for. Thank you!

Link to comment
Share on other sites

7 hours ago, kirk23 said:

see in file I posted earlier , just put the levels on top of an object mask.   Or rather put the mask beneath levels

 

 

ps. also you can use erase blending  to replace the whole idea of masking

 

image.png.b2d8e77a62206aa313c02af394da99b1.png

and use  blend option to adjust the transparency without levels at all .

It's same as if you would make a clipping group in Photoshop  and use "blend if"  sliders   .

 

erase as mask.afphoto

Consider this example. Suppose I want to fix the alpha (mask) of this sphere. (I have attached the image for anyone who would like to test) I want to remove the shadow alpha near the border so that when I place the image in a presentation I dont get this sharp edge on white BG
image.png.a095f1b6a68dfdefa6155a36ff81714c.png

image.png.4a3451c7676a379d7109f5379a8a65dc.png

This hard edge. I know this can be fixed using brush but photoshop makes it way easier by allowing to edit alpha. I just adjusted the levels. Below is the photoshop result. Now the erase blend does not work here because it works on all color and not just the mask's luminosity. I know this is possible with adjustment layers. But also consider that there are many solid layers stacked
image.png.24620a313cc33c149cc56248508e22b9.png

original image.png

Link to comment
Share on other sites

  • 3 weeks later...

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.