Dear readers, have you ever encountered the problem of replacing colors in batches for a large number of pixels when using AI technology to process images? PHP editor Youzi has brought you a detailed operation guide, taking you step by step to understand how to use AI technology to efficiently complete this task. This article will introduce the principle, required tools and specific steps of AI color replacement in an in-depth and simple way, helping you easily cope with the challenge of batch color replacement.
1. As shown in the figure. There are 9 figures in total; for ease of explanation, each figure is numbered here.
2. No. 1, No. 2, No. 3, No. 4, No. 5, and No. 9. These 6 graphics are all drawn with black borders; suppose now we want to The shape is also replaced with a fill color of yellow, and the black stroke remains unchanged. Then you can do this, first click on any of the six graphics to select it. For example, click on graphic No. 1 and select graphic No. 1.
3. In the menu bar, click sequentially: Select-Same-Stroke Color, look, No. 1, No. 2, No. 3, No. 4, No. 5, No. 9, These 6 graphics are all selected.
4. Under the toolbox on the left side of the interface, click the filled color block with the mouse so that the filled color block is on top and the stroke color block is on the bottom.
PS: Now you see one filled color block? No. because the selected graphics have different fill colors.
5. Press F6 to call up the color, which is displayed on the right side of the interface. Place the mouse here on the color plate. The mouse is in the shape of a straw. Place it here on yellow to absorb yellow.
6. The fill colors of the six selected graphics will be replaced with yellow at the same time.
7. Suppose you want to replace the red graphics (graphics No. 6 and 7) with blue; then, click on the graphics No. 6 or 7, and then click :Select-Same, click :Fill Color in the pop-up submenu.
Graphics No. 8, No. 6 and No. 7 are selected. Then, follow step 5 to replace the fill color of shapes No. 6 and No. 7 with blue.
The above is the detailed content of The operation process of ai batch color replacement. For more information, please follow other related articles on the PHP Chinese website!