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8 + 1*8 + 1*8) = 8 y=(1/9)*(1*8 + 1*8 + 1*8 + 1*8 + 1*8 + 1*8 + 1*8 + 1*8 + 1*8) = 8 y=(1/9)*(1*8 + 1*8 + 1*8 + 1*8 + 1*8 + 1*8 + 1*8 + 1*8 + 1*8) = 8 y=(1/9)*(1*8 + 1*8 + 1*8 + 1*8 + 1*8 + 1*8 + 1*8 + 1*8 + 1*8) = 8 y=(1/9)*(1*8 + 1*8 + 1*8 + 1*8 + 1*8 + 1*8 + 1*8 + 1*8 + 1*8) = 8 y=(1/9)*(1*8 + 1*8 + 1*8 + 1*8 + 1*8 + 1*8 + 1*8 + 1*8 + 1*8) = 8 y=(1/9)*(1*8 + 1*8 + 1*8 + 1*8 + 1*8 + 1*8 + 1*8 + 1*8 + 1*8) = 8 delfigs w=3 w = 3 lpdemo Starting to filter now... Warning: Flop counts are no longer available. > In C:\MatLab6p1\toolbox\matlab\elmat\flops.m at line 11 In c:\personal\class\2001-02\winter\ece480\matlab\lpdemo.m at line 52 Computation required 0 floating point operations, and 0.14 seconds. w=5 w = 5 lpdemo Starting to filter now... Warning: Flop counts are no longer available. > In C:\MatLab6p1\toolbox\matlab\elmat\flops.m at line 11 In c:\personal\class\2001-02\winter\ece480\matlab\lpdemo.m at line 52 Computation required 0 floating point operations, and 0.14 seconds. w=7 w = 7 lpdemo Starting to filter now... Warning: Flop counts are no longer available. > In C:\MatLab6p1\toolbox\matlab\elmat\flops.m at line 11 In c:\personal\class\2001-02\winter\ece480\matlab\lpdemo.m at line 52 Computation required 0 floating point operations, and 0.241 seconds. help imfilter IMFILTER Multidimensional image filtering. B = IMFILTER(A,H) filters the multidimensional array A with the multidimensional filter H. A can be a nonsparse numeric array of any class and dimension. The result, B, has the same size and class as A. Each element of the output, B, is computed using double-precision floating point. If A is an integer array, then output elements that exceed the range of the integer type are truncated, and fractional values are rounded. B = IMFILTER(A,H,OPTION1,OPTION2,...) performs multidimensional filtering according to the specified options. Option arguments can have the following values: - Boundary options X Input array values outside the bounds of the array are implicitly assumed to have the value X. When no boundary option is specified, IMFILTER uses X = 0. 'symmetric' Input array values outside the bounds of the array are computed by mirror-reflecting the array across the array border. 'replicate' Input array values outside the bounds of the array are assumed to equal the nearest array border value. 'circular' Input array values outside the bounds of the array are computed by implicitly assuming the input array is periodic. - Output size options (Output size options for IMFILTER are analogous to the SHAPE option in the functions CONV2 and FILTER2.) 'same' The output array is the same size as the input array. This is the default behavior when no output size options are specified. 'full' The output array is the full filtered result, and so is larger than the input array. - Correlation and convolution 'corr' IMFILTER performs multidimensional filtering using correlation, which is the same way that FILTER2 performs filtering. When no correlation or convolution option is specified, IMFILTER uses correlation. 'conv' IMFILTER performs multidimensional filtering using convolution. Example ------------- rgb = imread('flowers.tif'); h = fspecial('motion',50,45); rgb2 = imfilter(rgb,h); imshow(rgb), title('Original') figure, imshow(rgb2), title('Filtered') rgb3 = imfilter(rgb,h,'replicate'); figure, imshow(rgb3), title('Filtered with boundary replication') See also CONV2, CONVN, FILTER2. helpwin imfilter w=3 w = 3 lpdemo Starting to filter now... Warning: Flop counts are no longer available. > In C:\MatLab6p1\toolbox\matlab\elmat\flops.m at line 11 In c:\personal\class\2001-02\winter\ece480\matlab\lpdemo.m at line 52 Computation required 0 floating point operations, and 0.1 seconds. w=5 w = 5 lpdemo Starting to filter now... Warning: Flop counts are no longer available. > In C:\MatLab6p1\toolbox\matlab\elmat\flops.m at line 11 In c:\personal\class\2001-02\winter\ece480\matlab\lpdemo.m at line 52 Computation required 0 floating point operations, and 0.14 seconds. w=7 w = 7 lpdemo Starting to filter now... Warning: Flop counts are no longer available. > In C:\MatLab6p1\toolbox\matlab\elmat\flops.m at line 11 In c:\personal\class\2001-02\winter\ece480\matlab\lpdemo.m at line 52 Computation required 0 floating point operations, and 0.231 seconds. w=11 w = 11 lpdemo Starting to filter now... Warning: Flop counts are no longer available. > In C:\MatLab6p1\toolbox\matlab\elmat\flops.m at line 11 In c:\personal\class\2001-02\winter\ece480\matlab\lpdemo.m at line 52 Computation required 0 floating point operations, and 0.431 seconds. w=17 w = 17 lpdemo Starting to filter now... Warning: Flop counts are no longer available. > In C:\MatLab6p1\toolbox\matlab\elmat\flops.m at line 11 In c:\personal\class\2001-02\winter\ece480\matlab\lpdemo.m at line 52 Computation required 0 floating point operations, and 0.871 seconds. w=51 w = 51 lpdemo Starting to filter now... Warning: Flop counts are no longer available. > In C:\MatLab6p1\toolbox\matlab\elmat\flops.m at line 11 In c:\personal\class\2001-02\winter\ece480\matlab\lpdemo.m at line 52 Computation required 0 floating point operations, and 7.17 seconds. whos Name Size Bytes Class W 51x51 20808 double array X 461x493 227273 uint8 array Y 461x493 1818184 double array f 1x1 8 double array f1 1x1 8 double array f2 1x1 8 double array fwidth 1x1 8 double array pos 1x3 24 double array sheight 1x1 8 double array ssize 1x4 32 double array swidth 1x1 8 double array t 1x1 8 double array w 1x1 8 double array Grand total is 457162 elements using 2066385 bytes w=115; lpdemo Starting to filter now... Warning: Flop counts are no longer available. > In C:\MatLab6p1\toolbox\matlab\elmat\flops.m at line 11 In c:\personal\class\2001-02\winter\ece480\matlab\lpdemo.m at line 52 Computation required 0 floating point operations, and 36.994 seconds. meddemo Press a key to continue... Press a key to continue... Press a key to continue... Press a key to continue... exit