필터 지우기
필터 지우기

To extract local binary pattern features without background

조회 수: 1 (최근 30일)
ali
ali 2016년 8월 30일
댓글: Salma Hassan 2017년 5월 7일
Hi all I detect the foreground object and all zeros fro background, the sample image is attached. So how can I only apply the LBP. The original sample and the ROI that is defined with red lines ehich I want to extract features from only this area. HOw can do that. Is there any way and any suggestion and codes. Thanks.

답변 (2개)

Image Analyst
Image Analyst 2016년 8월 30일
See attached demo.
  댓글 수: 7
Image Analyst
Image Analyst 2016년 9월 2일
To see what properties histObject has, set a breakpoint there and type histObject on the command line. You will see Value, BinEdges, etc.
Salma Hassan
Salma Hassan 2017년 5월 7일
you mean histObject = imhist(grayImage(grayImage>= 0));

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


ali
ali 2016년 9월 2일
Your code works I think 8,1 neighbor so is it possible to find and work 8.2 16.1 16.2 24.1 24.2 24.3 etc.
  댓글 수: 2
Image Analyst
Image Analyst 2016년 9월 2일
I don't understand at all what this is trying to say.
ali
ali 2016년 9월 2일
Your LBP code works as 8 neighbor. So is it possible to update it for 8,2 16,1 16,2 24,1 etc. and your suggested histogram means only gray values not LBP does it?

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

Community Treasure Hunt

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

Start Hunting!

Translated by