Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/image-processing/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181

Warning: file_get_contents(/data/phpspider/zhask/data//catemap/8/mysql/60.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Image processing 使用16位图像的6x6单元的LBP(本地二进制模式)_Image Processing_Lbph Algorithm - Fatal编程技术网

Image processing 使用16位图像的6x6单元的LBP(本地二进制模式)

Image processing 使用16位图像的6x6单元的LBP(本地二进制模式),image-processing,lbph-algorithm,Image Processing,Lbph Algorithm,我已通过以下方式为3x3像素单元中的每个像素位置执行LBP功能: 生成4位二进制状态值 根据查找表将16个状态减少为8个状态 计算8个箱子的出现次数 我想通过使用6x6像素单元为16位输入图像实现相同的功能,因为6x6像素单元没有中点,所以我无法实现类似3x3的功能。有谁能告诉我如何从这个实现开始。 提前感谢您的建议。我认为您用于LBP的邻域必须是奇数大小,因为计算是关于中间像素的。感谢@AmitayNachmani,我们不能为6x6中的每个像素进行LBP,如果有邻域,那么迭代计数将是36*4(

我已通过以下方式为3x3像素单元中的每个像素位置执行LBP功能: 生成4位二进制状态值 根据查找表将16个状态减少为8个状态 计算8个箱子的出现次数

我想通过使用6x6像素单元为16位输入图像实现相同的功能,因为6x6像素单元没有中点,所以我无法实现类似3x3的功能。有谁能告诉我如何从这个实现开始。
提前感谢您的建议。

我认为您用于LBP的邻域必须是奇数大小,因为计算是关于中间像素的。感谢@AmitayNachmani,我们不能为6x6中的每个像素进行LBP,如果有邻域,那么迭代计数将是36*4(因为6x6是36像素单元,4是3x3的lbp比较),所以我想用它的邻居3x3为每个像素实现lbp。好的,现在我明白了。我会考虑一下,然后尝试给你答案。@AmitayNachmani谢谢你。