フィルターのクリア

welcom how find center this image

3 ビュー (過去 30 日間)
fatima ali
fatima ali 2014 年 12 月 24 日
編集済み: fatima ali 2015 年 1 月 30 日
welcom how find center this image...i find top,bottom,left side,right side this image...how find center of image depends on top,bottom,left side,right side this image thanks
  3 件のコメント
fatima ali
fatima ali 2014 年 12 月 24 日
i want find center of foot ..what mean the center of the image is trivial to find. And you did ask for the center of an image.you mean this foot not content center
John D'Errico
John D'Errico 2014 年 12 月 24 日
That is my point. The center of a rectangular image is trivial, because you need merely count pixels.
My other point was a more significant one, that you need to define what it means to find the center of a foot, or ANY irregular object. There are many ways one might define "center". What that word means to you is probably not what it means to me.

サインインしてコメントする。

回答 (1 件)

Image Analyst
Image Analyst 2014 年 12 月 24 日
Threshold it. Throw out small blobs with bwareaopen() or other methods. Then call regionprops() and ask for centroid. See attached m-file.

カテゴリ

Help Center および File ExchangeGet Started with Image Processing Toolbox についてさらに検索

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by