WOLFRAM

ColorDetect[image,cspec]

image 中の領域を表すマスク画像を,指定された色領域の色で返す.

詳細

  • ColorDetectは,一般に,色領域内の画素を含む画像マスクの指定に使われる.
  • 次は,色指定 cspec の可能な設定である.
  • colorcolor の近くの色
    ColorsNear[color,d,]color の近くの色の明示的な指定

例題

すべて開くすべて閉じる

  (1)基本的な使用例

ColorDetectを使って画像領域を計算する:

Out[1]=1

領域をアルファチャンネルとして使う:

Out[2]=2

スコープ  (3)標準的な使用例のスコープの概要

色領域の画素を計算する:

Out[1]=1

最大色距離を指定する:

Out[1]=1

距離を計算するカスタム関数を指定する:

Out[1]=1

アプリケーション  (1)この関数で解くことのできる問題の例

選択的な脱色を行う:

Out[17]=17
Out[18]=18
Wolfram Research (2019), ColorDetect, Wolfram言語関数, https://reference.wolfram.com/language/ref/ColorDetect.html.
Wolfram Research (2019), ColorDetect, Wolfram言語関数, https://reference.wolfram.com/language/ref/ColorDetect.html.

テキスト

Wolfram Research (2019), ColorDetect, Wolfram言語関数, https://reference.wolfram.com/language/ref/ColorDetect.html.

Wolfram Research (2019), ColorDetect, Wolfram言語関数, https://reference.wolfram.com/language/ref/ColorDetect.html.

CMS

Wolfram Language. 2019. "ColorDetect." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/ColorDetect.html.

Wolfram Language. 2019. "ColorDetect." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/ColorDetect.html.

APA

Wolfram Language. (2019). ColorDetect. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/ColorDetect.html

Wolfram Language. (2019). ColorDetect. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/ColorDetect.html

BibTeX

@misc{reference.wolfram_2025_colordetect, author="Wolfram Research", title="{ColorDetect}", year="2019", howpublished="\url{https://reference.wolfram.com/language/ref/ColorDetect.html}", note=[Accessed: 30-March-2025 ]}

@misc{reference.wolfram_2025_colordetect, author="Wolfram Research", title="{ColorDetect}", year="2019", howpublished="\url{https://reference.wolfram.com/language/ref/ColorDetect.html}", note=[Accessed: 30-March-2025 ]}

BibLaTeX

@online{reference.wolfram_2025_colordetect, organization={Wolfram Research}, title={ColorDetect}, year={2019}, url={https://reference.wolfram.com/language/ref/ColorDetect.html}, note=[Accessed: 30-March-2025 ]}

@online{reference.wolfram_2025_colordetect, organization={Wolfram Research}, title={ColorDetect}, year={2019}, url={https://reference.wolfram.com/language/ref/ColorDetect.html}, note=[Accessed: 30-March-2025 ]}