v1.0.0-rc.70

This commit is contained in:
2025-08-27 06:21:10 +02:00
parent 06978efe6b
commit bb32f27635
229 changed files with 2446 additions and 399 deletions

View File

@@ -24,7 +24,11 @@ JFJochReaderImage::JFJochReaderImage(const JFJochReaderImage &other)
saturated_pixel(other.saturated_pixel),
error_pixel(other.error_pixel),
valid_pixel(other.valid_pixel),
roi(other.roi) {}
roi(other.roi) {
// Need to make image use local copy
message.image = CompressedImage(image, dataset->experiment.GetXPixelsNum(),
dataset->experiment.GetYPixelsNum());
}
void JFJochReaderImage::ProcessInputImage(const CompressedImage &in_image) {
size_t npixel = in_image.GetWidth() * in_image.GetHeight();
@@ -125,6 +129,10 @@ const DataMessage &JFJochReaderImage::ImageData() const {
return message;
}
DataMessage &JFJochReaderImage::ImageData() {
return message;
}
const std::vector<int32_t> &JFJochReaderImage::Image() const {
return image;
}