Image with the transparent object: We need to think here to apply 
ADVANCED PHOTOSHOP MASK. So, I used to take the 
Color Range in 
Photoshop to transparent its background. 
You should check a proper guideline to know about this function.  
https://helpx.adobe.com/photoshop/using/selecting-color-range-image.html
Now see, this is my result that I've done by 
Color Range. 
 
Masked Image
 
Now, this is the way that I've taken here. 
First, you need to create a clipping path here. Here the easy 5 steps to make Clipping Path 
https://www.behance.net/gallery/55323535/Clipping-Path-Tutorial
Go to 
Select > Color Range.
 
Check 
Localized Color Clusters and select 
Selection Preview Grayscale
Try to highlight most of your subject’s by clicking on the portion you want transparent. Make sure the background or other elements that are not glass not shown in gray. 
 
Click to Ok
 
Make a Copy from Background copy layer. 
 
Select 
Copy layer (Ctrl+Click) and delete the selection portion on 
background copy layer. 
 
Make a 
new layer under 
background copy layer and color it. Here I make it yellow. And reduce the Opacity of 
Copy layer
 
Now select your 
Path that you've done first> Inverse it (Ctrl+Shift+I) and delete the outside portion on 
Background copy layer. 
 
This was a quick example so it's not perfect. Some of the portions you need to clipping path and copy from the original layer with a bit more time and effort to make it perfect. If you need any help then don't forget to make a query again.