Details: imageRPC for now assumed to have 4 fields: width,height of type int (4 signed bytes) type (enum BGR,RGBA,DEPTH) and raw vector of data tests written by opencode + gemini flash TG-8 TG-7
22 lines
283 B
C++
22 lines
283 B
C++
//
|
|
// Created by vptyp on 12.03.2026.
|
|
//
|
|
#include "cloud_point/image.h"
|
|
|
|
namespace score {
|
|
|
|
Image::Image() {
|
|
//no work
|
|
}
|
|
|
|
Image::Image(const cv::Mat& image) {
|
|
this->data_ = image;
|
|
}
|
|
|
|
Image::~Image() = default;
|
|
|
|
cv::Mat Image::get() const {
|
|
return this->data_;
|
|
}
|
|
|
|
} |