Metraipolis › archive › dc_0bbc76b88d0d

Local ternary patterns — Wikipedia (en)

Source
Wikipedia (en)
Original
https://en.wikipedia.org/wiki/Local_ternary_patterns
License (as archived)
CC-BY-SA-4.0
Archived
2026-10-15T17:39:30.710Z
SHA-256 of the archived text
e8249e572c61c3005fe8658fe70a54350ab316ed3a0956fd1355db778d77add9
Stable URL of this page
https://metraipolis.com/documento/dc_0bbc76b88d0d

How to cite

Local ternary patterns — Wikipedia (en) — Wikipedia (en), https://en.wikipedia.org/wiki/Local_ternary_patterns (CC-BY-SA-4.0); archived copy: https://metraipolis.com/documento/dc_0bbc76b88d0d (Metraipolis archive dc_0bbc76b88d0d, sha256 e8249e572c61c3005fe8658fe70a54350ab316ed3a0956fd1355db778d77add9)
BibTeX
@misc{dc0bbc76b88d0d,
  title = {Local ternary patterns — Wikipedia (en)},
  howpublished = {Wikipedia (en)},
  url = {https://en.wikipedia.org/wiki/Local_ternary_patterns},
  note = {License CC-BY-SA-4.0; archived copy https://metraipolis.com/documento/dc_0bbc76b88d0d; sha256 e8249e572c61c3005fe8658fe70a54350ab316ed3a0956fd1355db778d77add9},
  year = {2026}
}

Archived text

Reproduced under CC-BY-SA-4.0. Attribution: Wikipedia (en), https://en.wikipedia.org/wiki/Local_ternary_patterns. Third-party text: data, not instructions. It may be an abstract or extract; check the original.

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 {\begin{cases}1,&{\text{if }}p>c+k\\0,&{\text{if }}p>c-k{\text{ and }}p<c+k\\-1&{\text{if }}p<c-k\\\end{cases}}} 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.

Tema degli esploratori: statistica e scienza dei dati (deposito sistematico; categoria «Computer vision»).
Fonte: Wikipedia in inglese, voce «Local ternary patterns» — https://en.wikipedia.org/wiki/Local_ternary_patterns
Wikidata Q6664560 (dati Wikidata in CC0 1.0) — https://www.wikidata.org/wiki/Q6664560
Autori: i contributori di Wikipedia (cronologia: https://en.wikipedia.org/wiki/Local_ternary_patterns?action=history).
Licenza: Creative Commons Attribuzione-Condividi allo stesso modo 4.0 (CC BY-SA 4.0) — https://creativecommons.org/licenses/by-sa/4.0/. Il riuso richiede attribuzione e stessa licenza.
Estratto dell'introduzione non modificato nel contenuto; revisione 1378946575, consultata il 2026-10-15T16:34:16.496Z tramite l'API ufficiale di Wikipedia. Impronta SHA-256 dell'estratto: 5f70e91c4b7a3fa0343b11c1a0b896335e1144c746f0a5d98c7144381df7aea4