声振论坛

 找回密码
 我要加入

QQ登录

只需一步,快速开始

查看: 2654|回复: 4

[编程技巧] 请问将矩阵进行规范化到【0,1】的函数是什么?

[复制链接]
发表于 2006-12-5 11:25 | 显示全部楼层 |阅读模式

马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。

您需要 登录 才可以下载或查看,没有账号?我要加入

x
请问将矩阵进行规范化到【0,1】的函数是什么?
回复
分享到:

使用道具 举报

发表于 2006-12-5 15:23 | 显示全部楼层
楼主是指归一化函数吗??

到论坛上搜索一下

可以找到相关的实例
发表于 2006-12-21 14:09 | 显示全部楼层
嘻嘻,刚好我知道

A为一矩阵,B=im2double(A);
则B为规范化后的矩阵,元素值均在0~1的范围中。
发表于 2006-12-21 14:47 | 显示全部楼层
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.

不是对所有矩阵都有效的
发表于 2006-12-21 21:59 | 显示全部楼层
自己看看 max函数
就知道了
您需要登录后才可以回帖 登录 | 我要加入

本版积分规则

QQ|小黑屋|Archiver|手机版|联系我们|声振论坛

GMT+8, 2024-9-24 21:28 , Processed in 0.061214 second(s), 18 queries , Gzip On.

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

快速回复 返回顶部 返回列表