MATLAB: Smoothing of a raw projection data file

ct projectionImage Processing Toolboxsmooth a data

Hi,
I have a projection data file of size 32*64 . I have to smooth this projection data using 3 point average calculations or any other algorithm.
Can somebody please help me figure out how to do this???

Best Answer

smoothedImage = imfilter(grayImage, ones(3));
Or with conv2():
smoothedImage = conv2(double(grayImage), ones(3));