Matlab变化检测未完成的几篇优快云博客

本文详细介绍了Matlab中几个实用的工具函数,包括gendatoc用于构造one-class数据集的方法,colormap和colorbar用于图像色彩映射和颜色条显示的功能,以及fspecial和filter2在图像处理中的应用。此外,还提供了wextend在信号处理中的使用示例。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

好吧,已经抛弃Matlab,开始发力硬件。

之前做变化检测时,有些关于matlab的东西没来得及整理,现在罗列在这,如果以后吃回头草可能还用得着。



1
gendatoc:this function basically constructs from two Matlab arrays a one-class dataset.
ocset: this function relabels an existing Prtools dataset such that one of the classes becomes target class, and all others become outlier.
targetclass: this functions labels one of the classes as target (iden-tical to ocset) but furthermore removes all other objects from the dataset.
gendatoc(xt,xo)用于生成one-class数据集,可以包含target和outlier或者其中一类。
'1'代表target,'-1'代表outlier。
如果xt或xo是Prtools数据集,则这个Prtools数据集将会转变为一般的Matlab矩阵。That means that the label information in these datasets is lost.

2
colormap
colorbar

3
y=fspecial('average')
z1=filter2(y,x1)
wextend('2d','sym',X,1)






评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值