ContourDetect[image]
白い画素が image 中の0およびゼロ交差に対応するバイナリ画像を与える.
ContourDetect[image,delta]
絶対値が delta より小さい image 中の値を0として扱う.
ContourDetect[array,…]
1が array 中の0およびゼロ交差に対応するバイナリ形式の疎な配列を与える.
ContourDetect
ContourDetect[image]
白い画素が image 中の0およびゼロ交差に対応するバイナリ画像を与える.
ContourDetect[image,delta]
絶対値が delta より小さい image 中の値を0として扱う.
ContourDetect[array,…]
1が array 中の0およびゼロ交差に対応するバイナリ形式の疎な配列を与える.
詳細とオプション
- ContourDetectは値が0の画素と近傍の少なくとも1つが負である正の値の画素を見付ける.
- カラー画像では,ContourDetectは全チャンネルの平均強度に対して作用する.
- ContourDetectは,2Dおよび3Dの画像と階数が1,2あるいは3の配列に使うことができる.
- ContourDetect[array,delta]は,事実上,強度が delta より小さい値を切り取る.
- ContourDetectはCornerNeighborsオプションを取る.デフォルト設定はCornerNeighbors->Trueである.
- ContourDetectは,オプション設定のCornerNeighbors->Noneを使って,画素がもとの画像のコーナーに対応する二重格子に作用し,結果の画像の次元が1画素小さくなるようにする.
例題
すべて開く すべて閉じる例 (2)
スコープ (3)
ContourDetect[(| | | |
| - | -- | -- |
| 1 | -1 | -1 |
| 0 | 0 | 1 |
| 1 | 1 | 1 |)] // MatrixFormContourDetect[ImageSubtract[[image], 0.3], 0.05]ContourDetect[[image], 0.25]オプション (1)
アプリケーション (2)
特性と関係 (2)
実数値画像をタイプ"Byte"に変換すると,負の値はすべて切り取られて0にされる:
ContourDetect[Image[[image], "Byte"]]ContourDetect[LaplacianGaussianFilter[[image], 6], 0.01]考えられる問題 (1)
CornerNeighbors->Noneを使って二重格子を作成するためには,すべてのデータ次元が1より大きくなければならない:
ContourDetect[{{1, -.2, .4, 0, 0, 1}}, CornerNeighbors -> None]代りにCornerNeighborsAutomaticを使う:
ContourDetect[{{1, -.2, .4, 0, 0, 1}}, CornerNeighbors -> Automatic]テキスト
Wolfram Research (2010), ContourDetect, Wolfram言語関数, https://reference.wolfram.com/language/ref/ContourDetect.html (2014年に更新).
CMS
Wolfram Language. 2010. "ContourDetect." Wolfram Language & System Documentation Center. Wolfram Research. Last Modified 2014. https://reference.wolfram.com/language/ref/ContourDetect.html.
APA
Wolfram Language. (2010). ContourDetect. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/ContourDetect.html
BibTeX
@misc{reference.wolfram_2026_contourdetect, author="Wolfram Research", title="{ContourDetect}", year="2014", howpublished="\url{https://reference.wolfram.com/language/ref/ContourDetect.html}", note=[Accessed: 07-September-2026]}
BibLaTeX
@online{reference.wolfram_2026_contourdetect, organization={Wolfram Research}, title={ContourDetect}, year={2014}, url={https://reference.wolfram.com/language/ref/ContourDetect.html}, note=[Accessed: 07-September-2026]}