class ImageData { private: //private member variables int rows; int cols; unsign
ID: 3843532 • Letter: C
Question
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()
{
}
};
Explanation / Answer
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()
{
}
};
Related Questions
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.