摘要: 话说matlab的模式识别工具箱非常强大,对于一般应用来说基本不用自己编程,这就给科研带来了极大的便利。之后估计会利用这个工具箱里的许多分类方法,比如KNN、BP、SVM等等;现在就利用knn来进行分类。For the object of samplify, I only choose 3 clas... 阅读全文
posted @ 2014-04-24 13:08 gaoyang2016 阅读(1341) 评论(0) 推荐(0) 编辑
摘要: Lia = ismember(A,B)returnsan array the same size as A, containing 1 (true)where the elements of A are found in B,and 0 (false) elsewhere返回A中B的位置 阅读全文
posted @ 2014-04-24 13:02 gaoyang2016 阅读(195) 评论(0) 推荐(0) 编辑
摘要: 在matlab中用dicomread读取dicom文件后,生成一个MxN矩阵(对应图像像素个数),每个像素灰度数据是int16格式 但是bmp图像灰度是int8格式的(灰度范围0~255),所以若想把dicom图像存储为bmp图像做后续处理,需要将16位的dicom灰度数据映射为8位的灰度数据。 采 阅读全文
posted @ 2014-04-24 10:20 gaoyang2016 阅读(3729) 评论(7) 推荐(1) 编辑