https://blog.youkuaiyun.com/jxch____/article/details/80561945 圆形LBP的学习
matlab 取整函数
fix:截尾取整
fix( [3.12 -3.12]) =3,-3
floor(x):不超过x 的最大整数.(高斯取整)
floor( [3.12 -3.12]) = 3,-4
ceil(x) : 大于x 的最小整数
ceil( [3.12 -3.12]) = 4,-3
round四舍五入取整
round(3.12 -3.12)= 3,-3
本文详细介绍了Matlab中四种不同的取整函数:fix、floor、ceil和round的功能与区别,并深入探讨了图像类型转换的重要概念,包括uint8、double、im2double、im2uint8和mat2gray的使用方法。
2181

被折叠的 条评论
为什么被折叠?



