前景提要
HDC调试需求开发(15万预算),能者速来!>>> 有了解积分通道的大神指导一下,给一下思路也好呀 原图大小为512*512 变成积分通道图时图像大小为64*64*8 其中,8表示提取了8个特征 因为后续的处理涉及图像的变形, 所以想问一下,如何能一点取8个特征,但图像大小不变,或者说维数不变 附上将医学dicom图像变成积分通道图的程序 function IntegrChanl=getIntegrChanl(imagename) % get integral channels of images %1. preprocess image %2. normalize contrast %3. compute channels %% im = ReadImgImage(imagename, 2048 ,2048); im = dicomread(imagename); im = double(im); im=im-1024; % clf; figure(1); imshow(im,[-340,440]); % [im,bw,validrange] = preprocess_ImgImage(im); im = NormalizeContrast(im); % im=imResample(im,[512,512]); pChns=chnsCompute(); for j=1:100, chns=chnsCompute(im,pChns); end; data=cat(3,chns.data{:}); IntegrChanl=cumsum(cumsum(data,1),2); % dataname=[DIR.images,'\JPCNN',int2str(t),'.mat']; % save(dataname,'IntegrChanl','-v7.3'); clf;figure(1); montage2(cat(3,chns.data{:})); end