1. Engineering
  2. Computer Science
  3. matlab output...

Question: matlab output...

Question details

Matlab

5. [5 points] Write a Matlab function BlurImage to replace all 16 pixels in each non-overlapping 4x4 block of any input image with their average intensity value. The prototype of BlurImage function is as follows: function [blurredIm] -BlurImage(orilm); where orilm is the original image and blurredIm is the blurred image. Call this function in your main script to blur image A, and save the blurred image to variable BA Call this function in your main script to blur image B, and save the blurred image to variable BB Display images A, B, BA and BB in the raster-scan order (left to right and top to bottom) with the appropriate title on figure 6.

Output:

Figure 6 File Edit View Insert Tools Desktop Window Help Pr of BA B8 le( le( Le nma ize nng

Solution by an expert tutor
Blurred Solution
This question has been solved
Subscribe to see this solution