Question: I need help with c++ please. 16.13 Homework 8b Image Processing n this assignment, you will use abstract classes and class inheritance to implement an
I need help with c++ please.



16.13 Homework 8b Image Processing n this assignment, you will use abstract classes and class inheritance to implement an image processing system for the grayscale images ou implented in Problem 8a. This program must be passed off in person to the instructor. Write an abstract class called "ImageFilter", or something similar. This class should have one abstract method that returns void and takes two grayscale images as parameters, a source, and a destination. Write subclasses of ImageFilter for the operations BoxFilter, SobelHorizontalFilter, GradientMagnitude, UnsharpMask. The class hierarchy will look like the following ImageFilter (Abstract class) BoxFilter SobelHorizontalFilter GradientMagnitude UnsharpMask The image operators can be described as follows: The BoxFilter is a blur operator that replaces the pixel with the average value of an NxN neighborhood around the pixe, where N is odd. o The SobelHorizontalFilter (https://en.wikipedia.org/wiki/SobelLoperator) is a first derivative operator that works by taking a weighted sum of the 3x3 neighborhood around the pixel in the source image. It attempts to capture the horizontal directional derivative of the image at each pixel. In other words, we treat the image as a 2D function, and we are trying to compute first the derivative of that function in the horizontal direction. The neighborhood weights (called a kernel) for the Sobel operator are as follows: 16.13 Homework 8b Image Processing n this assignment, you will use abstract classes and class inheritance to implement an image processing system for the grayscale images ou implented in Problem 8a. This program must be passed off in person to the instructor. Write an abstract class called "ImageFilter", or something similar. This class should have one abstract method that returns void and takes two grayscale images as parameters, a source, and a destination. Write subclasses of ImageFilter for the operations BoxFilter, SobelHorizontalFilter, GradientMagnitude, UnsharpMask. The class hierarchy will look like the following ImageFilter (Abstract class) BoxFilter SobelHorizontalFilter GradientMagnitude UnsharpMask The image operators can be described as follows: The BoxFilter is a blur operator that replaces the pixel with the average value of an NxN neighborhood around the pixe, where N is odd. o The SobelHorizontalFilter (https://en.wikipedia.org/wiki/SobelLoperator) is a first derivative operator that works by taking a weighted sum of the 3x3 neighborhood around the pixel in the source image. It attempts to capture the horizontal directional derivative of the image at each pixel. In other words, we treat the image as a 2D function, and we are trying to compute first the derivative of that function in the horizontal direction. The neighborhood weights (called a kernel) for the Sobel operator are as follows
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
