필터 지우기
필터 지우기

How to display the object created with function strel?

조회 수: 3 (최근 30일)
L
L 2017년 11월 23일
댓글: Walter Roberson 2018년 5월 21일
How to display the object created with function strel?
  댓글 수: 2
Adam
Adam 2017년 11월 23일
편집: Adam 2017년 11월 23일
Display it in what way? Image? Command line? You can apply it to a single dot win an otherwise blank image and you'll see what it looks like.
L
L 2017년 11월 27일
Display as image.

댓글을 달려면 로그인하십시오.

채택된 답변

Walter Roberson
Walter Roberson 2017년 11월 24일
AAA = strel('disk', 5);
AAA.Neighborhood
image(AAA.Neighborhood); colormap(gray(2));
  댓글 수: 4
neel patel
neel patel 2018년 5월 21일
for display it is good but how to save that image? mit imsave it is not working. can anyone tell me the answer?
Walter Roberson
Walter Roberson 2018년 5월 21일
imwrite(uint8(AAA.Neighborhood), gray(2),'NameOfFile.bmp')

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

Community Treasure Hunt

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

Start Hunting!

Translated by