Инструмент «Лассо»
The lasso (or "free form selection") is an выделения tool available, with minor variations, in most digital программ для редактирования цифровых изображений [1] and some specific стратегических играх. It is often accessed from the standard main menu (in Photoshop,[2] Paint Tool SAI,[3] and GIMP,[4] as common examples), by clicking the icon of a rope лассо, от которого и происходит, from which the common name arises.
Стандартная работа
The lasso tool operates on the active layer of an image, and is used by щелчка и перетаскивания to trace the edges of a selection[5], typically represented as a dotted курсора line. Most software supports multiple closed contours, which can be selected by crossing over the edge path multiple times. It is also typically not necessary to close the shape: releasing the mouse button triggers the software to close any open loop(s) automatically. The area enclosed by the cursor path will remain selected and open to various transform operators (shift, scale, cut, copy, and paste, for example) until elsewhere in the image is clicked. At this point, the lassoed selection will merge with the layer it was selected from.[citation needed]
Характеристики
В отличие от других алгоритмов выделения изображений, таких как интеллектуальные ножницы, волшебная палочка или захват, лассо не предъявляет никаких требований к изображению, поскольку пользователь может свободно создавать любой замкнутый контур. [6]
Техническое описание
From an обработки изображений standpoint, the lasso is fundamentally a маскирования tool. The edges of the mask are defined by user input: the path of the cursor while the button is held down. A temporary new active layer is created which contains the logical AND of the masking layer and the active image layer. Meanwhile, the original active layer is masked (logical AND) with the inverse of the lasso selection. This creates the impression that the tool has sliced out a piece of the original image for selective transforms and edits. Most operations available for a full image can now be applied to the temporary active layer.[citation needed]
When the layers are merged, pixels in the temporary active layer will replace the pixels in the active layer with which they coincide. "Empty" pixels are handled in one of two ways depending on whether or not the imaging software supports альфа-канал. They may take on the value of a default "background" color, or they may continue to be defined as transparent with an alpha channel value of zero.[citation needed]
Ссылки
- ↑ «Инструменты выбора». Вашингтонский университет . Дата обращения: 26 мая 2018 г.
- ↑ "Выделение с помощью инструмента "Лассо" в Photoshop". helpx.adobe.com. Retrieved 2018-04-24.
- ↑ "Инструменты - SAI Paint Tool". saipainttool.com. Retrieved 2018-04-24.
- ↑ "Свободный выбор (Лассо)". GIMP. Retrieved 25 мая 2018.
- ↑ Chmielewski, Leszek J.; Datta, Amitava; Kozera, Ryszard; Wojciechowski, Konrad (2016-09-09). Компьютерное зрение и графика: Международная конференция, ICCVG 2016, Варшава, Польша, 19-21 сентября 2016, Материалы. Springer. pp. 99–. ISBN 978-3-319-46418-3.
- ↑ Long, Mian (2013-02-11). Всемирный конгресс по медицинской физике и биомедицинской инженерии, 26-31 мая 2012 г., Пекин, Китай. Springer Science & Business Media. pp. 915–. ISBN 978-3-642-29305-4.
Источники
- Участники английской Википедии. «Lasso tool». Перевод на русский. CC BY-SA 4.0 (текст и перевод).
Источники иллюстраций
- Tabler-icons lasso.svg · Лицензия файла уточняется
- Tabler-icons lasso-polygon.svg · Лицензия файла уточняется
