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

Question: matlab...

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 [blurredlm] = BlurImage(orilm); where orim is the original image and blurredlm 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 Α. B. BA and BB in the raster-scan order (left to right and top to bottom) with the appropriate title on figure 6.

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