function [high,low,​ternary]=l​tp_image(i​n,type,thr​eshold)

5 visualizaciones (últimos 30 días)
diviya Subramanian
diviya Subramanian el 22 de Sept. de 2015
Comentada: Bhaskar Jyoti Barman el 31 de Jul. de 2022
I m trying to run this code for feature extraction i dont know what input arguements for this function to be given plz help.if possible plz get me code for local ternary pattern for facial image feature extraction
  2 comentarios
Henry Ukwu
Henry Ukwu el 1 de Oct. de 2020
function [ I3 ] = LTPtest(I2)
m=size(I2,1); % image row
n=size(I2,2); % image columns
for i=2:m-1
for j=2:n-1
J0=I2(i,j);
I3(i-1,j-1)=I2(i-1,j-1)>J0;
end
end
Bhaskar Jyoti Barman
Bhaskar Jyoti Barman el 31 de Jul. de 2022
Have you the local ternary pattern code with you?

Iniciar sesión para comentar.

Respuestas (1)

Walter Roberson
Walter Roberson el 22 de Sept. de 2015
It saves us a lot of time when you give links to where you got your code from.
Your code is one file out of the complete implementation of the facial recognition algorithm of a particular paper. The entire implementation is available. Unfortunately the inputs of the file are not commented on.

Categorías

Más información sobre Image Segmentation and Analysis en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by