资源简介

主成分分析程序,应用于图像特征提取,数据降维等方面

资源截图

代码片段和文件信息

function [ImagesAveImg] = CalDiffirentImg(ImagesImgNummn)
% Calculate the diffirent images between the images and the average image

% the average image is:
SumImg = sum(Images2);
figure; imshow(reshape(SumImgmn)[]);
AveImg = SumImg/ImgNum;
figure; imshow(reshape(uint8(AveImg)mn));
% then the diffirent image are:
for j = 1:ImgNum
    Images(:j) = (Images(:j) - AveImg);  % remove “abs“try later!!!!!!
    %figure;imshow(reshape(uint8(A(:j))mn));
end

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----

     文件        711  2005-11-30 16:07  write_double_matrix2.asv

     文件        468  2006-01-05 18:44  write_float_image.m

     文件        808  2006-01-05 18:55  write_float_image2.m

     文件        791  2006-01-05 14:10  write_float_image2.asv

     文件        447  2006-01-05 14:05  write_float_image .asv

     文件        349  2005-12-20 13:08  write_float_matrix.m

     文件        475  2008-05-06 10:48  write_float_matrix2.m

     文件        480  2008-04-01 11:47  CalDiffirentImg.m

     文件        476  2008-04-01 11:47  CalDiffirentImg.asv

     文件        349  2008-04-24 16:42  dists.m

     文件        315  2008-04-07 11:38  dists.asv

     文件        386  2008-05-23 18:09  GenRandArr.m

     文件        390  2008-05-23 17:22  GenRandArr.asv

     文件        246  2008-05-19 15:42  GenRandNum.m

     文件        238  2008-05-23 12:11  GenRandNum.asv

     文件       1372  2008-05-28 17:25  LoadI.m

     文件        397  2008-05-27 15:30  LoadImgs.m

     文件        341  2008-05-27 14:56  LoadImgs.asv

     文件       4961  2008-04-10 11:18  pcafun.asv

     文件       7547  2008-05-29 17:58  pcafundist.m

     文件       7402  2008-05-27 15:16  pcafundist.asv

     文件       5249  2008-04-09 17:21  pcafunForLiangppt.m

     文件       5338  2008-04-09 17:12  pcafunForLiangppt.asv

     文件        823  2008-05-23 18:30  RandNumTest.m

     文件        292  2005-11-07 16:28  read_double_matrix.m

     文件        659  2005-11-07 16:27  read_double_matrix2.m

     文件        287  2006-01-05 18:48  read_float_image.m

     文件        880  2006-01-05 14:21  read_float_image2.m

     文件        850  2006-01-05 14:20  read_float_image2.asv

     文件        290  2005-11-07 16:26  read_float_matrix.m

............此处省略11个文件信息

评论

共有 条评论