The image of the duck is given as described in Figure 1. You must enter a Matlab code to get the displayed image in Figure 2 by using a convolution function.
    2 visualizzazioni (ultimi 30 giorni)
  
       Mostra commenti meno recenti
    

4 Commenti
Risposte (1)
  Walter Roberson
      
      
 il 17 Dic 2022
        This demonstration is deliberately not exactly the same as what you are asked to produce.
im = imread('cameraman.tif');
mask = 1;
mask(floor(size(im,1)/2)+1,size(im,2)+1) = 1;
mask(1,size(im,2)*2+1) = 1;
newimg = cast(conv2(mask, im), class(im));
imshow(newimg)
0 Commenti
Vedere anche
Prodotti
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
