![]() ![]() The thickness of the line is defined by the pixel size or px. thickness : The parameter represents the thickness of the border which is being drawn by the user (the rectangular shape).For examples, if the user is trying to making a blue square the following tuple has to be passed: 255, 0, 0 which makes the colour – BLUE. color : The parameter represents the colour that would be on the border line of the rectangle that is being drawn.Tuples of values are presented with respect to the rectangular coordinates (i.e., the X and the Y coordinate values). end_point : The parameter end_point represents the ending coordinates that are present in the rectangle.start_point: The parameter start_point represents the starting coordinates that are present in the rectangle.image: The parameter represents the original image that has to be processed and a rectangular shape has to be included.The original tutorial can be found here (dead link).The following are the parameters which are present in the OpenCV rectangle function that have specific usage to enable the function to create a rectangular outline or include a rectangle within the image that has been provided: Playing around with the spacing options in the brush selection dialog, the color or using one of the animated brushes you can get very interesting results. Using a fuzzy brush and selecting a blue color here is the result for the selection made above. When all the options are selected you can finally click on OK. If you select Stroke Using a Paint Tool, you will be able to use the brush that you have selected. You will get a dialog allowing you to set many options for stroking your selection, including dashed lines and other fancy features. When all the options are selected you can click on Edit -> Stroke. Choose also a color and you can play with the spacing option for the brush. Step 3 ¶Īfter you have the selection, choose a brush from the brush selection dialog. Use the selection tools to create a selection with the desired shape. When using the tools, holding shift at the beggining of the selection process will add the selection to what is already selected, while holding the control key will substract from it. There are several ways to make a selection, including all the tools in red shown above and select by color as explained on Selecting and removing one color. Step 1 ¶īefore doing that however we need to make a selection with the shape we want. This option can be accesed on the image menu (right button click on the image), by going to Edit -> Stroke Selection. ![]() The solution is to use the selection stroking capabilities of GIMP. However this doesn’t mean you can’t paint them, in fact there are some interesting options regarding this subject when it comes to GIMP. Since GIMP is an image manipulation program and not a painting program it doesn’t include tools to draw shapes like squares and circles. Text and images Copyright (C) 2002 Francisco Bustamante Hempe and may not be used without permission of the author. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |