2.5. 연속적인 선택(마법 지팡이)

그림 14.21. 도구 상자의 마법 지팡이 도구 아이콘

도구 상자의 마법 지팡이 도구 아이콘

연속적인 선택(마법 지팡이) 도구는 현재 이미지나 레이어에서 비슷한 색상이 연속적으로 이어진 영역을 선택하는 도구입니다. 이미지의 한 지점을 선택하면, 마치 낮은 곳으로 물이 흐르듯, 해당 지점의 색상과 비슷한 색상으로 이어진 픽셀들이 모두 선택되어 집니다. 마우스 버튼을 누른 채 드래그해서 유사성의 임계값을 조절할 수 있습니다. 아래쪽이나 오른쪽으로 드래그하면 더 많은 영역이 선택되어지고, 위쪽이나 왼쪽으로 드래그하면 조금 더 적은 영역이 선택되어집니다.

이 도구를 사용할 때 가장 중요한 것은 정확한 기준점을 찾는 것입니다. 만약 엉뚱한 지점을 기준으로 잡으면, 원하는대로 선택을 하지 못할 수도 있습니다.

The Wand is a good tool for selecting objects with sharp edges. It is fun to use, so beginners often start out using it a lot. You will probably find, however, that the more you use it, the more frustrated you become with the difficulty of selecting exactly what you want, no more, no less. More experienced users find that the Path and Color Select tools are often more efficient, and use the Wand less. Still, it is useful for selecting an area within a contour, or touching up imperfect selections. It often works very well for selecting a solid-colored (or nearly solid-colored) background area.

선택되는 영역은 연속된 픽셀뿐만 아니라 약간 떨어진 곳도 포함됩니다. 이렇게 선택가능한 거리는 기본 설정 대화 상자의 도구 선택사항 페이지에 있는 "기본 임계값" 에서 설정할 수 있습니다. 이 값을 조절함으로써 마법 지팡이 도구의 영향 범위를 바꿀 수 있습니다.

2.5.1. Activating the tool

You can access the Magic Wand Tool in different ways:

  • From the image menu bar ToolsSelection ToolsFuzzy Select,

  • by clicking on the tool icon in the ToolBox,

  • by using the keyboard shortcut U.

2.5.2. Key modifiers (Defaults)

연속적인 선택 도구에는 특별한 동작 변경 키가 없습니다. 다만 모든 도구에 영향을 주는 동작 변경 키만 사용할 수 있습니다. 이에 대한 자세한 내용은 선택 도구 섹션에 있습니다.

2.5.3. 도구 사용

그림 14.22. Using Magic Wand tool: selected pixels are contiguous

Using Magic Wand tool: selected pixels are contiguous

It starts selecting when you click at a spot in the image, and expands outwards like water flooding low-lying areas, selecting contiguous pixels whose colors are similar to the starting pixel. You can control the threshold of similarity by dragging the mouse downward or to the right: the farther you drag it, the larger you get the selected region. And you can reduce the selection by dragging upwards or to the left.

You can move the selection outline using Alt + arrow keys.

2.5.4. Options

그림 14.23. 마법 지팡이 도구의 도구 선택사항

마법 지팡이 도구의 도구 선택사항

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 image menu bar 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.

Mode; Antialiasing; Feather edges

Common select options.

Finding Similar Colors

이 옵션은 시작점으로부터 선택을 확장하는 방법에 대한 것입니다.

투명한 영역 선택

이 옵션을 이용하면 마법 지팡이를 이용해 완벽하게 투명한 영역을 선택할 수 있습니다. 이 옵션이 선택되어 있지 않으면, 투명한 영역은 선택에서 제외됩니다.

표본 합치기

이 옵션은 여거 개의 레이어를 가지고 있고, 활성 레이어에 반투명한 부분이 있거나 레이어 모드가 "보통"이 아닌 다른 모드로 되어 있을 때 유용합니다. 이런 경우에는 현재 레이어의 색상이 겹쳐진 전체 이미지의 색상과 다를 수 있습니다. 표본 합치기 옵션을 선택해제하면, 마법 지팡이는 현재 활동화된 레이어의 색상에 대해서만 동작을 하고, 표본 합치기 옵션이 선택되어 있으면, 보이는 모든 레이어를 통해 합쳐진 색상에 대해 동작하게 됩니다. 표본 합치기에 대한 자세한 내용은 용어집의 표본 합치기 를 참조하세요.

Diagonal Neighbors

When activated, the tool considers diagonally neighboring pixels as connected when calculating the affected area. In other words, instead of looking at the four orthogonal neighbors of each pixel, it looks at all eight pixels

그림 14.24. Example for Diagonal Neighbors

Example for Diagonal Neighbors

A pixel with 4 orthogonal neighbors

Example for Diagonal Neighbors

A pixel with 4 diagonal neighbors

Example for Diagonal Neighbors

A pixel with 8 neighbors


그림 14.25. Example for Diagonal Neighbors option applied

Example for Diagonal Neighbors option applied

Diagonal Neighbors option unchecked

Example for Diagonal Neighbors option applied

Diagonal Neighbors option checked


임계값

이 조절바는 처음 지점을 기준으로 선택할 색상의 범위를 결정하는 바입니다. 높은 값일수록 넓은 범위를 선택하게 되며, 마우스를 클릭한 뒤 드래그를 통해 값을 변경할 수 있습니다. 아래쪽이나 오른쪽으로 드래그하면 값이 증가하고 위쪽이나 왼쪽으로 드래그하면 값이 감소합니다. 따라서 원래의 임계값에 관계없이 드래그로 그때그때 원하는 만큼의 값을 설정해 사용할 수 있습니다.

Select by

This option determines which component of the image GIMP uses to calculate the similarity in color.

You can choose from Composite, Red, Green, Blue, Alpha, HSV Hue, HSV Saturation, HSV Value. LCh Lightness, LCh Chroma, and LCh Hue.

Draw Mask

This option can help to visualize the selection. Selected areas marked with marching ants may not be evident when selecting with Fuzzy select or Magic wand. If this option is checked, selected areas will be filled with a magenta color as long as you keep pressing on the left mouse button, and this mask will disappear as soon as you release this button.

그림 14.26. Example for Draw mask option applied

Example for Draw mask option applied

Fuzzy Select used with Draw Mask option unchecked

Example for Draw mask option applied

Fuzzy Select used with Draw Mask option checked, left mouse button not released yet.