Matlab变化检测未完成的几篇CSDN博客

好吧,已经抛弃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)






你可能感兴趣的:(一.1·Matlab)