There is no single click function dedicated to do so(*), but the stock tools are capable to do it. Find an old copy of "Photoshop Channels Chops" By Monroy, Biedny and Moody for step by step instructions.
(*)The "Blend if" sliders in the advanced layer blending options could be worth exploring, I never tried them for that.
Beckdrop Designer is a Photoshop plugin that allows you to create beautiful resolution-independent backgrounds, similar to the expensive muslin drapes currently in your photo studio.
Learn how to optimize Photoshop for maximum speed, troubleshoot common issues, and keep your projects organized so that you can work faster than ever before!
Related Discussion Topics
Nice and short text about related topics in discussion sections