Can someone help me to remove small region area with regionprops?

조회 수: 10 (최근 30일)
Quah Yi Hang
Quah Yi Hang 2022년 3월 14일
편집: Quah Yi Hang 2022년 3월 14일
I wish to remove the small region area with regionprops but I quiet new to matlab and image processing. The pixel intensity is 0 and 1, should i change to 0 and 255? Can anyone help me?

채택된 답변

AndresVar
AndresVar 2022년 3월 14일
편집: AndresVar 2022년 3월 14일
There is an example in the documentation.
If you scroll down to the end it shows how it uses regionprops internally.
I suppose binary image [0 1] works best.
  댓글 수: 1
Quah Yi Hang
Quah Yi Hang 2022년 3월 14일
편집: Quah Yi Hang 2022년 3월 14일
This method is very helpful, thanks a lot. I will try to apply this method.

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

추가 답변 (1개)

Walter Roberson
Walter Roberson 2022년 3월 14일
bwareafilt can be used to select areas by size

태그

Community Treasure Hunt

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

Start Hunting!

Translated by