フィルターのクリア

What toolbox need to be installed for using circlular structuring element?

6 ビュー (過去 30 日間)
rcjr15
rcjr15 2016 年 5 月 8 日
コメント済み: Walter Roberson 2017 年 8 月 14 日
Can some one help as of what toolbox should I have to use for using circular structuring element? Also help with an example for the use of the same.

回答 (3 件)

Walter Roberson
Walter Roberson 2016 年 5 月 9 日
  2 件のコメント
rcjr15
rcjr15 2016 年 5 月 9 日
Will that work same way as the circle structuring element?
Walter Roberson
Walter Roberson 2016 年 5 月 11 日
It is the circle structuring element, in binary form (which is the form required by the operators)
I suggest using N = 0 or N = 6.

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


Image Analyst
Image Analyst 2016 年 5 月 9 日
I assume you mean for morphology, like imerode(), imclose(), imopen(), imdilate(), etc. For that you need the Image Processing Toolbox.
  2 件のコメント
Image Analyst
Image Analyst 2016 年 5 月 11 日
rcjr15's reply moved from an "Answer" to here:
ya in those morphological operation if I want to use a circular structural element should that require any other toolbox? for. eg. to use strel('circle',radius)??
Image Analyst
Image Analyst 2016 年 5 月 11 日
Then my answer is definitely confirmed - you need the Image Processing Toolbox.

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


Ravi Dange
Ravi Dange 2017 年 8 月 14 日
hello rcjr15.. have you found out the answer for ring or circular structural element? if you have found so... please post that for me too...
  1 件のコメント
Walter Roberson
Walter Roberson 2017 年 8 月 14 日
Are you looking for a solid ring or an outline?
If you are looking for an outline, you could do something like,
R = 10; %radius. Final size will be (2*R-1)x(2*R-1)
%create a disk
t1 = strel('disk', R);
%put a row of 0 around it
t2 = false(2*R+1, 2*R+1);
t2(2:end-1, 2:end-1) = t1.Neighborhood;
%take the outline
t3 = logical(t2 - imerode(t2,strel(ones(3,3))));
%and trim the padding
strel_circ = t3(2:end-1,2:end-1);

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

Community Treasure Hunt

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

Start Hunting!

Translated by