Borrar filtros
Borrar filtros

To extract local binary pattern features without background

1 visualización (últimos 30 días)
ali
ali el 30 de Ag. de 2016
Comentada: Salma Hassan el 7 de Mayo de 2017
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.

Respuestas (2)

Image Analyst
Image Analyst el 30 de Ag. de 2016
See attached demo.
  7 comentarios
Image Analyst
Image Analyst el 2 de Sept. de 2016
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 el 7 de Mayo de 2017
you mean histObject = imhist(grayImage(grayImage>= 0));

Iniciar sesión para comentar.


ali
ali el 2 de Sept. de 2016
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 comentarios
Image Analyst
Image Analyst el 2 de Sept. de 2016
I don't understand at all what this is trying to say.
ali
ali el 2 de Sept. de 2016
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?

Iniciar sesión para comentar.

Community Treasure Hunt

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

Start Hunting!

Translated by