Local ternary patterns

From testwiki
Jump to navigation Jump to search

Template:Short description Template:More citations needed

Local ternary patterns (LTP) are an extension of local binary patterns (LBP).[1][2] 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+k0,if p>ck and p<c+k1if p<ck

In this way, each thresholded pixel has one of the three values. Neighboring pixels are combined after thresholding into a ternary pattern. Computing a histogram of these ternary values will result in a large range, so the ternary pattern is split into two binary patterns. Histograms are concatenated to generate a descriptor double the size of LBP.

See also

References

Template:Reflist


Template:Comp-sci-stub