> For the complete documentation index, see [llms.txt](https://docs.roboflow.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.roboflow.com/roboflow/roboflow-jp/annotate/use-roboflow-annotate.md).

# 画像にアノテーションを付ける

Roboflow dashboard の Assign または Dataset ページで画像を選択すると、labeling interface にアクセスできます。

labeling interface の右側には toolbar があります。toolbar には、画像に annotation を付けるために使える多くの機能があります。

このドキュメントでは、以下の機能の使い方を説明します。

* ドラッグして選択
* Bounding Box annotation tool
* Polygon annotation tool
* Smart Polygon
* Label Assist
* Zoom tool

### ドラッグして選択

手のアイコンで表されるこの機能では、個々の annotation を選択、編集、ドラッグできます。

* **シングルクリックで** 既存の bounding box を選択します。選択すると、四隅と各辺に表示される白い円形ハンドルで bounding box のサイズを変更できます。あるいは class editor を使って box の label を変更できます。
* **box をドラッグして** 移動します。
* **背景をドラッグして** パンします。
* **背景をクリックして** すべての box の選択を解除します。

<div align="center"><figure><img src="/files/55026ace69668037ec5ab1e724415193d69cc4bf" alt=""><figcaption><p>Drag Tool (D) の選択</p></figcaption></figure></div>

### **Bounding Box Annotation Tool**

bounding box annotation tool（長方形の box アイコンで表示）は、新しい bounding-box annotation を描画できます。このモードでは、描画の開始位置を判断するのに役立つ十字線が表示されます。

画像上でクリックしてドラッグし、新しい annotation を作成してから、Class Selector を使ってその label を選択します。

<figure><img src="/files/9efe8a8a2d290103a3c3cab972d97a71c506e629" alt=""><figcaption><p>Bounding Box Tool (B) の選択</p></figcaption></figure>

### Polygon Annotation Tool

polygon annotation tool では、 [新しい polygon annotation を描画できます](https://blog.roboflow.com/polygon-annotation-labeling/)。このモードでは、描画の開始位置を判断するのに役立つ十字線が表示されます。

対象オブジェクトの周囲の画像上をクリックして、閉じた polygon annotation を作成し、その後 Class Selector を使って label を選択します。

<figure><img src="/files/54f8e261254fd655a782a6649f23f42bb5a37475" alt=""><figcaption><p>Polygon Tool (P) の選択</p></figcaption></figure>

### Brush Annotation Tool

brush annotation tool を使うと、画像内の関心領域に対してピクセル精度の高い mask annotation をペイントできます。キャンバス上の brush control を使って brush サイズを調整し、Add モードと Subtract モードを切り替えられます。これらはそれぞれ、現在の mask に追加したり、現在の mask から消去したりします。

\
mask annotation は、アウトラインや box ではなくピクセル単位の領域としてオブジェクトを表します。これにより、特に不規則な形状や細かい構造（例: 髪、葉、透明なオブジェクト）について、より正確に形状を捉えることができ、instance segmentation または semantic segmentation model の学習に最適です。デフォルトでは、各 mask 領域の周囲に bounding box が表示されるため、オブジェクト全体の範囲を把握しやすくなり、レビューや編集時の操作もしやすくなります。mask の塗りつぶしだけを表示したい場合は、Display Options パネルの "Mask Boxes" スイッチでこれをオフにできます。

\
画像上でクリックしてドラッグし、mask に含めたい、または mask から除外したい領域をペイントしてから、Class Selector を使ってその mask 領域の label を割り当てるか変更します。

<figure><img src="/files/cb021720c0cdbfbe7e6b1becb0a0477c26dfdeac" alt=""><figcaption><p>Brush Tool (U) の選択</p></figcaption></figure>

### Smart Polygon

**Smart Polygon** では、新しい Smart Polygon annotation を描画できます。

このモードでは、新しい関心領域（新しい label）を選択しているときは緑の点、関心領域から除外する領域（label を付けたくない、または polygon で囲みたくないオブジェクトや画像の部分）を選択しているときは赤い点が表示されます。また、Convex Hull、Smooth、Complex の設定で polygon を調整するオプションもあります。

Smart Polygon は特に（Instance および Semantic）Segmentation project で便利ですが、 [Object Detection model でもパフォーマンス向上が見られる場合があります](https://blog.roboflow.com/polygons-object-detection/) Roboflow で Smart Polygon を使って label 付けすると。

<figure><img src="/files/e50c73460e67939dd21525c8cc1c3b4fbc371109" alt=""><figcaption><p>Smart Polygon (S) Tool の選択</p></figcaption></figure>

### **Label Assist**

[**Label Assist**](/roboflow/roboflow-jp/annotate/ai-labeling/model-assisted-labeling.md) は public model またはバージョンの予測を使用し、 [Roboflow Train で学習された](/roboflow/roboflow-jp/train/train.md) annotation 中に bounding box label を自動で提案します。

<figure><img src="/files/60b21d26e519d064642cc674f1a226cee1b6b2ca" alt="Label Assist Tool selection"><figcaption></figcaption></figure>

### **Mark Null**

Mark null（Null annotation）は、背景画像、または null 画像の「labeling」に使用します。この設定は、画像からすべての annotation を消去したり、画像を Unannotated としてマークしたりするためにも使えます。null annotation の詳細については、ガイド「[Missing Annotation と Null Annotation の違い](https://blog.roboflow.com/missing-and-null-image-annotations/)".

<figure><img src="/files/5b7f88ef6034f4f207cea565fc2e08bd4e719a97" alt=""><figcaption><p>Mark Null (N) Tool の選択</p></figcaption></figure>

### **Undo、Redo、および Repeat Annotations**

Bounding Box (B)、Polygon (P)、または Smart Polygon (S) モード中は:

* **Undo** は直前の操作を元に戻します。
* **Redo** は以前に元に戻した操作をやり直します。
* **Repeat Previous** は最後に annotation した画像と同じ位置に、画像上で label を再適用します

### 複数選択と context menu

複数の annotation を一度に選択し、context menu から一括操作を適用できます。 **Shift** を押しながらクリックするか、キャンバス上で選択矩形をドラッグして、複数の annotation を選択します。複数選択が有効な状態で、右クリックするか（または任意の選択済み annotation の三点メニューを開くと）、context menu が開きます。

context menu は現在の選択内のすべての annotation に対して操作を適用するため、多数の annotation を 1 ステップで変換、並べ替え、または結合できます。

#### 利用可能な操作

* **Box に変換** — 選択したすべての polygon または mask を bounding box に変換します。
* **Polygon に変換** — 選択したすべての box または mask を polygon に変換します。
* **Mask に変換** — 選択したすべての box または polygon を pixel mask に変換します。
* **Smart Mask に変換** — 各選択対象に対して Smart Polygon を再実行し、より洗練された mask を生成します。
* **Mask を結合** — 選択したすべての mask annotation を 1 つの mask annotation に結合します。結合された mask は、選択した mask 内のすべてのピクセルの和集合を取り、主選択の label と color を継承します。これは、同じ実体オブジェクトを表す複数の分離した mask 領域を結合するのに役立ちます。たとえば、遮蔽物によって分断されたオブジェクトの 2 つの半分などです。
* **最前面へ移動** / **前面へ移動** / **最背面へ移動** / **背面へ移動** — 選択した各 annotation のレイヤー順を、他の annotation に対して並べ替えます。

{% hint style="info" %}
**Mask を結合** は、現在の選択内のすべての annotation が mask の場合にのみ context menu に表示されます。選択した annotation に box または polygon が含まれている場合は、結合する前にまずそれを mask に変換してください（ **Mask に変換**を使用して）。
{% endhint %}

### Class Selection

画像が選択されると、 **Class Selector** が表示されます。これには、bounding box の label を選択するための以下のオプションが含まれます。

![Class Selector](/files/933c17187500aaa2f2317e02b69755e46e826397)

* **Textfield** で新しい class を作成するか、既存の class を絞り込みます。
* **Buttons** で変更を保存または破棄します。
* **Class List** には dataset 内の既存の class が表示されます（text field によって絞り込まれ、アクティブなオプションは紫色で強調表示されます）。また、入力したテキストが既存の class と一致しない場合には、「Create class」オプションが表示されることがあります。

### Zoom Tool

画面左下にある zoom tool。

* Zoom in / out して、一度により多くの画像を画面内に収めたり、より詳細な編集のために拡大表示したりできます。また、zoom を指定した割合で「lock」するオプションや、zoom をリセットして画像全体を Annotation Tool の viewport 内に収めるオプションもあります。
* "*Zoom Lock*" オプションを選択すると、すべての画像がこの zoom level で表示されます。Zoom Lock を解除するには、選択を外すか、lock を解除してください。

<figure><img src="/files/5622b8ff2c0301dca1bfb3d55a1d3b72951a0775" alt=""><figcaption><p>Zoom Tool</p></figcaption></figure>

### Annotation List

Annotations（dashboard では *Annots* と省略）には、画像内にどの class が存在し、どの class が存在しないか、それらの box の color、そして label のレイヤー順が表示されます。Annotations drawer には Tags も含まれており、dataset 内の画像の整理、フィルタリング、並べ替えに役立ちます。

<figure><img src="/files/05dcdd10363ec05d8a3a2cd8c03bd6fe77ea04bb" alt="" width="324"><figcaption><p>Annotations (Annots) Sidebar</p></figcaption></figure>

### **Image Attributes**

Attributes は、画像の寸法、最終更新時刻、およびこの dataset の [training、validation、または test set](https://blog.roboflow.com/train-test-split/).

<figure><img src="/files/6448bac0b41dba0ca971bf12496c5c4d2e73266e" alt="" width="489"><figcaption><p>Attributes Sidebar</p></figcaption></figure>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.roboflow.com/roboflow/roboflow-jp/annotate/use-roboflow-annotate.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
