From efab065474865a58880accd261d6550c4259da6c Mon Sep 17 00:00:00 2001 From: Alice Date: Thu, 10 Sep 2026 11:42:40 +0200 Subject: [PATCH] create rois for old fraw master files --- src/RawMasterFile.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/RawMasterFile.cpp b/src/RawMasterFile.cpp index 9c4d3752..4f7ece27 100644 --- a/src/RawMasterFile.cpp +++ b/src/RawMasterFile.cpp @@ -624,6 +624,10 @@ void RawMasterFile::parse_raw(std::istream &is) { << m_detector_layout.row << " x " << m_detector_layout.col << "\n "; } + m_rois.push_back( + {0, m_detector_layout.col * static_cast(m_pixels_x), 0, + m_detector_layout.row * static_cast(m_pixels_y)}); + // TODO! Read files and find actual frames if (m_frames_in_file == 0) m_frames_in_file = m_total_frames_expected;