2.8. Умные ножницы

The Intelligent Scissors tool is an interesting piece of equipment: it has some features in common with Free Select, some features in common with the Path tool, and some features all its own. It is useful when you are trying to select a region defined by strong color-changes at the edges. To use the Scissors, you click to create a set of "control nodes", also referred to as anchors or control points, at the edges of the region you are trying to select. The tool produces a continuous curve passing through these control nodes, following any high-contrast edges it can find. If you are lucky, the path that the tool finds will correspond to the contour you are trying to select.

Unfortunately, there seem to be some problems with the edge-following logic for this tool, with the result that the selections it creates tend to be pretty crude in a lot of cases. A good way to clean them up is to switch to Quick Mask mode, and use paint tools to paint in the problematic parts. On the whole, most people find the Path tool to be more useful than the Scissors, because, even though it does not have the intelligent edge-finding capability, the paths it produces persist until you delete them, and can be altered at any time.

2.8.1. Активация инструмента

There are different possibilities to activate the tool:

  • From the main menu: ToolsSelection ToolsIntelligent Scissors.

  • By clicking the tool icon in the Toolbox.

  • By pressing the I keyboard shortcut.

2.8.2. Клавиши-модификаторы

Поведение клавиш Shift, Ctrl и Alt по умолчанию описано в Раздел 2.1.1, «Клавиши-модификаторы (по умолчанию)» дял всех инструментов выделения.

Тем не менее, один из модификаторов ведёт себя особо при редактировании выделения, т.е. после того как вы добавили первый узел:

Shift

По умолчанию используется функция автоматического прилипания к краям: каждый раз когда вы щелкаете курсором мыши по изображению и тащите его, Умнеы ножницы находят точку максимального градиента (где изменение цвета максимально), чтобы разместить там новую контрольную точку или переместить существующую.

Если держать эту клавишу нажатой при щелчке и перетаскивании, эта функция отключается, и контрольная точка будет расположена точно там, куда указал курсор мыши.

Клавиша Backspace удаляет последний нарисованный сегмент, а клавиша Escape отменяет все сегменты выделения.

2.8.3. Использование инструмента

Рисунок 14.26. Использование Умных ножниц

Использование Умных ножниц

Каждый щелчок левой клавишей мыши создаёт новую контрольную точку, соединяемую с предыдущей точкой кривой, которая старается следовать границе в изображении. Для завершения щелкните первую контрольную точку (курсор меняется соответственно). Кривую можно исправить перемещением контрольных точек или созданием новых точек. Когда процесс окончен, щёлкните внутри кривой, чтобы преобразовать её в выделение.

As said above when you click with this tool you drop points. The selection boundary is driven by these control points. During creation you can move each one by clicking and dragging, except the first and the last one. The selection is closed when you are clicking the last point over the first one. When the selection is closed the pointer shape changes according to its position: inside , on the boundary , and outside . You can adjust the selection creating new points by clicking on the boundary or by moving each control points (merged first and last point). The selection is validated when you click inside.

Только одно выделение можно создать таким образом. При создании нового, старое удаляется.

[Предупреждение] Предупреждение

Не нажимайте внутри кривой пока не закончили работать с ней. После создания выделения отмена удаляет и выделение, и кривую. Не переключайтесь на другой инструмент, иначе кривая удалится. (Но выделение можно преобразовать в контур и работать с инструментом контура.)

За описанием перемещения выделения обратитесь к главе Перемещение выделений.

2.8.4. Параметры

Рисунок 14.27. Параметры инструмента «Умные ножницы»

Параметры инструмента «Умные ножницы»

Normally, tool options are displayed in a window attached under the Toolbox as soon as you activate a tool. If they are not, you can access them from the main menu through WindowsDockable WindowsTool Options which opens the option window of the selected tool.

Режимы; Сглаживание; Растушевать края
[Примечание] Примечание

See Selection Tools Options for help with options that are common to all these tools. Only options that are specific to this tool are explained here.

Интерактивные границы

При выборе этого параметра, перемещение контрольного узла во время помещения укажет контур выделения. Если параметр не выбран, то узлы соединяются прямой линией во время перемещения, и конечная кривая появится только после отпускания кнопки мышки. Это помогает на медленных компьютерах.