language-icon Old Web
English
Sign In

Local ternary patterns

Local ternary patterns (LTP) are an extension of Local binary patterns (LBP). Unlike LBP, it does not threshold the pixels into 0 and 1, rather it uses a threshold constant to threshold pixels into three values. Considering k as the threshold constant, c as the value of the center pixel, a neighboring pixel p, the result of threshold is: { 1 , if  p > c + k 0 , if  p > c − k  and  p < c + k − 1 if  p < c − k {displaystyle {egin{cases}1,&{ ext{if }}p>c+k\0,&{ ext{if }}p>c-k{ ext{ and }}p<c+k\-1&{ ext{if }}p<c-k\end{cases}}} Local ternary patterns (LTP) are an extension of Local binary patterns (LBP). Unlike LBP, it does not threshold the pixels into 0 and 1, rather it uses a threshold constant to threshold pixels into three values. Considering k as the threshold constant, c as the value of the center pixel, a neighboring pixel p, the result of threshold is: { 1 , if  p > c + k 0 , if  p > c − k  and  p < c + k − 1 if  p < c − k {displaystyle {egin{cases}1,&{ ext{if }}p>c+k\0,&{ ext{if }}p>c-k{ ext{ and }}p<c+k\-1&{ ext{if }}p<c-k\end{cases}}}

[ "Local binary patterns" ]
Parent Topic
Child Topic
    No Parent Topic