フィルターのクリア

I have a binary image , and a object like a half ball on that , I want to get the maximum(position) , means (x,y) and minimum position (x,y ) of that ang get the distance between these 2 points , how could I do this ? any suggestion and codes?

1 回表示 (過去 30 日間)
Zohreh Tavakkoli
Zohreh Tavakkoli 2014 年 5 月 23 日
回答済み: Vivek 2014 年 5 月 23 日
I have a binary image , and a object like a half ball on that , I want to get the maximum(position) , means (x,y) and minimum position (x,y ) of that object get the distance between these 2 points , how could I do this ? any suggestion and codes

回答 (1 件)

Vivek
Vivek 2014 年 5 月 23 日
use the find(X,k,'first') & find(X,k,'last') it returns the k first and k last non zero elements of the matrix/binary image

カテゴリ

Help Center および File ExchangeGeometric Transformation and Image Registration についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by