Getting Error In FFT filtering ?
5 ビュー (過去 30 日間)
sir i tried to make a gaussian filter.i use the steps given in the book(digital image processing using MATLAB,OF Gonzalez & Woods & Eddins )in the chapter3.i have done upto the step
here 'f' is an image(of int8),here also given an error that"Undefined function or method 'tofloat' for input arguments of type 'uint8'."
then i use gaussian filter and get the transfer function.and then
H=ifftshift(H) for making center
here i get an error which is "Error using ==> times Matrix dimensions must agree.
Error in ==> gaussian at 16
please tell me how to overcome from this error
Jordan Monthei 2013 年 5 月 8 日
you are performing matrix multiplication when you use the '.*' command. The error you are receiving is telling you that the two "matrices" that you are trying to multiply are not of the same dimensions.
I assume you are trying to multiply numbers and not matrices and would recommend using '*' and not '.*'