PhotoshopForums.com Home
Navigate Contact FAQ Search Members
How to merge layers (actual pixel data)?
Post new topic   Reply to topic    PhotoshopForums.com Forum Index -> General Photoshop and Design Discussion
 See a User Guidelines violation? Please contact us.
Author Message

tomas62

Joined: 16 Jun 2012
Posts: 16



PostPosted: Sat Jun 16, 2012 7:26 am    Post subject: How to merge layers (actual pixel data)? Reply with quote

How do I merge (average-out) layers?

For example, if I have an image in layer 1 which has lots of reds, and an image in layer 2 which has lots of blues, how can I simply select the two layers and merge/average-out them? So the resulting 'merged' layer is purple?

Please note, this method needs to work with multiple layers (sometimes much more than 2!) and each image/layer needs to be weighed equally.

I know how to average out two images. I just make the above layer 50% opacity. But the percentages get more complicated as you have more images and more tedious. Would be nice if there was a 'average out selected layers' button...

Any ideas?

Thanks!
View user's profile Send private message

SCTRWD

Joined: 20 Jul 2011
Posts: 79



PostPosted: Sat Jun 16, 2012 10:08 am    Post subject: Reply with quote

There is nothing complicated about average. The formula is simple:
100/N,
where N is the position of layer. That is: the first layer -(the bottom one) - 100%
the second - 100/2 = 50%
the third - 100/3 = 33,3%
the fourth - 100/4 = 25%
the fifth - 100/5 = 20%
and so on...

This is classic. But you can, of course, do it modern way: simply select your layers, turn them to Smart Object and choose Layer->Smart Objects->Stack Mode->Mean. Big Wink
View user's profile Send private message

tomas62

Joined: 16 Jun 2012
Posts: 16



PostPosted: Sat Jun 16, 2012 6:49 pm    Post subject: Reply with quote

Hi, thanks for explaining that! I always wondered how the percentages were calculated, and had a feeling they would decrease as you go up, but couldn't figure out how it was done.

However, I'm having trouble getting the modern way to work.

'Stack mode' is grayed out and I can't select it.
View user's profile Send private message

SCTRWD

Joined: 20 Jul 2011
Posts: 79



PostPosted: Sat Jun 16, 2012 8:54 pm    Post subject: Reply with quote

Make sure you did everything right:

Select all your layers in the Layers panel, then go to
Layer->Smart Objects->Convert to Smart Object, then choose Layer->Smart Objects->Stack Mode->Mean.
View user's profile Send private message

tomas62

Joined: 16 Jun 2012
Posts: 16



PostPosted: Sat Jun 16, 2012 10:58 pm    Post subject: Reply with quote

Ah! I got it working Big Grin

Thanks a lot! I did a right-click smart object before that's probably why it didn't work.
View user's profile Send private message

andyhaha

Joined: 16 Jun 2012
Posts: 3



PostPosted: Sat Jun 16, 2012 11:47 pm    Post subject: Reply with quote

SCTRWD wrote:
There is nothing complicated about average. The formula is simple:
100/N,
where N is the position of layer. That is: the first layer -(the bottom one) - 100%
the second - 100/2 = 50%
the third - 100/3 = 33,3%
the fourth - 100/4 = 25%
the fifth - 100/5 = 20%
and so on...

This is classic. But you can, of course, do it modern way: simply select your layers, turn them to Smart Object and choose Layer->Smart Objects->Stack Mode->Mean. Big Wink


wow thanks for the explanation.

_________________
Ilmu Photoshop
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    PhotoshopForums.com Forum Index -> General Photoshop and Design Discussion All times are GMT - 6 Hours
Page 1 of 1
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Contact - User Guidelines >

Copyright © 2003-2016. PhotoshopForums.com, iFroggy Network. All Rights Reserved.
Powered by phpBB © phpBB Group. phpBB SEO. Privacy Policy.
We are in no way affiliated with Adobe. Photoshop, Adobe and related marks are registered trademarks of Adobe.
PhotoshopForums.com