|
|
||
| Menu | OPAL / TriciaFiltering | |
|
OPAL Home About People International Collaborators
Opportunities
Events
Related Links
|
Image Processing & FilteringAnalyze Image
vol = readanalyze('mri_test.hdr');
Cropping
vol2=vol(200:399,150:449,10:26); Interpolation
interpAmt=0.4; sizex=size(vol2,2); sizey=size(vol2,1); sizez=size(vol2,3); [x,y,z] = meshgrid(1:sizex, 1:sizey, 1:sizez); [xi,yi,zi] = meshgrid (1:sizex, 1:sizey, 1:interpAmt:sizez); vi = interp3(x,y,z,vol2,xi,yi,zi,'linear'); Noise Reduction
Sharpening
w=ones(3,3,3);
w(2,2,2)=-8;
% w=fspecial('laplacian',0);
w=im2double(w);
f2=im2double(vol2);
g2=imfilter(f2,w,'replicate');
new = f2-g2;
Brightness & Contrast
View Slice figure; imagesc(squeeze(vi(:,:,sizez))); axis equal; colormap gray; |
|
| View Edit Attributes History Attach Print Search Page last modified on July 15, 2008, at 03:29 PM | ||