surajrv6 Posted March 2, 2021 Share Posted March 2, 2021 In photoshop, there is an option where it is possible to curve adjust or level adjust the black and white values of the masks. This comes handy when I need to adjust the alpha of a 3d render. I miss this feature a lot. telemax and xuxing 2 Quote Link to comment Share on other sites More sharing options...
Beatriz Castillo Posted March 2, 2021 Share Posted March 2, 2021 (edited) I second this request It's a must when working with mask and luminosity mask. For now I load the mask (alpha channel) as grey, apply curve or level and rasterize it like mask again. But this option can save a lot of time. Edited March 2, 2021 by Beatriz Castillo surajrv6 1 Quote Link to comment Share on other sites More sharing options...
xuxing Posted March 6, 2021 Share Posted March 6, 2021 aye aye, I need this too. Quote Link to comment Share on other sites More sharing options...
smadell Posted March 6, 2021 Share Posted March 6, 2021 This same technique will also work with Curves. Apply Levels to Mask.mp4 surajrv6 1 Quote 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 More sharing options...
Beatriz Castillo Posted March 7, 2021 Share Posted March 7, 2021 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. Quote Link to comment Share on other sites More sharing options...
kirk23 Posted March 7, 2021 Share Posted March 7, 2021 What's the problem with that ? I thought it always been possible: 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 surajrv6 1 Quote Link to comment Share on other sites More sharing options...
surajrv6 Posted March 7, 2021 Author Share Posted March 7, 2021 1 hour ago, kirk23 said: What's the problem with that ? I thought it always been possible: 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 alphahttps://us-browse.startpage.com/av/anon-image?piurl=https%3A%2F%2Fi.pinimg.com%2Foriginals%2F19%2F8d%2Fae%2F198daeda14097d45e417e62ff283f10e.png&sp=1615123961T5ebf27b8b1a9db51a2710103956de568b73935130237103eebcd5c9491b162cc Quote Link to comment Share on other sites More sharing options...
NotMyFault Posted March 7, 2021 Share Posted March 7, 2021 1 hour ago, surajrv6 said: Can you try adjusting the alpha of this image? I am not able to adjust alphahttps://us-browse.startpage.com/av/anon-image?piurl=https%3A%2F%2Fi.pinimg.com%2Foriginals%2F19%2F8d%2Fae%2F198daeda14097d45e417e62ff283f10e.png&sp=1615123961T5ebf27b8b1a9db51a2710103956de568b73935130237103eebcd5c9491b162cc Hi surajrv6, just as kirk23 explained: Open the PNG file from your link (you must use "save link as", do not copy the image from browser) add a "levels" adjustment switch from "master" to "alpha" channel drag any of the sliders check with "info" panel and see that A will change surajrv6 1 Quote 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 More sharing options...
surajrv6 Posted March 8, 2021 Author Share Posted March 8, 2021 13 hours ago, NotMyFault said: Hi surajrv6, just as kirk23 explained: Open the PNG file from your link (you must use "save link as", do not copy the image from browser) add a "levels" adjustment switch from "master" to "alpha" channel drag any of the sliders check with "info" panel and see that A will change 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 Quote Link to comment Share on other sites More sharing options...
kirk23 Posted March 8, 2021 Share Posted March 8, 2021 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 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 surajrv6 1 Quote Link to comment Share on other sites More sharing options...
surajrv6 Posted March 8, 2021 Author Share Posted March 8, 2021 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 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! Quote Link to comment Share on other sites More sharing options...
surajrv6 Posted March 8, 2021 Author Share Posted March 8, 2021 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 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 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 Quote Link to comment Share on other sites More sharing options...
Max P Posted March 12, 2021 Share Posted March 12, 2021 Hi surajrv6, Put a pixel layer on the top, put it in erase mode paint on the edge witl a brush about 22 % opacity, (you can adjust with %) Also you have with level or curve, alpha option Quote Link to comment Share on other sites More sharing options...
surajrv6 Posted April 2, 2021 Author Share Posted April 2, 2021 I just realised today that even Gimp allows to level correct alpha mask Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.