FindImageShapes

FindImageShapes[image,"model"]

画像中の形状のグラフィックスプリミティブを入手する.

FindImageShapes[video,]

video のフレーム中の形状を求める.

詳細

  • FindImageShapesは,線,円,楕円のような形状を画像中に求めようとする.
  • 次は,使用可能な"model"指定である.
  • "Line"InfiniteLineオブジェクトのリスト
    "LineSegment"Lineオブジェクトのリスト
    "Circle"Circleオブジェクトのリスト
    "Ellipse"変形されたCircleオブジェクトのリスト
    {model1,model2,}modeliでグループ化された形状の連想
  • FindImageShapesは,暗い背景の上に明るい画素で形状がハイライトされている画像を想定している.
  • EdgeDetectRidgeFilterGradientFilter等を使って線や円といった輪郭線をハイライトする.

例題

すべて開くすべて閉じる

  (1)

画像の中の最大の楕円を求めてハイライトする:

大きい2つの楕円をハイライトする:

スコープ  (2)

画像の中の直線を検出して可視化する:

線分を求めてハイライトする:

楕円を検出して可視化する:

アプリケーション  (1)

虹彩を検出して可視化する:

画像のエッジをハイライトする:

検出された最大の円を求めてハイライトする:

Wolfram Research (2023), FindImageShapes, Wolfram言語関数, https://reference.wolfram.com/language/ref/FindImageShapes.html (2025年に更新).

テキスト

Wolfram Research (2023), FindImageShapes, Wolfram言語関数, https://reference.wolfram.com/language/ref/FindImageShapes.html (2025年に更新).

CMS

Wolfram Language. 2023. "FindImageShapes." Wolfram Language & System Documentation Center. Wolfram Research. Last Modified 2025. https://reference.wolfram.com/language/ref/FindImageShapes.html.

APA

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

BibTeX

@misc{reference.wolfram_2025_findimageshapes, author="Wolfram Research", title="{FindImageShapes}", year="2025", howpublished="\url{https://reference.wolfram.com/language/ref/FindImageShapes.html}", note=[Accessed: 31-January-2025 ]}

BibLaTeX

@online{reference.wolfram_2025_findimageshapes, organization={Wolfram Research}, title={FindImageShapes}, year={2025}, url={https://reference.wolfram.com/language/ref/FindImageShapes.html}, note=[Accessed: 31-January-2025 ]}