Moving Filter/Mask Across Given Image (No Function)
问题 I am struggling attempting to create a program that pads an image and filter/mask. Where I am having trouble is actually attempting to move this filter over each bit of the image without using a function to do so. Here is what I have so far. L=256; %Gray Levels %Saving Dimensions of both Filter and Image Sizes [FilterX , FilterY] = size(Filter); [ImageX , ImageY]= size(Image); % Padding Image pad1 = FilterY; PAD = (pad1-1); %New Padded Image With Zeros MaskX = ImageX + PAD; MaskY = ImageY +