4/11/2023 0 Comments Image bucket fill![]() ![]() Blue colors close to that clicked were colored and blue colors transitioning to purple were also colored if they were not so purple that they fell outside the Tolerance range of 10. ![]() If the Tolerance parameter in the Tool Properties pane is set to a low value, such as 10, the paint bucket tool will paint only those pixels that are close in color to the one originally clicked. In Manifold, given typical default settings of Tolerance we might get the above effect. If we are familiar with the default behavior of paint bucket tools in simple graphics editors we might expect the yellow color to fill the entire selected region. Suppose we change foreground color to yellow and click the paint bucket tool at the spot indicated above. Let's look at an example using an image that contains a smooth gradient of color from blue to purple. The Tolerance parameter most likely will make a difference when painting into regions of gradients or subtle transitions between colors. When painting into regions of pixels that are all the same color the use of the Tolerance parameter does not matter since in that case all of the pixels probably will fall within tolerance value being used. ![]() This is different than the default behavior of paint bucket tools within simpler graphics editors such as Microsoft Paint, where a paint bucket pours into all pixels of like color, or where the paint bucket pours into any selected region without regard to the color of pixels it is painting. The paint bucket tool measures the color value of the pixel at the point where it is clicked and then operates on pixels whose colors fall within the Tolerance parameter set in the Tool Properties pane. If we switched foreground color to green and SHIFT clicked at the spot shown in the preceding illustration the paint bucket will paint green color into all of the black pixels within the selection. The paint bucket tool will compute the pixels to be affected based on the color at the spot clicked but it will paint color only into those pixels that are within the selection. Suppose we select a rectangular region of pixels and SHIFT click with the paint bucket at the spot shown. This is a useful technique to replace one color with another throughout all pixels in the image. If we click at the same spot using a SHIFT click the paint bucket will pour purple color into all of the black pixels in the image no matter where they are located. Note that regions of black pixels in the image not contiguous with the click have not been colored. The paint bucket pours purple foreground color into all black pixels that are contiguous with the pixel where the tool was clicked. We will click onto the black region at the rear of the monument. When the paint bucket is enabled Manifold changes the mouse cursor to a simple cross icon as shown above. This will show the effect of the paint bucket tool in a simplified image. These examples will use the sample bronze image that has had the Threshold command applied to convert it to only black and white colors. ![]() In the examples below we use a foreground color of purple. To use this tool we click on the Paint Bucket tool in the Tools toolbar for images. This is like a paint bucket "colorize" effect. Use a CTRL click to paint color with the paint bucket while preserving the intensity levels of the previous colors. Override the Tolerance consideration by using an ALT click. The paint bucket pours color only into those pixels whose color values are within the Tolerance value set in the Tool Properties pane. If there is no selection, the paint bucket will operate on the entire image. The paint bucket affects only selected pixels. There are four subtleties involved in using the Manifold paint bucket tool as compared to use of such tools in simpler graphics software:īy default, the paint bucket tool pours color only into pixels contiguous with the point where the tool is clicked. The Paint Bucket tool fills regions of similarly colored pixels with foreground color. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |