请问将矩阵进行规范化到【0,1】的函数是什么?
请问将矩阵进行规范化到【0,1】的函数是什么? 楼主是指归一化函数吗??到论坛上搜索一下
可以找到相关的实例 嘻嘻,刚好我知道
A为一矩阵,B=im2double(A);
则B为规范化后的矩阵,元素值均在0~1的范围中。 IM2DOUBLE Convert image to double precision.
IM2DOUBLE takes an image as input, and returns an image of class double.If
the input image is of class double, the output image is identical to it.If
the input image is not double, IM2DOUBLE returns the equivalent image of
class double, rescaling or offsetting the data as necessary.
不是对所有矩阵都有效的 自己看看 max函数
就知道了
页:
[1]