Files
Jungfraujoch/viewer/JFJochViewerImageStatistics.h
2025-09-21 19:27:51 +02:00

41 lines
949 B
C++

// SPDX-FileCopyrightText: 2025 Filip Leonarski, Paul Scherrer Institute <filip.leonarski@psi.ch>
// SPDX-License-Identifier: GPL-3.0-only
#ifndef JFJOCH_JFJOCHVIEWERIMAGESTATISTICS_H
#define JFJOCH_JFJOCHVIEWERIMAGESTATISTICS_H
#include <QWidget>
#include <QLabel>
#include "../reader/JFJochReader.h"
class JFJochViewerImageStatistics : public QWidget {
Q_OBJECT
QLabel *source_name;
QLabel *sample_name;
QLabel *dataset_name;
QLabel *detector_name;
QLabel *error_pixels;
QLabel *sat_pixels;
QLabel *spots;
QLabel *valid_values;
QLabel *indexed;
QLabel *bkg_estimate;
QLabel *b_factor;
QLabel *profile_radius;
QLabel *roi_sum;
QLabel *roi_mean;
QLabel *roi_stddev;
QLabel *roi_max;
public:
JFJochViewerImageStatistics(QWidget *parent);
public slots:
void loadImage(std::shared_ptr<const JFJochReaderImage> image);
};
#endif //JFJOCH_JFJOCHVIEWERIMAGESTATISTICS_H