Fernando Ribeiro Posted July 15, 2017 Posted July 15, 2017 Hello I would like to create manually the frequency separation layers, as I prefer to use median blur instead of gaussian blur, but somehow I get stuck on apply image as it as fewer options than Photoshop. Can anyone point me to a tutorial or some resources as how I can do this? Thanks Quote Macbook Pro // M2 16GB // Ventura 13.2.1
toltec Posted July 15, 2017 Posted July 15, 2017 There is one video. Search for Affinity Photo - Frequency Separation I hope it helps Quote Windows PCs. Photo and Designer, latest non-beta versions.
Fernando Ribeiro Posted July 15, 2017 Author Posted July 15, 2017 Thanks but that is the automatic way, and not what I'm looking for. Quote Macbook Pro // M2 16GB // Ventura 13.2.1
MelG Posted July 16, 2017 Posted July 16, 2017 I'm not sure what you mean by manually doing this. Is this the video you say is of no help? https://youtu.be/J20_T-YQSYw Quote MelG If you want to tell people the truth, make them laugh, otherwise they'll kill you. - Oscar Wilde
Fernando Ribeiro Posted July 16, 2017 Author Posted July 16, 2017 Yes, that's the video. Let me explain a little better. In Affinity, you just got to Filters/Frequency Separation and that's it. In Photoshop, you have to: 1 - create two layers 2 - blur the bottom layer 3 - subtract the bottom layer from the upper layer 4 - change the top layer blending mode to Linear Light. Now, what I'm looking for is to recreate the steps on the photoshop, specially the step 3. Why? Because I don't like the gaussian blur and prefer to use median blur, and the Affinity filter uses gaussian blur. So the problem I have is with Apply Image. It doesn't have the same parameters as Photoshop, and I cannot recreate the effect. Hope this help clarifying what I'm looking for, and thank you for taking the time Quote Macbook Pro // M2 16GB // Ventura 13.2.1
Alfred Posted July 16, 2017 Posted July 16, 2017 If you don't like the built-in low frequency result, can't you simply delete that layer, paste the original image back in and apply the median blur that you prefer? Quote Alfred Affinity Designer/Photo/Publisher 2 for Windows • Windows 10 Home/Pro Affinity Designer/Photo/Publisher 2 for iPad • iPadOS 17.5.1 (iPad 7th gen)
Fernando Ribeiro Posted July 16, 2017 Author Posted July 16, 2017 On 7/16/2017 at 9:07 AM, Alfred said: If you don't like the built-in low frequency result, can't you simply delete that layer, paste the original image back in and apply the median blur that you prefer? Expand That wouldn't work because you have to split the image in a way that both layers, Low and High, when combined, form exactly the original image. By adding a new layer with a different blur and not subtracting it from the base image you're just adding additional information to the image that wasn't there in the first place. Quote Macbook Pro // M2 16GB // Ventura 13.2.1
Alfred Posted July 16, 2017 Posted July 16, 2017 I see, thanks. I thought I might have been missing something! Quote Alfred Affinity Designer/Photo/Publisher 2 for Windows • Windows 10 Home/Pro Affinity Designer/Photo/Publisher 2 for iPad • iPadOS 17.5.1 (iPad 7th gen)
toltec Posted July 16, 2017 Posted July 16, 2017 On 7/16/2017 at 8:34 AM, MartinsRibeiro said: In Photoshop, you have to: 1 - create two layers 2 - blur the bottom layer 3 - subtract the bottom layer from the upper layer 4 - change the top layer blending mode to Linear Light. Expand I see. That is an interesting approach but not what I would call "Frequency Separation". Quote Windows PCs. Photo and Designer, latest non-beta versions.
toltec Posted July 16, 2017 Posted July 16, 2017 Mind you, I don't have a better name :( Quote Windows PCs. Photo and Designer, latest non-beta versions.
R C-R Posted July 16, 2017 Posted July 16, 2017 On 7/16/2017 at 10:46 AM, toltec said: That is an interesting approach but not what I would call "Frequency Separation". Expand It seems consistent with what this "Ultimate Guide" suggests, except for the type of blur applied. I tried to duplicate that guide's 'Apply Image' method's steps in Affinity Photo but got stuck at step 3 -- I have no idea if there are equivalent settings in AP's "Apply image" filter for the ones shown for PS for scale & offset. Nothing I tried resulted in the high & low frequency layers I created using the guide's approach combining to look like the original image, as suggested in its step 4. Quote All 3 1.10.8, & all 3 V2.6 Mac apps; 2020 iMac 27"; 3.8GHz i7, Radeon Pro 5700, 32GB RAM; macOS 10.15.7 All 3 V2 apps for iPad; 6th Generation iPad 32 GB; Apple Pencil; iPadOS 15.7
Fernando Ribeiro Posted July 16, 2017 Author Posted July 16, 2017 I'm following a retouch tutorial by Sef McCullogh and it was him o suggested to use median blur instead of gaussian blur, to avoid having the edges blured. I've tested it and to me it's a great improvement, I guess there must be a way to do it, since the Frequency Separation filter in Affinity Photo does it. Quote Macbook Pro // M2 16GB // Ventura 13.2.1
toltec Posted July 16, 2017 Posted July 16, 2017 On 7/16/2017 at 11:03 AM, R C-R said: It seems consistent with what this "Ultimate Guide" suggests, except for the type of blur applied. Expand I suppose, but it still doesn't sound right. Quote Windows PCs. Photo and Designer, latest non-beta versions.
Fernando Ribeiro Posted July 19, 2017 Author Posted July 19, 2017 Issue solved! This is useful to subtract one layer from the other, for example for Frequency separation. So this is how I did it for a 8 bits image (16 bits should need a change in the 2 and .5 values bellow) 1 - Create two layers with the same image 2 - Change the layer bellow as you like (gaussian blur, median blur or anything else) 3 - Make the top layer Linear Light (could be done afterwords but if you do it before Applying image, it's easy to see the result as it happens) 4 - Apply image with the following parameters: Source: layer bellow modified Blend mode: Normal Equations: on DR=(DR-SR)/2+0.5 DG=(DG-SG)/2+0.5 DB=(DB-SB)/2+0.5 DA=DA (no change to the Alpha ) A couple of explanations. In the equations: DR stands for Destination Red an is the value of the Red in the layer you chose to Apply image (in this case the top Layer) SR stands for Source Red and is the value of the Red in the source layer (in this case the layer bellow) The 2 and 0.5 are based on this info: https://helpx.adobe.com/photoshop/using/channel-calculations.html (look for "Add and Subtract blending modes") Hope this helps for future reference. R C-R, Monseg, lacerto and 8 others 7 4 Quote Macbook Pro // M2 16GB // Ventura 13.2.1
R C-R Posted July 19, 2017 Posted July 19, 2017 MartinsRibeiro: Great work figuring this out!!! I tried making a macro to do your steps and almost succeeded. The problem seems to be in your step 4: I can select the blurred layer as the source by dragging it into the Apply Image window & I can apply the equations without errors while recording the macro, but it doesn't actually seem to be using the blurred layer as the source -- I just get a uniform 50% grey layer. My guess is that the macro can't, in its current fairly crude state of development, actually record the drag & drop action so the source channels are undefined or something. However, doing all your steps manually works perfectly. Quote All 3 1.10.8, & all 3 V2.6 Mac apps; 2020 iMac 27"; 3.8GHz i7, Radeon Pro 5700, 32GB RAM; macOS 10.15.7 All 3 V2 apps for iPad; 6th Generation iPad 32 GB; Apple Pencil; iPadOS 15.7
Fernando Ribeiro Posted July 20, 2017 Author Posted July 20, 2017 I've also tried a macro and what I found out is that the action memorizes the content of the layer used when creating the macro. Try using the action on a different image from the one you used when creating the macro and check it out. So the next step is to improve the macros to use the apply image. Quote Macbook Pro // M2 16GB // Ventura 13.2.1
R C-R Posted July 20, 2017 Posted July 20, 2017 On 7/20/2017 at 6:37 AM, MartinsRibeiro said: I've also tried a macro and what I found out is that the action memorizes the content of the layer used when creating the macro. Try using the action on a different image from the one you used when creating the macro and check it out. Expand Yes, it is as you say, or it least it is after I fixed a stupid error I made in the macros I was experimenting with. Doh! It is a pity the only option in the macro for the Apply Image filter is setting the opacity. If it just had an option to allow the user to select the source image when the macro ran, it would be a workable solution. Quote All 3 1.10.8, & all 3 V2.6 Mac apps; 2020 iMac 27"; 3.8GHz i7, Radeon Pro 5700, 32GB RAM; macOS 10.15.7 All 3 V2 apps for iPad; 6th Generation iPad 32 GB; Apple Pencil; iPadOS 15.7
Fernando Ribeiro Posted July 20, 2017 Author Posted July 20, 2017 On 7/20/2017 at 8:52 AM, R C-R said: Yes, it is as you say, or it least it is after I fixed a stupid error I made in the macros I was experimenting with. Doh! It is a pity the only option in the macro for the Apply Image filter is setting the opacity. If it just had an option to allow the user to select the source image when the macro ran, it would be a workable solution. Expand I've already posted a feature request with exactly that. Let's hope it comes out in the next update. Quote Macbook Pro // M2 16GB // Ventura 13.2.1
R C-R Posted July 20, 2017 Posted July 20, 2017 For what little it is worth, I added a "+1" to your feature request & a link back to this topic. I know the developers have said they want to improve the macro feature in the future, but it is unclear if that will happen in a 1.x update or in a 2.x paid upgrade. I am guessing that will include better editing for saved macros or when recording new ones (like being able to add, delete, or change a step anywhere in the macro) & maybe some more powerful features like conditionals, loops, & branching, as well as giving us more options for actions currently supported. I think (but what do I know?) that adding the ability to set the source for the Apply Image step might be doable even in the current implementation, so it could make its way into a 1.x update. One can hope... Quote All 3 1.10.8, & all 3 V2.6 Mac apps; 2020 iMac 27"; 3.8GHz i7, Radeon Pro 5700, 32GB RAM; macOS 10.15.7 All 3 V2 apps for iPad; 6th Generation iPad 32 GB; Apple Pencil; iPadOS 15.7
Fotoloco Posted June 11, 2018 Posted June 11, 2018 There's an easy way to do this. Took me longer than it feels it should've to figure out, but the answer is here: Quote Apparently, Affinity makes the high pass layer by inverting the low pass layer, and blending it with the original layer (50% opacity, normal mode). When it is going haywire in LAB mode, it is setting the opacity of this inverted low pass layer to 100%. Expand I tested it with median blur as well and it works great. I agree that the median blur works better in many cases than gaussian due to less smudging of color. Also, a lot less color ends up in the high pass layer with median blur. Finally, if you want to isolate color in a separate layer, or strictly in the low pass layer, use LAB mode and do the frequency separation on the luminosity layer. Works great in my experience. Roger C 1 Quote
Roger C Posted June 11, 2018 Posted June 11, 2018 Thanks @Fotoloco Isolating colour to the low pass layer will finally make frequency separation properly useful. Does anyone happen to have a step-by-step idiots guide as to how to accomplish this? R Quote Affinity Designer & Photo : Win 10
Fotoloco Posted June 11, 2018 Posted June 11, 2018 1. Convert your image to LAB mode. 2. Duplicate the layer, and name the lower one "L" (luminosity) and the upper one "C" (color). 3. Go to the channels studio for "L" and click on the "..." for AOpponent, and click "Clear". Do the same for BOpponent. 4. Go to the channels studio for "C" and click on the "..." for Lightness, and click "Clear" and then "Invert". 5. Change the blend mode for "C" to "Color". 6. Duplicate "L" and name the lower one "L blur", then apply a blur filter of your choice (Gaussian or median, etc.) to this layer. 7. Create a new group named "High pass" and place "L" inside it. Then, duplicate "L blur" and place it above "L" (inside the "High pass" group). 8. Go to the channels studio for the copy of "L blur" inside the "High pass" group, click the "..." for Lightness, and click "Invert". Set the blend opacity to 50% (blend mode normal). 9. Set the blend mode for the "High pass" group to linear light, and then rasterize the group if you wish. gkulka, Roger C and Lance_G 2 1 Quote
Roger C Posted June 12, 2018 Posted June 12, 2018 !! I 'm so glad I asked... There is absolutely nooo way I could have worked all that out by myself! Thank you so much for this step-by-step. Now to give it a whirl. R Quote Affinity Designer & Photo : Win 10
gkulka Posted June 16, 2018 Posted June 16, 2018 @Fotoloco Great stuff - but which "L" layer should be one to apply corrections ? Quote Regards, Greg
Omprakash Selvaraj Posted December 4, 2018 Posted December 4, 2018 On 7/19/2017 at 9:05 PM, MartinsRibeiro said: Issue solved! This is useful to subtract one layer from the other, for example for Frequency separation. So this is how I did it for a 8 bits image (16 bits should need a change in the 2 and .5 values bellow) 1 - Create two layers with the same image 2 - Change the layer bellow as you like (gaussian blur, median blur or anything else) 3 - Make the top layer Linear Light (could be done afterwords but if you do it before Applying image, it's easy to see the result as it happens) 4 - Apply image with the following parameters: Source: layer bellow modified Blend mode: Normal Equations: on DR=(DR-SR)/2+0.5 DG=(DG-SG)/2+0.5 DB=(DB-SB)/2+0.5 DA=DA (no change to the Alpha ) A couple of explanations. In the equations: DR stands for Destination Red an is the value of the Red in the layer you chose to Apply image (in this case the top Layer) SR stands for Source Red and is the value of the Red in the source layer (in this case the layer bellow) The 2 and 0.5 are based on this info: https://helpx.adobe.com/photoshop/using/channel-calculations.html (look for "Add and Subtract blending modes") Hope this helps for future reference. Expand Well Done Martin! I was looking for this. Excellent job! Thank you! Quote
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.