Artur Mukhamadiev f55f6204c8 [image] connection block between opencv and rpc
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
2026-03-12 22:04:26 +03:00

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_;
}
}