Home > Article > Web Front-end > What color is the hidden part of the mask?
The black color in the mask is the hidden part. The mask is the outside of the marquee (the inside of the marquee is the selection). It can be understood as an occlusion map. The blocked (black) part of the picture is not displayed, the unblocked (white) part of the picture is displayed, and the semi-blocked (gray) part is displayed. The image is displayed semi-transparently, and the degree of translucency depends on the brightness of the gray.
Suitable for all brands of computers.
The mask is the outside of the marquee (the inside of the marquee is the selection). The word mask itself comes from daily life application, which means "the board covered on it".
For example: when writing or spray-painting the same content (such as numbers, graphics), the shape of the content will be cut out on some boards (made of paper, wood, metal), and the board will be covered. on the object, and then spray color on it. After taking off the board, graphics, numbers, etc. will be printed on it. Looking back at the board, the shape of the blank area that is cut out is the selection, and the area that has not been cut out is the board left on it. Therefore, opposite to the selection, the outside of the selection frame is called a mask.
Although the mask is a kind of selection area, it is quite different from the regular selection area. The conventional selection shows an operation tendency, which is to process the selected area; the mask is the opposite, it protects the selected area from operation, and applies operations to the non-masked areas.
To sum up, the mask is the part outside our selection, responsible for protecting the content of the selection. Since the area covered by the mask is not affected when we edit the selection, it needs to be left intact. Therefore, it needs to be displayed on the layer (visible in the overall picture). From this perspective, understanding The black color of the mask (that is, the protected area) is completely transparent, the white color (that is, the selected area) is opaque, and the gray is in between (partial selection, partial protection).
Masks in ps are usually divided into three types, namely layer masks, clipping masks, and vector masks.
The function of mask:
If you want to apply color changes, filters and other effects to a specific area of the image, it is not selected The area (that is, the black area) will be protected and isolated from editing. To put it bluntly, masks and circle selection areas are similar in use and effect, but masks can use most of Photoshop's functions and even filters to describe the specific areas you want to operate in more detail.
You can understand the mask from several aspects. For example, from the perspective of channels, white represents the selected area, and the area containing grayscale is partially selected, or it is the opacity medium of the area. between 0 and 100.
Take the layer mask as an example. Without modifying the original image, that is, without adding a mask, you can imagine that the mask is all white. If the entire image is covered by the mask, it will be masked in the color channel. It is black. If you want to cover a certain part, use a brush (foreground black) to paint, then there will be a layer of mask on the painted part. If you want to remove a certain part of the mask, you only need to use a brush with the foreground color to be white. smear.
The principle of black and white is only suitable for the masks of photoshop and AE, while the masks of Flash are black and white swap.
The above is the detailed content of What color is the hidden part of the mask?. For more information, please follow other related articles on the PHP Chinese website!