计算二进制图像的LTP

时间:2017-05-09 19:15:37

标签: image matlab image-processing feature-extraction

我根据原始论文和此处给出的解释了解LTP:Calculating the Local Ternary Pattern of an image?

我的代码工作正常,能够从灰度图像中提取LTP,但是当我呈现逻辑图像时,我只得到输出中的全部0。

我知道人们已经在文献中的二进制图像上应用了LBP和LTP,但是我不明白LTP的工作原理是如何实现的。

我正在使用LTP的这种实现,它提供了灰度级的优秀识别结果,但不适用于二进制图像:http://dismac.dii.unipg.it/ldlbp/code/ltp.m

这是我正在使用的输入图像(二进制): enter image description here

这里是上下LTP输出: enter image description here

0 个答案:

没有答案