PS: Comprehensive application of matting
cut out the cup
Add layer mask cutout
insert image description here
(Note: The picture used is from one of my ps tutorials, if it is infringed, delete it)
(Maybe no one will read it, it takes too much time to do this for the first time, although it seems that it is against the law not to write the code here, I will write it later )
(Private message me if you don’t understand)