Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

I created the ImageData.h file with these images. Please make the implementation part of ImageData.h. When you create it, divide it into ImageData.cpp and Test.cpp.

I created the ImageData.h file with these images. Please make the implementation part of ImageData.h. When you create it, divide it into ImageData.cpp and Test.cpp. 

image text in transcribed

class ImageData { private: //private member variables int rows; int cols; unsigned char* pixelValues; unsigned char* pixelProcessed; public: //parameterized constructor void imageData(string fname) { //method defination } int imageProc(int Param) { //method defination } int imageWrite(string fname) { //method defination } //destructor ~imageData() { } };

Prob. 1: We want to convert it to an image managing class as following class diagram 1501 image Data int rows int cols unsigned char* pixelValues ll image data storage unsigned char* pixelProcessed ll processed image storage imageData (string fname) constructor int imageProc (int Param) processing int imageWrite(string fname) ll save processed image mageData (void) //destructor In imageProc, you can add "image binarization" and your own method Prob. 2: Validate your method in a main function [50]

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Students also viewed these Databases questions

Question

=+How does it affect wages and employment in other industries

Answered: 1 week ago