# Background Color Visualization

### このブロックについて

Background Color Visualization ブロックを使うと、検出モデルで検出されなかった領域の色を変更できます。

これは、検出された領域を強調して画像内で見やすくしたい場合や、画像から背景を हटしたい場合に便利です。

デフォルトでは、このブロックは検出モデルで検出されなかった領域を不透明にします。ブロックを設定して、未検出領域の色を変更することもできます。

このブロックは次のものと連携します:

* Object detection models
* Segmentation models

<figure><img src="/files/cab7e79458aa77f5ac36cba7c8e08239a259d2f6" alt=""><figcaption><p>Label Visualization ブロック。</p></figcaption></figure>

### このブロックに送信できるもの

このブロックを使用するには、次が必要です:

1. 入力画像または動画フレーム、および;
2. Object Detection または Segmentation model からの予測。

### このブロックが返すもの

このブロックは、モデルで検出されなかった領域をより不透明にします。

このブロックの出力例は次のとおりです:

<figure><img src="/files/462f8090bc1c6fc1e76da185583a447430106448" alt=""><figcaption><p>画像の背景は、強調表示されたオブジェクトよりも不透明です</p></figcaption></figure>

ブロックの設定オプションから、背景の色と不透明度を変更できます:

<figure><img src="/files/18506f37ae2febb25a7bdea49f052b2fdff22644" alt=""><figcaption></figcaption></figure>

色は、任意の hex 値、または BLACK、WHITE、BLUE、RED のような一般的な color にできます。

以下は、背景を BLACK に設定し、不透明度を 1 に設定した例です:

<figure><img src="/files/26a9273a8543ac9b1ccf0b0a494c96d13441ffbc" alt=""><figcaption><p>背景は画像から完全に除去されました。</p></figcaption></figure>

### ユースケース

このブロックは、画像内で検出された領域に注目したい場合や、画像から未検出の（背景）領域を削除したい場合に便利です。


---

# Agent Instructions: 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/workflows/workflow-blocks/visualize-predictions/background-color-visualization.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.
